axtoolbar
Create axes toolbar
Syntax
Description
replaces the default toolbar that appears near the top-right corner of the current axes
with a toolbar that contains only the specified buttons. For example,
tb = axtoolbar(buttons)axtoolbar({"pan","restoreview"}) specifies a button to pan and a
button to restore the original view. You can interact with the toolbar using a mouse, a
keyboard, or a touch screen. The function returns the AxesToolbar object
created.
replaces the toolbar for the
current axes with a toolbar without buttons.tb = axtoolbar
specifies options using one or more name-value arguments in addition to any of the input
argument combinations in previous syntaxes. For example, to expand the toolbar, set
tb = axtoolbar(___,Name=Value)Expanded to "on".
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Tips
If you want to modify the behavior or properties of one of the default toolbar buttons, then use the
axtoolbarbtnfunction to create and use a new button in place of the default button. You can still use the icon of the default button.


