title: I need ggplot scale_x_log10() to give me both negative and positive numbers as output
body: <p>I generate a fine histogram here with both positive and negative numbers. </p>
  
  <pre><code>x &lt;- rnorm(5000,0,1000)
  library(ggplot2)
  df &lt;- data.frame(x)
  ggplot(df, aes(x = x)) + geom_histogram()
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/qfpry.jpg" alt=""></p>
  
  <p>What I want is to have a logged x-axis. When I do this for only positive numbers with scale_x_log10(), it works like a charm. But here it does not and it either removes my negative numbers are adds them to the positive numbers.</p>
  
  <pre><code>ggplot(df, aes(x = x)) + geom_histogram() + scale_x_log10()
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/l7on8.jpg" alt=""></p>
  
  <p>All I really want is for the ticks and the spacing between the ticks to follow the log pattern and for either side of 0 on the x-axis to be mirror images of each other but I cannot seem to get that. </p>