问题描述
我想在每个小节上方放置不同的符号。从图像中可以看到,我设法将%置于每个小节上方。我也希望符号更高一些。请有人帮忙吗?
代码当前为
ggplot(p_summaryNum,aes(x,mean,fill=Sex)) + geom_bar(stat = "identity",size=1.2,position=position_dodge()) + geom_errorbar(aes(ymin=mean-sd,ymax=mean+sd),width=0.2,position=position_dodge(.9)) + facet_wrap(~Site) + scale_fill_brewer(palette="Purples") + scale_color_manual(values=c("blue","red")) + geom_text(aes(label = paste0("%")),vjust = 0,color = "black",size = 3.5,position=position_dodge(.9)) + theme_classic() + theme(aspect.ratio = 1,legend.title = element_blank(),legend.position = "right") + ylab("") + xlab("")
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)