how to fix subplot images

1 次查看(过去 30 天)
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?

采纳的回答

Matt J
Matt J 2021-9-22
编辑:Matt J 2021-9-22
subplot(4,5,ii-15)

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by