Hello!
On my GUI page, I have many-many small graphs (one plot on each) on many tab pages. I also have radio button and check boxes that will put different combination of those plots on a BIG graph. So, all I have to do is a copy of the plot from the small graph to the Big graph...
Here what i programmed, but it is not efficient for many graphs (unless i redo the programming to use an array of graphs)...
wfmBIG.ClearData()
Dim Xvalue, Yvalue As Double
'get Tzero
wfmSmallOne.Plots(0).GetDataPoint(0, Xvalue, Yvalue)
Dim myTzero As Double = Xvalue
'get deltaT
wfmSmallOne.Plots(0).GetDataPoint(1, Xvalue, Yvalue)
Dim myDeltatT As Double = Xvalue - myTzero
'plot it on Big graph
wfmBIG.Plots(0).PlotY(wfmSmallOne.Plots(0).GetYData, myTzero, myDeltatT)
so, is there a way to copy (more efficiently )a plot?