clf
Clear figure.
📝Syntax
clf
clf(f)
F = clf(...)
📥Input Arguments
Parameter Description
f a scalar graphics object on an existing figure.
📤Output Arguments
Parameter Description
F a graphics object: used figure graphics object.
📄Description

clf clears the current figure.

💡Examples
f = figure();
x = linspace(0, 2*pi);
y = sin(3 * x);
plot(x, y)
sleep(5)
clf
🔗See Also
gcfcla
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub