Display images in one figure

1 visualizzazione (ultimi 30 giorni)
Leonard Yeo
Leonard Yeo il 17 Nov 2015
Commentato: virpartap singh il 17 Nov 2015
I am using a for loop to display n number of images. How can I display all my images in one figure dynamically? Thanks

Risposta accettata

Thorsten
Thorsten il 17 Nov 2015
Modificato: Thorsten il 17 Nov 2015
Use subplot:
for i =1:Nimages
I = ... % read ith image
subplot(Nrows, Ncols, i), imshow(I)
end

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by