Reset graphics object properties to their defaults
reset(h)
reset(h)
resets all properties
on the object identified by h
to their default
values. Properties that do not have default values are not affected.
If h
is a figure, then MATLAB® software does not reset Position
, Units
, WindowStyle
, or PaperUnits
. If h
is an Axes
object or a GeographicAxes
object, then
MATLAB does not reset Position
or Units
.
reset(gca)
resets the properties of the current
axes.
reset(gcf)
resets the properties of the current
figure.