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

axes (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the plots class.

Syntax

axes

axes(a)

axes(name1, value1, ..., nameN, valueN)

obj = axes

obj = axes(name1, value1, ..., nameN, valueN)

Description

Generates a new plot or activates a plot you create with commands from the plots class. axes generates a new plot or uses the current plot for the next plot command. axes(a) makes a the current plot. axes(name1, value1, ..., nameN, valueN) sets the plot area attributes for the new or current plot according to the attribute names and values you specify.

Details

Examples

Inputs

Name Description
a Specifies the reference to the plot area. If a is not a valid reference, LabVIEW returns an error.
name Specifies the name of the attribute. name is a string.
value Specifies the value of the attribute.

Outputs

Name Description
obj Returns the reference to the current plot area. obj is a reference to a plot area.

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

axes
X = 0:1:10;
plot(X)

axes('Color', 'y')
X = 0:1:10;
plot(X)

X = sin(0:0.1:100);
plot(X, 'Color', 'g')
Y = axes;
set (Y, 'YLim', [-5, 5], 'XLim', [0, 600])

Related Topics

gca
plot


Resources


 

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