axismaps / colorbrewer

https://colorbrewer2.org
Apache License 2.0
961 stars 88 forks source link

Choose palettes on conditional value #25

Open LGurtner opened 5 years ago

LGurtner commented 5 years ago

Hello, more a question than an issue: I would like to use the "Greens" and "Blues" palettes in one plot. I show distributions and use the palettes to indicate percentiles of the distributions. However, I have several distributions from two conditions and I would like to use the "Greens" to show percentiles of the distibutions of one condition and "Blues" for the other ones. Is it possible to choose the palette depending on a value in the data set? Thank you for any help! Lilla