Main Content

propedit

(Not recommended) Open Property Editor

    propedit is not recommended. Use inspect to launch the Property Inspector instead. For more information, see Version History.

    Description

    propedit starts the Property Editor, a graphical user interface to the properties of graphics objects. If no current figure exists, propedit will create one.

    When you dock, undock, resize, or reposition a plot tool, MATLAB® restores that configuration when you invoke the tool for subsequent figures, both within and across MATLAB sessions. There is no command to reset a plot tool to its original configuration.

    example

    propedit(fig) operates on the specified figure instead of the current figure.

    Examples

    collapse all

    Show the Property Editor on a figure by calling the propedit function. The tool opens in the same configuration as last time you invoked the tool.

    plot(1:10);
    propedit

    Property Editor tool below a figure window. The Property Editor tool 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".

    Input Arguments

    collapse all

    Target figure, specified as a Figure object. Use fig to show the Property Editor on a specific figure instead of the current figure.

    Example: propedit(f) shows the Property Editor plot tool on the figure f.

    Tips

    If you call propedit 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 View menu of a figure window.

    Version History

    Introduced before R2006a

    expand all