[ncl-install] rainbow color table

Mary Haley haley at ucar.edu
Tue Apr 28 11:16:30 MDT 2009


FYI: most of the colormaps (except for a special set of 9 built-in
colormaps) are also available as an ASCII file in the directory
$NCARG_ROOT/lib/ncarg/colormaps.

--Mary


On Tue, 28 Apr 2009 asphilli at ucar.edu wrote:

> 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