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 Center および File ExchangeSubplots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by