[R] Advice on graphics to design circle with density-shaded sectors

Jim Lemon jim at bitwrit.com.au
Sat Feb 28 11:02:37 CET 2009

John Poulsen wrote:
> Hello,
> I am looking for some general advice on which graphics package to use 
> to make a figure demonstrating my experimental design.
> I want to design a circle with 7 sectors inside.  Then I will want to 
> shade the sectors depending on densities of observations in the 
> sectors.  I will also want to draw horizontal lines at increments 
> along the sectors to demonstrate different distances out to the end of 
> the sector.
> Given this sparse description, does anyone have advice on what package 
> or functions to use in R?
Hi John,
Do you mean something like this?

pie(rep(1,7),main="Colored count sectors",col=obs_count_col)

However, I can't quite work out what you mean by horizontal lines on the 


More information about the R-help mailing list