Why it does not display the two images in the same window using the subplot function?
Mostrar comentarios más antiguos
This is the code:
>> a = imread('peppers.png');
>> b = imread('moon.tif');
>> subplot(1,2,1), imshow(a)
>> subplot(1,2,2), imshow(b)
Why first show the first figure and then the second but in two different screens and not in the same?
3 comentarios
Image Analyst
el 14 de Mzo. de 2018
It works fine for me.

matlab9000
el 22 de Mzo. de 2018
Respuestas (1)
The only reason I can think of is that maybe you have some MATLAB GUI application running asynchronously in the background, and which changes the current MATLAB figure behind your back.
1 comentario
matlab9000
el 14 de Mzo. de 2018
Categorías
Más información sobre Subplots en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!