LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Autoscale on some plots only

On charts with multiple plots, i'd like to scale the Y axis only respect to one or more of the plots, so that those plots are "focused" while others may get out of sight.
I can do it by manually setting YScale.Maximum and YScale.Minimum, but then i waste the "loose fit" capability. I could calculate manually a loose fit too, but the thingy is getting a bit complicated... Is there a better method?
0 Kudos
Message 1 of 5
(3,061 Views)
Hi
You can achieve this by setting up two or more Y scales, right click on the original scale and select Duplicate Scale. Now show the plot legend and the scale legend and you can set one scale to auto scale and not the other. You then need to right click on each plot in the plot legent to select which scale to send each plot to.
 
This can also be done with property nodes.
0 Kudos
Message 2 of 5
(3,050 Views)
Thanks! Then i set the second scale's style to invisible, et voilà
0 Kudos
Message 3 of 5
(3,043 Views)
Hi,


You can set the active scale, and then auto scale it with property nodes.


First you have to make a Y Scale for each kind of behaviour you want. In the legend, select for each plot which scale it uses. (You can do this with properties).


From the diagram use "Active Y Scale" to set the scale you want to change.


Then use "Y Scale>Scale Fit" to change the behaviour. The help will tell you how to use it.


Regards,


Wiebe.


"Snamprogetti" <x@no.email> wrote in message news:1156939808662-410242@exchange.ni.com...
On charts with multiple plots, i'd like to scale the Y axis only respect to one or more of the plots, so that those plots are "focused" while others may get out of sight.
I can do it by manually setting YScale.Maximum and YScale.Minimum, but then i&nbsp;waste&nbsp;the "loose fit" capability. I could calculate manually a loose fit too, but&nbsp;the thingy is&nbsp;getting a bit complicated... Is there a better method?
0 Kudos
Message 4 of 5
(3,034 Views)
The problem was already solved, however thanks for your reply too......
0 Kudos
Message 5 of 5
(3,022 Views)