问题
For example,
pie(1:3)
But the radius is constant.
How to make the pie plot which the radius is 1,2,3 respectively?
回答1:
Check radial.pie function in plotrix package
install.packages("plotrix")
library(plotrix)
radial.pie(c(1,2,3), labels=c("One", "Two", "Three"), radlab=TRUE)
would produce following figure
来源:https://stackoverflow.com/questions/33343463/how-to-use-r-to-plot-a-pie-plot-with-different-radius