From 7:00 PM CST Friday, January 24th - 7:00 PM CST Sunday, January 26th, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

clfig (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: plots

Requires: MathScript RT Module

Syntax

clfig

obj = clfig

Legacy Name: clf

Description

Clears the current plot window. If no plot window exists, clfig creates a new plot window.

Examples

Outputs

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

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine No (returns error or is ignored)
Supported on RT targets No

Examples

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

plot(sin(1:10));
obj1 = clfig;
set(obj1, 'Position', [200, 350, 300, 300]);
obj2 = figure;
p = get(obj1, 'Position');
set(obj2, 'Position', [p(1) + p(3), p(2), p(3), p(4)]);

Related Topics

axes
figure
plot
showplot

WAS THIS ARTICLE HELPFUL?

Not Helpful