У меня есть 3 изображения, и я хочу показать их на одном рисунке, используя подзаголовок, но они слишком малы, как я могу сделать их больше и четче? - PullRequest
0 голосов
/ 12 июля 2020

Вот 3 изображения, которые я хочу включить в 1 рисунок, но с большим размером для каждого

subplot(1,3,1)
imshow(image);
title('ORIGINAL IMAGE');

subplot(1,3,2);
imshow(B);
title('IMAGE AFTER LOCAL HISTOGRAM EQUALIZATION');

subplot(1,3,3);
imshow(F);
title('DIFFERENCE IN BOTH IMAGES');

1 Ответ

0 голосов
/ 23 июля 2020

Я обычно делаю это следующим образом:

Pos_size=[100 100 900 400]; %this is just a variable I put at the top of the file so I don't have to look through my script to change it. 
                            %[X1 Y1 width heigth] X1 is right side position, Y1 is bottom side position on your screen, 
                            %X1 and Y1 you use to center the figure when it opens.
h1=figure(1); %before your subplot, opens a figure and saves the handle as h1, alternatively you can use hf=gcf; as it will grab the handle of the latest figure
set(h1,'Position',Pos_size); %sets the position and size of the figure with handle h1

Если вы поместите это выше своих подзаголовков, это должно работать

...