[Matplotlib-users] Making color maps with ranges:

Mustapha Adamu mustapha.adamu at monash.edu
Sun May 5 05:15:59 EDT 2019


Dear all,
I am try to make my own colormap, after searching online including stack
overflow  there is still no luck hence hope to get some help here,

Specifically can I devise my own cmap such that from 1-0.5 is red, 0.5-0.25
is blue, 0.25- -0.25 is white, then -0.25- -0.5 green, and last -0.5- -1 is
blue

My data is 2D spatial data with range -1 to 1
Thanks in ad
Cheers,

*Mustapha Adamu*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20190505/ec10c683/attachment.html>


More information about the Matplotlib-users mailing list