title: x axis labels being cut off only when saving graph in r
body: <p>I am attempting to create a bargraph in r, and I am having trouble with the x axis labels being cut off. However this is only happening when I save the graph to a file. If I print it to the graphics device it shows all of the labels, however when I save the file the labels are cut off. </p>
  
  <p>Here is code that reproduces the problem.</p>
  
  <pre><code>Captivate&lt;-51.38
  Challenge&lt;-88.88889
  Clarify&lt;-80.55556
  Confer&lt;- 81.29085
  Consolidate&lt;-64.81481
  Care&lt;-68.51852
  Control&lt;-70.66993
  Engagement&lt;-66.17239
  
  df&lt;-rbind(Captivate, Challenge, Clarify, Confer, Consolidate, Care, Control, Engagement)
  
  png("~/graph.png")
  barplot(df, beside=TRUE, ylim=c(0,100),ylab="Percentage of Positive Answers ", space=.1, main="Some Title", 
          names.arg=c("Captivate", "Challenge", "Clarify", "Confer", "Consolidate", "Care", "Control", "Engagement"), las=2, axis.lty=1)
  dev.off()
  </code></pre>
  
  <p>I have tried changing the margins using par() however nothing has worked. </p>
  
  <p>Can anyone tell me what I need to do to have the full labels showing?</p>