Owning Class: plots
Requires: MathScript RT Module
xlimit auto
xlimit manual
xlimit mode
xlimit([minx, maxx])
a = xlimit('mode')
Legacy Name: xlim
Sets the range of the x-scale. xlimit auto directs LabVIEW to fit the x-scale automatically to the plot. xlimit manual directs LabVIEW not to fit the x-scale automatically to the plot. xlimit mode returns the mode LabVIEW uses to determine the range of the x-scale.
| Name | Description |
|---|---|
| minx | Specifies the minimum x-value. minx is a real scalar. |
| maxx | Specifies the maximum x-value. maxx is a real scalar. |
| Name | Description |
|---|---|
| a | Returns the mode LabVIEW uses to determine the range of the x-scale. a is a string that can be either 'auto' or 'manual'. |
This function is not supported in the LabVIEW Run-Time Engine if you request an output from the function. Either do not request an output or remove this function from scripts before you build a stand-alone application or shared library.
X = 0:1:10;
plot(X)
xlimit([2, 8])
a = xlimit('mode')