I have two images that I want to display side-by-side, but the amount of grey space is large making the images small. How can I reduce the amount of grey space around the images to show more of the images. Below is how I am displaying the images.
subplot(121); imshow(my_image); subplot(122); imshow(my_image2);
No products are associated with this question.
I found this to work better.
d=0.02; %distance between images moon = imread('moon.tif'); s1=subplot(121); imshow(moon); s2=subplot(122); imshow(moon); set(s1,'position',[d 0 0.5-2*d 1]) set(s2,'position',[0.5+d 0 0.5-2*d 1])