multiple image in one GUI axes
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello, I want to display multiple image in one axes in GUI in for loop. I have 9 image and i wand show them in one axes. I used this code but it doesnt work. can anyone help ? Thanks
k=1;
axes(handles.axes2)
for i=1:3
for j=1:3
subplot(3,3,k);
imshow(testimages(:,:,missimages(k)));
k=k+1;
end
end
3 Commenti
Geoff Hayes
il 25 Giu 2016
Ahmad - the above code will create nine subplots within the figure. So there will be nine axes and not one. Please clarify exactly what you are trying to do.
Risposte (2)
Image Analyst
il 26 Giu 2016
Just save them to disk and use montage() to make a new image where all the others are stitched together. Or see the "Stitch" program: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A58030
2 Commenti
Image Analyst
il 26 Giu 2016
See the Mathworks answer: http://www.mathworks.com/matlabcentral/answers/292398-subplots-do-not-group-together-tightly
0 Commenti
Vedere anche
Categorie
Scopri di più su Creating, Deleting, and Querying Graphics Objects in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

