[R] Color of graph

smu ml at z107.de
Thu Oct 1 16:15:36 CEST 2009


abline(m1, col="red")

regards,
 Stefan

On Thu, Oct 01, 2009 at 09:57:11AM -0400, Ashta 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 at 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.
>




More information about the R-help mailing list