LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i plot X-Y graph if I'm having multiple plots

Hi,

 

I have 2 y-axis and 1 x-asis.

can anyone help me develop the x-y graph please.

 

Thanks in advance

 

Screenshot attached

0 Kudos
Message 1 of 6
(2,101 Views)

Hi akshay,

 

a plot in a XYGraph can be supplied as cluster of [X array, Y array]. To have more than one plot you can create an array of those clusters - as is explained in the context help of the XYGraph!

 

Where are you stuck at creating the plots?

 

To get that 2nd Y axis you need to create the Y axis using the context menu of the graph (aka right-click menu), then create Y axis, then swap side of the Y axis…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(2,095 Views)

Hi,

 

I wanted to know how can i plot the second curve in the same graph after plotting the first curve

0 Kudos
Message 3 of 6
(2,067 Views)

Hi akshay,

 

follow the context help to learn how to wire multiple plots…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(2,050 Views)

My X-Y graph takes the values from only one Y-axis.

 

Is there a way to select the particular Y-axis.

 

 

0 Kudos
Message 5 of 6
(2,035 Views)

Hi akshay,

 

right click the plot in the plot legend -> select Y axis for that plot.

(Or use a property node for that plot to select the Y axis…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(2,031 Views)