[ncl-install] rainbow color table

asphilli at ucar.edu asphilli at ucar.edu
Tue Apr 28 11:09:13 MDT 2009


Hi Ilan,

wks = gsn_open_wks("x11","test")
gsn_define_colormap(wks,"ncview_default")
cmap = gsn_retrieve_colormap(wks)
print(cmap*255.)   ; print out the RGB triplets

Notice that there are a number of colormap related functions:
http://www.ncl.ucar.edu/Document/Functions/color.shtml

Adam

> I see you have a nice rainbow color table with 256 values. It is the
> ncview_default.
> Can anyone help me to get the binary RGB values for this table?
>
> Thanks,
> Ilan
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>



More information about the ncl-install mailing list