Filter löschen
Filter löschen

Display images in one figure

1 Ansicht (letzte 30 Tage)
Leonard Yeo
Leonard Yeo am 17 Nov. 2015
Kommentiert: virpartap singh am 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

Akzeptierte Antwort

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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by