Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

reset

Reset graphics object properties to their defaults

Syntax

reset(h)

Description

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, 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.

Related Examples

See Also

| | | |

Introduced before R2006a

Was this topic helpful?