Re: [R] Plot 3 lines in one graph

2012-11-06 Thread Ignacio Martinez
* > > -- > > David L Carlson > > Associate Professor of Anthropology > > Texas A&M University > > College Station, TX 77843-4352 > > ** ** > > *From:* Ignacio Martinez [mailto:ignaci...@gmail.c

Re: [R] Plot 3 lines in one graph

2012-11-06 Thread David L Carlson
, 2012 6:22 AM To: dcarl...@tamu.edu Cc: Peter Alspach; r-help Subject: Re: [R] Plot 3 lines in one graph Hi David. Using the two points to compute slopes and intercepts for the lines and then plotting is exactly what I want to do. Thanks! On Tue, Nov 6, 2012 at 12:16 AM, David L

Re: [R] Plot 3 lines in one graph

2012-11-06 Thread Ignacio Martinez
m: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > > project.org] On Behalf Of Peter Alspach > > Sent: Monday, November 05, 2012 10:41 PM > > To: Ignacio Martinez; r-help > > Subject: Re: [R] Plot 3 lines in one graph > > > > Tena koe Ignacio > > >

Re: [R] Plot 3 lines in one graph

2012-11-05 Thread David L Carlson
.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Peter Alspach > Sent: Monday, November 05, 2012 10:41 PM > To: Ignacio Martinez; r-help > Subject: Re: [R] Plot 3 lines in one graph > > Tena koe Ignacio > > I cannot follow you example (you might care to read the pos

Re: [R] Plot 3 lines in one graph

2012-11-05 Thread Peter Alspach
n...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Ignacio Martinez Sent: Tuesday, 6 November 2012 12:10 p.m. To: r-help Subject: [R] Plot 3 lines in one graph I'm new with R. I want to plot 3 lines in one graph. This is my data: print(x) V1 V2 V3 V41

[R] Plot 3 lines in one graph

2012-11-05 Thread Ignacio Martinez
I'm new with R. I want to plot 3 lines in one graph. This is my data: print(x) V1 V2 V3 V41 -4800 25195.73 7415.219 7264.282 -2800 15195.73 5415.219 7264.28 I tried using matplot, but I cannot get exactly what I want. This is what I get, and this is my code: matplot(x[,1],x