Remove white space from figures in MATLAB
Today I was struggling again with those annoying white spaces around the figures in MATLAB when you convert the figure to EPS, TIFF, PNG, JPEG or any other format. After some time, I discover the LooseInset property. This command will remove the white spaces and tight the image borders.
So, this will make the process of creating EPS figures in MATLAB easier. Sadly, it only work for square figures.
Hope that helps.