[R] Plot segments with different colors

mysimbaa adel.tekari at sisltd.ch
Tue Nov 13 11:38:42 CET 2007


Another question concerning the type.

plot(x,F,xlab="Zeit [s]",ylab="Variation [%]",col = rep(c("red", "blue",
"magenta"), c(t0, ts, n)),type=c("p", "l","o"))

Doesnt change the type with differents colors!
(I become only one type and my color is red)

How can I solve this?
-- 
View this message in context: http://www.nabble.com/Plot-segments-with-different-colors-tf4796466.html#a13723380
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list