MATLAB Answers

how to fix subplot images

2 views (last 30 days)
Hi all,
I have 41 images. its start with name 65.png till 105.png.
I want to view image from no. 16 till no. 35. I wrote this below command.
for ii=16:35
subplot(6,6,ii)
I = readimage(IMDS,ii);
[C,scores] = semanticseg(I,net1);
B = labeloverlay(I,C);
outt2=C=="foreground";
st2=strel('disk',0);
outt22=imopen(outt2,st2);
title('input')
imshow(outt22)
end
But the images appear like below.
How to shift the image to the top of the figure, So that my image can view more bigger than.
Anyone could help me?

Accepted Answer

Matt J
Matt J on 22 Sep 2021
Edited: Matt J on 22 Sep 2021
subplot(4,5,ii-15)

More Answers (0)

Community Treasure Hunt

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

Start Hunting!