Re: [R] scatter plot & equation

2009-11-22 Thread Rofizah Mohammad
Many thanks Duncan. I got the plot even I don't really understand the whole command.. I will study that later.. :-) Regards On Sun, Nov 22, 2009 at 4:44 PM, Duncan Murdoch wrote: > On 22/11/2009 11:27 AM, Rofizah Mohammad wrote: > >> Hi, >> >> If I have 2D data set say (x,y) and I can do sca

Re: [R] scatter plot & equation

2009-11-22 Thread David Winsemius
On Nov 22, 2009, at 11:27 AM, Rofizah Mohammad wrote: Hi, If I have 2D data set say (x,y) and I can do scatter plot by using plot(x,y) command. How can I add in this scatter plot the equations curve say 2X2 + 3Y2 – 6X – 7Y + 9 = 0. No executable example... so if you are too lazy to cons

Re: [R] scatter plot & equation

2009-11-22 Thread Duncan Murdoch
On 22/11/2009 11:27 AM, Rofizah Mohammad wrote: Hi, If I have 2D data set say (x,y) and I can do scatter plot by using plot(x,y) command. How can I add in this scatter plot the equations curve say 2X2 + 3Y2 – 6X – 7Y + 9 = 0. You could do it using contour(), but you should use an equation tha

[R] scatter plot & equation

2009-11-22 Thread Rofizah Mohammad
Hi, If I have 2D data set say (x,y) and I can do scatter plot by using plot(x,y) command. How can I add in this scatter plot the equations curve say 2X2 + 3Y2 – 6X – 7Y + 9 = 0. Regards Rofizah [[alternative HTML version deleted]] __ R-help@