Hi Jiho,
To figure this out, you need to think about exactly what you are doing
when you change the limits - what part of the plot are you changing?
You are changing the scales, and if you have a look at
http://had.co.nz/ggplot2/scale_continuous.html, you'll see you need
something like:
+ scale_y
Hello everyone,
I am (happily) using ggplot2 for all my plotting now and I wondered
is there is an easy way to specify xlim and ylim somewhere when using
the ggplot syntax, as opposed to the qplot syntax. Eg.
qplot(data=mtcars,y=wt, x=qsec,xlim=c(0,30))
<->
ggplot(mtcars, aes(y=wt, x=qsec
2 matches
Mail list logo