how to fix subplot images

1 Ansicht (letzte 30 Tage)
mohd akmal masud
mohd akmal masud am 22 Sep. 2021
Kommentiert: mohd akmal masud am 22 Sep. 2021
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?

Akzeptierte Antwort

Matt J
Matt J am 22 Sep. 2021
Bearbeitet: Matt J am 22 Sep. 2021
subplot(4,5,ii-15)

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by