Live data from Hacker News

New Map Scale Is More Readable by People Who Are Color Blind

scientificamerican.com

1–10 of 52 posts

Re: New Map Scale Is More Readable by People Who Are Color Blind

#4
post #2

I wish the article would have provided the formula for cividis... that is, how to transform a range of values from 0 to 1.0 into standard RGB values.

The "S2 file" mentioned on the liked page gives a look-up table for the cividis scale: http://journals.plos.org/plosone/article/file?type=supplemen...

Apart from the comment on line 1, that file contains 256 lines with a colour. I suppose to get a finer scale, you can interpolate with any reasonable function you like since the differences are so small.

Re: New Map Scale Is More Readable by People Who Are Color Blind

#6
The image at the top of the page loads fine. But the rest an so encumbered with Javascript to load you literally have to reload the page at least 4 times (to load the JS domain, that loads the JS domain, that loads the JS domain) to see them.

I gave up and closed the tab.

Re: New Map Scale Is More Readable by People Who Are Color Blind

#8
Related: How Bad Is Your Colormap? (Or, Why People Hate Jet – and You Should Too): https://jakevdp.github.io/blog/2014/10/16/how-bad-is-your-co...

Also related: seaborn (a helper library on top of matplotlib) has a special case dedicated to rejecting requests for using jet

Re: New Map Scale Is More Readable by People Who Are Color Blind

#9
post #5

Matplotlib has some nice colormaps as well: http://medvis.org/2016/02/23/better-than-the-rainbow-the-mat... http://bids.github.io/colormap/

A plus is that you can easily import these into many programs (MATLAB, ParaView, QGIS, etc.) thus having a consistent look and feel in your plots.
Post reply on HN