[vtkusers] simple 2D plotting data structure
Jeff Lee
jeff at cdnorthamerica.com
Mon Jan 28 07:46:52 EST 2002
Sorry, I didn't fully read about the strip-chart stuff. Ideally, you
want it to be threaded, and be able to append your dataset instead of
sending a new one at every iteration. Since vtkXYPlotActor takes
vtkDataSet as input, you could probably insert the new cell and assign
it the new scalar value and then update the pipeline (which should
update the graph). I haven't tried it, but it seems like a way to go.
-Jeff
Jeff Lee wrote:
> look at examples in Hybrid/Testing/Tcl/xyPlot#.tcl
>
> Robert Ellis Parrott wrote:
>
>> I tried asking this earlier, and got no response, so I'll throw my line
>> back in again. I hope it's not a completely stupid question.
>>
>> I'd like to plot simple 2D data, essentially scalar properties of a
>> system
>> as it evolves over time (energy, temp, etc. ), sorta like a strip-chart.
>>
>> I understand that vtkXYPlotActor is probably the way to go. However, I'd
>> appreciate insight into what VTK data structure I should put this
>> evolving
>> data, essentially iteration #/time versus scalar value like energy,
>> temperature, etc. Ideally, I'd like to plot a number of these scalar
>> properties on the same XY graph.
>>
>> thanx for insight or pointers to relevant examples (beyond those of
>> VTK).
>>
>> rob
>>
>>
>> ----------------------------
>> Robert E. Parrott
>> Department of Physics
>> 429 Lyman Laboratory
>> Harvard University
>> Cambridge, Massachusetts 02138
>> (617)-496-4013
>> parrott at fas.harvard.edu
>> Robert.E.Parrott.96 at alum.dartmouth.org (permanent)
>>
>>
>> _______________________________________________
>> This is the private VTK discussion list. Please keep messages
>> on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>>
>
>
> _______________________________________________
> This is the private VTK discussion list. Please keep messages
> on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
More information about the vtkusers
mailing list