
ShadeLtGtContour
Shades contour regions below a given value and above a given value with the specified fill
patterns.
(Deprecated. Use gsn_contour_shade.)
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 ShadeLtGtContour ( plot [1] : graphic, ltvalue : float, ltpattern : integer, gtvalue : float, gtpattern : integer ) return_val [1] : graphic
Arguments
plotThe plot to be modified.
ltvalueStarting with the first contour less than ltvalue, all areas less than that first contour will be shaded with fill pattern ltpattern.
ltpatternThe fill pattern to use to shade the given areas specified by ltvalue.
gtvalueStarting with the first contour less then gtvalue, all areas greater than that first contour will be shaded with fill pattern gtpattern.
gtpatternThe fill pattern to shade the given areas specified by gtvalue.
Return value
plot is returned with the modifications described above.
Description
Starting with the first contour less than ltvalue, all areas less than that first contour will be shaded with fill pattern ltpattern. Starting with the first contour less than gtvalue, all areas greater than that first contour will be shaded with fill pattern gtpattern.
Note: The shading begins at the first contour level less than gtvalue, and not at the specified gtvalue. The shading also begins at the first contour level less than ltvalue, and not at the specified ltvalue. Check your plot to make sure that the results are what you expected.
See Also
gsn_contour_shade, ColorNegDashZeroPosContour, ColorShadeLeGeContour, ShadeGeLeContour, ShadeGtContour, ShadeLtContour
Examples
For some application examples, see: