Automatically maximize a figure
This worked for me: figure(‘units’,’normalized’,’outerposition’,[0 0 1 1]) or for current figure: set(gcf,’units’,’normalized’,’outerposition’,[0 0 1 1]) I have also used MAXIMIZE function on FileExchange that uses java. This is true maximization.