title: R: control scale in ggplot2's legend
body: <p>I have following R code:</p>
  
  <pre><code>ggplot(data=curve,aes(x = expected, y=result/games)) + 
  geom_point(aes(x=-expected, colour=games)) +
  stat_function(fun=funx, geom="line", col="blue") + 
  scale_colour_continuous(name="Number of games")
  </code></pre>
  
  <p>However in my legend I get values like 1e+05, 2e+05 .. 6e+05 etc.
  My problem is that some values are very low (from 0-100) and some are very huge (up to 600000). I was planning to use "break", for specifying ranges from 0-10, 11-100, 1001-5000) etc. However when I put this into scale_colour_continuous only legend changes, but not colors on my graph. </p>
  
  <p>UPDATE:</p>
  
  <p>I used suggested solutions but I get error:</p>
  
  <pre><code>Warning messages:
  1: In Ops.factor(result, games) : / not meaningful for factors
  2: In Ops.factor(result, games) : / not meaningful for factors
  3: In Ops.factor(result, games) : / not meaningful for factors
  </code></pre>