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

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

ref_plotwin

obj = ref_plotwin

Legacy Name: gcf

Description

Returns the reference to the current plot window. If no plot window exists, ref_plotwin generates a new plot window.

Details

Examples

Outputs

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

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)
figure
Y = X.*X;
plot(Y)
obj = ref_plotwin

Related Topics

figure
plot
plot3d
ref_plotarea
subplot
surface


 

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