PlotView: using different y-axis
The following code will result in the image above
pv = gui.CreatePlotView() """ The last parameter of plotdata specifies it's y-axis """ d = gui.PlotData(0,0,0) d2 = gui.PlotData(0,1,1) d.AddXY(0.0,0.0) d.AddXY(1.0,1.0) d2.AddXY(2.0,2.0) d2.AddXY(3.0,3.0) pv.AddData(d) pv.AddData(d2)
back to PlotView
Attachments
- plotdata_y_example.jpg (5.5 kB) - added by johan on 07/28/06 14:27:36.

