【发布时间】:2021-08-28 05:52:40
【问题描述】:
我想更改直方图条的填充和颜色,但是当前的方法不起作用, 我正在使用以下填充和颜色:
ggplot(dfAllCounts, aes(x=months)) +
stat_bin(binwidth=6, geom="text", aes(label=after_stat(count)), vjust=-1, fill="#d2aa47", color = '#163B8B')
但是,实际的情节没有正确显示:
【问题讨论】:
标签: r ggplot2 statistics r-markdown histogram