title: ggplot2, arrange multiple plots, all the same size, no gaps in between
body: <p>I would like to arrange multiple plots into one figure, without any gaps between the plot area, and all plots being exactly the same size (see image below for a sketch of my desired figure, which comprises 6 individual plots).</p>
  
  <p><a href="https://i.stack.imgur.com/R203g.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/R203g.png" alt="desired figure, composed of 6 individual plots"></a></p>
  
  <p>I have tried <code>ggarrange</code> (ggpubr) and <code>plot_grid</code> (cowplot) and a couple others but they seem to have the same problem - you can align the plots to get them the same size, but not arrange them closer to each other.</p>
  
  <p><code>ggdraw</code> in the cowplot package allows one to specify exactly where the plots go, but they are all slightly different sizes.</p>
  
  <p>Is there a way to overcome this?</p>
  
  <p>Basically, I want to make the plot area (where the data is displayed, <strong>NOT</strong> the axes and labels) the same for six graphs, then arrange them contiguously.  So far I have not found anyway to do this.  </p>
  
  <p>The x-axis variable is the same for all 6 graphs, but the y is different, and there are multiple series on some of the graphs but not others, so I cannot use the facet option in ggplot2.</p>
  
  <p>Please help!</p>
  
  <p>EDIT: Sorry, some more info - because my plots have different y variables, the plot margins and the plot panels are all slightly different sizes.  So that means when I try to add them all together, they are out of alignment.
  <a href="https://i.stack.imgur.com/FUMGl.png" rel="nofollow noreferrer">Plots different sizes out of alignment</a>.  plot_grid from cowplot allows you to specify position, and size, BUT, the size is the size of the whole plot, panel and margins included.  Because of the Y-axis labels, the margins are different sizes, and resizing them using the arguments to plot_grid is not so simple.  </p>