An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20111101/0f50fa85/attachment.pl>
drawing ellipses in R
3 messages · mmstat at comcast.net, Barry Rowlingson, Greg Snow
On Tue, Nov 1, 2011 at 4:49 AM, <mmstat at comcast.net> wrote:
Hello, I have been following the thread dated Monday, October 9, 2006 when Kamila Naxerova asked a question about plotting elliptical shapes. Can you explain the equations for X and Y. I believe they used the parametric form of x and y (x=r cos(theta), y=r sin(theta). I don't know what r is here ? Can you explain 1)the origin of these equations and 2) what is r?
The origin of these equations? Probably this guy: http://en.wikipedia.org/wiki/File:God_the_Geometer.jpg Or maybe Euclid. What is r (as opposed to R)? Mathematical questions are nicely answered by Mathworld: http://mathworld.wolfram.com/Circle.html - a fantastic resource for maths and stats information. Barry
10 days later
Those formulas are the standard way to convert from polar coordinates to Euclidean coordinates. The polar coordinates are 'r' which is the radius or distance from the center point and 'theta' which is the angle (0 is pointing in the positive x direction). If r is constant and theta coveres a full cycle then you will get a circle. -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of mmstat at comcast.net Sent: Monday, October 31, 2011 10:50 PM To: r-help at stat.math.ethz.ch Subject: [R] drawing ellipses in R Hello, I have been following the thread dated Monday, October 9, 2006 when Kamila Naxerova asked a question about plotting elliptical shapes. Can you explain the equations for X and Y. I believe they used the parametric form of x and y (x=r cos(theta), y=r sin(theta). I don't know what r is here ? Can you explain 1)the origin of these equations and 2) what is r? Sincerely, Mary A. Marion ______________________________________________ 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.