using zoom in and zoom out in gui Axes
19 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
hi i'm user of the Matlab 2011. the question is how to show or use the zoom in and zoom out buttons on GUI axes. when I use the instruction 'figure' I can see the zoom in, zoom out and data cursor. please let me.
0 comentarios
Respuestas (2)
Teja Muppirala
el 26 de Dic. de 2012
If you make a GUI in GUIDE, by default the toolbar and menubar are hidden. You can make them visible by setting the 'MenuBar' and 'Toolbar' properties of your GUI figure:
set(h,'toolbar','figure');
set(h,'menubar','figure');
where h is the handle to your figure.
1 comentario
Teja Muppirala
el 26 de Dic. de 2012
The same thing also happens with the toolbar if you do it manually using UICONTROLs, but you can turn it back on the same way using the above commands.
Image Analyst
el 26 de Dic. de 2012
Not sure what you're asking. Do you want to zoom from the figure toolbar? Or do you want to zoom your image or graph in an axes with the zoom() command from your m-file code?
1 comentario
Walter Roberson
el 26 de Dic. de 2012
Or is the difficulty that one you add a uicontrol() to a figure, a menubar is usually automatically removed ?
Ver también
Categorías
Más información sobre Data Exploration en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!