Skip to content

__figure_toolbar__

plot · scripts/plot/util/__figure_toolbar__.m

: bar = __figure_toolbar__ ("install", hf)
: bar = __figure_toolbar__ ("install", hf, mouse_cb, menu_cb)
: __figure_toolbar__ ("sync", hf)
: h = __figure_toolbar__ ("button", hf, role)
: cat = __figure_toolbar__ ("catalog")

Classic MATLAB figure toolbar (zoom, pan, data tip, save).

MATLAB R2026a keeps this icon bar when ToolBar is "figure" (or "auto" with MenuBar "figure"). The standard exploration and save tools are created as uitoggletool / uipushtool children of a uitoolbar tagged "__default_toolbar__". Each tool defaults to Enable "on"; set (h, "Enable", "off") disables it. Setting the figure ToolBar property to "none" hides the bar; "figure" shows it.