在ggplot2中居中对齐刻度标签

问题描述

如何移动我的刻度线标签(左),使其与刻度线对齐并在geombar相应条的中心?

d %>% 
  ggplot(aes(x=Estuary,fill=Allocation))+geom_bar(position="fill")+ylab("Proportion")+ facet_grid(~Year_collected)+ scale_x_discrete(labels=names(Est.labs)) +
  theme(axis.text.x = element_text(angle = 90,vjust = 1))

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)