title: gnuplot multiplot images in column
body: <p>I'm trying to use multiplot to stack two image plots on top of one another, in a column. When I try to test this with x11 terminal, the images are produced separately, only one visible at a time. When I use the epslatex terminal, which is what I want, then the text is drawn correctly within the LaTeX document, but the EPS portion of the plot is produced as two separate pages, resulting in a figure that is missing a lower half.</p>
  
  <p>Here's the multiplot section of my script:</p>
  
  <pre><code>set multiplot 2,1
  
  set cbrange [-0.4:0.4]
  set cbtics -0.4,0.2,0.4
  unset xlabel
  set tmargin at screen 0.95
  set bmargin at screen 0.60
  plot data u 1:2:3 with image notitle
  
  set cbrange [-0.1:0.1]
  set cbtics -0.1,0.05,0.1
  set xlabel "$x$"
  set tmargin at screen 0.50
  set bmargin at screen 0.15
  plot data u 1:2:3 with image notitle
  
  unset multiplot
  unset output
  </code></pre>
  
  <p>What results in the document is this:</p>
  
  <p><a href="https://i.stack.imgur.com/qdzKh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qdzKh.png" alt="multiplot-image"></a></p>
  
  <p>I have tried enlarging the vertical size of the plotting area<a href="https://stackoverflow.com/questions/35863194/vertically-stacked-multiplot-in-gnuplot">(per this question)</a>, but what this does is increase size of each page in the EPS file. To be clear, the product of plotting with epslatex is an EPS file containing two pages, the first with the first plot at the position that I want (near the top), and the second with the second plot at the position that I want (near the bottom). </p>