(limits = c("A","B","C","D","E")) + # X轴坐标名称
theme(axis.text.x = element_text(size = 10, color = "...) + # 条形图的位置,柱子宽度
scale_fill_hue(labels = c("组一","组二")) +
scale_x_discrete(limits = c("A","B",..."C","D","E")) + # X轴刻度名称
theme(axis.text.x = element_text(size = 10, color = "black", face = "bold...或者也可以:
showtext_auto() # 全局自动使用
library(ggplot2)
ggplot(Bar,aes(x = group,y = value,fill = Cohort))...(limits = c("A","B","C","D","E")) + # X轴刻度名称
theme(axis.text.x = element_text(size = 10, color = "