reset - Reset graphics object properties to their defaults

Syntax

reset(h)

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

get(0,'factory')

If h is a figure, the MATLAB® software does not reset Position, Units, Windowstyle, or 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

cla, clf, gca, gcf, hold

Object Manipulation for related functions

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS