From 09:00 PM Friday, August 7 - 10:30 AM CST Saturday, August 8, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

xlimit (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: plots

Requires: MathScript RT Module

Syntax

xlimit auto

xlimit manual

xlimit mode

xlimit([minx, maxx])

a = xlimit('mode')

Legacy Name: xlim

Description

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.

Examples

Inputs

Name Description
minx Specifies the minimum x-value. minx is a real scalar.
maxx Specifies the maximum x-value. maxx is a real scalar.

Outputs

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'.

Details

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

Examples

X = 0:1:10;
plot(X)
xlimit([2, 8])
a = xlimit('mode')

Related Topics

axis
ylimit
zlimit

WAS THIS ARTICLE HELPFUL?

Not Helpful