grafify internally includes colour-blind compatible schemes for fill and colour/color aesthetics. Note that this scheme is only for continuous variables and take four options, which include (yellow_conti) modified from the YlOrBr scheme from RColorBrewer, blue_conti, PrGn_div and OrBl_div.

scale_fill_grafify_c(
  palette = c("blue_conti", "yellow_conti", "grey_conti", "PrGn_div", "OrBl_div"),
  reverse = FALSE,
  ...
)

Arguments

palette

One of five grafify palettes for quantiative data blue_conti, yellow_conti, grey_conti, PrGn_div, OrBl_div

reverse

Whether the colour order should be reversed.

...

Additional parameters for scale_fill or scale_colour.

Value

ggplot scale_fill function for continuous colours.

Details

Colours available can be seen quickly with plot_grafify_palette.

Examples

#basic usage on mtcars data with x and y quantitative axes
ggplot(mtcars, aes(x = mpg, y = disp))+
geom_point(aes(fill = disp), shape = 21, size = 3)+
scale_fill_grafify_c()