[vtkusers] Questions about vtkXYPlotActor

Gopalakrishnan, Gowri Gowri.Gopalakrishnan at inteq.com
Tue Dec 31 04:37:58 EST 2002


I think you do not need to create a different plot actor for every data set.
Here is the part of the example from vtk user guide

Vtkxyplotactor *xyplot
Xyplot->AddInput(probe->GetOutput());
Xyplot->AddInput(probe2->GetOutput());
Xyplot->AddInput(probe3->GetOutput()); etc....

Try this and if you still have problem I can run a test here.

Regards
Gowri

-----Original Message-----
From: Jens Eickmeyer [mailto:jeickmeyer at web.de] 
Sent: 31 December 2002 01:07
To: vtkusers at public.kitware.com
Subject: [vtkusers] Questions about vtkXYPlotActor

Hi all,

I try to use vtkXYPlotActor for showing two or more plots of some data 
in different colors. For one plot everything works fine, of course. For 
showing two or more plots I create new vtkXYPlotActors for every 
dataset. I can see the different plots in the render window but it 
seems that every dataset draws its own x- and y-axis with its own 
scala. What is the best way to solve the problem? Is it possible to use 
only one actor? Is there a way to compute a unique scale for all plots?

thanks for your help
jens eickmeyer

_______________________________________________
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