Skip to Main Content Skip to Search
Product Documentation

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

  


Free MATLAB Interactive Kit

Explore how to use MATLAB to make advancements in engineering and science.


Download free kit

Trials Available

Try the latest version of MATLAB and other MathWorks products.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS