Wednesday, February 19, 2014

Color palettes in R (wrt ggplot2)

I just found an outstanding rundown of color issues in R (with a nod to ggplot2) on cookbook-r.com.

Mostly just a collection of resources from around the web.

I really like their colorblind friendly palette:

 
cbPalette <- span=""> c("#999999", "#E69F00", "#56B4E9", "#009E73", "#F0E442", "#0072B2", "#D55E00", "#CC79A7")


Which is better than the ggplot2 defaults:


No comments:

Post a Comment