Reversing default scale gradient ggplot2
问题 I am newbie, I am trying to desing a heat map. This is my code: ggplot(gd, aes(Qcountry, Q6_1_Q6d), order = TRUE) + geom_tile(aes(fill = prob), colour = "white") + theme_minimal() + labs( y = "Main reason for mobility", x = "Country") + theme(axis.text.x = element_text(angle = 90, hjust = 1, vjust = 0.3)) + scale_fill_gradient(name = "(%)") Which produces a perfect chart, my problem is low levels are dark blue, and higher values are light blue, which is not intuitive. Most common way to do is