
What I have to say may shock some of you: the rainbow color map isn't dead,
and it shouldn't be.
Boom. Let the rage begin!
It might seem surprising for me to say that, since I've been a huge advocate of the
cubehelix color map on this site (and IRL). Some of
my friends have also penned strongly worded comments against rainbow (aka jet). I've been known to wax on about it too. There have also been
widely read critics of this color map recently, which pushed me to write my own (shudder) defense of the rainbow.
Most of the criticism is well founded, and falls along a few (excellent) lines of reasoning:
- It doesn't desaturate to black/white sensibly
- The color order is not universally understood
- It is hard to make out fine details, and can artificially exaggerate others
- It includes colors which are hard to see (e.g. cyan, yellow)
I argue that's not the whole story....
The
tl;dr answer: some data is categorical not continuous, and some continuous data needs certain features highlighted. Always choose colors for a reason.
Let's break it down... here's a figure that aesthetically irritates me (I'm nitpicking on the astroml figures here because they are damned excellent). People use this kind of figure as an example of good plotting style and nice visualization methods. It is also used it as an example of bad color choices and weird visual artifacts.
This figure is
good and bad. Specifically, the left panel is probably bad, the right seems good.
(SDSS surface gravity versus temperature for stars. From
here)