FUNCTION REFERENCE
Figure.clf
Remove the plotted contents of a figure while keeping the figure open.
Remove the plotted contents of a figure while keeping the figure open.
Syntax
clf(f)Example
f = figure('Visible', 'off'); plot(1:3); clf(f); isgraphics(f)See also: Figure
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.