Re: rainbow color table

From: <asphilli_at_nyahnyahspammersnyahnyah>
Date: Tue, 28 Apr 2009 11:09:13 -0600 (MDT)

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:09:13 MDT

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