[Rd] colors not cycled in type=h plot (PR#817)

fisk@bowdoin.edu fisk@bowdoin.edu
Fri, 19 Jan 2001 14:55:11 +0100 (MET)

Full_Name: steve fisk
Version: 1.2.0
OS: linux (rh6.2)
Submission from: (NULL) (

In the command below I expected a red line and a blue line, but I get two red
I get the same behavior with type="s" as well. It appears to only use the first
and does not cycle them as I would expect.

> plot(c(1,2),c(1,1),type="h",col=c("red","blue"))

r-devel 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-devel-request@stat.math.ethz.ch