Plotting Images on a Subplot from a Loop
Show older comments
Hello,
I am using a loop to load and analyse images, I now want to be able to load a sample of the images and plot them on a subplot.
so far this is what I have tried, it just has an issue with the subplot, have sucesfully loaded all the images.
Any suggestions?
figure
x=0;
for K = 431:10:481
FileName=strcat('Embryo1_', sprintf('%03d',K),'.tif');
I = imread(FileName);%load image
x=x+1;
subplot(1,6,x)
imshow(I)
end
3 Comments
Star Strider
on 31 Mar 2019
‘ ... it just has an issue with the subplot ...’
Which is ... ?
dpb
on 31 Mar 2019
"it just has an issue with the subplot"
And what might that be?
The crystal ball is in the shop (yet) again...
Lizzy tatarek
on 31 Mar 2019
Accepted Answer
More Answers (0)
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!