MATLAB: Saving Matlab figure(Imagesc) to JPG without White borders

figureimageMATLABsave

Hi,
I am using imagesc to plot color maps in matlab. While saving as JPG and Figuire it gives white space around the image. Is it possible to save without white space?
imagesc(Subject_Assist_Quest);
set(gca,'YDir','normal')
axis off
Capture.jpg

Best Answer

Look at this file