title: ggplot2 width of boxplot
body: <p>I was trying to make 2 separate plots which I want to present side by side in my poster (I need to make them separate and cannot make use of facet_wrap). One of the plots has several boxplots, while the second plot only has one. How can I manipulate the width of the boxplots such that the second boxplot is the same dimension as the width of any one of the individual boxplots in plot 1, when I put the two plots side by side? A reproducible example:</p>
  
  <pre><code>tvalues &lt;- sample(1:10000,1200)
  sex &lt;- c(rep('M',600),rep('F',600))
  region &lt;- c('R1','R2','R3','R4','R5')
  df1 &lt;- data.frame(tvalues,sex,region)
  
  tvalues2 &lt;- sample(1:10000,200)
  sex2 &lt;- sample(c('M','F'),200,replace=T)
  region2 &lt;- 'R6'
  df2 &lt;- data.frame(tvalues2,sex2,region2)
  
  p1 &lt;- ggplot(data=df1,aes(x=region,y=tvalues,color=sex)) + 
  geom_boxplot(width=0.5)
  p2 &lt;- ggplot(data=df2,aes(x=region2,y=tvalues2,color=sex2)) + 
  geom_boxplot(width=0.5)
  </code></pre>
  
  <p>Plot 1
  <img src="https://i.stack.imgur.com/eRNcF.png" alt="plot 1:"></p>
  
  <p>Plot2
  <img src="https://i.stack.imgur.com/ZcupN.png" alt="plot 2:"></p>