title: Display column names in bar plot
body: <p>I am recently introduced in R. I am trying to create a bar plot from a data frame with 51 variable names just like the following example:</p>
  
  <p><a href="https://i.stack.imgur.com/viUmR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/viUmR.png" alt="enter image description here"></a></p>
  
  <p>By using the <code>barplot</code> function I produced the following bar plot. Is there a way to display the variable names on the x-axis just like the above example:</p>
  
  <p><a href="https://i.stack.imgur.com/0E7C2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0E7C2.png" alt="enter image description here"></a></p>
  
  <p>Thanks in advance.</p>