Clear Filters
Clear Filters

Matlab App Designer UI Axes Unable to Zoom In/Out Smoothly

8 views (last 30 days)
Hello,
I am using Matlab 2022a, and created an app that uses this simple command to display an image on UI Axes:
imshow(app.image,'Parent', app.UIAxes);
After I display the image, when I zoom in, the image zooms in then out and then back in. It has this back and forth instead of just zooming in. Also when I first load the image and zoom in, it rotates it 180 degrees.
This weird zoom behavior happens also only after compiling the app and running it with exe and not when running it from Run in App Designer.
  1 Comment
John
John on 21 Mar 2024
Edited: John on 21 Mar 2024
I have a similar issue, with geoplot. Run from app designer I can zoom in and out with the mouse scroll wheel and pan while holding the left mouse button, but these mouse commands do not register/work once I have compiled into a standalone app. (Matlab 2021a)

Sign in to comment.

Answers (1)

Adam Danz
Adam Danz on 27 Sep 2023
Please contact tech support and include instructions how to reproduce the problem, your release information, and attach the figure file.

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!