Clear the current figure window.
clf
operates by deleting child graphics objects with visible
handles (HandleVisibility = "on"
).
If the optional argument "reset"
is specified, delete all child
objects including those with hidden handles and reset all figure
properties to their defaults. However, the following properties are not
reset: Position, Units, PaperPosition, PaperUnits.
If the first argument hfig is a figure handle, then operate on
this figure rather than the current figure returned by gcf
.
The optional return value h is the graphics handle of the figure window that was cleared.
See also: cla, close, delete, reset.
Package: octave