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

2 次查看(过去 30 天)
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?

回答(1 个)

Ayush
Ayush 2023-11-3
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

类别

Help CenterFile Exchange 中查找有关 Data Exploration 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by