App Designer, Axes, Toolbar, Cannot zoom out without panning first

2 vues (au cours des 30 derniers jours)
smarthu
smarthu le 24 Mai 2022
I just started learning Matlab.
In App Designer, I created a figure using Axes.
The figure has its own toolbar with panning and zooming buttons.
But I found that, the zoom out tool doesn't work, if I use it first.
But if I pan the figure first, then zoom out, it will work.
Please help, how can I use the zoom out tool without panning?

Réponses (1)

Ayush
Ayush le 3 Nov 2023
Hey Smarthu,
I understand that you are making a figure using “Axes” in the App Designer in MATLAB and you want to know whether it’s possible to use zoom out feature without panning the figure.
By default, you can't zoom out past the bounds of the contents of the axes, but if you use pan first to "break out" of that starting bounding box, then you can zoom out indefinitely.
For more information related to the zoom feature for other versions of MATLAB, refer to the link below:
Hope this helps!
Regards,
Ayush Goyal

Catégories

En savoir plus sur Data Exploration dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by