title: Setting axis intervals in ggplot
body: <p>I have searched for this and can't believe I can't find it. Perhaps I've been asking the wrong question.</p>
  
  <p>I have a set of data laid out in a histogram that has a xlim of $2,000,000. I am trying to set an interval of $100,000 for the breaks (rather than manually listing out every break with <code>break = c(0, 50000, 100000, etc)</code>. How can I do this in ggplot? The breaks (ticks) are more important than the labels as I'll likely edit in Illustrator an abbreviated label (100k, etc)</p>
  
  <pre><code>p &lt;- ggplot(mcsim, aes(result))
  + scale_x_continuous(formatter = "dollar") 
  + geom_histogram(aes(y = (..count..)/sum(..count..))) + scale_y_continuous(formatter = 'percent')
  </code></pre>
  
  <p>Thanks!</p>
  
  <p><img src="https://i.stack.imgur.com/Ufiaq.png" alt="enter image description here"></p>