[R] plotting questions

Thomas Lumley tlumley at u.washington.edu
Wed Oct 9 16:03:28 CEST 2002


On Tue, 8 Oct 2002, Andrew Schuh wrote:

> Also, I'm not sure but I don't believe I have even seen this behavior.
>
> #############
> plot(chron(c("07/01/01","08/01/02")),c(100,200),cex.axis=5)
> points(chron(c("07/01/01","08/01/02","12/01/01")),c(100,200,150),type="b")
> #############
>
> It could be me but I think points() had always sorted the values before
> connecting the points with lines?

It's you.  There are a number of examples, especially for time series,
that wouldn't work if points() sorted the lines.

	-thomas


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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