Define one axe for many images
Show older comments
I have 10 axes in which I want the most relevant images to be shown in. So I defined them as follows. But I have a problem that if the first image is not relevant, the axes1 remains empty. Can I just define one axe for all images? How to do that?
5 Comments
Adam
on 4 Apr 2016
You can define one axes for all images but then you will only be able to see one at a time rather than up to 10 as your current implementation seems to allow.
What do you actually want the result of this to look like?
Adam
on 4 Apr 2016
So just get rid of your array of axes and use a single axes (handles.axes1) instead with e.g.
pause(10)
after the imshow or whatever length of time you want between the different images
Ali Jaber
on 4 Apr 2016
Ali Jaber
on 4 Apr 2016
Accepted Answer
More Answers (1)
Image Analyst
on 4 Apr 2016
You can display more than one image in an axes if you stitch them together.
tallImage = [image1; image2];
wideImage = [image1, image2];
Categories
Find more on Image Arithmetic 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!