Montage images are zoomed in by default on Axes

2 次查看(过去 30 天)
Hi, I am displaying montages on a MATLAB GUI (using montage function). The image drawn on the figure axes appears zoomed in by default and I have to zoom out in order to get the entire image to appear. How can I set the axes properties or zoom function such that the whole image nicely fits into the image axes. Thank-you, Mathew
  2 个评论
Rik
Rik 2018-1-10
This doesn't sound like behavior I have seen before with this function. What is the code you are using?
Mathew Thomas
Mathew Thomas 2018-1-10
Ah, I had previously added a line of code to keep track of the zoom level and re-use it as the user scrolls through multiple images. Once that was removed, things worked fine. Thanks for the hint!!!

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Visual Exploration 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by