[R] scatter plot & equation

David Winsemius dwinsemius at comcast.net
Sun Nov 22 17:51:00 CET 2009


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 construct one, then  
I would suggest looking for worked examples at one of the graphics  
galleries.

Perhaps:

http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=44



> Regards
>
> Rofizah
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list