Hi,
I stumbled upon this passionate discussion of the misuse and use of the rainbow colormap that we (or at least I) love so dearly.
https://agilescientific.com/blog/2017/12/14/no-more-rainbows
A view that is shared by many others (apparently there are even anti-rainbow-colormap-activists) and led to a change in the default colormap for Matlab users for example (Parula, which is intellectual property, unfortunately) in 2014.
To sum up some of the critiques:
- No natural, instinctive ordering of the colors (what comes first, green or yellow?)
- It can create phantom features: perceived sharp transitions in data that are just sharp transitions between hues
- The green and cyan sections of the rainbow color map are perceptually indistinct, so it is essentially non-linear
- Loss of critical information about high and low data values when printing in grey scale
- Difficult to read for color-blind people
I really like the rainbow colors but the more I learn about data visualization the more I understand its disadvantages but in general. I think its advantage at this point is just our familiarity with this "standard" color transition and that we intuitively understand maps using it. But are we missing the train?
Ben Buse posted earlier in this forum a color pallet for surfer based on Viridis, a colormap that works well for color-blind people.
http://smf.probesoftware.com/index.php?topic=958.0
So, dear probers, should we adopt a new and better "standard" colormap for our element maps? To an extent we are in a good position to make a change happen as we generate the data for these element maps. Which one should it be?
More on the rainbow color map:
- http://medvis.org/2012/08/21/rainbow-colormaps-what-are-they-good-for-absolutely-nothing/
- https://www.mathworks.com/content/dam/mathworks/tag team/Objects/r/81137_92238v00_RainbowColorMap_57312.pdf
More on Parula and Viridis color maps
- https://blogs.mathworks.com/steve/2014/10/13/a-new-colormap-for-matlab-part-1-introduction
- https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html
- http://bids.github.io/colormap/
I concur.
This is why I've always preferred the "thermal" color scale. It's much more intuitive in that black is minimum and white is maximum with brown, red, orange, yellow in between.
In fact I tried hard with the rainbow color scale in PFE and CalcImage, so we don't have black at both sides of the rainbow color scale as seen here:
(https://smf.probesoftware.com/gallery/395_21_12_17_4_28_24.png)
This is a reasonable compromise I think, though I still prefer the thermal scale as seen here:
(https://smf.probesoftware.com/gallery/395_21_12_17_4_29_58.png)
Though some people are fans of this color scale used by JEOL:
(https://smf.probesoftware.com/gallery/395_21_12_17_4_31_13.png)
As a token colorblind person I heartily concur with abandoning the rainbow colour map. It's never made any sense to my eyes. I used to like a pure thermal colour map but honestly I prefer the default thermal map used in PFE, my eyes can pick up very small brightness differences with this LUT. The Viridis LUT is nicer than the rainbow but I'm not very green sensitive.
My two cents
Cheers
Glenn
Interesting, the JEOL one is very similar to Viridis.
Viridis
(https://smf.probesoftware.com/gallery/17_21_12_17_4_54_58.png)
And here is Parula for comparison
Parula
(https://smf.probesoftware.com/gallery/17_21_12_17_4_52_50.png)
There are some more contenders:
Magma
(https://smf.probesoftware.com/gallery/17_21_12_17_4_56_00.png)
Inferno
(https://smf.probesoftware.com/gallery/17_21_12_17_4_57_09.png)
Plasma
(https://smf.probesoftware.com/gallery/17_21_12_17_4_58_04.png)
All found here:
http://medvis.org/2016/02/23/better-than-the-rainbow-the-matplotlib-alternative-colormaps/
Of course "Magma" would appeal to the geologists...
My 2 cents regarding thermal would be that it is basically monochrome, so what's the benefit compared to just greyscale?
Quote from: Karsten Goemann on December 21, 2017, 05:17:22 PM
My 2 cents regarding thermal would be that it is basically monochrome, so what's the benefit compared to just greyscale?
You make the poor, struggling publishers happy by having to pay their fee for having color figures in the paper ;)
Here is a screenshot from a Youtube video that compares the different colormaps
(https://smf.probesoftware.com/gallery/17_21_12_17_5_32_18.png)
Left: Jet and Parula; Center: Magma and Inferno; Right: Plasma and Viridis.
Video:
https://www.youtube.com/watch?time_continue=9&v=u9a4NO3iGgA
Based on this, I like Inferno the best.
Quote from: Karsten Goemann on December 21, 2017, 05:17:22 PM
My 2 cents regarding thermal would be that it is basically monochrome, so what's the benefit compared to just greyscale?
My understanding of the benefit of thermal compared to grayscale is that the human eye can only discern some 60 gray levels, while with the thermal scale the adding of red, orange and yellow (to black and white), greatly improves visual sensitivity (millions of colors).
Here is an interesting link discussing these issues.
https://betterfigures.org/2015/06/23/picking-a-colour-scale-for-scientific-graphics/
They make one claim that I find quite strange: "In general, people interpret darker colours as representing "more"." That's certainly not the way I see it, but then I'm pretty strange... more photons is lighter, right? ;D
john
Most of the pixels of the strawberries in this image are gray:
(https://smf.probesoftware.com/gallery/1_21_12_17_5_53_15.jpeg)
https://www.digitalrev.com/article/your-brain-will-colour-correct-this-greyscale-image-of-strawberries
Your brain *wants* to see color!
Interesting article from EOS:
https://eos.org/features/visualizing-science-how-color-determines-what-we-see
(https://smf.probesoftware.com/gallery/395_29_05_20_8_23_52.png)
This is slightly on the wrong board... but at customer request, we added (in Pathfinder x.x) an "incandescent" option to replace the rainbow scheme for COMPASS component maps.
It can be set in the NSSMachineSettings.ini file.
In the [Image] group.
Set UseIncandescent=1.
Good to know.
Yeah, this fire color palette:
https://smf.probesoftware.com/index.php?topic=707.msg9302#msg9302
is essentially a thermal (incandescent) color palette with a little blue just before the black.
(https://smf.probesoftware.com/gallery/395_14_11_21_8_36_52.png)
https://m.xkcd.com/2537/
Here's an interesting article on uses of color:
https://clauswilke.com/dataviz/color-pitfalls.html
(https://smf.probesoftware.com/gallery/1_14_11_22_11_34_53.jpeg)
That's the view from the offices of Probe Software, which I call a "fall" spectrum.
Now if we planted a blue spruce to the right of the Monterey Cypress, we'd have a "full" spectrum! ;D
I happened to be perusing some Optometry journals (as one does), and the only color ramp that I saw was rainbow!
The irony!
Quote from: SteveSeddio on February 21, 2023, 01:54:40 PM
I happened to be perusing some Optometry journals (as one does), and the only color ramp that I saw was rainbow!
The irony!
What about bee optometry journals? They see in the ultraviolet! :D
What's worse than a rainbow palette?
This:
(https://smf.probesoftware.com/gallery/395_23_02_23_10_45_02.png)
This is an excellent paper on the topic, for those who are interested.
https://doi.org/10.1038/s41467-020-19160-7
That is a great paper! Thanks for sharing.
Hi,
I created color scales (Viridis, Cividis, Magma and Plasma) for the JEOL N-Map viewer. See here for the files and instructions how to implement it: https://smf.probesoftware.com/index.php?topic=1529.0
(https://smf.probesoftware.com/gallery/17_04_05_23_11_00_34.jpeg)
Here's the link for the viridis, cividis, plasma and magma colour scales for use with CalcImage:
https://smf.probesoftware.com/index.php?topic=1615.msg12579#msg12579 (https://smf.probesoftware.com/index.php?topic=1615.msg12579#msg12579)
This fall has quite colorful, enough so that I can almost see a "full spectrum" from our house:
(https://smf.probesoftware.com/gallery/1_05_11_25_3_02_09.png)