title: Rotating x axis labels in R for barplot
body: <p>I am trying to get the x axis labels to be rotated 45 degrees on a barplot with no luck. This is the code I have below:</p>
  
  <pre><code>barplot(((data1[,1] - average)/average) * 100,
          srt       = 45,
          adj       = 1,
          xpd       = TRUE,
          names.arg = data1[,2],
          col       = c("#3CA0D0"),
          main      = "Best Lift Time to Vertical Drop Ratios of North American Resorts",
          ylab      = "Normalized Difference",
          yaxt      = 'n',
          cex.names = 0.65,
          cex.lab   = 0.65)
  </code></pre>