Re: [R] plot polar coordinates

From: Thomas Steiner <>
Date: Fri, 04 Jun 2010 11:33:56 +0200

Thank you Jim,
I had a liitle off-list conversation with Greg and finally I got the solution. All the code is now on I got the workaround with my own "(sun)lines" function which does the shift from cartesian coordiantes to polar coordinates. An example result is attached.
The negative vales where just a stupid try from my side, it does of course make no sense.

2010/6/4 Jim Lemon <>:
> 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
> mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code.
Received on Fri 04 Jun 2010 - 09:54:55 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:10:28 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive