
NCL Home >
Documentation >
Functions >
Color routines,
Graphics routines
ColorNegDashZeroPosContour
Sets the negative contours to dashed, and colors the negative, positive, and zero contours to user-specified colors.
Prototype
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" ; These four libraries are automatically load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" ; loaded from NCL V6.4.0 onward. load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl" ; No need for user to explicitly load. load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl" function ColorNegDashZeroPosContour ( plot [1] : graphic, ncolor : string, zcolor : string, pcolor : string ) return_val [1] : graphic
Arguments
plotThe plot to be modified.
ncolorThe color to use for the negative contours.
zcolorThe color to use for the zero contour.
pcolorThe color to use for the positive contours.
Return value
plot is returned with the modifications described above.
Description
This function sets the negative contours to dashed, and colors the negative, positive, and zero contours to user-specified colors.
See Also
ColorShadeLeGeContour, ShadeGeLeContour, ShadeGtContour, ShadeLtContour, ShadeLtGtContour
Examples
For an application example, see: