LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

different plots in one graph

Solved!
Go to solution

Hello.

 I want to get different plots, as many as the number of the columns of an array, ( except column 1 is for X axis) in one XY graph , But I want to do this automatically,  without having  many cases in the Case Structure.

 

For example, if I have 30 columns in my array, i will get 29 different plots ( column 1 is common for all the plots).

 

Any idea of how to do this ? 

Thank you in advance.

 

0 Kudos
Message 1 of 25
(3,728 Views)
Solution
Accepted by Student_LV

You don't need any Case Structure, just use a loop:

Multiplot xy graph.png

 

 

 

 

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 2 of 25
(3,704 Views)

I thank you for your solution

I want also to know which is the property node i have to use to set the pace in X and Y scale ?

EG : For Y scale, I want values to go from 0 to 200 with a pace of 5 

Thank you for your help  

0 Kudos
Message 3 of 25
(3,692 Views)

Check all the properties under Y-scale -> Range

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 4 of 25
(3,685 Views)

I checked all the properties under Y scale --> range, i didn't find a specific property for pace 

0 Kudos
Message 5 of 25
(3,679 Views)

Hi Student,

 

i didn't find a specific property for pace 

Maybe because you are looking for "increment" (or even "minor increment")?

Best regards,
GerdW


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

Another hint: there is a help item for each property (right-click on the property name).

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 7 of 25
(3,672 Views)

Hello everyone!

 

You will find above the XY Graph that i have obtained : 

XY graph.PNG

 

how can I optimize it in order to get a readable and interpretable Graph ? 

What property nodes I can use to not get too close plots?

Another point, each plot correspond to distinguished class values, I want to give a name to each plot ( eg : class 1, class 3, class 20 ...), How can i get a legend for all the displayed classes ?

 

Any suggestion will be appreciated

Thank you so much 

 

0 Kudos
Message 8 of 25
(3,624 Views)

Hi student,

 

how can I optimize it in order to get a readable and interpretable Graph ? 

Get better data…

Which kind of "readable and interpretable graph" do you expect?

 

What property nodes I can use to not get too close plots?

Get better measurement data! (Or use less plots.)

Property nodes will not help to separate those plots…

 

Another point, each plot correspond to distinguished class values, I want to give a name to each plot ( eg : class 1, class 3, class 20 ...), How can i get a legend for all the displayed classes ?

- You could resize the plot legend to show more plots!

- You can provide a label for each plot using property nodes of the graph…

 

Best regards,
GerdW


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

Thank you for you response, 

What I expect is spaced plots ( not too close as in the attached figure)

How can i provide a label for each plot, using property node, knowing that there are too many ones ?

 

0 Kudos
Message 10 of 25
(3,611 Views)