[R] R plot

Haoda Fu fuhds at yahoo.com.cn
Fri Oct 17 06:06:51 CEST 2008


All -


When I plot something like

a<-rnorm(5)
b<-rnorm(5)
plot(a,b,col = "red")
points(10,-10)

The last point is missing because it is out of
range of the first plot. 

I just try to switch from Matlab to R. In Matlab,
it always can automatic adjust the xlim and ylim
for such case. 

Is it possible auto adjust in R? Otherwise
keep tracking xlim and ylim is really annoying.

Best,
Haoda



More information about the R-help mailing list