Display images in one figure

1 view (last 30 days)
Leonard Yeo
Leonard Yeo on 17 Nov 2015
Commented: virpartap singh on 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

Accepted Answer

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

More Answers (0)

Categories

Find more on Read, Write, and Modify Image in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!