plot(1:5,type="n",main="Floating Pie test",xlab="",ylab="",axes=FALSE)
box()
floating.pie(2,4,c(2,4,6,8),radius=0.5)
floating.pie(3,3,c(1,4,7,8),radius=0.5)
floating.pie(4,2,c(3,4,6,7),radius=0.5,shadow=TRUE)
Run the code above in your browser using DataLab