Re: extra colormaps

From: Takeshi Enomoto (eno AT jamstec.go.jp)
Date: Thu Feb 17 2005 - 21:48:22 MST


Jeff,

Thank you for providing us with this script and pointing to useful
sites.

I wanted to use your colormaps in the same way as default colormaps
by "name" rather than the name of the array.
In order to draw all the colormaps by providing an element in a string
array.

So I dumped RGB's to .rgb files like,
        asciiwrite("Spectral.rgb", floattoshort(Spectral(2:,:) * 255))
put them in a directory (say, $HOME/lib/ncarg/colormaps)
and set environmental variable
NCARG_COLORMAP_PATH="$HOME/lib/ncarg/colormaps:$NCARG_ROOT/lib/ncarg/
colormaps"
as Dave Brown kindly taught us in this mailing list last August.

Perhaps I did the opposite of your effort.

Takeshi




-----
Dr. Takeshi Enomoto
eno@jamstec.go.jp
Earth Simulator Center

_______________________________________________
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:39 MST