[R] Plotting points from two vectors onto the same graph

2005-01-20 Thread K Fernandes
Hello, I have three vectors defined as follows: x-c(10,20,30,40,50) y1-c(154,143,147,140,148) y2-c(178,178,171,188,180) I would like to plot y1 vs x and y2 vs x on the same graph. How might I do this? I have looked through a help file on plots but could not find the answer to plotting

RE: [R] Plotting points from two vectors onto the same graph

2005-01-20 Thread Mulholland, Tom
an entry called aplot for ways to add to existing plots. Tom -Original Message- From: K Fernandes [mailto:[EMAIL PROTECTED] Sent: Friday, 21 January 2005 9:51 AM To: r-help@stat.math.ethz.ch Subject: [R] Plotting points from two vectors onto the same graph Hello, I have three

Re: [R] Plotting points from two vectors onto the same graph

2005-01-20 Thread Marc Schwartz
On Thu, 2005-01-20 at 20:51 -0500, K Fernandes wrote: Hello, I have three vectors defined as follows: x-c(10,20,30,40,50) y1-c(154,143,147,140,148) y2-c(178,178,171,188,180) I would like to plot y1 vs x and y2 vs x on the same graph. How might I do this? I have looked through a