title: Histogram with Logarithmic Scale and custom breaks
body: <p>I'm trying to generate a histogram in R with a logarithmic scale for y. Currently I do:</p>
  
  <pre><code>hist(mydata$V3, breaks=c(0,1,2,3,4,5,25))
  </code></pre>
  
  <p>This gives me a histogram, but the density between 0 to 1 is so great (about a million values difference) that you can barely make out any of the other bars.</p>
  
  <p>Then I've tried doing:</p>
  
  <pre><code>mydata_hist &lt;- hist(mydata$V3, breaks=c(0,1,2,3,4,5,25), plot=FALSE)
  plot(rpd_hist$counts, log="xy", pch=20, col="blue")
  </code></pre>
  
  <p>It gives me sorta what I want, but the bottom shows me the values 1-6 rather than 0, 1, 2, 3, 4, 5, 25.  It's also showing the data as points rather than bars. <code>barplot</code> works but then I don't get any bottom axis.</p>