title: How to set the whole chart to become wider in ggplot?
body: <p>I have a ggplot both line and bar chart that is too narrow to see because the legends are taking up two columns. How do I increase the width of the whole chart? my Googling doesn't yield anything. I have:</p>
  
  <pre><code>line_plot &lt;- ggplot(data=compat,aes(x=year,y=savings,color=factor(banks))) + 
    stat_summary(fun.y=mean, geom="line",width=10) + 
    guides(col=guide_legend(ncol=2,title ="banks",)) + 
    ggtitle(class[i]) + 
    ylab("savings total") + 
    xlab("Year")
  </code></pre>