;---Using the color map to define colors for contours or vectors
cmap = read_colormap_file("NEO_div_vegetation_c") ; 256 x 4 float array
res@cnFillPalette = cmap ; This assures you span all 256 colors
res@vcLevelPalette = cmap
;
; Using this to set the color map will only use the
; first 254 colors of a 256-color map
;
res@cnFillPalette = "NEO_div_vegetation_c"
res@vcLevelPalette = "NEO_div_vegetation_c"
;---Using the color map to define a color map for the workstation
gsn_define_colormap(wks,"NEO_div_vegetation_c")