[vtkusers] vtkXYPlotActor

Shashidhar Kamath skamath at xradia.com
Fri Nov 2 14:51:36 EST 2001


Hi

I have an array of integers. I want to plot a bargraph for the values in the
array. By default vtkXYPlotActor connects a
the values of the arry keeping the indices of the arry as the x parameter,
So i get a line connecting many points.
Is there any way to make this graph like a bar graph? or a line graph ? I
would like to plot a single line for each of the
values in the array starting from base.

Any advice is appreciated.

Thanks
Shashi




More information about the vtkusers mailing list