
Last chance! 50% off unlimited learning
Sale ends in
pie3D.labels(radialpos,radius=1,height=0.3,theta=pi/6,
labels,labelcol=par("fg"),labelcex=1.5)
pie3D.label
displays labels on a 3D pie chart. The positions
of the labels are given as angles in radians (usually the bisector of the
pie sectors). As the labels can be passed directly to pie3D
,
this function would probably not be called by the user.pie3D
, draw.tilted.sector
pieval<-c(2,4,6,8)
bisectors<-pie3D(pieval,explode=0.1,main="3D PIE OPINIONS")
pielabels<-
c("We hate
pies","We oppose
pies","We don't
care","We just love pies")
pie3D.labels(bisectors,labels=pielabels)
Run the code above in your browser using DataLab