Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

ylimit (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

Owning Class: plots

Requires: MathScript RT Module

Syntax

ylimit auto

ylimit manual

ylimit mode

ylimit([miny, maxy])

a = ylimit('mode')

Legacy Name: ylim

Description

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.

Details

Examples

Inputs

Name Description
miny Specifies the minimum y-value. miny is a real scalar.
maxy Specifies the maximum y-value. maxy is a real scalar.

Outputs

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

Details

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.

Examples

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

Related Topics

axis
xlimit
zlimit


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit