title: GGplot2: plot histogram with log scale but linear values?
body: <p>I created a histogram with ggplot2 in R and need a logarithmically spaced x-axis, but would like to keep my linear values.</p>
  
  <p>Is this possible?</p>
  
  <p>My formula so far is:</p>
  
  <pre><code>ggplot(f0peruttnq, aes(f0)) +
    geom_histogram(alpha=0.3, fill='white', colour='black')
  </code></pre>
  
  <p>Slightly off-topic: I also tried to superimpose a normal curve on top of my histogram, but geom_density() doesn't seem to work if I want to keep my counts instead of density values on the x-axis. As I tried + stat_function( fun = dnorm ) nothing changed at all!</p>
  
  <p>Thanks in advance for any useful tips!</p>
  
  <p>It's working now! </p>
  
  <p>Formula I used: </p>
  
  <pre><code>ggplot(data, aes(V2)) + geom_histogram(alpha=0.3, fill='white', colour='black')+scale_x_log10(breaks=c(50,100,150,200,250),labels=c(50,100,150,200,250))
  </code></pre>
  
  <p>Thanks for your patience :-)</p>