The Histogram filter requires a vtkDataSet on its input. vtkTable is not one since Tables have no inherent shape in a 3D space.
The Table To Points and Table To Structured Grid filters convert vtkTables to vtkDataSets, but in either case you need to tell the filter which columns from the table it can use for the x,y and z coordinates of the vtkDataSet. A hackish way to do the conversion then is to add a column of dummy data to the file and then make a 1D vtkDataSet out of it. Feel free though to add a request for something more direct on user voice and we will consider adding it to upcoming ParaView releases. thanks, David E DeMarle Kitware, Inc. R&D Engineer 28 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-371-3971 x109 On Tue, Jan 25, 2011 at 5:20 PM, Nima Emadi <[email protected]> wrote: > Dear all, > I have a CSV file per snapshot which contains two large columns of > data. I'd like to make histogram of those data. The idea is to have > the animation of the histogram + the main visualisation in the same > frame. > I don't know how to build the input data needed for the histogram filter. > Does anyone have an idea? > > Best, > Nima > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
