Re: extra colormaps

From: Jeff Whitaker (jswhit AT fastmail.fm)
Date: Fri Feb 18 2005 - 06:31:55 MST


Takeshi Enomoto wrote:

> 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
>
Takeshi: Brilliant! Thanks.

-Jeff

-- 
Jeffrey S. Whitaker         Phone : (303)497-6313
NOAA/OAR/CDC  R/CDC1        FAX   : (303)497-6449
325 Broadway                Web   : http://www.cdc.noaa.gov/~jsw
Boulder, CO, USA 80305-3328 Office: Skaggs Research Cntr 1D-124

_______________________________________________ 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