I have drawn a map in which the X and Y axes are latitude and longitude. Now I need to draw one circle on the map - the center is a point with specific latitude and longitude, but the challenge is that the radius is in miles. Is there a way to do this? I'd very much appreciate your response. XM
Xiaomei Ma wrote:> I have drawn a map in which the X and Y axes are latitude and > longitude. Now I need to draw one circle on the map - the center is a > point with specific latitude and longitude, but the challenge is that > the radius is in miles. Is there a way to do this? I'd very much > appreciate your response.See ?symbols Uwe Ligges> XM > > ______________________________________________ > R-help at stat.math.ethz.ch 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.
Duncan Murdoch
2006-Nov-07 11:54 UTC
[R] Draw a circle with a given radius in an existing map
On 11/7/2006 12:11 AM, Xiaomei Ma wrote:> I have drawn a map in which the X and Y axes are latitude and > longitude. Now I need to draw one circle on the map - the center is a > point with specific latitude and longitude, but the challenge is that > the radius is in miles. Is there a way to do this? I'd very much > appreciate your response.You want the circle to appear to be a circle on the plot, or an accurate representation of a circle on the ground (which may not be circular when plotted)? Uwe answered the former. I don't know the answer to the latter, but surely someone does... Duncan Murdoch