LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to assign a plot to a y-skale?

Hi,
 
I have a xy-graph with different plots. The plots have different units. Therefore I have different skales for the various plots.
I can chose between the different y-skales for each plot in the properties of the graph under "Plots". Unfortunately it always jumps back to a certain skale, so that every plot uses the same skale.
Can anybody tell me why it wont let me use different skales for different plots and how to solve the problem?
 
Thanks.
0 Kudos
Message 1 of 5
(3,326 Views)
You need to create a secondary scale and associate each plot with a specific axis.  See attached LV 7 example for directions.


2006 Ultimate LabVIEW G-eek.

0 Kudos
Message 2 of 5
(3,298 Views)

Hi Jonnie,

thanks for the VI. In your example everything works fine. The "big plot" is associated with the "big skale" and the "small plot" with the "small skale". Anyway: In "Properties" >> "Plots" the Big Skale appears for both "Small plot" and "Big plot". I cannot switch it to small plot. It just keeps jumping back... this is the same problem I had with my own graph.

Do you have any idea?

0 Kudos
Message 3 of 5
(3,294 Views)
Hmmmm - that is some bizarre behavior.  I can't say I've ever seen that.  Do you see this behavior with a fresh new vi and new graph?  Can you post a vi with a graph that shows this behavior?

You can also programmatically change plot-scale associations via the property node PlotYScaleIndex/  I attached an example of this method.


2006 Ultimate LabVIEW G-eek.

0 Kudos
Message 4 of 5
(3,286 Views)

Hi Jonnie,

it just wouldnt work the way we tried it. I now assigned the plots to the y-skale with right-click on the plot in the plot legend >> Y-skale. Surprisingly it worked this way.  I don't know, what the problem is with the properties window.

Thank you anyway... Smiley Wink

0 Kudos
Message 5 of 5
(3,276 Views)