Skip to content

cla

plot · scripts/plot/util/cla.m

cla ()
cla ("reset")
cla (ax)
cla (ax, "reset")
  Remove the plotted objects (those with visible handles) from the
  current axes or from AX, and restart the colour/line-style cycling.
  With "reset" the axes properties also return to their defaults, except
  Position and Units, and the title and axis labels are cleared.