LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hot to AutoScale a Graph Nicely

Hello,

 

I am using a graph to view continuous occiliscope data.  The problem is, the top of the graph gets very close to the top of the y-axis, causing the graph to change sizes very rapidly in response to small flucutions in the data.  I would still like to autoscale, but I would like to give it some more buffer room at the top and bottom of the y-axis.  Is this possible?

 

Thanks,

Eric

0 Kudos
Message 1 of 2
(2,155 Views)

There's no way I know of to control the logic of the autoscale operation. I believe the autoscale property does allow you to ask the graph to only autoscale once, but that won't help you, because if I understand you correctly, you want the scale to be larger than the actual content.

 

Basically, you're going to have to come up with the algorithm you want and then implement it using the range properties to set the scale and something like Array Max and Min to get the data. Note that it can't be as simple as MAX + X, because you would still be affected by the changing value of MAX. You would probably need to add a percentage or use the Quotient and Remainder primitive to control the size of the jump.


___________________
Try to take over the world!
0 Kudos
Message 2 of 2
(2,137 Views)