[R] radial.plot shaded region

Hodge, Steven Steven.Hodge at umassmed.edu
Thu Dec 12 16:22:29 CET 2013


From: Jim Lemon [jim at bitwrit.com.au]
Sent: Tuesday, December 10, 2013 21:57
To: Hodge, Steven
Cc: r-help at r-project.org
Subject: Re: [R] radial.plot shaded region

On 12/11/2013 11:24 AM, Jim Lemon wrote:
>> ...
>> There may be a solution using the radial.pie function, and if I find it,
>> I'll post it.
>>
> Hi Steve,
> Here it is. Just call radial.pie twice to get the annulus, then call
> radial.grid with the appropriate arguments, and then you can add
> whatever radial.plot you want, using the "add" argument.
> 
> radial.pie(3.5,sector.colors="lightblue")
> radial.pie(3,sector.colors="white",add=TRUE)
> radial.grid(radial.lim=c(0,3.5),grid.pos=seq(0,3.5,length.out=8))
> 
> Jim

Thank you very much! Both of your solutions work for me.

Steve


More information about the R-help mailing list