【发布时间】:2021-01-06 19:58:06
【问题描述】:
我使用了下面的代码,但它只显示没有颜色的图表
gbar <- ggplot(data=episode_data, aes(x=season))
gbar +
geom_bar() +
scale_fill_brewer(type = "seq", palette = 1, direction = 1, aesthetics = "fill")
【问题讨论】:
-
ggplot(data=episode_data, aes(x=season, fill = season))
标签: r ggplot2 colors bar-chart