[ncl-talk] dividing color map to intervals

M P mzp3769 at gmail.com
Thu Nov 21 20:11:13 MST 2019


Hello,
I define a colormap as

gsn_define_colormap(wks,"WhiteBlueGreenYellowRed")

I want to divide it into e.g. 20 equal intervals so I can plot data in
different ranges
with different colors.

Can you help how to e.g. create an array colors[i] that would span the
whole range? Or there is another way to do it?

Thanks,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20191121/e22ce8bc/attachment.html>


More information about the ncl-talk mailing list