Why figure toolbar doesn't work in GUI
Show older comments
I have created figure toolbar in GUIDE with toolbar editor, and put some usual stuff, zoom in, out, pan, data cursor and print.
And nothing of those seems to work. Why? And when I run GUI it let me turn on more functions at once?!
Thanks.
6 Comments
Sean de Wolski
on 8 Nov 2012
- Did you add anything to the callbacks?
- Do you have an axes with plotted stuff on it?
GUIDE issues are hard to diagnose since we can't see the files.
Tomislav
on 8 Nov 2012
Sean de Wolski
on 8 Nov 2012
Edited: Sean de Wolski
on 8 Nov 2012
I suppose you explicitly turn on the toolbar, yes.
set(handles.figure1,'toolbar','figure');
But it should work pretty much out of the box if you do it from the GUIDE Editor. Feel free to send me the figure/code, you've piqued my curiosity.
Tomislav
on 8 Nov 2012
Sean de Wolski
on 8 Nov 2012
Huh?
I would put it in the myGUI_outputfcn but once again I'd be more curious to find the root cause of it not working in the first place...
Tomislav
on 8 Nov 2012
Accepted Answer
More Answers (0)
Categories
Find more on Graphics Object Properties in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!