All Projects → hhuangwx → nclcmaps

hhuangwx / nclcmaps

Licence: GPL-3.0 license
No description, website, or topics provided.

Programming Languages

Gnuplot
187 projects
Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language
NCL
17 projects

nclcmaps

This package is no longer maintained. Refer to https://github.com/hhuangwx/cmaps for better experience.

Duplicate all colortables in NCL 6.3.0 to matplotlib colormaps

Thanks for wqshen's help

Installation:

git clone https://github.com/hhuangmeso/nclcmaps.git
cd nclcmaps
python setup.py install

Usage:

import matplotlib.pyplot as plt
import nclcmaps
import numpy as np

a=np.random.rand(100,100)
plt.pcolormesh(a,cmap=nclcmaps.cmaps('BlueDarkOrange18'))
plt.colorbar()
plt.show()
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].