title: altering height of rows produced by grid.arrange when nrow=1
body: <p>Apologies if this question has already been answered but I cant seem to find what I need.</p>
  
  <p>I have produced two plots in ggplot2 which I am combining into the same grid using grid.arrange as follows:</p>
  
  <pre><code>grid.arrange(p1,p2,main="Title", ncol=2)
  </code></pre>
  
  <p>which gives me the plots side by side like so:</p>
  
  <p><img src="https://i.stack.imgur.com/rUPBb.png" alt="Side by side plots"></p>
  
  <p>(Sorry I don't understand how to get this to show my image within the post, if you anyone could help me with that as an aside that would be great! I don't want to annoy people by using links.)</p>
  
  <p>How can I alter this code so that the graphs are still side by side but they are not elongated the entire length of the object? I would like them to be square.</p>
  
  <p>I know that I can add an argument "heights" but not sure if this is what I need and haven't seen anything on here applying it in this situation.</p>
  
  <p>Thanks!</p>