[Thread Prev][Thread Next][Index]

Re: [ferret_users] For the end of the default rainbow palette !



Hi Patrick,

Nice colors for salinity maps. Do you mind attaching the .spk files for those of us who do not have python2.7 and matplotlib installed?

Thanks,

Dongxiao

On Wed, Dec 2, 2015 at 2:55 AM, Patrick Brockmann <Patrick.Brockmann@xxxxxxxxxxxx> wrote:
Hi ferreters,

I have found interesting the work that folks from matplotlib have done
about colormap (palette in the ferret vocabulary).

So attached a small python script to generate spectrum files for ferret (and pyferret).
I have found interesting the colormaps called Perceptually Uniform Sequential.
Perhaps that one of the 'viridis', 'inferno', 'plasma', 'magma' colormap
could be choosen to replace the default rainbow palette of ferret.





Note that matplotlib 1.5.0 is needed to get described colormaps.
See http://matplotlib.org/examples/color/colormaps_reference.html
and https://youtu.be/xAoljeRJ3lU - A Better Default Colormap for Matplotlib

Happy ferreting.

Patrick 
-- 
LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ
Data Analysis and Visualization Engineer
ICMC - IPSL Climate Modelling Centre
--



--
Dongxiao Zhang, Ph.D.
Senior Research Scientist
JISAO/University of Washington
NOAA/PMEL Bldg.3
7600 Sand Point Way NE
Seattle, WA 98115
(206)526-4184

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement