Closed mikejwaters closed 1 year ago
This issue has been automatically closed because it does not originate from a Duet3D administrator. Please create a discussion on https://forum.duet3d.com first and fill out the corresponding GitHub template if the bug or feature request is acknowledged.
I wouldn't complain about this normally, but I greatly appreciate DuetWebControl and this is how I can give back. :)
The colormaps for height, 'Terrain' and 'Heat', in the plugin are poor because: 1) They don't have very much contrast and have uneven contrast (low perceptual length, non-uniform perceptual derivative) 2) Both are terrible for people with red-green colorblindness, the most common form of colorblindness. 3) A diverging colormap would be better for a variable that deviates around a mean.
More info: Matplotlib guide to colormaps: https://matplotlib.org/stable/tutorials/colors/colormaps.html A talk by MPL: https://www.youtube.com/watch?v=xAoljeRJ3lU A paper: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8309845/
An easy solution would be to ask MPL if we can copy some of their colormaps. Alternatively, I can design some new ones specifically for the plugin.
Cheers, -Mike