Re: [R] plot polar coordinates

From: Jim Lemon <jim_at_bitwrit.com.au>
Date: Fri, 04 Jun 2010 18:41:25 +1000

On 06/04/2010 05:05 AM, Thomas Steiner wrote:
> Thank you Greg,
>
> I'll add 180 then.
>
> Thanks for the hint with longer radial.lim arguments it works woderfull.
>
>> The lines function is plotting in Cartesian coordinates, not the polar coordinates.
>
> Is there any (lines) function that plots polar coordinates to an existing plot?
>
Hi Thomas,
Greg has already given you most of the solutions. I was a bit surprised to find that if you include the negative values in the radial.lim argument, the polygon appears _and_ in the right place! I'll have to add this to the help page. Note that your labels may not be where you think they should be, as 0 degrees is east in your example. Maybe you want start=90?

I have thought about reprogramming the radial plot functions with an "add" argument, but haven't gotten around to it. I'll have a look and if I can do this without too much work, I'll let you know.

As far as 100 being prettier than 90, my experience is that I ain't gettin' any prettier as I get older.

Jim



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. Received on Fri 04 Jun 2010 - 08:39:13 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 04 Jun 2010 - 10:00:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive