Allowing zoom feature along with mouse click actions in GUIDE.
4 ビュー (過去 30 日間)
古いコメントを表示
I am developing application using matlab GUIDE. This application allows the user to add/remove annotations on image using mouse click action function. Now there is a need to allow zoom feature so that user can zoom in the image and perform the mouse actions.
I am able to use zoom and pan actions using mouse to reach the needed region. Then disabling them, for mouse actions. When I click on the image, mouse based action is succesfully done, but when I want to display the new image which has one new mark, it goes back to original position. I would need to programatically zoom and pan to the position the mouse had reached before. I am stumped on how to do it.
Changing the YLIM or XLIM is no go, it seems. I would need to find the zoom factor, then zoom it. Then pan the image to the needed region.
How to find the zoom factor, and pan the image programatically.
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Data Exploration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!