필터 지우기
필터 지우기

Display images in one figure

조회 수: 1 (최근 30일)
Leonard Yeo
Leonard Yeo 2015년 11월 17일
댓글: virpartap singh 2015년 11월 17일
I am using a for loop to display n number of images. How can I display all my images in one figure dynamically? Thanks
  댓글 수: 1
virpartap singh
virpartap singh 2015년 11월 17일
use subplot command

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

채택된 답변

Thorsten
Thorsten 2015년 11월 17일
편집: Thorsten 2015년 11월 17일
Use subplot:
for i =1:Nimages
I = ... % read ith image
subplot(Nrows, Ncols, i), imshow(I)
end

추가 답변 (0개)

카테고리

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