Skip to content

clf

plot · scripts/plot/util/clf.m

clf ()
clf ("reset")
clf (fig)
clf (fig, "reset")
h = clf (...)
  Delete the children of the current figure (or FIG) that have visible
  handles.  With "reset" every child is removed and the figure
  properties return to their defaults, except for position (including
  outer/inner position), units and paper settings.  The figure handle
  can be returned.