Skip to content

hold

plot · scripts/plot/util/hold.m

hold on
hold off
hold all
hold
hold (ax, ...)
  Control whether new plots are added to (hold on) or replace (hold off)
  the contents of the current axes, or of AX; a figure handle selects
  the current axes of that figure.  Without a state word the state is
  toggled.  "hold all" behaves like "hold on".