title: names on the x-axis of barplot in R?
body: <p>I am plotting barplot in r.</p>
  
  <p>my data:</p>
  
  <pre><code>   ,Up,Down
  Floor-1,690,1511
  Maxim,1354,2515
  Hosiptal,1358,2649
  Bank,459,589
  Air-port,1359,2097
  Bus-stand,1234,1928
  Taxi-Stand,213,138
  Railway-station,557,610
  </code></pre>
  
  <p>The barplot of the script is at: 
  <a href="https://www.dropbox.com/s/77iswweabw0790d/q.png?dl=0" rel="nofollow noreferrer">Link to image</a></p>
  
  <p>As I don't have enough reputation; I can't post the image ... :) </p>
  
  <p>my script is :</p>
  
  <pre><code>  d &lt;- read.csv("file.csv")
    barplot(t(as.matrix(d[, 2:3])),beside=TRUE,legend = c("Up","Down"),  ylab = "Number of steps",
      xlab = "Building", main = "Up and Down steps",names.arg= as.matrix(d$X) ,col=rainbow(2),type="h")
  </code></pre>
  
  <p>In this plot the lables of x-axis "Bus-stand" and and "Railway-station" are missing. </p>
  
  <p>How can I label those missing labels?</p>