grafify
internally includes color-blind compatible schemes for fill and color/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
.
Colour palettes available are as follows:
scale_color_grafify_c(
palette = c("blue_conti", "yellow_conti", "grey_conti", "PrGn_div", "OrBl_div"),
reverse = FALSE,
...
)
One of five grafify
palettes for quantiative data blue_conti
, yellow_conti
, grey_conti
, PrGn_div
, OrBl_div
Whether the color order should be reversed.
Additional parameters for scale_fill
or scale_color
.
ggplot scale_fill function for continuous colours.
#basic usage on mtcars data with x and y quantitative axes
ggplot(mtcars, aes(x = mpg, y = disp))+
geom_point(aes(color= disp), size = 3)+
scale_color_grafify_c()