NCL Home > Documentation > Graphics > Color Tables > Gallery

[Color index 0 = white / color index 1 = black]

[Download vegetation_modis.rgb file and put in $NCARG_ROOT/lib/ncarg/colormaps]

Sample NCL script usages:

;---Using the color map to define colors for contours or vectors
  res@cnFillPalette = "vegetation_modis"
  res@vcLevelPalette = "vegetation_modis"

;---Reading the colormap into an N x 4 (RGBA) array
  cmap = read_colormap_file("vegetation_modis")

;---Using the color map to define a color map for the workstation