how to fix subplot images

조회 수: 2 (최근 30일)
mohd akmal masud
mohd akmal masud 2021년 9월 22일
댓글: mohd akmal masud 2021년 9월 22일
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