Re: rainbow color table

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue, 28 Apr 2009 11:16:30 -0600 (MDT)

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
_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Tue Apr 28 2009 - 11:16:30 MDT

This archive was generated by hypermail 2.2.0 : Thu Apr 30 2009 - 16:36:23 MDT