LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do you define a range for an axis in autoscale?

Hello All,

I found that the autoscaling is  too "tight" with my data and i'd like to define a range on the autoscaling so that I constantly have the same space between the data and the top and bottom of my y-axis. i've looked but couldnt find a way to do it. Can anyone help please?

Thank you in advance,

Frederic

0 Kudos
Message 1 of 4
(2,736 Views)

22589i4171D70849CAD3B1

If that's not loose enough, you have to do it yourself.  Turn off auto scale, and set Y min and Y max to the min(data)-cushion and max(data)+cushion, respectively.  This is possible using property nodes for the graph.

--
Tim Elsey
Certified LabVIEW Architect
0 Kudos
Message 2 of 4
(2,733 Views)

Defining your own range and autoscaling is a contradiction in terms. You can set the range with the properties Range.Min and Rang.Max for the axis you want. To use this, you need to turn autoranging off. You could caclulate the min and max based on the min and max values in your data (just like autoranging does).

0 Kudos
Message 3 of 4
(2,729 Views)

OK, old post.... but this may give you what you want(ed).

 

Right-clicking on the axis and selecting formatting (when VI is not running).

Select the axis you want.

Select 'Type' of Floating point. 

Select your preferred digits of precision.

click ok.

 

The auto scale will now autoscale to the data, but only 'zoom in' to the number of digits of precision you have set.

This means if your data has three dp, but you set the formatting above to 1 dp the autoscaled min max will be to +-0.1 instead of +- 0.001

 

Blue

0 Kudos
Message 4 of 4
(2,555 Views)