[Paraview] Reading In 2D Statistical Data

Brian Panneton brian.panneton at gmail.com
Mon Mar 28 10:37:45 EDT 2011


I am making a reader that will be reading in a bunch of X Y statistics. At
first I was reading them into a vtkTable which then I could run the 'Plot
Data' filter and get a 2D line chart. I was wondering if there was a better
way to do this. I want to try to use something like vtkPolyData, but I can't
seem to figure out if there is a way to include details about the
statistics, such as its title, the name of each line or other string data.

A quick example would be if I wanted to plot 2 statistics (A and B). A has 3
lines and B has 2 lines. I need some way to differentiate which statistic
and which line each of the plotted lines are.

In the vtkTable, I made a column for X, and then a column for each stat/line
pair (X,A1,A2,A3,B1,B2), but I feel like there is a better way to do this.

Thanks,
Brian Panneton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110328/53672c86/attachment.htm>


More information about the ParaView mailing list