![]() | Download Help (Windows Only) |
Owning Class: plots
Requires: MathScript RT Module
ylimit auto
ylimit manual
ylimit mode
ylimit([miny, maxy])
a = ylimit('mode')
Legacy Name: ylim
Sets the range of the y-scale. ylimit auto directs LabVIEW to fit the y-scale automatically to the plot. ylimit manual directs LabVIEW not to fit the y-scale automatically to the plot. ylimit mode returns the mode LabVIEW uses to determine the range of the y-scale.
Name | Description |
---|---|
miny | Specifies the minimum y-value. miny is a real scalar. |
maxy | Specifies the maximum y-value. maxy is a real scalar. |
Name | Description |
---|---|
a | Returns the mode LabVIEW uses to determine the range of the y-scale. a is a string that can be either 'auto' or 'manual'. |
The following table lists the support characteristics of this function.
Supported in the LabVIEW Run-Time Engine | No (returns error or is ignored) |
Supported on RT targets | No |
X = 0:1:10;
plot(X)
ylimit([2, 8])
a = ylimit('mode')
Helpful
Not Helpful