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