Thank you Jim, I had a liitle off-list conversation with Greg and finally I got the solution. All the code is now on http://commons.wikimedia.org/wiki/File:Sonnenstand.png 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. Best, Thomas
2010/6/4 Jim Lemon <j...@bitwrit.com.au>: > 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 >
<<attachment: sonnenstad-narvik.png>>
______________________________________________ R-help@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.