MATLAB Answers

how to fix subplot images

15 views (last 30 days)
mohd akmal masud
mohd akmal masud on 22 Sep 2021 at 1:37
Commented: mohd akmal masud on 22 Sep 2021 at 3: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?

Accepted Answer

Matt J
Matt J on 22 Sep 2021 at 1:39
Edited: Matt J on 22 Sep 2021 at 1:47
subplot(4,5,ii-15)
  1 Comment
mohd akmal masud
mohd akmal masud on 22 Sep 2021 at 3:30
tqvm. its work

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!