NCL Home > Documentation > Functions > Graphics routines

ShadeGtContour

Shades contour regions above a given value with the given fill pattern.
(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 ShadeGtContour (
		plot [1] : graphic,  
		value    : float,    
		pattern  : integer   
	)

	return_val [1] :  graphic

Arguments

plot

The plot to be modified.

value

Starting with the first contour less than value, all areas greater than that first contour will be shaded with fill pattern pattern.

pattern

The fill pattern to use to shade the given areas.

Return value

plot is returned with the modifications described above.

Description

Starting with the first contour less than value, shades all regions greater than that first contour with the given fill pattern.

Note that the shading begins at the first contour level less than value, and not at the specified value. Check your plot to make sure that the results are what you expected.

See Also

gsn_contour_shade, ColorNegDashZeroPosContour, ColorShadeLeGeContour, ShadeGeLeContour, ShadeLtContour, ShadeLtGtContour

Examples

For some application examples, see: