Try this: abline(m1, col = 'blue') abline(m1, col = 'red') abline(m1, col = 'green')
On Thu, Oct 1, 2009 at 10:57 AM, Ashta <sewa...@gmail.com> wrote: > I am trying to plot a line graph for 3 or more regression lines > > abline(m1) > abline(m2) > abline(m3) > > Can I change the color of each line? if so how? > > Thanks in advance > Ashta > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.