给定这些数据:
abTcells 1456.74119
Macrophages 5656.38478
Monocytes 4415.69078
StemCells 1752.11026
Bcells 1869.37056
gdTCells 1511.35291
NKCells 1412.61504
DendriticCells 3326.87741
StromalCells 2008.20603
Neutrophils 12867.50224
这个图表:
是使用以下代码生成的:
library(ggplot2)
df <- read.table("http://dpaste.com/1697602/plain/");
ggplot(df,aes(x=factor(1),y=V2,fill=V1))+
geom_bar(width=1,stat="identity")+coord_polar(theta="y")
我该如何移除以下内容:
- 圆形坐标,例如 (0, 10000, 20000, 30000)
- Y轴坐标(例如1)
- 白色圆形
+ labs(x="", y="")
来删除它们。 - Aren Cambre