Clear Filters
Clear Filters

zoom tools in an image in GUI axes

6 views (last 30 days)
xi on 27 Nov 2018
Reopened: Walter Roberson on 20 Dec 2018
I want to show an image in an gui axes and enable the zoom in(out) functionalities of the image using the mouse, display the (X,Y) when hovering the mouse, etc.
What is the best way to achieve that?
I created an axes and use the following to display an image
h=imshow(Image,'Parent', handles.axes1);
  1 Comment
Jan on 27 Nov 2018
What exactly do you want to do? Enable zoom functionality, which is done usually by pressing the magnifier icon? Where do you want to "display the (X, Y)" and what does this mean? What is "etc." exactly?

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 27 Nov 2018
If you want, you can try the attached demo.


Find more on Visual Exploration in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!