[R] display two pie-charts
Jim Lemon
bitwrit at ozemail.com.au
Thu May 12 10:53:22 CEST 2005
Lars wrote:
> Hey,
>
> i'd like to compose a clock-like looking plot composed out of two
> circles, each showing the length of a period (to compare them). first,
> to do so, it looked the easiest by using pie(), just puting multiple
> pie-charts over each other. the problem is that once the second pie is
> drawn, it replaces the first one. does anybody know how to add a second,
> smaller pie over an existing one, like a layer?
>
Hi Lars,
You might be able to do what you want with either floating.pie() or
clock24.plot() in the plotrix package. I can't try it out right now, but
I'll have a look later today.
Jim
More information about the R-help
mailing list