5 ms·
In the tradition of "considered harmful" papers, I think this is one of the less convincing. Or rather, it doesn't meaningfully answer the question: if the rai
by an1sotropy 5y ago
In the tradition of "considered harmful" papers, I think this is one of the less convincing. Or rather, it doesn't meaningfully answer the question: if the rainbow colormap is so awful, why is it still so common? Is it really "due to inertia", as the authors suggest? Or is there some other virtue?
How about: I want to maximize the number of distinctions between values that are possible via comparisons of colors. Something that takes a long path through colorspace is best for this. Short simple paths do better enable making ordinal judgements between values (which the authors care a lot about), but they're not as good for maximizing distinctions.
Were data vis a more conceptually mature discipline, we wouldn't rely on this kind of simple prescriptive guidance.
- touisteur 5y agoI always thought that it was a quick metaphor for heat(red, white) and cold (blue, black). I have a hard time relating other colormaps in the same way. Maybe the difference is not 'conceptual' but some atavic or cultural reaction?
- timy2shoes 5y ago> if the rainbow colormap is so awful, why is it still so common? Because it's the default for a lot of matplotlib visualizations. Per Goethe: "Misunderstandings and lethargy perhaps produce more wrong in the world than deceit and malice do."
- esyir 5y agoWhen I was a student, I too used it for a relatively banal reason: it looked pretty.
- vlmutolo 5y agoThe problem is that people will naturally interpret colors on certain scales whether that was intended by the authors or not. The goal of visualization is to make the natural reaction the correct one. https://jakevdp.github.io/blog/2014/10/16/how-bad-is-your-colormap/ https://jakevdp.github.io/blog/2014/10/16/how-bad-is-your-co... The link above goes over some interesting plots that have very misleading color gradients.
- an1sotropy 5y agoThe implicit assumption there is that all data visualizations should be fast or "natural" to comprehend. Some people think that all user interfaces should be simple and easy for novices. Those people are not airplane pilots, or train engineers, or art historians for that matter. Not all visual things are simple, and not all simple visual things are effective for their intended purpose. If non-monotonic luminance variations are an acceptable cost for a colormap that otherwise offers superior discriminability, than that's a colormap that someone may have a good reason to choose.
- CorrectHorseBat 5y agoTheoretically sure, but in reality people who like jet don't even know what the issue with jet is, let alone they can correct the non-lineairity. In what kind of plots do you think maximum discriminability, at the cost of discriminating things that don't exist, is more important than linearity?
- an1sotropy 5y agoFor example, if you want to show the spatial extent of some Gibbs (ringing) phenomenon at the edge of a structure that itself takes on a wide range of values (this is descriptive of visualizations I've had to make). The basic shape of the structure, and its low-frequency value patterns are already known (part of the problem definition), so increasing discriminability will make the colormap more useful.
- CorrectHorseBat 5y agoYou're increasing the discriminability at the cost of high _local_ distortion, I don't see how that is a good tradeoff. As a comparison, what would you rather have: a non-distorted plot or a plot that is on average about three times as big, but it's heavily distorted. At some places it's smaller than the original and on other places it's 5 times bigger. Would you really choose the bigger figure? That is what jet is. Look at this plot https://youtu.be/xAoljeRJ3lU?t=791 https://youtu.be/xAoljeRJ3lU?t=791 (watch the whole video if you have the time), ideally you want the derivatives (the 2 plots on the left top) to be constant so not to distort your data. Jet is all over the place while viridis is basically constant (not shown in the slides, but the derivative stays all the way around 120).
- GuB-42 5y agoI think it is just misuse. Rainbow colormaps show banding, which is great when you want to have an idea of contour shapes. For example, the most common rainbow colormap, "jet" is great at showing jet engine exhaust plumes, hence the name. But if the value matter more than the shape, then it is terrible. The same banding that highlight shapes create artificial discontinuities in otherwise smooth data. Maybe it is like the Comic Sans of color maps. It serves a purpose. In the case of Comic Sans, it was made to give a comic font to the comic characters of Microsoft Bob. And people liked it and used it everywhere, much to the dismay of typographers. "Jet" serves a purpose, but people misuse it because it looks cool.
- yongjik 5y agoI think the problem is that rainbow shows banding, but only in some arbitrary narrow range, and then pretty much ignores a large swath of values that all map to slightly different hues of green. So the "bands" you see are not representative of the underlying data, unless you're lucky. If you want to see bands I think you're better served by just digitizing the value into, say, 10 ranges, and color each range in uniform color, like how they did it in old-school paper maps.