Re: [R] A polar.plot BUG in plotrix 1.3.3 ?

From: Uwe Ligges <ligges_at_statistik.uni-dortmund.de>
Date: Wed 22 Jun 2005 - 23:30:57 EST

Halldor Björnsson wrote:

> Hi,
>
> I just updated to R-2.1.1 and updated packages acordingly
>
> However, after the update, routines that use polar.plot
> did not function as correctly.
>
> In plotrix 1.3.3 the polar.plot function does scale label.pos
> to radians prior to calling radial.plot
>
> Hence, the command
> polar.plot(c(5,10,5,0),c(-10,0,10,20),rp.type='P',
> labels=c("A","N","V","S"),label.pos=c(0,90,180,270))
>
> produces absurd compass lines but the correct results are obtained if
> label.pos is scaled with pi/180 :
>
> polar.plot(c(5,10,5,0),c(-10,0,10,20),rp.type='P',
> labels=c("A","N","V","S"),label.pos=c(0,90,180,270)*pi/180)
>
> I have attatched the polar.plot function from the two different versions
> of the package.
>
> It seems that if not missing then label.pos is not changed at all in
> version 1.3.3
>
> So, a feature or a bug?
>
> Sincerely,

Obviously this is a question for the author and maintainer of the package (in CC).

Uwe Ligges



R-help@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 Received on Wed Jun 22 23:33:06 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:56 EST