Member of the plots class.
gca
obj = gca
Returns the reference to the current plot area. If no plot area exists, gca creates a new plot.
| 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.
X = 0:0.1:1;
Y = X.*X;
plot(X, Y)
obj = gca;
set(obj, 'Color', 'c')