title: Limit X and Y axis ranges in ggplot?
body: <p>When doing a conventional plot I could use xlim and ylim to show ranges of what I wanted plotted. </p>
  
  <p>How can I achieve this in ggplot?</p>
  
  <p>EDIT: Example of a dataset I plot:</p>
  
  <pre><code>real &lt;- read.table("http://pelinfamily.ca/bio/GDR-18_conc.ld", header=F)
  dd &lt;- data.frame(Distance=real[,2]-real[,1], r.2=real[,13])
  
  ggplot(dd, aes(x=Distance, y=r.2)) +
     stat_summary(fun.data="mean_sdl", mult=1, geom="ribbon", alpha=.4) + 
     stat_summary(fun.data="mean_sdl", mult=1, geom="line")
  </code></pre>