propertyeditor

Show or hide Property Editor

Syntax

propertyeditor('on')
propertyeditor('off')
propertyeditor('toggle')
propertyeditor
propertyeditor(figure_handle,...)

Description

propertyeditor('on') displays the Property Editor tool on the current figure.

propertyeditor('off') hides the Property Editor on the current figure.

propertyeditor('toggle') toggles the visibility of the Property Editor on the current figure.

propertyeditor is the same as propertyeditor('on').

propertyeditor(figure_handle,...) displays or hides the Property Editor on the figure specified by figure_handle.

Examples

Open Property Editor

Create a simple plot and open the property editor.

plot(1:10)
propertyeditor

The Property Editor below a figure window. The Property Editor has options to set the figure name, colormap, and figure color. A check box is labeled "Show Figure Number". Two buttons are labeled "More Properties" and "Export Setup".

Tips

If you call propertyeditor in a MATLAB® program and subsequent lines depend on the Property Editor being fully initialized, follow it by drawnow to ensure complete initialization.

Alternatives

Open or close the Property Editor tool from the figure's View menu.

Introduced before R2006a