ColorMap file question

From: James Boyle <boyle5_at_nyahnyahspammersnyahnyah>
Date: Tue, 22 May 2007 09:20:38 -0700

This one is probably for the developers.
What is the relation of the color map files found in " .../
PyNGL-1.1.0/PyNGL/ncarg/colormaps" and the names invoked when I call
a sequence such as:

rlist.wkColorMap = "amwg"

I thought I would be clever and put a new file in this location with
the color map I wanted but the file name could not be recognized by
OK, then just the name is in the code. So I altered the file with the
name "amwg.rgb", but when I used amwg I got the original colors.
Evidently, the files are not used at runtime.
So, when do these names and corresponding colors get built in? If I
define new map files would they be picked up after the
install or not?

It would be neat to be able to build up ones own library of colormaps
rather then building them in the code. Building in code tends to
scatter the definitions and having files in a central location forces
a certain order.

Thanks for any enlightenment.

pyngl-talk mailing list
Received on Tue May 22 2007 - 10:20:38 MDT

This archive was generated by hypermail 2.2.0 : Wed May 30 2007 - 16:42:34 MDT