05-05-2012 12:18 PM
I am having trouble adding a data array to multiple Yaxis but sharing the same Xaxis. Currently Yaxis1 is set to the left scale and Yaxis2 is set to the right scale. I am using using
scattergraph1.PlotXY(Frequency, S21_dB) 'Left yaxis0
To add the first data array. I then follow with
sg1.PlotXY(Frequency, S11_dB) 'Right yaxis1
sg1.PlotXY(Frequency, S22_dB) 'Right yaxis2
To add the rest of the data. This isn't correct it defaults and writes over the first set of data.
Example code or project would be helpful!
05-07-2012 04:41 PM
Hello SloMotion,
The following thread should point you in the direction:
how to plot mulitple graph in scattergraph control?
Let me know if this helps!
Best,