[Paraview] Reading In 2D Statistical Data

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Mar 28 10:59:42 EDT 2011


I am not sure why you'd want to use a vtkPolyData. In fact, what
you're doing with vtkTable seems very reasonable to me.

Utkarsh

On Mon, Mar 28, 2011 at 10:37 AM, Brian Panneton
<brian.panneton at gmail.com> wrote:
> 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
>
> _______________________________________________
> 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
>
>


More information about the ParaView mailing list