Member of the plots class.
axes
axes(a)
axes(name1, value1, ..., nameN, valueN)
obj = axes
obj = axes(name1, value1, ..., nameN, valueN)
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.
| 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. |
| Name | Description |
| obj | Returns the reference to the current plot area. obj is a reference to a plot area. |
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.
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])