I am using the following code in Matlab
figure mesh(AAA,BBB,ZZZ) set(gcf,'Position', [560 528 560*2 420*(1/2)]) colorbar print -depsc2 -painters XXX.eps However, the following line:
set(gcf,'Position', [560 528 560*2 420*(1/2)]) does not seem to have any influence on the output file. Thus, how can I specify the dimensions of the output file?