Effacer les filtres
Effacer les filtres

Display images in one figure

1 vue (au cours des 30 derniers jours)
Leonard Yeo
Leonard Yeo le 17 Nov 2015
Commenté : virpartap singh le 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
  1 commentaire
virpartap singh
virpartap singh le 17 Nov 2015
use subplot command

Connectez-vous pour commenter.

Réponse acceptée

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

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by