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

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?

Risposte (1)

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

Categorie

Prodotti

Release

R2022a

Richiesto:

il 24 Mag 2022

Risposto:

il 3 Nov 2023

Community Treasure Hunt

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

Start Hunting!

Translated by