MATLAB: What does this code mean? set(gcf, ‘units’,’n​ormalized’​,’outerpos​ition’,[0 0 1 1]);

graphics

What does this code mean?
set(gcf, 'units','normalized','outerposition',[0 0 1 1]);

Best Answer

Set ( set ) the current figure ( gcf ) to have 'Units' be 'normalized' and the 'outerposition', i.e. the actual borders of the figure to be at the bottom left corner (0,0) and span the whole screen (1,1).
Of you could just run it :)
And look at the doc:
doc set
doc figure %click on figure properties