|
In article <g0c76h$nom$1@fred.mathworks.com>,
Elijah <eli.auger@harley-davidson.com> wrote:
>I want to add toolbars to my gui, so when the user plots
>stuff, he can zoom in to make sure everything works out
>great. doc axes_props has nothing about toolbars, and I'm
>sorta at a loss. Is this a pipe dream or can it be done?
In Matlab, toolbars can -only- go at the top, never within an axes.
You can create a toolbar using uitoolbar()
ht = uitoolbar('PropertyName1',value1,'PropertyName2',value2,...)
creates an empty toolbar at the top of the current figure window, and
returns a handle to it.
And if you look at the Uitoolbar Properties help you can see that
the Parent can only be a figure, and there is no Position property.
--
"No one has the right to destroy another person's belief by
demanding empirical evidence." -- Ann Landers
|