[Thread Prev][Thread Next][Index]

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



Hi Patrick,
Thank you for writing.  There's been some bubbling discussion of the shortcomings of the Rainbow palette in the visualization software world for a while.  We'd welcome more discussion here - I know there are fans of rainbow palettes as well. 

Note that right now you can set a default palette for Ferret sessions, either with a startup file, or within scripts.  Add the command

  PALETTE palette_name

to a .ferret file, or to a script, and subsequent plots will use that palette.

On 12/2/2015 2:55 AM, Patrick Brockmann 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
--

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

Privacy Policy | Disclaimer | Accessibility Statement