Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

ScatterGraph with multiple y values on same x axis

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!

Chao for now

SloMotion
0 Kudos
Message 1 of 2
(4,332 Views)

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,

--
Peter Rifken - Field Engineer & Business Manager
Boston / North New England & Maine
0 Kudos
Message 2 of 2
(4,303 Views)