How do you show what color maps are available?
The show command will do this.
Note that this method is attached to a VCS canvas object
so you have to first initialize a canvas:
>>> import vcs
>>> v = vcs.init()
>>> v.show('colormap')
***********************Colormap Names List*************************
( 1): AMIP ASD b_and_w
( 4): cmap dc_table default
***********************End Colormap Names List*********************
I'm still trying to figure out exactly what each of the colormap names mean; if you find out, please let me know. If you want to see what these predefined color maps look like, go here.
Notes: This discussion applies to CDAT 3.3.