MATLAB Function Reference    
reset

Reset graphics object properties to their defaults

Syntax

Description

reset(h) resets all properties having factory defaults on the object identified by h. To see the list of factory defaults, use the statement,

If h is a figure, MATLAB does not reset Position, Units, PaperPosition, and PaperUnits. If h is an axes, MATLAB does not reset Position and Units.

Examples

reset(gca) resets the properties of the current axes.

reset(gcf) resets the properties of the current figure.

See Also

Object Manipulation for related functions


  repmat reshape