Monday, May 23, 2011

Saving Big Matlab Figure with Subplots

MATLAB Advanced GUI DevelopmentSaving Big Figure with Subplots can sometimes be tricky as the titles can be messy and the screen resolution might not help.

Here is what fixed my full-screen plot/image without destroying the titles.

fneps=[Figname,'.eps'];
set(gcf,'PaperPositionMode','auto')
print('-depsc2','-r200',fneps);
The format could be eps or png or fig... as preferred.

No comments: