NCL Home > Documentation > Graphics > Color Tables > Gallery

Available in version 6.2.0 and later.

This color map is based on a cubehelix color scheme created by Dave Green of the Astrophysics Group at the University of Cambridge. If you use this color scheme, please cite his paper found at

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

[Download MPL_cubehelix.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_cubehelix"
  res@vcLevelPalette = "MPL_cubehelix"

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

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