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

gca (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

gca

obj = gca

Description

Returns the reference to the current plot area. If no plot area exists, gca creates a new plot.

Details

Examples

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

X = 0:0.1:1;
Y = X.*X;
plot(X, Y)
obj = gca;
set(obj, 'Color', 'c')

Related Topics

gcf
plot


Resources


 

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