Re: [R] Color of graph

2009-10-01 Thread Jorge Ivan Velez
Hi Ashta, See the "..." in ?abline. HTH, Jorge On Thu, Oct 1, 2009 at 9:57 AM, 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 > >

Re: [R] Color of graph

2009-10-01 Thread Charlie Sharpsteen
On Thu, Oct 1, 2009 at 6:57 AM, 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 > Try passing the 'col' parameter to abline: abline( m1, col

Re: [R] Color of graph

2009-10-01 Thread smu
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 > >

Re: [R] Color of graph

2009-10-01 Thread Henrique Dallazuanna
Try this: abline(m1, col = 'blue') abline(m1, col = 'red') abline(m1, col = 'green') On Thu, Oct 1, 2009 at 10:57 AM, 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? > > Th

[R] Color of graph

2009-10-01 Thread Ashta
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