Montage images are zoomed in by default on Axes

1 Ansicht (letzte 30 Tage)
Mathew Thomas
Mathew Thomas am 9 Jan. 2018
Kommentiert: Mathew Thomas am 10 Jan. 2018
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 Kommentare
Rik
Rik am 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 am 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!!!

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Data Exploration finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by