【发布时间】:2020-06-03 13:22:05
【问题描述】:
目前我正在使用 ggplot2 使用以下代码创建这样的图表
ggplot(data.df[sel,], aes(x=1, y = mean_ponderation_norm, fill = Usage)) +
geom_bar(stat="identity",color='black') +
coord_polar(theta='y')+
scale_fill_brewer(type="qual", palette = 2, direction = 1, name="")+
facet_grid(zone.x~Type_service)+
theme(#panel.grid = element_blank(), ## remove guide lines
#axis.text.x = element_blank(),
axis.text.y = element_blank(),
axis.ticks=element_blank(), # the axis ticks
axis.title=element_blank() # the axis labels
)+
scale_y_continuous(limits = c(0, 100))
但我希望第二列中的切片从它们在第一列中停止的位置开始。得到这样的东西
【问题讨论】: