[Matplotlib-users] viridis colormap model
nathan12343 at gmail.com
Thu Oct 1 20:46:52 CEST 2015
The code used to generate all of the new colormaps is in these repositories:
See also the appendix at the bottom of this page:
As well as Stefan and Nathaniel's talk at this year's scipy:
On Thu, Oct 1, 2015 at 1:42 PM, Carnë Draug <carandraug at octave.org> wrote:
> I saw the new default colormap viridis and I was wondering about the
> function that was used to generated it. Looking inside the source,
> I only found hardcoded values for a 256 long colormap .
> I understand that I can interpolate this to get a colormap of any
> length. However, what I'm really trying to find is the function that
> was used to generate those values in the first place. I'm not so much
> interested in the actual python code to do it, my interest is purely the
> mathematical model behind it.
> Is this published anywhere? If not, can anyone tell me where to find
> the model?
> Thank you
> Matplotlib-users mailing list
> Matplotlib-users at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Matplotlib-users