Create axes toolbar
replaces the default toolbar that appears above 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. The function returns the AxesToolbar
object created.
replaces the toolbar for the
current axes with an empty toolbar.tb
= axtoolbar
specifies toolbar properties using one or more name-value pair arguments.tb
= axtoolbar(___,Name,Value
)
Custom toolbars do not appear in figures in the Live Editor. To see the custom
toolbar, open the figure in a separate figure window by clicking the button in the upper-right corner of the figure.