[R] plot() axis problem
Bill Simpson
wsi at gcal.ac.uk
Mon Jul 23 14:54:48 CEST 2001
>
> Oh, come on, many of us use *much* larger datasets. Your problem is that
> you are using xlim to zoom in, rather that subsetting the spectrum
> object as the S language design intends (but the writer of plot.spec did
> not anticpate).
OK Brian and Peter point taken that S/R prefers that I do
plot(x[x>=1 & x<=10],y[x>=1 & x<=10])
rather than
plot(x,y,xlim=xrange)
Thanks for the replies.
(I am using my own spectrum routines)
> You can of course set ylim as well as xlim ....
Yes that's what I said in my original posting.
Bill
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list