[R] Can R plot multicolor lines?

Paul DeBruicker pdebruic at gmail.com
Fri Jan 6 18:28:36 CET 2006

I have a number of continuous data series I'd like to plot with the
first 2/3 or so of each plotted in one color with the last 1/3 plotted
in another color.

I've thought of plotting 2 lines that abut each other by determining
where the first portion ends and attach the second portion.

Is there a simpler way that i have not thought of or discovered
through the mailing list, Intro to R, or Lattice PDF?


More information about the R-help mailing list