LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to showing two Y-axis in same graph to display different waveform.Thanks.

 

May I know if I want using two Y-axis in same graph ,one is at left side of graph to showing direction value from table second column according to time, another one is at right side of graph to showing Speed value from table third column according to time also.And two Y-axis limitation is difference.For left side Y-axis direction(0~360deg), right side Y-axis Speed(0~10m/s), So may I know how to get it thanks.

0 Kudos
Message 1 of 11
(3,509 Views)
  • right-click y-axis and select "duplicate scale"
  • right-click the new scale and select "swap sides"
  • Change the scale setting and label of the new scale.
  • right-click the colored line in the plot legend and select the y-axis for each plot.
Message 2 of 11
(3,500 Views)

Thanks for your answer.Really appreciate for it.

And May I know if I want save my graph imgae,how do I save it?Thankks.

0 Kudos
Message 3 of 11
(3,494 Views)

right-click the graph...create...invoke node...get image.

Message 4 of 11
(3,481 Views)

Hi,

 

I really do like people that create double posts within several minutes

 

(Yes, sarcasm!)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 5 of 11
(3,476 Views)

Hi there May I know how to connect the waveform graph(To save image one) to originally graph.Thanks

0 Kudos
Message 6 of 11
(3,459 Views)

Hi Tiramisu,

 

you wire the image data provided by that method node to a picture file save function of your choice. You will find them in the "audio & graphics" function palette…

 

You need to obey dataflow when reading the graph's image. Otherwise you create a race condition easily!

 

Hints:

- Why do you need an Express function to create an array of plots? Why not use a simple BuildArray instead?

- Why do you create an array of three plots with two identical plots?

- Why do you enable function labels? They just take up space on your BD! When you need them the context help window will show them…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 11
(3,454 Views)

Sorry for that but i really need the answer faster.Sorry for double posted. 

So may I know how can I get the graph image and save it  thanks

0 Kudos
Message 8 of 11
(3,451 Views)

Hi Tiramisu,

 

why do you ask the same question with the same example VI again?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 9 of 11
(3,449 Views)

Hi may I know where is picture save file function.thanks

0 Kudos
Message 10 of 11
(3,441 Views)