NCL Home > Documentation > Graphics > Color Tables > Gallery
Available in version 6.2.0 and later.
[Color index 0 = white / color index 1 = black]
[Download MPL_BrBG.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 = "MPL_BrBG" res@vcLevelPalette = "MPL_BrBG" ;---Reading the colormap into an N x 4 (RGBA) array cmap = read_colormap_file("MPL_BrBG") ;---Using the color map to define a color map for the workstation gsn_define_colormap(wks,"MPL_BrBG")