Multiple figure in same subplot on figure

조회 수: 1 (최근 30일)
nedo nodo
nedo nodo 2013년 5월 23일
Hi,
I would like to know if it is possible to plot an image with several subplots, each of them with multiple figures.
subplot(1,2,1)
imshow(image1)
imshow(image2)
subplot(1,2,2)
imshow(image1)
imshow(image2)
Thank you in advance

채택된 답변

Iain
Iain 2013년 5월 23일
I think you would do better by using more subplots: subplot(2,2,1) etc.
If you just want two images next to each other, and if they're the same size, you can concatenate them and display them both at once: imshow([image1 , or ; image2]), (choose between , and ; for how you want them displayed.), but if there is a mean level change between the images, they won't look quite right.
You could also have more subplots, and use "get" & "set" to position them as desired.

추가 답변 (1개)

David Sanchez
David Sanchez 2013년 5월 23일
subplot(2,2,1)
imshow(image1)
subplot(2,2,2)
imshow(image2)
subplot(2,2,3)
imshow(image1)
subplot(2,2,4)
imshow(image2)

카테고리

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