R: ggplot better gradient color

后端 未结 4 2189
天命终不由人
天命终不由人 2020-12-30 13:54

I am using ggplot to plot Proportional Stacked Bar plot. And the Plot I am getting is something like this: \"enter

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-30 14:15

    I'd use scale_fill_manual=c("red","green"), you can put more colors if you want or scale_fill_brewer(palette="Reds"), I like this one. You can use palettes here

提交回复
热议问题