GUIDE: preview zoomed image based on mouse over of fullsize image

Does anyone know of a way to zoom right in (so that pixels can be seen) to parts of the image that a user is hovering the mouse over?
In my GUI, I have two axes: one called 'imageAxes' and one called 'previewAxes'. The 'previewAxes' is only small but I would like it to zoom right in on wherever the user is hovering their mouse in 'imageAxes'... is this possible?!
Thanks!

 Accepted Answer

http://www.mathworks.com/matlabcentral/fileexchange/2902

4 Comments

D'Oh. I just worked out how to do this. Oh well. It was something interesting to learn. But I really should check file exchange first!
today I learned to first check the FEX before wasting my time learning how to do something the hard way lol ... tomorrow I probably won't remember anyway!
hah! there seems to be an FEX for everything these days... :)
I've decided that I might take some of the complexity away from the user and just display the image zoomed in and fixed to specific pixel coordinates. Unfortunately, I'm having problems with this too, but have opened a new question so as not to deviate from this one too much.
Thanks for all your help!
I think my GUI is pretty cool anyway. Especially for something I threw together in less than an hour. :)

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!