Re: [R] plot() axis problem

About this list Date view Thread view Subject view Author view Attachment view

From: Bill Simpson (wsi@gcal.ac.uk)
Date: Mon 23 Jul 2001 - 22:54:48 EST


Message-id: <Pine.LNX.4.10.10107231346120.1206-100000@localhost.localdomain>


>
> 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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Wed 10 Mar 2004 - 08:18:21 EST