subplot command for plotting images

1 次查看(过去 30 天)
I have a 45x45x45 array of images which I would like to view at once by using the subplot command. However when I am using subplot, the images are too small. I want to see a bigger version of them to get a closer look. If there is a way to use a scroll bar in the figure that pops up, I would like to know so larger versions of all 45 of the images I am trying to see will come up and fit in the same figure.

回答(2 个)

Kelly Kearney
Kelly Kearney 2014-9-5
To do this sort of thing, I usually use a combination of subaxis to arrange the subplots with far less wasted space in between, and expandAxes to zoom in on individual axes for further analysis.

Image Analyst
Image Analyst 2014-9-5
I suggest you find another way of delivering the information. No one wants to scroll through a display of 91125 different images. Wait a minute -- is it 45 images like you said at the end, or a 45x45x45 (which = 91125) array of images like you said at the beginning?
  2 个评论
richard
richard 2014-9-5
Sorry for the confusion. There are 45 images, and each image is 45x45
Image Analyst
Image Analyst 2014-9-5
Put in a loop. In the loop, use rem() or mod() to call figure every 5th iteration. In the loop call subplot(3, 3, loopIndex).

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by