[R] How to display multiples lines with different color on the same plot?

Kaptue Tchuente, Armel armel.kaptue at sdstate.edu
Tue Jun 4 23:05:45 CEST 2013

Hi all,

I'm struggling with the display of several regression lines (with different colors) on the same plot.

I manually drew what I'm trying to do with 8 lines (see attached).

Any thoughts for a code will be very much appreciated.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: multiple_lines_graph.png
Type: image/png
Size: 15005 bytes
Desc: multiple_lines_graph.png
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130604/3ebaad2c/attachment.png>

More information about the R-help mailing list