plotbrowser

Show or hide figure Plot Browser

Syntax

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

Description

plotbrowser('on') displays the Plot Browser on the current figure.

plotbrowser('off') hides the Plot Browser on the current figure.

plotbrowser('toggle') toggles the visibility of the Plot Browser on the current figure.

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

plotbrowser(figure_handle,...) shows or hides the Plot Browser on the figure specified by figure_handle.

Examples

Open Plot Browser

Plot a 5-by-5 matrix of random numbers. Then, open the plot browser.

plot(rand(5))
plotbrowser('on')

The Plot Browser to the right of a figure window. The Plot Browser displays a list of axes and line objects with check boxes next to each item. The color of each line object in the list matches the color of the corresponding line.

Tips

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

Alternatives

Open or close the Plot Browser tool from the figure's View menu.

Introduced before R2006a