pie.labels {plotrix} | R Documentation |
Places labels on a pie chart
pie.labels(x,y,angles,labels,radius=1,col="white",border=TRUE,...)
x,y |
x and y position of the center of the pie chart |
angles |
A numeric vector representing angles in radians. This is
return value of floating.pie . |
labels |
Text strings to label each sector. |
radius |
The radius at which to place the labels in user units. The default is 1. |
col |
The color of the rectangles on which the labels are displayed. |
border |
Whether to draw borders around the rectangles. |
... |
Arguments passed to boxed.labels . |
nil
Jim Lemon
floating.pie
, boxed.labels
pieval<-c(2,4,6,8) plot(1:5,type="n") bisect.angles<-floating.pie(3,3,pieval) pie.labels(3,3,bisect.angles,c("two","four","six","eight"))