FUNCTION REFERENCE
clf
Clear the current or specified figure.
Clear the current or specified figure.
Syntax
clfSyntax
clf('reset')Syntax
clf(fig)Syntax
clf(fig, 'reset')Removes all plots from the figure. With 'reset', also restores figure properties to their defaults.
Example
clf('reset') % current figure is cleared and resetDifferences from MATLAB: Supports current figure or a figure handle, with optional 'reset'.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.