Within imtool, how can I programmatically zoom to a point in such a way that the %zoom drop-down box is updated and normal zoom functionality (icons) still work? Can I manually call the imtool zoom callback function?
2 次查看(过去 30 天)
显示 更早的评论
Within imtool, how can I programatically zoom to a point? I have tried CameraTarget, CameraPosition, xlim, zoom, but once set I am having trouble zooming back to the original full image using the imtool zoom icons.
0 个评论
回答(1 个)
Will Jackson
2016-7-21
Hello,
imtool set the axes Position property to pan and zoom. This is different than the other ways of zooming in MATLAB with the axes limits (XLim, YLim or ZLim) or any of the camera properties and so when you mix them, you get strange results.
Will
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!