Re: [R] plotrix: reverse axis in polar.plot

2009-08-11 Thread Jim Lemon

Thomas Steiner wrote:

...
I answered too fast:
I want the radial, not the tangential axis to change direction. So the
center will be (0,90) and the outer circle's second coordiante will be
zero (the horizon).
This might sound strange – even for Australien people (-;
Thomas

  
This requires an extra argument to the function. I've included it and 
will probably upload a new version of plotrix within a week. I didn't 
quite understand your request for an example in which the center is not 
contained in the polygon. If you can explain this a bit, I would be 
happy to include a better example.


Jim

__
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.


[R] plotrix: reverse axis in polar.plot

2009-08-10 Thread Thomas Steiner
Hi,
how can I reverse the radius axis of plotrix's polar.plot function?
Perhaps this sounds strange, but I use the radians for angles as well:
In the center is zenith and the corresponding angle is 90°, not 0. See
an example plot at
http://www.mysundial.ca/tsp/images/sun_chart_50_solar_polar.jpg

dirs-c(S,E,N,W)
polar.plot(NA,NA,label.pos=seq(0,270,length=4),labels=dirs,main=Sun
Chart,rp.type=p,radial.lim=c(0,90))
lines(c(4,12,15,22,45,55),c(10,83,118,90,72,61),col=red)

And why is the radial limit in the above example 0..100 and not 0..90
as requested by the radial.lim argument?

Thanks for your help,
Thomas

__
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.