grafify
internally includes colour-blind compatible schemes for fill and colour/color aesthetics.
Note that this scheme is only for continuous variables and has one palette (yellow_conti
) modified from the YlOrBr scheme from RColorBrewer.
scale_colour_grafify_c(reverse = FALSE, ...)
Whether the colour order should be reversed.
Additional parameters for scale_fill
or scale_colour
.
ggplot scale_fill function for discrete colours.
Colours available can be seen quickly with plot_grafify_palette
.
#basic usage on mtcars data with x and y quantitative axes
ggplot(mtcars, aes(x = mpg, y = disp))+
geom_point(aes(colour = disp), size = 3)+
scale_colour_grafify_c()