ggplot2:如何用对角线图案中的两种颜色绘制条形图

时间:2017-12-27 15:30:54

标签: r ggplot2 colors

我希望我在ggplot2中绘制的一个条形图具有两种颜色的对角线图案,类似于:

enter image description here

这可能吗?我目前正在分配我的颜色:

scale_fill_manual("legend", values = c("A" = "forestgreen", 
                                       "B" = "red2", 
                                       "C" = "chocolate1")) +

0 个答案:

没有答案