Hi all: I've created an ncl script that defines a bunch of extra
colormaps that I grabbed from Cynthia Brewer's ColorBrewer web site
(http://www.personal.psu.edu/faculty/c/a/cab38/ColorBrewerBeta2.html)
and the University of Oregon's Data Graphics Research Program web site
(http://geography.uoregon.edu/datagraphics/color_scales.htm). It's at
http://www.cdc.noaa.gov/people/jeffrey.s.whitaker/python/pyncl/colormaps/colormaps.ncl
Just load it and you'll have the following colormaps
Spectral, RdYlGn, PuBu, Accent, OrRd, StepSeq, Set1, Set2, Set3, BuDRd,
BuGy, BuPu, Dark2, BuGr, RdBu, Oranges, BuGn, Bu, PiYG, YlOrBr, YlGn,
Pastel2, RdPu, Greens, BuOrR, PRGn, GrMg, YlGnBu, Cat, RdYlBu, Paired,
BrBG, Purples, Reds, Pastel1, GnBu, BrBu, Greys, RdGy, YlOrRd, PuOr,
PuRd, Blues, PuBuGn, BuDOr
To see what they look like:
load "colormaps.ncl"
wks = gsn_open_wks("ps","color")
gsn_define_colormap(wks, BuDOr) ; substitute any of the above names for
BuDOr
gsn_draw_colormap(wks)
Hope someone finds it useful.
-Jeff
**
-- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/CDC R/CDC1 Email : Jeffrey.S.Whitaker@noaa.gov 325 Broadway Office : Skaggs Research Cntr 1D-124 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg_______________________________________________ ncl-talk mailing list ncl-talk@ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Fri Feb 18 2005 - 09:16:48 MST