Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有这个代码:
performance %>% ggplot(aes(Sexo, fill = factor(PLM.year1))) + geom_bar(position = "fill")
它给了我一些奇怪的颜色..我想要灰色的..我该如何改变它,拜托?
尝试添加
+ scale_fill_grey(start=0.8, end=0.2)
基于ggplot2 文档