Owning Class: plots
Requires: MathScript RT Module
clfig
obj = clfig
Legacy Name: clf
Clears the current plot window. If no plot window exists, clfig creates a new plot window.
| Name | Description |
|---|---|
| obj | Returns the reference to the current plot window. obj is a reference to a plot window. |
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.
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)]);