필터 지우기
필터 지우기

subplot command for plotting images

조회 수: 2 (최근 30일)
richard
richard 2014년 9월 5일
댓글: Image Analyst 2014년 9월 5일
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).

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Subplots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by