Skip to content

__figure_toolstrip__

plot · scripts/plot/util/__figure_toolstrip__.m

: strips = __figure_toolstrip__ ("install", hf, menu_cb, mouse_cb)
: __figure_toolstrip__ ("apply", hf, action)
: __figure_toolstrip__ ("apply", hf, action, value)
: tf = __figure_toolstrip__ ("visible", hf)
: cat = __figure_toolstrip__ ("catalog")

MATLAB R2026a figure toolstrip (Figure, Format, Tools, Layout).

A figure created for plotting shows this toolstrip instead of the classic menu bar and icon toolbar. Setting MenuBar or ToolBar to "figure" hides the toolstrip, shows that classic chrome, and undocks the figure. Dialog figures (NumberTitle "off", or a modal window) do not get a toolstrip.

Show Code records the commands this toolstrip itself applied (labels, legend, colour bar, grid, annotations, and the format and camera actions). It is the reproducible record of those controls, not a decompiler for the whole graphics tree.

Layout Single and Layout Grid select how docked figures share the Figures window: one tab, or a grid of every docked figure. The window chrome that draws the tabs is the Qt figure host; these buttons are the controls that ask for that layout.