Re: [R] Plotting multiple curves on a plot

2008-08-24 Thread Rolf Turner
On 25/08/2008, at 4:49 AM, ascentnet wrote: Greetings! I was wondering how to plot multiple equation on the same plot with the data? So if I have three equations: 1.y= 2.31X + -2.2 2.y= 2.27X^2 + 5.63X + 0.52 3.y= -1.53X^3 + 1.92X^2 + -4.72X + 4.57 and a datafram or a 2D matrix. I w

[R] Plotting multiple curves on a plot

2008-08-24 Thread ascentnet
Greetings! I was wondering how to plot multiple equation on the same plot with the data? So if I have three equations: 1.y= 2.31X + -2.2 2.y= 2.27X^2 + 5.63X + 0.52 3.y= -1.53X^3 + 1.92X^2 + -4.72X + 4.57 and a datafram or a 2D matrix. I would also like the equations in different colors,