bookmark

r - How to assign colors to categorical variables in ggplot2 that have stable mapping? - Stack Overflow


Description

This explains several ways to use consistent colors across plots (same way works with scales). However, the easy way explained in one of the alternative answers does not seem to work for some versions of R/ggplot2. Opting for the accepted answer always works though.

Preview

Tags

Users

  • @becker

Comments and Reviews