PlotView: plotdata-manager import/export

The following code will result in the image above

pv = gui.CreatePlotView()

d = gui.PlotData(0,0,0)
d2 = gui.PlotData(1,0,1)
d3 = gui.PlotData(2,1,2)

d.AddXY(0.0,0.0)
d.AddXY(1.0,1.0)
d2.AddXY(2.0,2.0)
d2.AddXY(3.0,3.0)
d3.AddXY(4.0,4.0)
d3.AddXY(5.0,5.0)

pv.AddData(d)
pv.AddData(d2)
pv.AddData(d3)


The PlotData?-manager can be toggled via the "File" menu. From the PlotData?-manager you can export, remove or from the "File"-menu import PlotData. The PlotDataID corresponds to in which order the PlotData were added. In this case, d corresponds to 0, d2 to 1 and d3 to 2.

PlotData?-manager


back to PlotView

Attachments