title: How to remove the zero labels in Histogram plot in R?
body: <p>Any tips to remove the zero labels in between the histogram bars?</p>
  
  <p><a href="https://i.stack.imgur.com/4HLbD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4HLbD.png" alt="enter image description here"></a></p>
  
  <pre><code>hist(links$Survey_Duration, breaks = seq(0,50,5), main = "Survey Duration",
       labels = TRUE, border = "black",
       xlab = "Survey", ylim = c(0, 15), col = "gray", las = 1, xaxt='n')
  
  axis(side=1, at=seq(0,50,5), labels=seq(0,50,5))
  
  abline(v = mean(links$Survey_Duration), col = "royalblue", lwd = 1.5)
  
  abline(v = median(links$Survey_Duration), col = "red", lwd = 1.5)
  
  legend(x = "topright", c("Mean", "Median"), col = c("royalblue","red"),
         lwd = c(1.5,1.5))
  </code></pre>