Skip to content
Prev 385416 / 398506 Next

ggplot 3-color gradient scales

Is there a way to set it to 3 color categories instead of a gradient?  Like
if the color is based on the numbers in a dataframe column, can I make it
so anything >1.2 is red, <0.8 is blue, and anything in the middle is green?


On Mon, Aug 24, 2020 at 6:28 PM April Ettington <aprilettington at gmail.com>
wrote: