[HN Gopher] Heatmap coloring (2011)
       ___________________________________________________________________
        
       Heatmap coloring (2011)
        
       Author : polm23
       Score  : 16 points
       Date   : 2021-05-18 09:57 UTC (1 days ago)
        
 (HTM) web link (www.davepacheco.net)
 (TXT) w3m dump (www.davepacheco.net)
        
       | SiempreViernes wrote:
       | This is an article about 2d histogram colouring where they
       | discuss how you get a better colouring if you set the saturation
       | of each bin by it's (columnwise) rank: that is you sort all
       | values in each column and assign a saturation of 1 to the bin
       | with the largest count, and then progressively smaller
       | saturations as you go down the rankings.
       | 
       | Presumably they don't care their column wise colouring scheme
       | makes it impossible to sensibly compare across the rows as each
       | column gets its own colour scale. _shrug_
        
       | bagrow wrote:
       | There's been a lot of movement in the past few years on colormaps
       | informed by studies of human perception.
       | 
       | Viridis, now the matplotlib default, is quite popular:
       | 
       | * https://bids.github.io/colormap/
       | 
       | * https://cran.r-project.org/web/packages/viridis/vignettes/in...
       | 
       | Google recently introduced an improvement on the venerable "jet"
       | colormap called Turbo: https://ai.googleblog.com/2019/08/turbo-
       | improved-rainbow-col...
        
       ___________________________________________________________________
       (page generated 2021-05-19 23:03 UTC)