title: Left align two graph edges (ggplot)
body: <p>I'm using ggplot and have two graphs that I want to display on top of each other.  I used <code>grid.arrange</code> from gridExtra to stack them.  The problem is I want the left edges of the graphs to align as well as the right edges regardless of axis labels.  (the problem arises because the labels of one graph are short while the other is long).</p>
  
  <p><strong>The Question:</strong><br>
  How can I do this?  I am not married to grid.arrange but the ggplot2 is a must.  </p>
  
  <p><strong>What I've tried:</strong><br>
  I tried playing with widths and heights as well as ncol and nrow to make a 2 x 2 grid and place the visuals in opposite corners and then play with the widths but I couldn't get the visuals in opposite corners.</p>
  
  <pre><code>require(ggplot2);require(gridExtra)
  A &lt;- ggplot(CO2, aes(x=Plant)) + geom_bar() +coord_flip() 
  B &lt;- ggplot(CO2, aes(x=Type)) + geom_bar() +coord_flip() 
  grid.arrange(A, B, ncol=1)
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/gvnx5.png" alt="enter image description here"></p>