figurepalette

Show or hide Figure Palette

Syntax

figurepalette('show')
figurepalette('hide')
figurepalette('toggle')
figurepalette
figurepalette(figure_handle,...)

Description

figurepalette('show') displays the Figure Palette on the current figure.

figurepalette('hide') hides the Figure Palette on the current figure.

figurepalette('toggle') toggles the visibility of the Figure Palette on the current figure.

figurepalette is the same as figurepalette('show').

figurepalette(figure_handle,...) shows or hides the palette on the figure specified by figure_handle.

Examples

Open Figure Palette

Plot a line and open the figure palette.

plot(1:10)
figurepalette('show')

The Figure Palette to the left of a figure window. The Figure Palette has sections titled "New Subplots", "Variables", and "Annotations".

Tips

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

Alternatives

Open or close the Figure Palette tool from the figure's View menu.

Introduced before R2006a