Clear Filters
Clear Filters

Montage images are zoomed in by default on Axes

2 views (last 30 days)
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 Comments
Rik
Rik on 10 Jan 2018
This doesn't sound like behavior I have seen before with this function. What is the code you are using?
Mathew Thomas
Mathew Thomas on 10 Jan 2018
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!!!

Sign in to comment.

Answers (0)

Categories

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!