Re: [R] Having a plot with points and line with different colors

2014-03-05 Thread Baro
t;black") > > David > > -Original Message- > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] On Behalf Of Jim Lemon > Sent: Wednesday, March 5, 2014 4:08 AM > To: Baro > Cc: R help > Subject: Re: [R] Having a plot with

Re: [R] Having a plot with points and line with different colors

2014-03-05 Thread David Carlson
boun...@r-project.org] On Behalf Of Jim Lemon Sent: Wednesday, March 5, 2014 4:08 AM To: Baro Cc: R help Subject: Re: [R] Having a plot with points and line with different colors On 03/05/2014 09:09 PM, Baro wrote: > thanks Jim, > > could you please show me some example? > # plot lines, t

Re: [R] Having a plot with points and line with different colors

2014-03-05 Thread Jim Lemon
On 03/05/2014 09:09 PM, Baro wrote: thanks Jim, could you please show me some example? # plot lines, then points plot(1:5,type="l",col="blue") points(1:5,col="black") # plot both, then overplot points plot(1:5,type="o",col="blue") points(1:5,col="black") Jim

Re: [R] Having a plot with points and line with different colors

2014-03-05 Thread Baro
thanks Jim, could you please show me some example? On Wed, Mar 5, 2014 at 2:02 AM, Jim Lemon wrote: > On 03/05/2014 08:59 PM, Baro wrote: > >> Hi experts >> >> I want to have a plot, which consist of line and points something like >> this: >> >> plot(data, type="o") >> >> but I would like that

Re: [R] Having a plot with points and line with different colors

2014-03-05 Thread Jim Lemon
On 03/05/2014 08:59 PM, Baro wrote: Hi experts I want to have a plot, which consist of line and points something like this: plot(data, type="o") but I would like that lines and point have different colors. for example line should be blue and points should be black how can I do that in R? Hi

[R] Having a plot with points and line with different colors

2014-03-05 Thread Baro
Hi experts I want to have a plot, which consist of line and points something like this: plot(data, type="o") but I would like that lines and point have different colors. for example line should be blue and points should be black how can I do that in R? [[alternative HTML version delete