Functions scale_color_mex_c and scale_fill_mex_c for continuous scales enable the use of MexBrewer colors with ggplot2 continuous scales.
scale_color_mex_c(palette_name, direction = 1, ...)scale_colour_mex_c(palette_name, direction = 1, ...)
scale_fill_mex_c(palette_name, direction = 1, ...)
A ScaleContinuous object that can be added to a ggplot object
Name of Palette. Choices are:
Alacena, Atentado, Aurora, Casita1, Casita2, Casita3, Concha, Frida, Huida, Maiz, Naturaleza,Ofrenda,
Revolucion, Ronda, Taurus1, Taurus2,Tierra, Vendedora.
Sets order of colors. Default palette is 1. If direction is -1, palette color order is reversed
Other arguments passed on to scale_color_gradientn
Other color scales:
ggplot2-scales-discrete