title: Consistent figure sizes with gnuplot
body: <p>I am trying to make figures with gnuplot that will be included in a latex document. I want all figures to have the same dimensions and font size. To achieve it I found that I should specify the size of the figure in advance, which I do as such:</p>
  
  <pre><code>set terminal postscript eps size 3.4004,2.104 enhanced color
  </code></pre>
  
  <p>However, the resulting .eps figures have a lot of whitespace around them so I use the <a href="http://www.gnuplot.info/scripts/files/fixbb" rel="nofollow">fixbb</a> script to remove all unnecessary space. This changes the final size of the figure as well, which wouldn't be a problem as long as it is consistent. However, the amount of whitespace seems to vary from figure to figure, so my final figures have all different sizes.
  This seems especially a problem with 3D plots.</p>
  
  <p>Is there a way to make the size consistent while removing all unnecessary white space? In matplotlib there is the <code>plt.tight_layout()</code> command which does exactly that.</p>