Multiple figure in same subplot on figure

1 visualización (últimos 30 días)
nedo nodo
nedo nodo el 23 de Mayo de 2013
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

Respuesta aceptada

Iain
Iain el 23 de Mayo de 2013
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.

Más respuestas (1)

David Sanchez
David Sanchez el 23 de Mayo de 2013
subplot(2,2,1)
imshow(image1)
subplot(2,2,2)
imshow(image2)
subplot(2,2,3)
imshow(image1)
subplot(2,2,4)
imshow(image2)

Community Treasure Hunt

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

Start Hunting!

Translated by