NCL Home > Documentation > Graphics > Resources

Alphabetical list of NCL resources

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
amDataXF
When amTrackData is True, amDataXF sets the X coordinate of the annotation item's base location.

Default: 0.0

amDataYF
When amTrackData is True, amDataYF sets the Y coordinate of the annotation item's base location.

Default: 0.0

amJust
This resource of type NhlTJustification, after constraint to an appropriate value based on amSide, sets the justification point of the annotation with respect to its base location. The PlotManager Location Control Model requires this resource to allow control of the annotation in a manner consistent with other annotations. Note that amJust still has an effect when amTrackData is True. Normally, amJust is constrained based on the value of amSide. However, if amZone is 0 or 1, or amTrackData is True, the PlotManager does not constrain amJust.

Note in addition that the position of the justification point is determined from the viewport of the annotation View object only. That is to say, while it is possible that View object's bounding box might be larger than its viewport, any extent outside the viewport is not considered when determining the justification point. This means that that there is the possibility of overlap if a View object has elements extending outside its own viewport along the edge closest to the PlotManager Plot viewport.

Default: CenterCenter

amOn
This boolean resource specifies whether the base plot should draw the annotation View object along with the other objects comprising the plot.

Default: True

amOrthogonalPosF
If amTrackData is False and amZone is not equal to one, amOrthogonalPosF sets the coordinate of the base location of the annotation orthogonal to the current amSide and directed away from the center of the PlotManager viewport. If amZone is equal to one, the direction is from the viewport side specified by amSide toward the viewport center. The PlotManager Location Control Model requires this resource to allow control of the annotation in a manner consistent with other annotations.

Default: 0.0

amParallelPosF
If amTrackData is False, amParallelPosF specifies the coordinate of the base location of the annotation parallel to the current amSide and directed toward increasing NDC values. The PlotManager Location Control Model requires this resource to allow control of the annotation in a manner consistent with other annotations.

Default: 0.0

amResizeNotify
If this boolean resource is True, the PlotManager sets the height and width of the annotation item whenever the size of the base plot's viewport changes. Height is adjusted based on the ratio of the new viewport height to the old height. Width is adjusted based on the ratio of the new viewport width to the old width.

Default: False

amSide
If amTrackData is False, this resource of type NhlTPosition determines which of the zone's interior sides to use as a base for establishing the coordinate system within which the annotation is placed. The PlotManager Location Control Model requires this resource to allow control of the annotation in a manner consistent with other annotations. Its value determines the origin of the coordinate system and the direction of the positional resources, amParallelPosF and amOrthogonalPosF. It also constrains the value of amJust appropriately. There are four settings, which behave as follows, unless amZone is set to one of the special zones (0 or 1):
NhlTOP
The PlotManager locates the annotation relative to a line paralleling the top viewport boundary. amOrthogonalPosF increases in the direction of increasing NDC Y-Axis values and is constrained to positive values. amParallelPosF increases in the direction of increasing NDC X-Axis values. amJust is constrained to NhlBOTTOMRIGHT, NhlBOTTOMCENTER, or NhlBOTTOMLEFT.
NhlBOTTOM
The PlotManager locates the annotation relative to a line paralleling the bottom viewport boundary. amOrthogonalPosF increases in the direction of decreasing NDC Y-Axis values and is constrained to positive values. amParallelPosF increases in the direction of increasing NDC X-Axis values. amJust is constrained to NhlTOPRIGHT, NhlTOPCENTER, or NhlTOPLEFT.
NhlRIGHT
The PlotManager locates the annotation relative to a line paralleling the right viewport boundary. amOrthogonalPosF increases in the direction of increasing NDC X-Axis values and is constrained to positive values. amParallelPosF increases in the direction of increasing NDC Y-Axis values. amJust is constrained to NhlTOPLEFT, NhlCENTERLEFT, or NhlBOTTOMLEFT.
NhlLEFT
The PlotManager locates the annotation item relative to a line paralleling the left viewport boundary. amOrthogonalPosF increases in the direction of decreasing NDC X-Axis values and is constrained to positive values. amParallelPosF increases in the direction of increasing NDC Y-Axis values. amJust is constrained to NhlTOPRIGHT, NhlCENTERRIGHT, or NhlBOTTOMRIGHT.
If amZone is set to 0, the PlotManager locates the annotation item relative to the viewport center. If amZone is 1, the annotation is located relative to the viewport boundary itself, and the direction of the amOrthogonalPosF is opposite to the specification given above. Also if the amZone is either 0 or 1, amJust is not constrained, and amOrthogonalPosF may take on negative values.

Default: Bottom

amTrackData
When amTrackData is set False, the PlotManager locates the annotation View object in NDC space using the PlotManager Location Control Model resources amZone, amSide, amParallelPosF, amOrthogonalPosF and amJust. If amTrackData is True, the annotation is positioned relative to the data coordinate space of the base plot. In this case, the PlotManager determines the base position of the annotation item from the values of the resources amDataXF and amDataYF. The resources amZone, amSide, amParallelPosF, and amOrthogonalPosF are ignored. However, the resource amJust still determines the justification point of the annotation with respect to its base location.

Default: False

amViewId
You can use this resource to retrieve the id of the View object controlled by the AnnoManager. Note that this resource can be set only when the AnnoManager object is created.

Default: <dynamic>

amZone
If amTrackData is False, amZone specifies the PlotManager zone assigned to the annotation. amZone is one of the resources you must set in order to control the location of the annotation in a manner consistent with the rules of the PlotManager Location Control Model. If amZone is set to 0, the annotation is located relative to the center of the PlotManager viewport; otherwise, it is located relative to one side of the zone's interior boundary, which is the bounding box of the previous zone.

Default: 0

appDefaultParent
This resource is only True for one App object at a time. If it is True in a given App object, then that App object is the one that will be used as the parent of any objects created with the parentid argument of NhlCreate set to NhlDEFAULT_APP or 0.

Default: <dynamic>
This resource defaults to True for the First App object created, otherwise it is False.

appFileSuffix
This resource is used to specify a suffix for the Application specific resource files. It is useful to set this resource in the $(NCARG_USRRESFILE) and $(NCARG_SYSRESFILE), if an application programmer wants to provide more than one Application Specific Resource file. For example, if some of the end users do not have color monitors, then there could be two resource files. One appname.bw.res, and another appname.color.res. Then the appFileSuffix resource can be specified to indicate which Application specific resource file to use.

Default: .res

appResources
This resource specifies an array of names. Each one of these names dynamically becomes a valid resource for the App object. This is a very useful feature for developers of multi-user applications because configuration parameters for the application can become resources to the App object. Then, users of the application can configure the application using the same resource files that they use to configure the HLU portion of the application.

Default: NULL

appSysDir
This resource is used to indicate what directory the App object should look in for the System application specific resource file.

Default: <dynamic>
This resource defaults to the value of the $(NCARG_SYSAPPRES) environment variable.

appUsrDir
This resource is used to indicate what directory the App object should look in for the User's application specific resource file.

Default: ./ (Current Working Directory)

caCopyArrays
This resource is used to determine if the CoordArrays object should make its own copy of the caXArray and caYArray data. If this resource is False, it is important for the programmer to keep the data around without modifying it. However; it is more efficient--if more dangerous--that way.

Default: True

caXArray
This resource specifies the X values of the X/Y coordinate data. It is an array of X values. If it is a one-dimensional array, then it specifies a single vector of X values. If it is a two-dimensional array, then the caXCast resource is used to determine which dimension indicates the number of vectors, and which dimension indicates the number of elements within each vector. If the caXArray resource is not set, then all of the Y values set with the caYArray resource will be paired with their integer array index. For example, assuming caYCast is MultipleVectors and C syntax:

(1, yarray[0][0])
(2, yarray[0][1])
(N, yarray[0][N-1])

If the caXArray resource is not set, then the caYArray resource must be set.

Default: NULL

caXCast
This resource is used to tell the CoordArrays object how to interpret the caXArray resource. The three valid values are:

SingleVector
The value SingleVector indicates that the caXArray provides the data for a single vector. This vector will be reused to match every vector specified by the caYArray. If the caXArray resource is set with a one-dimensional array, then the entire array will be used for the vector. If the caXArray resource is set with a two-dimensional array, then the vector will be made up from the values in the fastest-changing dimension. For example, in pseudo C array notation:

float	xarray[0][0-(N-1)];

In pseudo Fortran array notation:

REAL	XARR(1-N,1)

Where N is the length of the given dimension.

MultipleVectors
The value MultipleVectors indicates that if the caXArray resource is set with a one-dimensional array, then the entire array is used to specify a single vector that is not reused. If the caXArray resource is set with a two-dimensional array, then the caXArray has the array ordered such that the fastest-changing dimension contains the elements of each vector, and the other dimension contains the vectors. For example, in pseudo C array notation:

float	xarray[NUM_VECTORS][NUM_ELEMENTS];

In pseudo Fortran array notation:

REAL	XARR(NUM_ELEMENTS,NUM_VECTORS)

SplitVectors
The value SplitVectors indicates that the caXArray has the array ordered such that the fastest-changing dimension contains the vectors, and the other dimension contains the elements. For example, in pseudo C array notation:

float	xarray[NUM_ELEMENTS][NUM_VECTORS];

In pseudo Fortran array notation:

REAL	XARR(NUM_VECTORS,NUM_ELEMENTS)

Default: <dynamic>
If the caXArray resource is specified with a one-dimensional array or not at all, then the default value is SingleVector. Otherwise, the default value is MultipleVectors.
NOTE: If the caXCast resource is set to SplitVectors, then the caXArray resource will need to be reordered and copied internally so it is not as efficient.

caXMaxV
This resource is used to tell the CoordArrays object the maximum value contained in the caXArray resource. If it is not specified, the CoordArrays object will compute it. This resource has a dynamic type so that elements of any type can be set to it.

Default: <dynamic>
The value will be computed if it is not set.

caXMinV
This resource is used to tell the CoordArrays object the minimum value contained in the caXArray resource. If it is not specified, the CoordArrays object will compute it. This resource has a dynamic type so that elements of any type can be set to it.

Default: <dynamic>
The value will be computed if it is not set.

caXMissingV
This resource indicates a missing value for the elements in the caXArray resource. When the HLU library is parsing the data in the caXArray elements, it will treat any element with this value as missing data. This resource has a dynamic type so that elements of any type can be set to it.

Default: None

caYArray
This resource specifies the Y values of the X/Y coordinate data. It is an array of Y values. If it is a one-dimensional array, then it specifies a single vector of Y values. If it is a two-dimensional array, then the caYCast resource is used to determine which dimension indicates the number of vectors, and which dimension indicates the number of elements within each vector. If the caYArray resource is not set, then all of the X values set with the caXArray resource will be paired with their integer array index. For example, assuming caYCast is MultipleVectors and C array syntax:

(xarray[0][0],1)
(xarray[0][1],2)
(xarray[0][N-1],N)

If the caYArray resource is not set, then the caXArray resource must be set.

Default: NULL

caYCast
This resource is used to tell the CoordArrays object how to interpret the caYArray resource. The three valid values are:

SingleVector
The value SingleVector indicates that the caYArray provides the data for a single vector. This vector will be reused to match every vector specified by the caXArray. If the caYArray resource is set with a one dimensional array, then the entire array will be used for the vector. If the caYArray resource is set with a two dimensional array, then the vector will be made up from the values in the fastest changing dimension. For example, in pseudo C array notation:

float	yarray[0][0-(N-1)];

In pseudo Fortran array notation:

REAL	YARR(1-N,1)

Where N is the length of the given dimension.

MultipleVectors
The value MultipleVectors indicates that if the caYArray resource is set with a one-dimensional array, then the entire array is used to specify a single vector that is not reused. If the caYArray resource is set with a two-dimensional array, then the caYArray has the array ordered such that the fastest-changing dimension contains the elements of each vector, and the other dimension contains the vectors. For example, in pseudo C array notation:

float	yarray[NUM_VECTORS][NUM_ELEMENTS];

In pseudo Fortran array notation:

REAL	YARR(NUM_ELEMENTS,NUM_VECTORS)

SplitVectors
The value SplitVectors indicates that the caYArray has the array ordered such that the fastest-changing dimension contains the vectors, and the other dimension contains the elements. For example, in pseudo C array notation:

float	yarray[NUM_ELEMENTS][NUM_VECTORS];

In pseudo Fortran array notation:

REAL	YARR(NUM_VECTORS,NUM_ELEMENTS)

Default: <dynamic>
If the caYArray resource is specified with a one-dimensional array or not at all, then the default value is SingleVector. Otherwise, the default value is MultipleVectors.
Note: If the caYCast resource is set to SplitVectors, then the caYArray resource will need to be reordered and copied internally so it is not as efficient.

caYMaxV
This resource is used to tell the CoordArrays object the maximum value contained in the caYArrayresource. If it is not specified, the CoordArrays object will compute it. This resource has a dynamic type so that elements of any type can be set to it.

Default: <dynamic>
The value will be computed if it is not set.

caYMinV
This resource is used to tell the CoordArrays object the minimum value contained in the caYArray resource. If it is not specified, the CoordArrays object will compute it. This resource has a dynamic type so that elements of any type can be set to it.

Default: <dynamic>
The value will be computed if it is not set.

caYMissingV
This resource indicates a missing value for elements in the caYArray resource. When the HLU library is parsing the data in the caYArray elements, it will treat any element with this value as missing data. This resource has a dynamic type so that elements of any type can be set to it.

Default: None

cnCellFillEdgeColor
If cnFillMode is set to CellFill, this resource specifies the color used to draw boundaries around the edges of the data grid cells that contain valid non-missing values. If set to the default value, Transparent, the boundaries do not appear.

You can use a color index value (integer) or a named color (string).

Default: Transparent (-1)

cnCellFillMissingValEdgeColor
If cnFillMode is set to CellFill, this resource specifies the color used to draw boundaries around the edges of the data grid cells that contain missing values. If set to the default value, Transparent, the boundaries do not appear.

You can use a color index value (integer) or a named color (string).

Default: Transparent (-1)

cnConpackParams
This string array resource allows you limited access to a number of parameters belonging to the LLU Conpack package, in order to control certain plot features for which ContourPlot does not yet have native resources. Each element of the array is a string consisting of a Conpack parameter name and its desired value separated by the colon character. Here is an example of its use in a resource file:
*cnConpackParams: (/ RC1:0.05 , RC2:0.1 , RC3:0.05 , \
	PC1:7.0 , PC2:20.0 , PC3:120.0 , PC4:0.01 , PC5:0.05 , PC6:0.05 , \
	PW1:0.0 , PW2:0.0 , PW3:0.0 , PW4:0.0 /)
If set programmatically, each string element would need to quoted as appropriate for the source language. The example given above includes all the parameters that affect the density of line labels when the cnLineLabelPlacementMode is set to Randomized or Computed. The example values should normally result in the appearance of more labels than the default settings. See the Conpack parameter descriptions for more information.

Note that the only Conpack parameters accessible using the cnConpackParams resource are ones that ContourPlot does not set internally and are unlikely to have an interaction with parameters that ContourPlot does set. Here is a categorized list of the Conpack parameters that can be set using cnConpackParams:

Contour hachuring control

  • HCL
  • HCS
  • HCF

High/low label density

  • HLX
  • HLY

Computed placement mode ("Penalty scheme" in Conpack) label density

  • PC1
  • PC2
  • PC3
  • PC4
  • PC5
  • PC6
  • PW1
  • PW2
  • PW3
  • PW4

Randomized placement mode ("Regular scheme" in Conpack) label density

  • RC1
  • RC2
  • RC3

Point interpolation for lines and edges

  • PIC
  • PIE

Note that you cannot get the value of cnConpackParams. Attempts to do so will result in an error.

Default: NULL

cnConstFLabelAngleF
This resource specifies the angle, in degrees, of the constant field label text and its surrounding box.

Default: 0.0

cnConstFLabelBackgroundColor
This resource sets the background color used to fill the box surrounding the constant field label. If you do not want the box to be filled at all, set cnConstFLabelBackgroundColor to Transparent (-1).

You can use a color index value (integer) or a named color (string).

Default: Background (0)

cnConstFLabelConstantSpacingF
Normally when cnLineLabelFontQuality is set to High, the ContourPlot object writes constant field label text with proportional spacing. Setting the cnConstFLabelConstantSpacingF to a value greater than 0.0 overrides this behavior. Instead, the distance from the start of one character to the next is computed by multiplying a single standard character width by the value of cnLineLabelConstantSpacingF. When cnLineLabelConstantSpacingF has a value between 0.0 and 1.0, characters will overlap. A value of 1.0 implies, on average, no space between characters, while values increasing from 1.0 cause the space between characters to grow. This parameter is ignored when cnConstFLabelFontQuality is not High. Values less than 0.0 result in an error and are replaced with the default value.

Default: 0.0

cnConstFLabelFont
This resource of type NhlTFont specifies the font used to render the constant field label.

Default: "pwritx"

cnConstFLabelFontAspectF
This resource determines the shape of the constant field label characters. Values increasing from 1.0 result in thinner characters. Values decreasing from 1.0 make the characters wider. Values less than or equal to 0.0 result in a WARNING message and a restoration of the default value.

Default: 1.3125

cnConstFLabelFontColor
This resource specifies the color to use for drawing constant field label text.

You can use a color index value (integer) or a named color (string).

Default: True

cnConstFLabelFontHeightF
This resource controls the height, in NDC units, of characters used in the text of the constant field label. The character width scales proportionally, unless you also modify the aspect ratio using the cnConstFLabelFontAspectF resource. The constant field label text height scales with changes to the viewport width, unless you explicitly set cnConstFLabelFontHeightF during the same call.

Default: <dynamic> -- 0.012 for a viewport width of 0.6

cnConstFLabelFontQuality
This resource of type NhlTFontQuality determines the quality of the font used to draw the ContourPlot constant field label.

Default: High

cnConstFLabelFontThicknessF
Sets the thickness of the line used to draw constant field label text. The value acts as a multiplier of a (device-dependent) unit thickness. This resource is ignored when the cnConstFLabelFont specifies a filled font (font indexes 21-22, 25-26, 29-30, and 33-37).

Default: 1.0

cnConstFLabelFormat
The cnConstFLabelFormat resource is a string that specifies the printing format for the number generated from a substitution substring in the cnConstFLabelString according to the HLU Floating Point Format Specification scheme. If any of the numerical format parameters have the dynamic attribute on, the corresponding parameter in the cnMaxDataValueFormat resource determines the parameter's value. The default value uses the shorthand notation '*+' to cause all numeric format parameters to be determined dynamically.

Default: "*+^sg"

cnConstFLabelFuncCode
This resource of type NhlTCharacter sets the function code character that the low level utilities will use when parsing the constant field label string.

Default: :

cnConstFLabelJust
This resource of type NhlTJustification, after constraint to an appropriate value based on cnConstFLabelSide, sets the justification of the constant field label annotation with respect to its base location. The PlotManager Location Control Model requires this resource to allow control of the constant field label consistent with other annotations.

Default: CenterCenter

cnConstFLabelOn
The ContourPlot object draws a constant field label annotation only when cnConstFLabelOn is set True and the ScalarField data are determined to have a single constant value within the limits of the available precision or when no ScalarField data are supplied.

Default: True

cnConstFLabelOrthogonalPosF
cnConstFLabelOrthogonalPosF sets the coordinate of the base location of the constant field label annotation orthogonal to the current cnConstFLabelSide and directed away from the center of the viewport. The PlotManager Location Control Model requires this resource to allow control of the constant field label consistent with other annotations.

Default: 0.0

cnConstFLabelParallelPosF
cnConstFLabelParallelPosF specifies the coordinate of the base location of the constant field label annotation parallel to the current cnConstFLabelSide and directed toward increasing NDC values. The PlotManager Location Control Model requires this resource to allow control of the constant field label consistent with other annotations.

Default: 0.0

cnConstFLabelPerimColor
This resource sets the color to use for drawing the perimeter of the constant field label box.

You can use a color index value (integer) or a named color (string).

Default: Foreground (1)

cnConstFLabelPerimOn
cnConstFLabelPerimOn is a boolean resource that determines whether ContourPlot will draw an outline around the perimeter of the box surrounding the contour constant field label. If set False, no outline will be drawn.

Default: True

cnConstFLabelPerimSpaceF
cnConstFLabelPerimSpaceF determines the spacing or margin between the text of the constant field label and the edge of the constant field label box as a fraction of the current label text height.

Default: 0.33

cnConstFLabelPerimThicknessF
This resource determines the thickness of the perimeter line around the constant field label box. The value acts as a multiplier of a (device-dependent) unit thickness.

Default: 1.0

cnConstFLabelSide
This resource of type NhlTPosition determines where to place the constant field annotation in relation to the sides of the plot object. The PlotManager Location Control Model requires this resource to allow control of the constant field label consistent with other annotations. Its value determines a coordinate system origin and the direction of the positional resources, cnConstFLabelParallelPosF and cnConstFLabelOrthogonalPosF. It also constrains the value of the cnConstFLabelJust appropriately. There are four settings, which behave as follows, unless cnConstFLabelZone is set to one of the special zones (0 or 1):
Top
PlotManager locates the constant field label annotation relative to a line that parallels the top viewport boundary. cnConstFLabelOrthogonalPosF increases in the direction of increasing NDC Y-Axis values and is constrained to positive values. cnConstFLabelParallelPosF increases in the direction of increasing NDC X-Axis values. cnConstFLabelJust is constrained to BottomRight, BottomCenter, or BottomLeft.
Bottom
PlotManager locates the constant field label annotation relative to a line that parallels the bottom viewport boundary. cnConstFLabelOrthogonalPosF increases in the direction of decreasing NDC Y-Axis values and is constrained to positive values. cnConstFLabelParallelPosF increases in the direction of increasing NDC X-Axis values. cnConstFLabelJust is constrained to TopRight, TopCenter, or TopLeft.
Right
PlotManager locates the constant field label annotation relative to a line that parallels the right viewport boundary. cnConstFLabelOrthogonalPosF increases in the direction of increasing NDC X-Axis values and is constrained to positive values. cnConstFLabelParallelPosF increases in the direction of increasing NDC Y-Axis values. cnConstFLabelJust is constrained to TopLeft, CenterLeft, or BottomLeft.
Left
PlotManager locates the constant field label annotation relative to a line that parallels the left viewport boundary. cnConstFLabelOrthogonalPosF increases in the direction of decreasing NDC X-Axis values and is constrained to positive values. cnConstFLabelParallelPosF increases in the direction of increasing NDC Y-Axis values. cnConstFLabelJust is constrained to TopRight, CenterRight, or BottomRight.
If cnConstFLabelZone is set to 0, the PlotManager locates the constant field label annotation relative to the viewport center. If cnConstFLabelZone is 1, the direction of the cnConstFLabelOrthogonalPosF is opposite to the specification given above. Also if the cnConstFLabelZone is either 0 or 1, cnConstFLabelJust is not constrained, and cnConstFLabelOrthogonalPosF may take on negative values.

Default: Bottom

cnConstFLabelString
Specifies the string to use when drawing a constant field label. The string may contain function codes and/or substitution substrings. ContourPlot will replace the substring $ZDV$ with a number representing the constant field value. cnConstFLabelFormat determines the format of the number; its value will be scaled based on the value of cnLabelScaleFactorF.

Default: "CONSTANT FIELD - VALUE IS $ZDV$"

cnConstFLabelTextDirection
This resource of type NhlTTextDirection specifies the direction of the text in the constant field label. The choices are:
Down
Each character is placed below the previous character in the text string.
Across
Each character is placed to the right of the previous character in the text string.
These directions apply before rotation due to cnConstFLabelAngleF.

Default: Across

cnConstFLabelZone
ContourPlot implements the constant field label as an embedded annotation. cnConstFLabelZone specifies the PlotManager zone assigned to the constant field annotation. The PlotManager Location Control Model requires this resource to allow control of the constant field label consistent with other annotations. If cnConstFLabelZone is set to 0, the positional origin is the center of the plot viewport; otherwise it is on or outside one of the sides of the viewport.

If you create a ContourPlot object without an active PlotManager by setting tfPlotManagerOn False, then ContourPlot manages the constant field annotation by itself. In this case, the cnConstFLabelZone resource is not as meaningful.

Default: 0

cnConstFUseInfoLabelRes
If the boolean resource cnConstFUseInfoLabelRes is set True, all the resources applying to the constant field, except for cnConstFLabelString, take their value from the corresponding informational label resources.

Default: False

cnExplicitLabelBarLabelsOn
This boolean resource allows you control the labels that appear in the ContourPlot LabelBar explicitly. When set True, ContourPlot does not block the LabelBar resources lbLabelStrings and lbLabelAlignment. Therefore you can directly control both the contents of the LabelBar's label strings and their alignment with respect to the label boxes. When cnExplicitLabelBarLabelsOn is set False, ContourPlot sets both of these resources based on the current contour line labels and the value of the resource cnLabelBarEndStyle (as of version 5.0.0 or later) or (prior to version 5.0.0 or if cnLabelBarEndStyle is not set) cnLabelBarEndLabelsOn. If you set this resource True but do not set the lbLabelStrings array resource, ContourPlot will set it for you one time. This allows you to get an initial set of strings as a starting point for any customized tweaking you want to perform.

Default: False

cnExplicitLegendLabelsOn
This boolean resource allows you control the labels that appear in the ContourPlot Legend explicitly. When set True, ContourPlot does not block the Legend resource lgLabelStrings. Therefore you can directly control the content of the Legend's label strings. When cnExplicitLegendLabelsOn is set False, ContourPlot sets lgLabelStrings based on the value of the current contour line labels. If you set this resource True but do not set the lgLabelStrings array resource, ContourPlot will set it for you one time. This allows you to get an initial set of strings as a starting point for any customized tweaking you want to perform.

Default: False

cnExplicitLineLabelsOn
This boolean resource controls the way ContourPlot handles the cnLineLabelStrings array resource. When set True, ContourPlot will not modify explicitly set values of the line label strings. When cnExplicitLineLabelsOn is set False, ContourPlot ignores values of cnLineLabelStrings set by the user.

Default: False

cnFillBackgroundColor
This resource of type NhlTColorIndex or a named color (string) sets the background color used for ContourPlot fill patterns. It only has an effect for fill patterns that are neither SolidFill nor HollowFill. By default, this resource is set to Transparent, resulting in the underlying background appearing in the spaces between the elements of the fill pattern. If set to any other valid color index, the specified color will solidly fill all spaces between the fill pattern elements.

Default: Transparent (-1)

cnFillColor
When cnMonoFillColor is set True, this resource of type NhlTColorIndex or a named color (string) sets a uniform fill color for all contour fill areas.

Default: Foreground (1)

cnFillColors
If cnMonoFillColor is False, each element of this array of type NhlTColorIndexGenArray or named color (string) specifies the color of a contour fill area. Note that there is always one more fill area than there are contour levels. The first element of cnFillColors specifies the fill pattern for any region containing a data value less than the value of cnMinLevelValF, while the highest currently used element of cnFillColors specifies the fill pattern for regions containing data values greater than the value of cnMaxLevelValF. Otherwise cnFillColors works in a fashion similar to cnLineColors. If the array is not set explicitly, it will default to a set of color indexes sequentially incremented beginning with color index 1 (NhlFOREGROUND). If the array currently contains fewer elements than cnLevelCount+1, more elements will be added to the array and given values according to the default color assignment scheme; existing elements with valid color index values will not be modified.

Default: <dynamic>

cnFillDotSizeF
This resource sets a uniform dot size, in NDC units, for the stipple dot fill pattern. The default value of 0.0 causes the dots to be drawn as before, using a workstation dependent minimum dot size. A caveat is that individual dots are not clipped around the edges of fill areas; this becomes more noticeable as the dot size increases.

Default: 0.0

cnFillDrawOrder
This resource of type NhlTDrawOrder determines when areas of the contour plot are filled relative to the drawing of other elements of the plot. There are three choices:
PreDraw
Fill contour areas before the standard draw phase; fill areas will be overlaid by any subsequently drawn elements.
Draw
Fill contour areas during the standard draw phase; the fill will overlay any elements drawn during the predraw phase, but will underlie elements drawn during the postdraw phase.
PostDraw
Fill contour areas after the standard draw; the fill will overlay any elements drawn during the predraw and draw phases.
You must manipulate this resource in order to mask contours within the context of an Overlay of multiple plot objects.

Default: Draw

cnFillMode
This resource of type NhlTcnFillMode determines how ContourPlot performs fill when cnFillOn is set True. There are three choices:
AreaFill
The area between contour levels is decomposed into polygons. The polygons are then filled based on the applicable fill color, fill pattern, the scale factor assigned to the pattern, and, if stipple fill (fill pattern 17) is specified, the size of the stippling dots.

The following resources can be used to control fill features when cnFillMode is set to AreaFill:

Currently when using AreaFill mode, and cnScalarFieldData is specified using a MeshScalarField object, and the ContourPlot is overlaid on certain map projections, the edges of the plot may have a ragged appearance and not completely fill the projected data boundaries.

RasterFill
ContourPlot generates a representation of the data by individually assigning colors to the elements of a two-dimensional array of rectangular cells (a raster array) superimposed on an area bounding the data grid. With raster mode, only solid fill is possible, and therefore resources related to fill pattern specification have no effect. The color of each cell is determined based on the fill color assigned to the data value at the cell's location. If cnRasterSmoothingOn is set True, the data value for each raster cell is interpolated from the values of data grid cells in the neighborhood. Otherwise, each raster cell is assigned the color associated with the grid cell within which the greatest proportion of its area lies. Cells of a raster fill plot cannot be transparent. If a fill index of Transparent is set for any cell of a raster fill plot, the Background color will be used instead.

The following resources can be used to control fill features when cnFillMode is set to RasterFill:

Currently when using RasterFill mode, and trGridType is set to TriangularMesh, and the ContourPlot is overlaid on certain map projections, the edges of the plot may have a ragged appearance and not completely fill the projected data boundaries.

CellFill
ContourPlot performs cell fill by drawing filled polygons whose edges are defined by the borders between adjacent grid cells. If the data grid is defined using cell edges, the cell boundaries are obtained explicitly from the coordinate arrays. Otherwise, the edges are assumed to pass through the halfway points in data grid space between the cell centers. Optionally, you may draw lines around the edges using the cell fill edge resources. As with raster fill, pattern fill is not supported. Unlike raster fill, however, the cells may be transparent.

The following resources can be used to control fill features when cnFillMode is set to CellFill:

Currently the CellFill mode is not available when cnScalarFieldData is specified using a MeshScalarField object.

Default: AreaFill

cnFillOn
This boolean resource controls whether the areas between contour levels are filled with a solid color and/or, if the fill method permits it, a fill pattern. You can choose between three fill methods by setting the resource cnFillMode.

Default: False

cnFillPattern
When cnMonoFillPattern is set True, this resource of type NhlTFillIndex sets a uniform pattern for all contour fill areas.

Default: SolidFill

cnFillPatterns
If cnMonoFillPattern is False, each element of this array of type NhlTFillIndexGenArray specifies the fill pattern used for a contour fill area. Note that there is always one more fill area than there are contour levels. The first element of cnFillPatterns specifies the fill pattern for any region containing a data value less than the value of cnMinLevelValF, while the highest currently used element of cnFillPatterns specifies the fill pattern for regions containing data values greater than the value of cnMaxLevelValF. If the array is not set explicitly, the ContourPlot object will assign sequential fill pattern indexes (starting with fill index 1--not "SolidFill", which is fill index 0) to each array element up to the maximum number of existing fill patterns. Thereafter it will repeat the sequence using modular arithmetic. If the array currently contains fewer elements than cnLevelCount+1, more elements will be added to the array and given values according to the same assignment scheme; existing elements with valid fill pattern index values will not be modified.

Default: <dynamic>

cnFillScaleF
When cnMonoFillScale is True, this resource sets a uniform scaling value for all contour fill patterns.

Default: 1.0

cnFillScales
When cnMonoFillScale is False, the cnFillScales array resource allows individual control of the scaling of the pattern used for each contour fill area. It has no effect for solid fill (fill pattern "SolidFill", index 0). Values greater than 1.0 make the pattern spacing bigger than the default spacing, resulting in a fill that appears less dense. Values less than 1.0 have the opposite effect. Values less than or equal to 0.0 are invalid, generate a warning message, and are reset to the default value, 1.0.

Note that there is always one more fill area than there are contour levels. If the array is not set explicitly, the ContourPlot object will assign the value 1.0 to all elements of the array. If the array currently contains fewer elements than cnLevelCount+1, more elements will be added to the array and given the same default value of 1.0; existing elements with valid fill scale index values will not be modified.

Default: 1.0 for all elements

cnFixFillBleed
When cnFillOn is set True, but cnRasterModeOn is set False, ContourPlot performs area fill. Occasionally, due to limitations of the area rendering algorithm, this mode of fill fails and colors "bleed" out into areas they do not belong. If you have this kind of problem with your plot, it will probably be fixed if you set the resource cnFixFillBleed to True.

However, there are certain kinds of plots that have problems when cnFixFillBleed is set True, and so far there is no clear algorithm for distinguishing these. Therefore, the corrections that are applied as a result of setting cnFixFillBleed cannot be yet be unconditionally coded into ContourPlot. Eventually, it is hoped that the need for this resource will be eliminated.

Default: False

cnGridBoundPerimColor
This resource sets the color to use for drawing the perimeter line around the grid boundary.

You can use a color index value (integer) or a named color (string).

Default: Foreground (1)

cnGridBoundPerimDashPattern
This resource sets the HLU index of a dash pattern used to render the perimeter line around the grid boundary.

Default: 0

cnGridBoundPerimOn
If set True, this boolean resource specifies that a perimeter line be drawn around the grid boundary (extent of the ScalarField data) in the ContourPlot plot.

Default: False

cnGridBoundPerimThicknessF
This resource determines the thickness of the perimeter line around the grid boundary. The value acts as a multiplier of a (device-dependent) unit thickness.

Default: 1.0

cnHighLabelAngleF
This resource specifies the angle, in degrees, of high label text and its surrounding box.

Default: 0.0

cnHighLabelBackgroundColor
This resource sets the background color used to fill the box surrounding each high label. If you do not want the box to be filled at all, set cnHighLabelBackgroundColor to Transparent (-1).

Default: Background (0)

cnHighLabelConstantSpacingF
Normally when cnLineLabelFontQuality is set to High, the ContourPlot object writes line label text with proportional spacing. Setting the cnLineLabelConstantSpacingF to a value greater than 0.0 overrides this behavior. Instead, the distance from the start of one character to the next is computed by multiplying a single standard character width by the value of cnLineLabelConstantSpacingF. When cnLineLabelConstantSpacingF has a value between 0.0 and 1.0, characters will overlap. A value of 1.0 implies, on average, no space between characters, while values increasing from 1.0 cause the space between characters to grow. This parameter is ignored when cnLineLabelFontQuality is not High. Values less than 0.0 result in an error and are replaced with the default value.

Default: 0.0

cnHighLabelCount
Each time a ContourPlot is drawn, the read-only resource cnHighLabelCount is updated with the number of high labels actually rendered in the plot. Until the plot is drawn for the first time cnHighLabelCount has the value 0;

Default: 0

cnHighLabelFont
This resource of type NhlTFont specifies the font used to render high labels.

Default: "pwritx"

cnHighLabelFontAspectF
This resource determines the shape of the high label characters. Values increasing from 1.0 result in thinner characters. Values decreasing from 1.0 make the characters wider. Values less than or equal to 0.0 result in a WARNING message and a restoration of the default value.

Default: 1.3125

cnHighLabelFontColor
This resource specifies the color to use for the high label text. If cnHighUseLineLabelRes is True, this resource takes its value from the first element of the cnLineLabelFontColors array.

You can use a color index value (integer) or a named color (string).

Default: True

cnHighLabelFontHeightF
This resource controls the height, in NDC units, of characters used in the text of high labels. The character width scales proportionally, unless you also modify the aspect ratio using the cnHighLabelFontAspectF resource. The high label text height scales with changes to the viewport width, unless you explicitly set cnHighLabelFontHeightF during the same call.

Default: <dynamic> -- 0.012 for a viewport width of 0.6

cnHighLabelFontQuality
This resource of type NhlTFontQuality determines the quality of the font used to draw ContourPlot high labels.

Default: High

cnHighLabelFontThicknessF
Sets the thickness of the line used to draw high label text. The value acts as a multiplier of a (device-dependent) unit thickness. This resource is ignored when the cnHighLabelFont specifies a filled font (font indexes 21-22, 25-26, 29-30, and 33-37).

Default: 1.0

cnHighLabelFormat
The cnHighLabelFormat resource is a string that specifies the printing format for the numeric portion of high labels according to the HLU Floating Point Format Specification scheme. If any of the numerical format parameters have the dynamic attribute on, the corresponding parameter in the cnMaxDataValueFormat resource determines the parameter's value. The default value uses the shorthand notation '*+' to cause all numeric format parameters to be determined dynamically.

Default: "*+^sg"

cnHighLabelFuncCode
This resource of type NhlTCharacter sets the function code character that the low level utilities will use when parsing the high label string.

Default: :

cnHighLabelPerimColor
This resource sets the HLU color index used to draw the perimeter of the high label box.

Default: Foreground (1)

cnHighLabelPerimOn
cnHighLabelPerimOn is a boolean resource that determines whether ContourPlot will draw an outline around the perimeter of the box surrounding contour high labels. If set False, no outline will be drawn.

Default: True

cnHighLabelPerimSpaceF
cnHighLabelPerimSpaceF determines the spacing or margin between the text of the high label and the edge of the high label box as a fraction of the current high label text height.

Default: 0.33

cnHighLabelPerimThicknessF
This resource determines the thickness of the perimeter line around the high label box. The value acts as a multiplier of a (device-dependent) unit thickness.

Default: 1.0

cnHighLabelString
Specifies the string to use when drawing high labels. The string may contain function codes and/or substitution substrings. ContourPlot will replace the substring "$ZDV$" with a number representing the value at the point where the label is to appear. cnHighLabelFormat determines the format of the number and cnLabelScaleFactorF determines the scaling of the actual data value.

Default: "H:B:$ZDV$:E:"

cnHighLabelsOn
If this boolean resource is set True, ContourPlot places labels at regions representing local maximums in the dataset.

Default: False

cnHighLowLabelOverlapMode
cnHighLowLabelOverlapMode is a resource of type NhlTcnHighLowLabelOverlapMode. It controls how high and low labels are allowed to overlap other elements of the ContourPlot plot and has six possible settings:
IgnoreOverlap
The ContourPlot object does nothing to prevent high and low labels from overlapping other elements of the ContourPlot plot.
OmitOverHL
The ContourPlot object omits high and low labels that would overlap previously determined high or low labels.
OmitOverVP
The ContourPlot object omits high and low labels that would overlap the edge of the viewport.
OmitOverVPAndHL
The ContourPlot object omits high and low labels that would overlap the edge of the viewport or previously determined high or low labels.
AdjustVP
The ContourPlot object adjusts the position of high and low labels that would overlap the edge of the viewport enough to eliminate the problem.
AdjustVPOmitOverHL
The ContourPlot object adjusts the position of high and low labels that would overlap the edge of the viewport enough to eliminate the problem and omits high and low labels that would overlap previously determined high or low labels.

V4.1 Status Note 5

Default: IgnoreOverlap

cnHighUseLineLabelRes
If the boolean resource cnHighUseLineLabelRes is set True, all resources applying to high labels, except for cnHighLabelString and cnHighLabelAngleF, take their value from the corresponding line label resources.

Default: False

cnInfoLabelAngleF
This resource specifies the angle, in degrees, of the informational label text and its surrounding box.

Default: 0.0

cnInfoLabelBackgroundColor
This resource sets the background color used to fill the box surrounding the informational label. If you do not want the box to be filled at all, set cnInfoLabelBackgroundColor to Transparent (-1).

You can use a color index value (integer) or a named color (string).

Default: Background (0)

cnInfoLabelConstantSpacingF
Normally when cnLineLabelFontQuality is set to High, the ContourPlot object writes informational label text with proportional spacing. Setting the cnInfoLabelConstantSpacingF to a value greater than 0.0 overrides this behavior. Instead, the distance from the start of one character to the next is computed by multiplying a single standard character width by the value of cnLineLabelConstantSpacingF. When cnLineLabelConstantSpacingF has a value between 0.0 and 1.0, characters will overlap. A value of 1.0 implies, on average, no space between characters, while values increasing from 1.0 cause the space between characters to grow. This parameter is ignored when cnInfoLabelFontQuality is not High. Values less than 0.0 result in an error and are replaced with the default value.

Default: 0.0

cnInfoLabelFont
This resource of type NhlTFont specifies the font used to render the informational label.

Default: "pwritx"

cnInfoLabelFontAspectF
This resource determines the shape of the informational label characters. Values increasing from 1.0 result in thinner characters. Values decreasing from 1.0 make the characters wider. Values less than or equal to 0.0 result in a WARNING message and a restoration of the default value.

Default: 1.3125

cnInfoLabelFontColor
This resource specifies the color to use for the informational label text.

You can use a color index value (integer) or a named color (string).

Default: Foreground (1)

cnInfoLabelFontHeightF
This resource controls the height, in NDC units, of characters used in the text of the informational label. The character width scales proportionally, unless you also modify the aspect ratio using the cnInfoLabelFontAspectF resource. The info label text height scales with changes to the viewport width, unless you explicitly set cnInfoLabelFontHeightF during the same call.

Default: <dynamic> -- 0.012 for a viewport width of 0.6

cnInfoLabelFontQuality
This resource of type NhlTFontQuality determines the quality of the font used to draw the ContourPlot informational label.

Default: High

cnInfoLabelFontThicknessF
Sets the thickness of the line used to draw informational label text. The value acts as a multiplier of a (device-dependent) unit thickness. This resource is ignored when the cnInfoLabelFont specifies a filled font (font indexes 21-22, 25-26, 29-30, and 33-37).

Default: 1.0

cnInfoLabelFormat
The cnInfoLabelFormat resource is a string that specifies the printing format for the numbers generated from substitution substrings in cnInfoLabelString according to the HLU Floating Point Format Specification scheme. If any of the numerical format parameters have the dynamic attribute on, the corresponding parameter in the cnMaxDataValueFormat resource determines the parameter's value. The default value uses the shorthand notation '*+' to cause all numeric format parameters to be determined dynamically.

Default: "*+^sg"

cnInfoLabelFuncCode
This resource of type NhlTCharacter sets the function code character that the low level utilities will use when parsing the informational label string.

Default: :

cnInfoLabelJust
This resource of type NhlTJustification, after constraint to an appropriate value based on cnInfoLabelSide, sets the justification of the informational label annotation with respect to its base location. The PlotManager Location Control Model requires this resource to allow control of the informational label consistent with other annotations.

Default: TopRight

cnInfoLabelOn
If this boolean resource is set False, ContourPlot will not draw an informational label.

Default: True (False for gsn_csm contour routines when contour fill is turned on.)

cnInfoLabelOrthogonalPosF
cnInfoLabelOrthogonalPosF sets the coordinate of the base location of the informational label annotation orthogonal to the current cnInfoLabelSide and directed away from the center of the viewport. The PlotManager Location Control Model requires this resource to allow control of the informational label consistent with other annotations.

Default: 0.02

cnInfoLabelParallelPosF
cnInfoLabelParallelPosF specifies the coordinate of the base location of the informational label annotation parallel to the current cnInfoLabelSide and directed toward increasing NDC values. The PlotManager Location Control Model requires this resource to allow control of the informational label consistent with other annotations.

Default: 1.0

cnInfoLabelPerimColor
This resource sets the color to use for drawing the perimeter of the informational label box.

You can use a color index value (integer) or a named color (string).

Default: Foreground (1)

cnInfoLabelPerimOn
cnInfoLabelPerimOn is a boolean resource that determines whether ContourPlot will draw an outline around the perimeter of the box surrounding a contour informational label. If set False, no outline will be drawn.

Default: True

cnInfoLabelPerimSpaceF
cnInfoLabelPerimSpaceF determines the spacing or margin between the text of the informational label and the edge of the informational label box as a fraction of the current label text height.

Default: 0.33

cnInfoLabelPerimThicknessF
This resource determines the thickness of the perimeter line around the informational label box. The value acts as a multiplier of a (device-dependent) unit thickness.
cnInfoLabelSide
This resource of type NhlTPosition determines where to place the informational annotation in relation to the sides of the plot object. The PlotManager Location Control Model requires this resource to allow control of the informational label consistent with other annotations. Its value determines a coordinate system origin and the direction of the positional resources, cnInfoLabelParallelPosF and cnInfoLabelOrthogonalPosF. It also constrains the value of cnInfoLabelJust appropriately. There are four settings that behave as follows, unless cnInfoLabelZone is set to one of the special zones (0 or 1):
Top
PlotManager locates the informational label annotation relative to a line paralleling the top viewport boundary. cnInfoLabelOrthogonalPosF increases in the direction of increasing NDC Y-Axis values and is constrained to positive values. cnInfoLabelParallelPosF increases in the direction of increasing NDC X-Axis values. cnInfoLabelJust is constrained to BottomRight, BottomCenter, or BottomLeft.
Bottom
PlotManager locates the informational label annotation relative to a line that parallels the bottom viewport boundary. cnInfoLabelOrthogonalPosF increases in the direction of decreasing NDC Y-Axis values and is constrained to positive values. cnInfoLabelParallelPosF increases in the direction of increasing NDC X-Axis values. cnInfoLabelJust is constrained to TopRight, TopCenter, or TopLeft.
Right
PlotManager locates the informational label annotation relative to a line that parallels the right viewport boundary. cnInfoLabelOrthogonalPosF increases in the direction of increasing NDC X-Axis values and is constrained to positive values. cnInfoLabelParallelPosF increases in the direction of increasing NDC Y-Axis values. cnInfoLabelJust is constrained to TopLeft, CenterLeft, or BottomLeft.
Left
PlotManager locates the informational label annotation relative to a line that parallels the left viewport boundary. cnInfoLabelOrthogonalPosF increases in the direction of decreasing NDC X-Axis values and is constrained to positive values. cnInfoLabelParallelPosF increases in the direction of increasing NDC Y-Axis values. cnInfoLabelJust is constrained to TopRight, CenterRight, or BottomRight.
If cnInfoLabelZone is set to 0, the PlotManager locates the informational label annotation relative to the viewport center. If cnInfoLabelZone is 1, the direction of the cnInfoLabelOrthogonalPosF is opposite to the specification given above. Also if the cnInfoLabelZone is either 0 or 1, cnInfoLabelJust is not constrained, and cnInfoLabelOrthogonalPosF may take on negative values.

Default: Bottom

cnInfoLabelString
Specifies the string to use when drawing an informational label. The string may contain function codes and/or substitution substrings. ContourPlot will replace the following substrings with numeric values:
$CIU$
The contour interval used (value of cnLevelSpacingF)
$CMN$
The minimum contour level (first element of cnLevels)
$CMX$
The maximum contour level
$SFU$
The scale factor used (value of cnLabelScaleFactorF)
$ZMN$
The minimum data value
$ZMX$
The maximum data value
cnInfoLabelFormat determines the format of each number and except for the number generated from $SFU$, all values are scaled based on the value of cnLabelScaleFactorF.

Default: "CONTOUR FROM $CMN$ TO $CMX$ BY $CIU$"

cnInfoLabelTextDirection
This resource of type NhlTTextDirection specifies the direction of the text in the informational label. The choices are:
Down
Each character is placed below the previous character in the text string.
Across
Each character is placed to the right of the previous character in the text string.
These directions apply before any rotation due to cnInfoLabelAngleF is applied to the informational label.

Default: Across

cnInfoLabelZone
ContourPlot implements the informational label as an embedded annotation. cnInfoLabelZone specifies the PlotManager zone assigned to the informational annotation. The PlotManager Location Control Model requires this resource to allow control of the informational label consistent with other annotations. If cnInfoLabelZone is set to 0, the positional origin is the center of the plot viewport; otherwise it is on or outside one of the sides of the viewport.

If you create a ContourPlot object without an active PlotManager by setting tfPlotManagerOn False, then ContourPlot manages the informational annotation by itself. In this case, the cnInfoLabelZone resource is not as meaningful.

Default: 3

cnLabelBarEndLabelsOn
When this boolean resource is set True and cnExplicitLabelBarLabelsOn is False, ContourPlot creates labels for the two ends of the LabelBar. The label at one end will be a string representation of the minimum value in the dataset, and at the other end will be a string representation of the maximum value in the dataset. Both strings will be formatted according to the format specification in effect for the other labels provided by ContourPlot to the LabelBar.

As of version 5.0.0 or later this resource is deprecated and is overridden by cnLabelBarEndStyle when both are set at the same time.

Default: False

cnLabelBarEndStyle
Available in version 5.0.0 or later.

This enumerated resource of type NhlTLabelBarEndStyle allows you to select from among three styles for the ends of the ContourPlot LabelBar:

IncludeOuterBoxes
The two end boxes represent the fill color and/or patterns used for areas of the plot where the data is below the minimum contour level or above the maximum contour level. The first and last labels, representing the minimum and maximum contour levels, are aligned with the interior boundaries of the outer boxes.
IncludeMinMaxLabels
The two end boxes represent the fill color and/or patterns used for areas of the plot where the data is below the minimum contour level or above the maximum contour level. The first and last labels, representing the minimum and maximum values in the field, are aligned with the exterior boundaries of the outer boxes. However, if the minimum and/or maximum field values fall within the range specified by the minimum and maximum contour levels, one or both of these labels will be set to an empty string.
ExcludeOuterBoxes
Only boxes representing fill colors and/or patterns between the minimum and maximum contour levels appear in the LabelBar. The first and last labels, representing the minimum and maximum contour levels, are aligned with the exterior boundaries of what have now become the outer boxes of the LabelBar. This setting is useful in cases where there exist maximum and minimum values that by the nature of the quantity always bound the data, e.g. probability or per cent cloud cover.

As of version 5.0.0 or later this resource overrides the now deprecated cnLabelBarEndLabelsOn when both are set at the same time.

Default: IncludeOuterBoxes

cnLabelDrawOrder
This resource of type NhlTDrawOrder determines when contour plot labels are drawn relative to the drawing of other elements of the plot. There are three choices:
PreDraw
Draw contour labels before the standard draw phase; the labels will be overlaid by any subsequently drawn elements.
Draw
Draw contour labels during the standard draw phase; the labels will overlay any elements drawn during the predraw phase as well as fill and contour lines drawn during the standard draw phase, but will underlie elements drawn during the postdraw phase.
PostDraw
Draw contour labels after the standard draw; the labels will overlay any elements drawn during the predraw and draw phases as well as lines and fill drawn during the postdraw phase.

Default: Draw

cnLabelMasking
This resource controls whether ContourPlot lines and fill are masked in the areas where ContourPlot labels are to appear. When working with raster type devices, it is seldom necessary to mask for labels, since they can be made to solidly overlay the areas where they appear. Also there is a noticeable performance penalty when labels are masked, so the use of this option is discouraged unless it is necessary.

Default: False

cnLabelScaleFactorF
cnLabelScaleFactorF is a read-only resource that contains the current scale factor that applies to ContourPlot object labels. Multiplying the numbers in the labels by the value of cnLabelScaleFactorF gives the actual data values the numbers represent. The ContourPlot object calculates its value based on the data value with the maximum absolute value, the current mode of the enumerated resource, cnLabelScalingMode, and perhaps the value of cnLabelScaleValueF. Its value may also be influenced by the number of significant digits specified by the format specification resource, cnMaxDataValueFormat. You may output the value of this resource in the informational label using the the substitution string "$SFU$".

Default: <dynamic>

cnLabelScaleValueF
The interpretation of cnLabelScaleValueF depends on the value of the enumerated resource cnLabelScalingMode. When cnLabelScalingMode is set to ScaleFactor, data values are divided by the value of cnLabelScaleValueF to obtain the numbers appearing in ContourPlot object labels. If cnLabelScalingMode is set to ConfineToRange, the cnLabelScaleValueF represents an exclusive upper bound for the numbers used to represent the data values. For other values of cnLabelScalingMode, the cnLabelScaleValueF resource is ignored.

Default: 1.0

cnLabelScalingMode
This resource of type NhlTScalingMode determines how to scale the numbers representing scalar field data values in the ContourPlot object's labels. cnLabelScalingMode applies to numbers that represent data values in line labels, high and low labels, the informational label, and the constant field label. There are five choices:
ScaleFactor
The ContourPlot object divides the data value by the value of cnLabelScaleValueF to obtain the number that appears in the label.
ConfineToRange
The ContourPlot object uses cnLabelScaleValueF as an exclusive upper bound. A scale factor is selected such that the number used to represent the data value with the maximum absolute value will be less than cnLabelScaleValueF, but greater than or equal to cnLabelScaleValueF divided by 10.0. As an example, setting cnLabelScaleValueF to 100.0 would result in a scaled number in the range 10.0 to 99.999....
TrimZeros
The ContourPlot object selects a scale factor such that the number representing the data value with the maximum absolute value will have the fewest possible extra zeros. If the maximum absolute value were 245000, for instance, it would scale to 245. If it were 0.000245, it would scale to 0.245. (The zero conventionally placed before the decimal point of a number less than 1.0 is not considered.)
MaxSigDigitsLeft
The ContourPlot object selects a scale factor such that the number representing the data value with the maximum absolute value will have its rightmost significant digit directly to the left of the decimal point. The number of significant digits is determined by the format string resource, cnMaxDataValueFormat.
AllIntegers
The ContourPlot object selects a scale factor such that the numbers representing labeled contour levels (as determined by examination of the values of the cnLevelFlags array) can be rendered as integers.
In each case, the scale factor selected is placed into the read-only resource, cnLabelScaleFactorF. Note that the label value multiplied by the scale factor returns the actual data value represented.

Default: ScaleFactor

cnLegendLevelFlags
This array resource of type NhlTcnLevelUseModeGenArray allows you to control which of the lines representing contour levels are to appear in the ContourPlot Legend. You can also control whether the lines that do appear are to get a line label. Although the type allows for four choices, this resource supports only three of them:
NoLine
Do not draw a line representing this contour level in the Legend.
LineOnly
Draw a line representing this contour level, but no label in the Legend.
LabelOnly
Currently, if an element is set to this value, it is treated the same as if it were set to NoLine.
LineAndLabel
Draw a line representing this contour level along with a line label in the Legend.
If you set this resource with an array containing fewer elements than the current number of contour levels, additional elements are supplied and set to the value NoLine.

Default: NULL

cnLevelCount
A read-only resource set to the actual number of levels chosen during the level selection process.

Default: <dynamic>

cnLevelFlag
When cnMonoLevelFlag is set True, this resource of type NhlTcnLevelUseMode sets the rendering of all contour levels to one of four possible values:
NoLine
No lines or labels appear.
LineOnly
Lines but no labels appear.
LabelOnly
Labels but no lines appear.
LineAndLabel
Both lines and labels appear.
Note that the resources cnLinesOn and cnLineLabelsOn must both be set True to enable all possible settings of cnLevelFlag.

Default: LineOnly

cnLevelFlags
When cnMonoLevelFlag is False, cnLevelFlags is an array of type NhlTcnLevelUseModeGenArray that allows you individual control over whether a line and/or a line label is to appear at each contour level. It has no effect on contour fill. There are four choices:
NoLine
No lines or labels appear at the contour level.
LineOnly
Lines but no labels appear at the contour level.
LabelOnly
Labels but no lines appear at the contour level.
LineAndLabel
Both lines and labels appear at the contour level.
Note that cnLinesOn and cnLineLabelsOn exert underlying control over the appearance of contour lines and line labels. If cnLinesOn is set False, no lines will appear regardless of the values of any cnLevelFlags elements; likewise, if cnLineLabelsOn is False, no line labels will appear.

If cnMonoLevelFlag is False and you do not explicitly set cnLevelFlags, the ContourPlot object will set its elements for you based on the value of cnLineLabelInterval. Elements will be set to LineOnly except that if cnLineLabelInterval is greater than 0, elements separated by the interval of cnLineLabelInterval will be set to LineAndLabel. This effect will occur both at initialization and any time you explicitly set cnLineLabelInterval.

Default: <dynamic>

cnLevelSelectionMode
This enumerated resource of type NhlTLevelSelectionMode provides four methods for selecting the contour intervals displayed in a plot:
AutomaticLevels
Ordinarily this mode determines contour levels by picking a spacing value from a set of relatively "round" numbers scaled by powers of 10 to the range of the data. This set of numbers is as follows: 1.0, 2.0, 2.5, 4.0, 5.0. The number of levels chosen will be as close as possible to the value of cnMaxLevelCount without exceeding it. Once the spacing is chosen, the minimum contour level is set to the value of the least multiple of the spacing greater than the minimum data value. Likewise the maximum contour level becomes the greatest multiple of the spacing less than the maximum data value. Based on these values, ContourPlot sets the resources cnLevelSpacingF, cnMinLevelValF, and cnMaxLevelValF appropriately.

On the other hand, if you explicitly set the resource cnLevelSpacingF to a valid value greater than 0.0 and less than the range of the data, it will be used as the interval spacing. The minimum and maximum levels are calculated as before. If as a consequence, cnMaxLevelCount is less than the number of levels so specified, it will be set to the number of levels actually needed. However, if the choice of spacing causes the absolute maximum number of levels, currently 255, to be exceeded, ContourPlot will issue a warning message and recalculate the spacing as previously described.

In any case, ContourPlot sets the elements of the array resource cnLevels to the values of the contour levels chosen and the read-only resource cnLevelCount to the number of levels.

ManualLevels
ManualLevels mode bases the choice of contour levels on the values of the resources cnLevelSpacingF, cnMinLevelValF, and cnMaxLevelValF. Starting at cnMinLevelValF, contour levels are created at intervals spaced by the value of cnLevelSpacingF until cnMaxLevelValF is reached. The final contour level will always be cnMaxLevelValF. ContourPlot sets elements of the array resource cnLevels to the values of each contour level chosen and the read-only resource cnLevelCount to the number of levels. If the current value of cnMaxLevelCount is less than cnLevelCount, it is reset to the value of cnLevelCount. However, if the level count would exceed the absolute maximum number of levels, currently 255, ContourPlot issues a warning and chooses a new value of cnLevelSpacingF based on the value of cnMaxLevelCount.

If you choose ManualLevels selection mode when the ContourPlot object is created, and if you do not set cnMinLevelValF, ContourPlot will choose levels as if you had set AutomaticLevels mode. If you set cnMinLevelValF only, a default spacing is used, and the value of cnMaxLevelValF is determined as it would be for AutomaticLevels mode.

ExplicitLevels
This mode allows you to specify the value of each contour level by explicitly setting the contents of the cnLevels array. If you choose ExplicitLevels selection mode when creating a ContourPlot object, but do not specify the contents of the cnLevels array, ContourPlot will choose levels as if you had specified AutomaticLevels mode. Thereafter, when you set ExplicitLevels mode, ContourPlot uses the current contents of cnLevels, whether or not you set it explicitly.

If the number of elements in cnLevels exceeds the absolute maximum number of levels (currently 255), ContourPlot issues a warning and the mode defaults to AutomaticLevels. Note that ContourPlot always sorts the elements of cnLevels into a monotonically increasing sequence. After sorting, cnMinLevelValF is set equal to the value of first element of cnLevels, and cnMaxLevelValF is set to the value of the last element. cnLevelSpacingF is set to the average value of the spacing separating each level.

EqualSpacedLevels
For this mode, ContourPlot divides the range spanning the dataset minimum and maximum values into cnMaxLevelCount+1 equally spaced intervals. cnLevelSpacingF is set to the value of this interval. cnMinLevelValF is set to the value of the dataset minimum plus the value of cnLevelSpacingF. cnMaxLevelValF is set to the value of the dataset maximum minus the value of cnLevelSpacingF. This results in cnMaxLevelCount levels; therefore ContourPlot sets the read-only resource cnLevelCount equal to cnMaxLevelCount.

Default: AutomaticLevels

cnLevelSpacingF
When the cnLevelSelectionMode is ManualLevels or when the cnLevelSelectionMode is AutomaticLevels, and cnLevelSpacingF is explicitly set, cnLevelSpacingF determines the spacing between contour intervals. Otherwise, the ContourPlot object sets the value of cnLevelSpacingF based on the contour levels actually chosen. When the cnLevelSelectionMode is ExplicitLevels, cnLevelSpacingF will be set to the arithmetic average of the spacing between levels.

Default: 5.0

cnLevels
An array of floats containing the contour levels used to render the contour plot. If the cnLevelSelectionMode is ExplicitLevels, you may set these values yourself. Otherwise, the ContourPlot object sets the elements of this array.

Default: <dynamic>

cnLineColor
When cnMonoLineColor is set True, this resource of type NhlTColorIndex or a named color (string). sets a uniform color for all contour lines.

Default: Foreground (1)

cnLineColors
When cnMonoLineColor is False, each element of this array resource of type NhlTColorIndexGenArray or a named color (string) individually sets the color of the contour line drawn at the corresponding contour level. If the array is not set explicitly, it will dynamically default to a set of colors spread numerically over the range of defined HLU color indexes. The colors used will therefore depend on the number of contour levels. If the array currently contains fewer elements than cnLevelCount, more elements will be added to the array and given values according to the default color assignment scheme; existing elements with valid color index values will not be modified.

Default: <dynamic>

cnLineDashPattern
When cnMonoLineDashPattern is set True, this resource of type NhlTDashIndex sets a uniform dash pattern for all contour lines.

Default: SolidLine (0)

cnLineDashPatterns
When cnMonoLineDashPattern is False, this array resource of type NhlTDashIndexGenArray individually sets the dash pattern of a contour line drawn at the corresponding contour level. If the array is not set explicitly, the ContourPlot object will assign sequential dash pattern indexes to each array element--starting with dash pattern index 1, not "SolidLine" (0)--up to the maximum number of existing dash patterns. Thereafter, it will repeat the sequence using modular arithmetic. If the array currently contains fewer elements than cnLevelCount, more elements will be added to the array and given values according to the same assignment scheme; existing elements with valid dash pattern index values will not be modified.

Default: <dynamic>

cnLineDashSegLenF
This resource indicates the length of each segment of the dash patterns used to draw contour lines. It is the length in NDC units before the dash pattern repeats itself. If cnLineLabelPlacementMode is set to Constant the line labels are rendered as part of the dash pattern, and therefore cnLineDashSegLenF also controls the spacing between the line labels.

cnLineDashSegLenF automatically scales with changes in the size of the viewport of the ContourPlot object. ContourPlot sets its default value dynamically based on the ratio of the actual plot viewport width to the reference viewport width.

Default: 0.15 (for a viewport width of 0.6)

cnLineDrawOrder
This resource of type NhlTDrawOrder determines when the contour lines are drawn relative to other elements of the plot. There are three choices:
PreDraw
Draw the contour lines before the standard draw; the lines will be overlaid by any subsequently drawn elements.
Draw
Draw the lines during the standard draw; the lines will overlay any elements drawn during the predraw phase, but will underlie elements drawn during the postdraw phase.
PostDraw
Draw the lines after the standard draw; the lines will overlay any elements drawn during the predraw and draw phases.

Default: Draw

cnLineLabelAngleF
When cnLineLabelAngleF has a value less than 0.0, ContourPlot line labels are angled in the direction of the tangent of the contour line at the location of the label. Otherwise, cnLineLabelAngleF specifies the angle, in degrees, of all contour line labels. If cnLineLabelPlacementMode is set to Constant, this resource has no effect: the line labels are always placed along the contour line.

Default: -1.0

cnLineLabelBackgroundColor
This resource sets the background color used to fill the box surrounding each line label. If you do not want the box to be filled at all, set cnLineLabelBackgroundColor to Transparent (-1). If cnLineLabelPlacementMode is set to Constant, this resource has no effect: a boxed background is not available.

You can use a color index value (integer) or a named color (string).

Default: Background (0)

cnLineLabelConstantSpacingF
Normally when cnLineLabelFontQuality is set to High, the ContourPlot object writes line label text with proportional spacing. Setting the cnLineLabelConstantSpacingF to a value greater than 0.0 overrides this behavior. Instead, the distance from the start of one character to the next is computed by multiplying a single standard character width by the value of cnLineLabelConstantSpacingF. When cnLineLabelConstantSpacingF has a value between 0.0 and 1.0, characters will overlap. A value of 1.0 implies, on average, no space between characters, while values increasing from 1.0 cause the space between characters to grow. This parameter is ignored when cnLineLabelFontQuality is not High. Values less than 0.0 result in an error and are replaced with the default value.

Default: 0.0

cnLineLabelCount
Each time a ContourPlot is drawn, the read-only resource cnLineLabelCount is updated with the number of line labels actually rendered in the plot. Until the plot is drawn for the first time cnLineLabelCount has the value 0;

Default: 0

cnLineLabelDensityF
The cnLineLabelDensityF resource provides simple, though not very precise, control over the number of line labels that appear in a contourplot. It has an effect only when cnLineLabelPlacementMode is set to Computed or Randomized. cnLineDashSegLenF controls the density of Constant mode line labels..

If cnLineLabelDensityF is set to its default value, 0.0, it has no effect and line label density can only be controlled by setting the appropriate low level parameters via the resource cnConpackParams. Setting cnLineLabelDensityF to 1.0 causes ContourPlot to use the default settings of the applicable low level resources, overriding any that are set through the cnConpackParams resource. Increase the number of line labels by setting cnLineLabelDensityF to values greater than 1.0, or decrease the number by setting it to positive values less than 1.0. You can obtain a count of the line labels drawn in the most recent rendering of the ContourPlot by retrieving the resource cnLineLabelCount.

Default: 0.0

cnLineLabelFont
This resource of type NhlTFont specifies the font used to render line labels.

Default: "pwritx"

cnLineLabelFontAspectF
This resource determines the shape of the line label characters. Values increasing from 1.0 result in thinner characters. Values decreasing from 1.0 make the characters wider. Values less than or equal to 0.0 result in a WARNING message and a restoration of the default value.

Default: 1.3125

cnLineLabelFontColor
When cnMonoLineLabelFontColor is set True, this resource of type NhlTColorIndex or a named color (string) sets a uniform color for all contour line labels.

Default: Foreground (1)

cnLineLabelFontColors
When cnMonoLineLabelFontColor is False, each element of this array of type NhlTColorIndexGenArray or named color (string) specifies the color of a contour line label. If the array is not set explicitly, it will dynamically default to a set of colors spread numerically over the range of defined HLU color indexes. The colors used will therefore depend on the number of contour levels. If the array currently contains fewer elements than cnLevelCount, more elements will be added to the array and given values according to the default color assignment scheme; existing elements with valid color index values will not be modified.

You can use an array of color index values (integer) or named colors (string).

Default: <dynamic>

cnLineLabelFontHeightF
This resource controls the height, in NDC units, of characters used in the text of line labels. The character width scales proportionally, unless you also modify the aspect ratio using the cnLineLabelFontAspectF resource. The line label text height scales with changes to the viewport width, unless you explicitly set cnLineLabelFontHeightF during the same call.

Default: <dynamic> -- 0.012 for a viewport width of 0.6

cnLineLabelFontQuality
This resource of type NhlTFontQuality determines the quality of the font used to draw ContourPlot line labels.

Default: High

cnLineLabelFontThicknessF
Sets the thickness of the line used to draw line label text. The value acts as a multiplier of a (device-dependent) unit thickness. This resource is ignored when the cnLineLabelFont specifies a filled font (font indexes 21-22, 25-26, 29-30, and 33-37).

Default: 1.0

cnLineLabelFormat
The cnLineLabelFormat resource is a string that specifies the printing format for the numeric portion of line labels according to the HLU Floating Point Format Specification scheme. It does not apply when the user explicitly sets the elements of cnLineLabelStrings. If any of the numerical format parameters have the dynamic attribute on, the corresponding parameter in the cnMaxDataValueFormat resource determines the parameter's value. The default value uses the shorthand notation '*+' to cause all numeric format parameters to be determined dynamically.

Note that since the labels used for the ContourPlot LabelBar are copied from the cnLineLabelStrings resource the cnLineLabelFormat resource also controls the formatting of the LabelBar labels. This is true whether cnLineLabelsOn is set True or False.

Default: "*+^sg"

cnLineLabelFuncCode
This resource of type NhlTCharacter sets the function code character that the low level utilities will use when parsing the label string.

Default: :

cnLineLabelInterval
When cnMonoLevelFlag is False and you do not explicitly set the array cnLevelFlags, a positive value of cnLineLabelInterval sets the number of levels from a labeled level to the next labeled level. The interval is generated in both directions from the contour level requiring the least number of significant digits to express (with the value 0.0 considered to require zero significant digits). If cnLineLabelInterval is less than or equal to zero, then no contour levels are labeled.

Default: 2

cnLineLabelPerimColor
This resource sets the HLU color index used to draw the perimeter of the line label box. If cnLineLabelPlacementMode is set to Constant, this resource has no effect: no perimeter can be drawn around the label.

You can use a color index value (integer) or a named color (string).

Default: Foreground (1)

cnLineLabelPerimOn
cnLineLabelPerimOn is a boolean resource that determines whether ContourPlot will draw an outline around the perimeter of the box surrounding contour line labels. If set False, no outline will be drawn. If cnLineLabelPlacementMode is set to Constant, this resource has no effect: no perimeter can be drawn around the label.

Default: True

cnLineLabelPerimSpaceF
cnLineLabelPerimSpaceF determines the spacing or margin between the text of the line label and the edge of the line label box as a fraction of the current line label text height. If cnLineLabelPlacementMode is set to Constant, this resource has no effect: no perimeter can be drawn around the label.

Default: 0.33

cnLineLabelPerimThicknessF
This resource determines the thickness of the perimeter line around the line label box. The value acts as a multiplier of a (device-dependent) unit thickness. If cnLineLabelPlacementMode is set to Constant, this resource has no effect: no perimeter can be drawn around the label.

Default: 1.0

cnLineLabelPlacementMode
This resource of type NhlTcnLineLabelPlacementMode determines the algorithm ContourPlot uses to place line labels. There are three choices:
Constant
ContourPlot draws line labels as an integral part of the line dash pattern. As a result, the labels are equally spaced along the lines. You can control the spacing between the labels by setting the cnLineDashSegLenF resource.
Randomized
ContourPlot places labels using a randomizing algorithm to vary the distance between labels. You can increase or decrease the overall number of labels using the cnLineLabelDensityF resource. Or for more precise control, you can specify the appropriate low level parameter values yourself using cnConpackParams.
Computed
ContourPlot uses a more complex algorithm involving the local gradient, number of contour lines in a region, cumulative change in direction, and an optimum distance value to determine the best location for line labels. This method usually gives the best-looking results. You can increase or decrease the overall number of labels using the cnLineLabelDensityF resource. Or for more precise control, you can specify the appropriate low level parameter values yourself using cnConpackParams.

V4.1 Status Note 3

Default: Randomized

cnLineLabelStrings
Each element of the array resource cnLineLabelStrings specifies a string to be drawn at a contour level. Note that there is an element of this array for each contour level, whether or not (based on the contents of the cnLevelFlags array) a label will actually be drawn. If cnExplicitLineLabelsOn is set False, ContourPlot automatically sets the contents of the array to a set of strings representing the values of the contour levels, scaled based on the value of cnLabelScaleFactorF, and formatted based on the contents of cnMaxDataValueFormat and cnLineLabelFormat.

If cnExplicitLineLabelsOn is set True, ContourPlot will not modify any initialized element of the array, thus allowing you to set its values to strings of your choice. If you set the resource with an array containing fewer elements than the current number of levels, the remaining elements will be assigned using the automatic method.

Default: <dynamic>

cnLineLabelsOn
If this boolean resource is set False, contour line labels will not appear in the contour plot. Note that this resource overrides the values contained in the cnLevelFlags array resource with respect to line labels, but has nothing to do with whether contour lines appear.

Default: True (False for gsn_csm contour routines when contour fill is turned on.)

cnLineThicknessF
When cnMonoLineThickness is True, this resource sets a uniform line thickness for all contour lines.

Default: 1.0

cnLineThicknesses
If cnMonoLineThickness is False, each element of this array resource specifies the line thickness of a contour line drawn at the corresponding contour level. If the array is not set explicitly, all elements default to the value 1.0. If the array currently contains fewer elements than cnLevelCount, more elements will be added to the array and set to the default value, 1.0; existing elements with valid line thicknesses (greater than 0.0) will not be modified.

Default: 1.0 for all elements

cnLinesOn
If this boolean resource is set False, no contour lines will appear in the contour plot, regardless of the values contained in the cnLevelFlags array resource. It has no effect on line labels.

Default: True (False for gsn_csm contour routines when contour fill is turned on.)

cnLowLabelAngleF
This resource specifies the angle, in degrees, of low label text and its surrounding box.

Default: 0.0

cnLowLabelBackgroundColor
This resource sets the background color used to fill the box surrounding each low label. If you do not want the box to be filled at all, set cnLowLabelBackgroundColor to Transparent (-1).

Default: Background (0)

cnLowLabelConstantSpacingF
Normally when cnLineLabelFontQuality is set to High, the ContourPlot object writes line label text with proportional spacing. Setting the cnLineLabelConstantSpacingF to a value greater than 0.0 overrides this behavior. Instead, the distance from the start of one character to the next is computed by multiplying a single standard character width by the value of cnLineLabelConstantSpacingF. When cnLineLabelConstantSpacingF has a value between 0.0 and 1.0, characters will overlap. A value of 1.0 implies, on average, no space between characters, while values increasing from 1.0 cause the space between characters to grow. This parameter is ignored when cnLineLabelFontQuality is not High. Values less than 0.0 result in an error and are replaced with the default value.

Default: 0.0

cnLowLabelCount
Each time a ContourPlot is drawn, the read-only resource cnLowLabelCount is updated with the number of low labels actually rendered in the plot. Until the plot is drawn for the first time cnLowLabelCount has the value 0;

Default: 0

cnLowLabelFont
This resource of type NhlTFont specifies the font used to render low labels.

Default: "pwritx"

cnLowLabelFontAspectF
This resource determines the shape of the low label characters. Values increasing from 1.0 result in thinner characters. Values decreasing from 1.0 make the characters wider. Values less than or equal to 0.0 result in a WARNING message and a restoration of the default value.

Default: 1.3125

cnLowLabelFontColor
This resource specifies the HLU color index used to render low label text.

Default: True

cnLowLabelFontHeightF
This resource controls the height, in NDC units, of characters used in the text of low labels. The character width scales proportionally, unless you also modify the aspect ratio using the cnLowLabelFontAspectF resource. The low label text height scales with changes to the viewport width, unless you explicitly set cnLowLabelFontHeightF during the same call.

Default: <dynamic> -- 0.012 for a viewport width of 0.6

cnLowLabelFontQuality
This resource of type NhlTFontQuality determines the quality of the font used to draw ContourPlot low labels.

Default: High

cnLowLabelFontThicknessF
Sets the thickness of the line used to draw low label text. The value acts as a multiplier of a (device-dependent) unit thickness. This resource is ignored when the cnLowLabelFont specifies a filled font (font indexes 21-22, 25-26, 29-30, and 33-37).

Default: 1.0

cnLowLabelFormat
The cnLowLabelFormat resource is a string that specifies the printing format for the numeric portion of low labels according to the HLU Floating Point Format Specification scheme. If any of the numerical format parameters have the dynamic attribute on, the corresponding parameter in the cnMaxDataValueFormat resource determines the parameter's value. The default value uses the shorthand notation '*+' to cause all numeric format parameters to be determined dynamically.

Default: "*+^sg"

cnLowLabelFuncCode
This resource of type NhlTCharacter sets the function code character that the low level utilities will use when parsing the low label string.

Default: :

cnLowLabelPerimColor
This resource sets the color to use to draw the perimeter of the low label box.

You can use a color index value (integer) or a named color (string).

Default: Foreground (1)

cnLowLabelPerimOn
cnLowLabelPerimOn is a boolean resource that determines whether ContourPlot will draw an outline around the perimeter of the box surrounding contour low labels. If set False, no outline will be drawn.

Default: True

cnLowLabelPerimSpaceF
cnLowLabelPerimSpaceF determines the spacing or margin between the text of the low label and the edge of the low label box as a fraction of the current low label text height.

Default: 0.33

cnLowLabelPerimThicknessF
This resource determines the thickness of the perimeter line around the low label box. The value acts as a multiplier of a (device-dependent) unit thickness.

Default: 1.0

cnLowLabelString
Specifies the string to use when drawing low labels. The string may contain function codes and/or substitution substrings. ContourPlot will replace the substring "$ZDV$" with a number representing the value at the point where the label is to appear. cnLowLabelFormat determines the format of the number and cnLabelScaleFactorF determines the scaling of the actual data value.

Default: "L:B:$ZDV$:E:"

cnLowLabelsOn
If this boolean resource is set True, ContourPlot places labels at regions representing local minimums in the dataset.

Default: True

cnLowUseHighLabelRes
If the boolean resource cnLowUseHighLabelRes is set True, all resources applying to low labels, except for cnLowLabelString, take their value from the corresponding high label resources.

Default: False

cnMaxDataValueFormat
The cnMaxDataValueFormat resource is a string that specifies the printing format for the maximum data value according to the HLU Floating Point Format Specification scheme. This resource serves as a master control for formatting any number representing ScalarField data when used in a ContourPlot label. If the format string for a label type sets the dynamic attribute for any of its numerical format parameters, the parameter's value is determined by the value of the corresponding parameter in the cnMaxDataValueFormat specifier. Thus, you can control the numerical format parameters for all labels by adjusting a single resource. For some format parameters, notably the leftmost significant digit parameter, you must use the dynamic attribute in order to apply the parameter in a meaningful way.

Default: "*+.4^sg"

cnMaxLevelCount
When the cnLevelSelectionMode is AutomaticLevels and cnLevelSpacingF is not explicitly set, ContourPlot picks a number of levels less than or equal to the current value of cnMaxLevelCount. If the cnLevelSelectionMode is EqualSpacedLevels, ContourPlot picks exactly cnMaxLevelCount levels. If cnMaxLevelCount exceeds the absolute maximum level count allowed by ContourPlot (currently 255), a warning is issued and the value is reset to this maximum. If cnLevelSelectionMode is ManualLevels or ExplicitLevels or AutomaticLevels with cnLevelSpacingF explicitly set, ContourPlot sets cnMaxLevelCount to the number of levels actually used if this number is greater than the current value of cnMaxLevelCount.

Default: 16

cnMaxLevelValF
When the cnLevelSelectionMode is ManualLevels, the value of cnMaxLevelValF, if set, determines the highest contour level. Otherwise, ContourPlot sets the cnMaxLevelValF to a value equal to the highest contour level picked.

Default: <dynamic>

cnMaxPointDistanceF
Controls the maximum distance along both the width and height of the viewport allowed before checking for a discontinuous jump in the mapped coordinate points. The value specifies a fraction of the view width for the width check and a fraction of the view height for the height check. A value of 0.0 for this resource turns off this form of checking altogether. When non-zero, this value should not be set less than 0.001 or greater than 0.1. Smaller values increase processing time.

Note that if cnMaxPointDistanceF is set to a non-zero value, contour smoothing will not work properly unless it is applied prior to the transformation of the data space. Therefore you should always set cnSmoothingTensionF to a negative value when cnMaxPointDistanceF is non-zero.

Default: 0.05

cnMinLevelValF
When the cnLevelSelectionMode is ManualLevels, the value of cnMinLevelValF, if set, determines the lowest contour level. Otherwise, ContourPlot sets the cnMinLevelValF to a value equal to the lowest contour level picked.

Default: <dynamic>

cnMissingValFillColor
This resource sets the color to use for filling in missing value areas. If cnMissingValFillColor has the value Transparent (-1), there will be no fill of the missing value area, regardless of the setting of cnMissingValFillPattern. Note that the resource cnFillOn must be set to True, and cnMissingValFillPattern to 0 ("SolidFill") or higher (pattern fill) in order for cnMissingValFillColor to take effect.

You can use a color index value (integer) or a named color (string).

Default: Background (0)

cnMissingValFillPattern
This resource sets the HLU index of the fill pattern used to fill missing value areas. If cnMissingValFillPattern has the value HollowFill (-1), there will be no fill of the missing value area, regardless of the setting of cnMissingValFillPattern. Note that the resource cnFillOn must be set to True in order for cnMissingValFillPattern to take effect.

Default: HollowFill

cnMissingValFillScaleF
The cnMissingValFillScaleF resource controls the scaling of the pattern used for missing values fill areas. It has no effect for solid fill (fill pattern index Solid or 0). Values greater than 1.0 make the pattern spacing bigger than the default spacing, resulting in a fill that appears less dense. Values less than 1.0 have the opposite effect. Values less than or equal to 0.0 are invalid, generate a warning message, and are reset to the default value, 1.0.

Default: 1.0

cnMissingValPerimColor
This resource sets the color to use for drawing perimeter lines around missing value areas.

You can use a color index value (integer) or a named color (string).

Default: Foreground (1)

cnMissingValPerimDashPattern
This resource sets the HLU index of a dash pattern used to render perimeter lines around missing value areas.

Default: 0

cnMissingValPerimGridBoundOn
The cnMissingValPerimGridBoundOn resource is useful controls the scaling of the pattern used for missing values fill areas. It has no effect for solid fill (fill pattern index Solid or 0). Values greater than 1.0 make the pattern spacing bigger than the default spacing, resulting in a fill that appears less dense. Values less than 1.0 have the opposite effect. Values less than or equal to 0.0 are invalid, generate a warning message, and are reset to the default value, 1.0.

Default: 1.0

cnMissingValPerimOn
If set True, this boolean resource specifies that perimeter lines be drawn around missing value areas in the ContourPlot object. Unless cnMissingValPerimGridBoundOn is also set True, the portions of the missing value perimeter lines that overlap the data grid boundary are not drawn.

Default: False

cnMissingValPerimThicknessF
This resource determines the thickness of perimeter lines around missing value areas. The value acts as a multiplier of a (device-dependent) unit thickness.

Default: 1.0

cnMonoFillColor
When set True, all contour fill areas are set to a single color, as specified by the value of the scalar resource cnFillColor. When False, the elements of the array resource cnFillColors control the color of each fill area individually.

Default: False

cnMonoFillPattern
When set True, all contour fill areas use a single fill pattern, as specified by the value of the scalar resource cnFillPattern. When False, the elements of the array resource cnFillPatterns control the pattern used for each fill area individually.

Default: True

cnMonoFillScale
When set True, all contour fill patterns are scaled by a single factor, as specified by the value of the scalar resource cnFillScaleF. When False, the elements of the array resource cnFillScales control the scaling applied to the fill pattern assigned to each fill area individually.

Default: True

cnMonoLevelFlag
When cnMonoLevelFlag is set True, the scalar resource cnLevelFlag sets the level flag controlling the appearance of the line and/or the line label to a single value. In this case, the cnLineLabelInterval resource has no effect. Otherwise, when cnMonoLevelFlag is set False, you can set the level flag for each line individually using the resource cnLevelFlags, or set line labels to appear at uniform contour intervals using the resource cnLineLabelInterval.

Default: False

cnMonoLineColor
When set True, all contour lines are set to a single color, as specified by the value of the scalar resource cnLineColor. Otherwise, the elements of the array resource cnLineColors control the color of each line individually.

Default: True

cnMonoLineDashPattern
When set True, all contour lines are rendered using the same dash pattern, as specified by the value of the scalar resource cnLineDashPattern. Otherwise, the elements of the array resource cnLineDashPatterns control the dash pattern of each line individually.

Default: True

cnMonoLineLabelFontColor
When set True, all contour line labels are rendered using a single color, as specified by the value of the scalar resource cnLineLabelFontColor. When False, the elements of the array resource cnLineLabelFontColors control the color of each line label individually.

Default: True

cnMonoLineThickness
When set True, all contour lines are rendered using the same line thickness, as specified by the value of the scalar resource cnLineThicknessF. Otherwise, the elements of the array resource cnLineThicknesses control the thickness of each line individually.

Default: True

cnNoDataLabelOn
This boolean resource, when set True, causes a label to appear when ContourPlot is drawn without any data having been provided. Except for the label string, all attributes of this label, including its position, are set using resources belonging to the constant field label. When set False, no such label appears.

Default: True

cnNoDataLabelString
This resource contains the string that appears in the 'No Data' label if you draw a ContourPlot object without providing any data. No substitution substrings are allowed in this label, since all the substitutions depend on data being available. Except for the boolean switch that turns it on and off, all attributes of this label, including its position, are set using resources belonging to the constant field label.

Default: "NO CONTOUR DATA"

cnOutOfRangePerimColor
This resource sets the color to use for drawing the perimeter lines around the edge of out-of-range areas.

You can use a color index value (integer) or a named color (string).

Default: Foreground (1)

cnOutOfRangePerimDashPattern
This resource sets the HLU index of a dash pattern used to render perimeter lines around the edge of out-of-range areas.

Default: 0

cnOutOfRangePerimOn
If set True, this boolean resource specifies that perimeter lines be drawn around areas where the ScalarField data falls outside the current data boundaries of the plot.

Default: False

cnOutOfRangePerimThicknessF
This resource determines the thickness of perimeter lines around the edge of out-of-range areas. The value acts as a multiplier of a (device-dependent) unit thickness.

Default: 1.0

cnRasterCellSizeF
If this resource is explicitly set to a value greater than 0.0, it specifies the height and width of each cell of the raster array in NDC units. The number of cells in the raster array is determined by how many cells of the specified size it takes to cover a rectangular area bounding the data grid. In this case, the number of elements in the data grid, the resolution of the Workstation output device, and the setting of cnRasterSampleFactorF have no effect on the size of the raster cell array.

No limit is placed on how small you may set this resource; it is not affected by the value of cnRasterMinCellSizeF. However, note that halving its size quadruples the overall number of cells in raster array, with consequent effects on processing time and memory usage. Once set, the value of this resource scales proportionally to changes in the viewport width, ensuring the same relative quality of output and processing time for any plot size.

Giving cnRasterCellSizeF a value less than or equal to 0.0 has the effect of 'unsetting' the resource, restoring the default method of sizing the raster cell array based on the device resolution, the size of the data array, and the values of the resources cnRasterMinCellSizeF and cnRasterSampleFactorF.

Even when unset, you may retrieve the value of this resource after a draw operation to find the minimum dimension of the cells in NDC units that was actually used to draw the plot.

Default: <dynamic>

cnRasterMinCellSizeF
This resource supplies a lower limit for the size of a raster cell whenever ContourPlot determines the cell array density dynamically. It applies in all situations except when you set the cell size explicitly using cnRasterCellSizeF or you set cnRasterSampleFactorF to 0.0. It prevents the cell array from becoming unreasonably large when drawing a raster plot on a high-resolution workstation such as the PSWorkstation. Set it to a smaller value if you actually require plots at higher resolution. However, note that there is an inverse quadratic relationship between the value of this resource and the size of the cell array, with consequent effects on storage requirements and processing time. You can use a larger value if you want quick plots where detail is not so important.

Default: 0.001

cnRasterModeOn
The cnRasterModeOn resource is deprecated in favor of the newer cnFillMode resource (you must set cnFillOn to True if you use cnFillMode). As long as cnFillMode is not set at the same time, it will continue to function as documented here, but eventually the documentation will be removed.

If this boolean resource is set True, ContourPlot generates a representation of the data by individually assigning colors to the elements of a two-dimensional array of rectangular cells superimposed on an area bounding the data grid. This contrasts with the area fill method, in which a plot is generated by coloring the irregular areas formed by the boundaries of the lines defining adjacent contour levels. When raster mode is in effect, only solid fill is possible, and therefore the following resources have no effect:

The color chosen for each cell is based on the color indexes contained in the cnFillColors array resource unless the cell center is in a missing-value area or outside the grid. If the cell center is in a missing-value area, it is assigned the color index given by the value of the resource cnMissingValFillColor. If it is outside the grid, it is set to the value Background (0). Also note that since only solid fill is possible, the fill color Transparent (-1) is not supported; if an element of cnFillColors or cnMissingValFillColor is set to Transparent, ContourPlot substitutes the value Background in the cell array.

In general, within the limits of the Workstation output device resolution, the quality of a raster plot improves as the density of the cell array is increased. However, processing time and memory requirements also increase.

Default: False

cnRasterSampleFactorF
If cnRasterCellSizeF is not explicitly set, ContourPlot adjusts the raster cell size dynamically in order to create a plot with as much resolution as is necessary and/or practical, while simultaneously trying to keep the cell array as small as possible. The default minimum cell size is the workstation device pixel size or the value of cnRasterMinCellSizeF, whichever is bigger. ContourPlot uses this minimum size as the default dynamic size whenever cnRasterSmoothingOn is True.

If cnRasterSmoothingOn is False, ContourPlot uses a larger default size if there is a linear mapping from data to NDC space and if the data grid has a lower resolution than a grid of minimum-sized cells would have. Linearity is considered separately along each axis: if the plot has one log axis and one linear axis, for example, rectangular cells may be created with the dimension along the log axis set to the minimum size while the linear dimension has a much larger size. If the plot is overlaid on a map projection, cells are set to the minimum size except for the special case of a non-rotated cylindrical equidistant projection with the center latitude set to 0.0.

Based on the dynamically determined default cell size and the NDC width and height of the data extent, ContourPlot calculates the number of cells needed along each dimension of the cell array. The cnRasterSampleFactorF resource acts as a multiplier of the number of raster cells along each dimension. Setting it to 2.0, for example, would double the number of cells along each axis, quadrupuling the overall size of the cell array. However, if this operation would result in the cells falling below the minimum size specified by cnRasterMinCellSizeF, their number is limited as required along the affected dimension. You can set cnRasterSampleFactorF to a value less than 1.0 in order improve plotting speed; the tradeoff will be diminished plot quality.

As a special case, if cnRasterSampleFactorF is set to 0.0, ContourPlot creates the cell array the same size as the data array, resulting in a one-to-one correspondence between data grid points and cells in the raster array. This is regardless of the Workstation device resolution or the setting of cnRasterMinCellSizeF.

Default: 1.0

cnRasterSmoothingOn
If cnRasterSmoothingOn is set True, the level (and hence the color) assigned to each cell is determined by interpolating the values of neighboring points in the data grid. If cnRasterSmoothingOn is False, ContourPlot creates a discrete raster plot: any raster cell whose center lies within the rectangular area bounded by lines halfway between each grid point (in data space) is given the color assigned to the level representing the grid point datum.

The effect of this resource on the appearance of the plot depends on the density of the data relative to the number of cells in the raster array as limited by the resolution of the Workstation output device. If the data grid is more densely spaced than the cell array, two plots generated with opposite settings of this resource will appear qualitatively similar, although there may be differences of detail. However, if the data grid is sparse relative to the cell array density, turning smoothing off results in a plot that appears blocky and discontinuous compared to a plot drawn with smoothing turned on.

Default: False

cnScalarFieldData
Specifies the id of a data object belonging to the ScalarField class or its subclass MeshScalarField. There is no default for this resource; it is the only resource that must be set for the ContourPlot object to draw a plot. You may create a ContourPlot object without setting the cnScalarFieldData, and auxiliary annotations such as tick marks and titles may appear as the result of a draw, but the ContourPlot itself will not show up.

Use a regular ScalarField object for topologically rectangular gridded data. This is data that can be specified using a two-dimensional array with the common property that, for any interior element of the array e[j,i], a line through the location of the 8 elements e[j +/- 1, i +/- 1] would separate the element e[j,i] from the locations in data space of all other elements. You may define the coordinate space of the ScalarField data array using 1 or 2 dimensional coordinate arrays, or simply by setting the start and end locations along each axis. If you do not set any coordinate array resources the coordinate space defaults to the the array index extents.

Use a MeshScalarField object if the data cannot be specified using a two-dimensional array as described above, but you can specify the location of each data element explicitly. You must set each data value and its location along the X and Y Axes as the corresponding elements of three one-dimensional arrays. You may explicitly or implicitly specify the mesh to be created from the data nodes using MeshScalarField resources. If you do not specify the mesh, ContourPlot generates it by calculating a Delauney triangulation in the projection plane, using Jonathan Shewchuk's Triangle package.

Default: <None>

cnSmoothingDistanceF
When the boolean resource cnSmoothingOn is set to True (it is False by default), the ContourPlot object will use cnSmoothingDistanceF to help control the parameters of the smoothing algorithm. cnSmoothingDistanceF sets the distance between points used to draw smoothed contour lines. It is expressed as a fraction of the width of the window in the coordinate system in which smoothing is being performed. Note that processing time is affected greatly by the value given to the smoothing distance. Smaller values add to the processing time.

Default: 0.01

cnSmoothingOn
When the boolean resource cnSmoothingOn is True, the ContourPlot object will smooth the contours using cubic splines under tension. The resources cnSmoothingTensionF and cnSmoothingDistanceF control the parameters of the smoothing algorithm. Note that when smoothing is turned on, it is possible in some cases for adjacent contour lines to cross each other. In this case, you need to adjust the cnSmoothingTensionF experimentally in order to eliminate the problem.

Default: False

cnSmoothingTensionF
When the boolean resource cnSmoothingOn is set to True (it is False by default), the ContourPlot object will use cnSmoothingTensionF to help control the parameters of the smoothing algorithm. If you give cnSmoothingTensionF a value of 0.0, smoothing is turned off. If you give it a negative value, the ContourPlot object performs smoothing prior to any transformations of the data space; if you make it positive, smoothing takes place after any data space transformations. Small absolute values on the order of 0.001 give 'loopy' curves, which are rather likely to cross each other. Large absolute values give tight, nearly polygonal curves.

Note that if cnMaxPointDistanceF is set to a non-zero value, smoothing will not work properly unless it is applied prior to the transformation of the data space. Therefore you should always set cnSmoothingTensionF to a negative value when cnMaxPointDistanceF is non-zero.

V4.1 Status Note 4

Default: -2.5

ctCopyTables
This resource is used to determine if the CoordArrTable object should make its own copy of the ctXTable and ctYTable data. If this resource is False, it is important for the programmer to keep the data around without modifying it.

Default: True

ctXElementSize
This resource is used to indicate the size of each element of each vector in the ctXTable resource. If the ctXTable resource is set, and this one is not, then the CoordArrTable object will use the ctXTableType resource to try to determine the size of each element; therefore this resource is usually not necessary.

Default: <dynamic>
Determined from ctXTableType if possible.

ctXMaxV
This resource is used to tell the CoordArrTable object the maximum value contained in the ctXTable resource. If it is not specified, the CoordArrTable object will compute it. This resource has a dynamic type so that elements of any type can be set to it.

Default: <dynamic>
The value will be computed if it is not set.

ctXMinV
This resource is used to tell the CoordArrTable object the minimum value contained in the ctXTable resource. If it is not specified, the CoordArrTable object will compute it. This resource has a dynamic type so that elements of any type can be set to it.

Default: <dynamic>
The value will be computed if it is not set.

ctXMissingV
This resource indicates a missing value for elements in the ctXTable resource. When the HLU library is parsing the data in the ctXTable elements, it will treat any element with this value as missing data. This resource has a dynamic type so that elements of any type can be set to it. It is important to realize that the elements in ctXTable will be converted to float, and the contents of this resource will be converted to float, before the elements are compared with the value of this resource.

Default: None

ctXTable
This resource specifies the X values of the X/Y coordinate data. It is an array of X vectors. Each vector is actually a single-dimension array of type ctXTableType. The length of each vector array is determined by the corresponding element of the ctXTableLengths resource. If this resource is set, then the corresponding ctXTableLengths resource must also be set. If the ctXTable resource is not set, then all of the Y values set with the ctYTable resource will be paired with their integer array index. For example,
(1, (ytable[0])[0])
(2, (ytable[0])[1])
(ytable_lengths[0], (ytable[0])[ytable_lengths[0]-1])
If one of the vectors in the ctXTable resource is NULL, then it is interpreted to contain an integer array index vector as well, with the ctXTableLengths resource indicating the length of the vector.

If the ctXTable resource is not set, then the ctYTable resource must be set.

Default: NULL

ctXTableLengths
This resource is a one-dimensional integer array. Each element of the array indicates the length of the corresponding vector in the ctXTable resource. This resource must be set if the ctXTable resource is set.

Default: NULL

ctXTableType
This resource is used to indicate the type of each element of each vector in the ctXTable resource. It is a string value of the type's name. For example, "Integer". There are symbols provided to the C interface for all the available types. "Integer" would be set with NhlTInteger.

Default: NULL
This resource must be set if the ctXTable resource is set.

ctYElementSize
This resource is used to indicate the size of each element of each vector in the ctYTable resource. If the ctYTable resource is set, and this one is not, then the CoordArrTable object will use the ctYTableType resource to try to determine the size of each element; therefore this resource is not usually necessary.

Default: <dynamic>
Determined from ctYTableType if possible.

ctYMaxV
This resource is used to tell the CoordArrTable object the maximum value contained in the ctYTable resource. If it is not specified, the CoordArrTable object will compute it. This resource has a dynamic type so that elements of any type can be set to it.

Default: <dynamic>
The value will be computed if it is not set.

ctYMinV
This resource is used to tell the CoordArrTable object the minimum value contained in the ctYTable resource. If it is not specified, the CoordArrTable object will compute it. This resource has a dynamic type so that elements of any type can be set to it.

Default: <dynamic>
The value will be computed if it is not set.

ctYMissingV
This resource indicates a missing value for elements in the ctYTable resource. When the HLU library is parsing the data in the ctYTable elements, it will treat any element with this value as missing data. This resource has a dynamic type so that elements of any type can be set to it. It is important to realize that the elements in ctYTable will be converted to float, and the contents of this resource will be converted to float, before the elements are compared with the value of this resource.

Default: None

ctYTable
This resource specifies the Y values of the X/Y coordinate data. It is an array of Y vectors. Each vector is actually a single-dimension array of type ctYTableType. The length of each vector array is determined by the corresponding element of the ctYTableLengths resource. If this resource is set, then the corresponding ctYTableLengths resource must also be set. If the ctYTable resource is not set, then all of the X values set with the ctXTable resource will be paired with their integer array index. For example,
((xtable[0])[0], 1)
((xtable[0])[1]), 2)
((xtable[0])[xtable_lengths[0]-1],xtable_lengths[0])
If one of the vectors in the ctYTable resource is NULL, then it is interpreted to contain an integer array index vector as well, with the ctYTableLengths resource indicating the length of the vector.

If the ctYTable resource is not set, then the ctXTable resource must be set.

Default: NULL

ctYTableLengths
This resource is a one-dimensional integer array. Each element of the array indicates the length of the corresponding vector in the ctYTable resource. This resource must be set if the ctYTable resource is set.

Default: NULL

ctYTableType
This resource is used to indicate the type of each element of each vector in the ctYTable resource. It is a string value of the type's name. For example, "Integer". There are symbols provided to the C interface for all the available types. "Integer" would be set with NhlTInteger.

Default: NULL
This resource must be set if the ctYTable resource is set.

dcDelayCompute
This resource is used to indicate if the DataComm object should buffer its response to changes in DataItem objects that are associated with data resources in the DataComm object. If this resource is False, then the DataComm object will immediately update its internal state to changes the user makes to an associated DataItem. If this resource is True, then the DataComm object will wait until the user tries to draw the DataComm object, or they call the UpdateData function.

It may be useful to set this resource True, if a particular data resource has a number of DataItems associated with it and each one of the DataItems are modified. In this case, if the dcDelayCompute resource is True, then the DataComm object will only recompute data extents once, instead of recomputing them every single time each of the associated DataItem objects is modified.

Default: False

errBuffer
This resource determines if error messages should be buffered so they can be extracted by the application programmer at a later time.

Default: False

errFileName
Specifies the file to print error messages to. The error object understands the file names "stderr" and "stdout" to be the streams associated with those standard FILE pointers in the UNIX environment. If the Error object is in Fortran mode, it will still interpret the "stderr" and "stdout" file names. If the errUnitNumber resource is not set, then the library will use the appropriate unit numbers for these standard UNIX streams. The error object will try to create a file of any other name relative to the current directory or append to that file if it already exists.

Default: "stderr"
Note: If the Error object is in C mode, and the errFilePtr resource is set, then this resource is ignored. Also, if the Error object is in Fortran mode, and the errUnitNumber is set to an Open unit, this resource is ignored.

errFilePtr
This resource is only used if the HLU library is initialized with one of the C functions NhlInitialize or NhlOpen. This resource specifies the C file pointer to print the error messages to, if the errPrint resource is True. If this resource is set, then the errFileName resource is ignored.

Default: NULL

errLevel
Specifies the error level that should be reported. Any error message that is less severe than this level will not be reported or buffered.

Default: WARNING

errPrint
Used to determine if error messages should be printed or not. If they are, they are printed to the file indicated by the errFileName, errFilePtr and errUnitNumber resources.

Default: True

errUnitNumber
This resource is only used if the HLU library is initialized with one of the Fortran routines NHLFINITIALIZE or NHLFOPEN. This resource specifies the Fortran unit number to print the error messages to if the errPrint resource is True. If the unit number has already been opened, then the Error object ignores the errFileName resource. If the unit number has not been opened yet, then the Error object attempts to open the file. If the errFileName resource has been set, then it uses that name, otherwise it doesn't. If this resource is not set, then the Error object just uses the errFileName resource to determine where it should print error messages.

Default: 74
Note: If the errFileName resource is set to either "stdout" or "stderr", then this defaults to the appropriate unit numbers for those standard UNIX streams, usually 6 and 0 respectively.

gsClipOn
This resource controls whether primitives are clipped to the plot viewport. When set to the default value, True, any parts of the primitive drawn outside the viewport will not appear. If set to False these elements of the primitive will appear, except in the case of data primitives drawn using a MapTransformation or an IrregularTransformation. In these cases the data space is undefined outside the viewport boundary and therefore the location of the primitives cannot be determined.

Default: True

gsEdgeColor
This resource of type NhlTColorIndex specifies the color used for the edges of fill primitives associated with the GraphicStyle object.

Default: Foreground

gsEdgeDashPattern
This resource of type NhlTDashIndex specifies the dash pattern for the edges of fill primitives associated with the GraphicStyle object.

Default: 0

gsEdgeDashSegLenF
This resource specifies the length of each segment of the dash pattern used for the edges of fill primitives associated with the GraphicStyle object.

Default: .15

gsEdgeThicknessF
This resource specifies the thickness of the edges of fill primitives associated with the GraphicStyle object. The value acts as a multiplier of a (device-dependent) unit thickness.

Default: 1.0

gsEdgesOn
If this boolean resource is set True, fill primitives associated with the GraphicStyle object are rendered with a line drawn around all visible edges.

Default: False

gsFillBackgroundColor
This resource of type NhlTColorIndex sets the color used as the background of fill primitives associated with the GraphicStyle object.

Default: Transparent

gsFillColor
This resource of type NhlTColorIndex sets the color used for fill primitives associated with the GraphicStyle object.

Default: Foreground

gsFillDotSizeF
This resource sets a uniform dot size, in NDC units, for the stipple dot fill pattern. The default value of 0.0 causes the dots to be drawn as before, using a workstation dependent minimum dot size. A caveat is that individual dots are not clipped around the edges of fill areas; this becomes more noticeable as the dot size increases.

Default: 0.0

gsFillIndex
This resource of type NhlTFillIndex sets the fill pattern used for fill primitives associated with the GraphicStyle object.

Default: 0

gsFillLineThicknessF
This resource specifies the thickness of lines used within the fill patterns of fill primitives associated with the GraphicStyle object.

Default: 1.0

gsFillScaleF
This resource specifies the fill pattern scaling factor for fill primitives associated with the GraphicStyle object.

Default: 1.0

gsFont
This resource specifies the font used to render text primitives associated with the GraphicStyle object.

Default: pwritx

gsFontAspectF
This resource specifies the font aspect ratio for text primitives associated with the GraphicStyle object.

Default: 1.3125

gsFontColor
This resource of type NhlTColorIndex specifies the color of text primitives associated with the GraphicStyle object.

Default: Foreground

gsFontHeightF
This resource specifies the font height for text primitives associated with the GraphicStyle object.

Default: 0.015

gsFontQuality
This resource of type NhlFontQuality determines the quality of the font used to render text primitives associated with the GraphicStyle object. There are three choices:
High
Draw characters using any of the stoked or filled fonts.
Medium
Draw characters using a 94-character stroked font that is simpler than the High quality fonts, resulting in somewhat smaller metafiles. The gsFont resource is ignored.
Low
The characters are output as a string into the metafile. The quality of the output therefore depends on the fonts available to the metafile translator. When NCAR Graphics translators are used, the font quality is similar to that of Medium text. The gsFont resource is ignored.

Default: High

gsFontThicknessF
This resource specifies the font thickness for text primitives associated with the GraphicStyle object. The value acts as a multiplier of a (device-dependent) unit thickness.

Default: 1.0

gsLineColor
This resource of type NhlTColorIndex specifies the color of line primitives associated with the GraphicStyle object.

Default: Foreground

gsLineDashPattern
This resource of type NhlTDashIndex specifies the dash pattern for line primitives associated with the GraphicStyle object.

Default: 0

gsLineDashSegLenF
This resource indicates the length of each segment of a dash pattern used for line primitives associated with the GraphicStyle object. It is the length in NDCs before the dash pattern repeats itself. If line labels are being drawn, this is also the length between the end of one label and the start of the next.

Default: 0.15

gsLineLabelConstantSpacingF
Normally when gsLineLabelFontQuality is set to High, line labels for line primitives associated with the GraphicStyle object are rendered using proportional spacing. Setting the gsLineLabelConstantSpacingF to a value greater than 0.0 overrides this behavior. Instead, the distance from the start of one character to the next is computed by multiplying a single standard character width by the value of gsLineLabelConstantSpacingF. When gsLineLabelConstantSpacingF has a value between 0.0 and 1.0, characters will overlap. A value of 1.0 implies, on average, no space between characters, while values increasing from 1.0 cause the space between characters to grow. This parameter is ignored when gsLineLabelFontQuality is not High. Values less than 0.0 result in an error and are replaced with the default value.

Default: 0.0

gsLineLabelFont
This resource of type NhlTFont specifies the line label font for line primitives associated with the GraphicStyle object.

Default: 0

gsLineLabelFontAspectF
This resource specifies the line label font aspect ratio for line primitives associated with the GraphicStyle object.

Default: 1.3125

gsLineLabelFontColor
This resource of type NhlTColorIndex specifies the line label color for line primitives associated with the GraphicStyle object.

Default: Foreground

gsLineLabelFontHeightF
This resource specifies the line label font height for line primitives associated with the GraphicStyle object.

Default: 0.0125

gsLineLabelFontQuality
This resource of type NhlTFontQuality specifies the quality of the line label font for line primitives associated with the GraphicStyle object.

Default: High

gsLineLabelFontThicknessF
This resource specifies the line label font thickness for line primitives associated with the GraphicStyle object. The value acts as a multiplier of a (device-dependent) unit thickness.

Default: 1.0

gsLineLabelFuncCode
This resource of type NhlTCharacter sets the line label function code used for line primitives associated with the GraphicStyle object.

Default: :

gsLineLabelString
This resource specifies the string used as the line label for line primitives associated with the GraphicStyle object.

Default: <dynamic>

gsLineThicknessF
This resource specifies the thickness of line primitives associated with the GraphicStyle object. The value acts as a multiplier of a (device-dependent) unit thickness.

Default: 1.0

gsMarkerColor
This resource of type NhlTColorIndex specifies the color of marker primitives associated with the GraphicStyle object.

Default: Foreground

gsMarkerIndex
This resource of type NhlTMarkerIndex specifies the marker glyph for marker primitives associated with the GraphicStyle object.

Default: "asterisk"

gsMarkerSizeF
This resource specifies the NDC size of marker primitives associated with the GraphicStyle object.

Default: 0.007

gsMarkerThicknessF
This resource specifies the thickness of the lines used to render marker primitives associated with the GraphicStyle object. The value acts as a multiplier of a (device-dependent) unit thickness.

Default: 1.0

gsTextAngleF
This resource specifies the rotation angle around the justification point of text primitives associated with the GraphicStyle object.

Default: 0.0

gsTextConstantSpacingF
Normally when gsFontQuality is set to High, text primitives associated with the GraphicStyle object are rendered using proportional spacing. Setting the gsTextConstantSpacingF to a value greater than 0.0 overrides this behavior. Instead, the distance from the start of one character to the next is computed by multiplying a single standard character width by the value of gsTextConstantSpacingF. When gsTextConstantSpacingF has a value between 0.0 and 1.0, characters will overlap. A value of 1.0 implies, on average, no space between characters, while values increasing from 1.0 cause the space between characters to grow. This parameter is ignored when gsFontQuality is not High. Values less than 0.0 result in an error and are replaced with the default value.

Default: 0.0

gsTextDirection
This resource of type NhlTTextDirection specifies the direction of the text primitives associated with the GraphicStyle object. There are two choices:
Down
Each character is placed below the previous character in the text string.
Across
Each character is placed to the right of the previous character in the text string.
These descriptions apply before any rotation due to gsTextAngleF is applied to the text primitive.

Default: Across

gsTextFuncCode
This resource of type NhlTCharacter specifies the function code used for text primitives associated with the GraphicStyle object.

Default: :

gsTextJustification
This resource of type NhlJustification sets the justification point for text primitives associated with the GraphicStyle object.

Default: CenterCenter

gsnAboveYRefLineBarColors
If gsnYRefLine is set and gsnXYBarChart is set to True, then this resource indicates what colors to use in filling the bars above the given reference line.

The colors will repeat if there are fewer colors than bars.

Default: None

gsnAboveYRefLineBarFillScales
If gsnYRefLine is set, gsnXYBarChart is set to True, and gsnAboveYRefLineBarPatterns is set, then this resource indicates what fill scales to use for the fill patterns. Values less than 1.0 give you a more dense pattern.

Available in version 5.1.0 or later.

Default: 1.0

gsnAboveYRefLineBarPatterns
If gsnYRefLine is set and gsnXYBarChart is set to True, then this resource indicates what patterns to use in filling the bars above the given reference line. The gsnXYBarChartPatterns resource will be ignored.

The patterns will repeat if there are fewer patterns than bars.

Default: 0 (solid fill)

gsnAboveYRefLineColor
If gsnYRefLine is set, then this resource shades the curve above the reference line at the prescribed color.

Default: None

gsnAddCyclic
For geo-referenced data, a longitude cyclic point is added as a default to ensure a gap is not plotted at the Greenwich Meridian. This resource only applies to gsn_csm plotting routines that overlay data on a map.

This resource should be set to False if your data already has a cyclic point added, or if your data does not cover the whole globe to start with. This resource will be set to True unless the longitude data is 2-dimensional.

Default: dynamic

gsnAttachBorderOn
By default, the gsn_attach_plots routine does not remove the interior borders when you attach a series of plots. If this resource is set to False, then the interior borders will be removed.

Default: True

gsnAttachPlotsXAxis
By default, the gsn_attach_plots routine attaches plots by attaching the right Y axis of the current plot to the left Y axis of the next plot. If this resource is set to True, then the plots will be attached at the bottom X axis of the current plot and the top X axis of the next plot.

Default: False

gsnBelowYRefLineBarColors
If gsnYRefLine is set and gsnXYBarChart is set to True, then this resource indicates what colors to use in filling the bars below the given reference line.

The colors will repeat if there are fewer colors than bars.

Default: None

gsnBelowYRefLineBarFillScales
If gsnYRefLine is set, gsnXYBarChart is set to True, and gsnBelowYRefLineBarPatterns is set, then this resource indicates what fill scales to use for the fill patterns. Values less than 1.0 give you a more dense pattern.

Available in version 5.1.0 or later.

Default: 1.0

gsnBelowYRefLineBarPatterns
If gsnYRefLine is set and gsnXYBarChart is set to True, then this resource indicates what patterns to use in filling the bars below the given reference line. The gsnXYBarChartPatterns resource will be ignored.

The patterns will repeat if there are fewer patterns than bars.

Default: 0 (solid fill)

gsnBelowYRefLineColor
If gsnYRefLine is set, then this resource shades the curve below the reference line at the prescribed color.

Default: None

gsnBoxMargin
This resource specifies the margin (in NDC coordinates) that you want to leave around your plot, if gsnMaximize is set to True and your output is going to an X11 window or an NCGM.

Default: 0.02

gsnCenterString
For any gsn_csm plotting routine, this resource adds the given string just above the plot's upper boundary and centers it.

Default: none

gsnCenterStringFontColor
If gsnCenterString is set, this resource controls the font color of the string. This resource overrides gsnStringFontColor.

Available in version 5.1.1 or later.

Default: foreground (1)

gsnCenterStringFontHeightF
If gsnCenterString is set, this resource controls the font height of the string. This resource overrides gsnStringFontHeightF.

Default: dynamic

gsnCenterStringOrthogonalPosF
If gsnCenterString is set, this resource allows you to move this string up or down. Use small negative or positive values to nudge the string closer to or away from the plot boundary.

Default: dynamic

gsnCenterStringParallelPosF
If gsnCenterString is set, this resource allows you to move this string left or right. A value of 0.0 moves the plot to the left boundary of the plot, and a value of 1.0 moves it to the right boundary. A value of 0.5 (the default) centers it.

Default: 0.5

gsnContourLineThicknessesScale
This resource, recognized by any gsn contour drawing routine, allows you to set line thickness scale factors for all contour lines. For example, aq value of 2.0 will make the lines twice as thick. If this is set to an array that is not large enough to handle all contour lines, then the default value of 1.0 will be used for the remaining contour lines.

This resource can be used in conjunction with the resource gsnContourZeroLineThicknessF.

Default: none

gsnContourNegLineDashPattern
This resource, recognized by any gsn contour drawing routine, allows you to select a dash pattern to use for contour lines that fall below the value 0.0. Use a value between 1 and 16 to get a dash pattern.

All other contour lines will b e set to solid, unless gsnContourPosLineDashPattern is set.

Default: 0 (solid line)

gsnContourPosLineDashPattern
This resource, recognized by any gsn contour drawing routine, allows you to select a dash pattern to use for contour lines that fall above the value 0.0. Use a value between 1 and 16 to get a dash pattern.

All other contour lines will b e set to solid, unless gsnContourNegLineDashPattern is set.

Available in version 4.3.0 or later.

Default: 0 (solid line)

gsnContourZeroLineThicknessF
This resource, recognized by any gsn contour drawing routine, allows you to set a line thickness scale factor for the zero contour line. A value of 2.0 will make the line twice as thick.

If you want to change the thicknesses of the non-zero lines, you can use the related resource gsnContourLineThicknessesScale.

Default: 1.0

gsnDebugWriteFileName
If you are having problems with a gsn_xxxxx plotting script (like gsn_csm_contour) and want to report it to an NCL developer, then set this resource to a string and rerun your script. This will cause three files to be written: 1) a netCDF file containing the data being passed to your plotting function and all the plot resources (and their values) that you set in your script, 2) a new NCL script that generates the same plot as your original script, using data and plot resource values stored in the new netCDF file, and 3) a resource file. The files will be called xxxx.nc, xxxx.ncl, and xxxx.res, respectively where xxxx is the value you set this resource to.

The intention of this resource is to help users so they don't have don't have to send us their full script and data when they want to report a plotting problem to us.

Available in version 4.3.1 or later.

Default: None

gsnDraw
This resource is recognized by all gsn functions that draw graphics. If set to False, then the graphics in question will not be drawn when the gsn function is called. See also gsnFrame.

Default: True

gsnFrame
This resource is recognized by all gsn functions that have a frame advance. If set to False, then the frame will not be advanced when the gsn function is called. See also gsnDraw.

Default: True

gsnHistogramBarWidthPercent
This resource allows you to specify the width of the histogram bars as a percentage of the width of the bin that it falls in. The values must be in the range 0 to 100, and they must be smaller for comparison histograms.

Default: 66% (66.0) for single histograms, and 50% (50.) for dual histograms.

gsnHistogramBinIntervals
By default, gsn_histogram will pick the bin intervals for you, using either a set number of bins or a bin width. If you set this resource, then it will use these values for the bin class intervals. This resource was updated in version 4.2.0.a026 of NCL to allow you to mix and match intervals and discrete values. To specify a discrete value rather than a range, list the value twice. For example, to bin values between 1 and 2, 2 and 3, 3 and 4, and then count all values exactly equal to 4 and exactly equal to 5, you would set gsnHistogramBinIntervals to (/1,2,3,4,4,5,5/).

Note: no value will get counted twice. In the above example, values would be binned as follows:

  1 <= bin_1 <= 2 < bin_2 <= 3 < bin_3 < 4
  bin_4 = 4 
  bin_5 = 5
Default: N/A

gsnHistogramBinMissing
If this resource is set to True, then when gsn_histogram is called, an extra bar will be included that counts the number of missing values in the data.

Default: False

gsnHistogramBinWidth
This resource allows you to set a bin width for class intervals when you call gsn_histogram. Depending on whether gsnHistogramSelectNiceIntervals is set to True, you will either get exactly bins of this size, or approximately this size. This resource does not work with the other histogram resources.

Default: N/A

gsnHistogramClassIntervals
Same as gsnHistogramBinIntervals.

Default: N/A

gsnHistogramCompare
If set to True, then two sets of histograms will be compared when you call gsn_histogram. Setting this resource to True requires that the first dimension of your input data be 2 (where index '0' represents the first field, and '1' represents the second field).

Default: False

gsnHistogramComputePercentages
If set to True, then percentage values will be calculated and put on the right axis (or top axis for a horizontal plot) when you call gsn_histogram. The default behavior is that missing values are not discarded in the percentage calculation. Thus, if you have 1000 values with 100 values missing and 100 values in bin "A", then the percentage calculation for bin "A" will be 10% (100/1000). If you don't want missing values included in the calculation, then set gsnHistogramComputePercentagesNoMissing to True.

Default: False

gsnHistogramComputePercentagesNoMissing
If this resource is set to True, then percentage values will be added to the right (or top) axis, and missing values won't be included in the percentage calculation when you call gsn_histogram. For example, if you have 1000 values with 100 of them missing, and 100 of them in bin "A", then the percentage calculation for bin "A" will be 11.1% (100/900) if this resource is True. Otherwise, the calculation will be 10% (100/1000). Note that if this resource is set to True, and you are comparing two datasets (gsnHistogramCompare = True), then both sets of data must either have no missing values, or exactly the same number of missing values. Otherwise, it won't make sense to have a percentage calculation. This resource will be forced to False if this situation arises.

Default: False

gsnHistogramDiscreteBinValues
By default, gsn_histogram will bin your data into bin intervals when you call gsn_histogram. If you set this resource, then your data is assumed to be already "binned", and it just counts the number of values exactly equal to the discrete values.

Default: N/A

gsnHistogramDiscreteClassValues
Same as gsnHistogramDiscreteBinValues.

Default: N/A

gsnHistogramHorizontal
If this resource is set to True when you call gsn_histogram, then the histogram bars will be drawn horizontally.

Default: False

gsnHistogramMinMaxBinsOn
If you set this resource to True when you call gsn_histogram, then two extra bins will be added: one that indicates all the values less than the smallest bin, and one that indicates all the values greater than the largest bin. This resource can only be used when gsnHistogramBinIntervals or gsnHistogramClassIntervals are set.

For example, if gsnHistogramBinIntervals is set to (/1,2,3,4/), then the values will be binned as follows:

  bin_1 < 1 < bin_2 <= 2 < bin_3 <= 3 < bin_4 <= 4 < bin_5
Default: False

gsnHistogramNumberOfBins
Indicates number of bin intervals you want when you call gsn_histogram. Depending on whether gsnHistogramSelectNiceIntervals is set to True, you will either get exactly this many bins, or approximately this many bins.

Default: 10

gsnHistogramPercentSign
If gsnHistogramComputePercentages is set to True when you call gsn_histogram, then the right axis (top axis if doing a horizontal histogram) tickmark labels will contain the "%" symbol, instead of having "Percent" spelled out.

Default: False

gsnHistogramSelectNiceIntervals
Indicates whether "nice" values should be selected for the bin intervals when you call gsn_histogram.

Default: True

gsnLeftString
For any gsn_csm plotting routine, this resource adds the given string just above the plot's upper boundary and left-justifies it.

Default: data@long_name

gsnLeftStringFontColor
If gsnLeftString is set, this resource controls the font color of the string. This resource overrides gsnStringFontColor.

Available in version 5.1.1 or later.

Default: foreground (1)

gsnLeftStringFontHeightF
If gsnLeftString is set, this resource controls the font height of the string. This resource overrides gsnStringFontHeightF.

Default: dynamic

gsnLeftStringOrthogonalPosF
If gsnLeftString is set, this resource allows you to move this string up or down. Use small negative or positive values to nudge the string closer to or away from the plot boundary.

Default: dynamic

gsnLeftStringParallelPosF
If gsnLeftString is set, this resource allows you to move this string left or right. A value of 0.0 (the default) moves the plot to the left boundary of the plot, and a value of 1.0 moves it to the right boundary. A value of 0.5 centers it.

Default: 0.0

gsnMajorLatSpacing
Used to indicate the latitude spacing to use for major tickmarks and their labels in any gsn_csm routine that is generating a cylindrical equidistant map and contains a latitude axis.

Default: dynamic

gsnMajorLonSpacing
Used to indicate the longitude spacing to use for major tickmarks and their labels in any gsn_csm routine that is generating a cylindrical equidistant map and contains a longitude axis.

Default: dynamic

gsnMaskLambertConformal
When set to True, turns on masking of a lambert conformal projection. Extent of mask is determined by the four resources mpMinLonF , mpMaxLonF, mpMinLatF, mpMaxLatF. This resource is only recognized by gsn_csm routines in which data is being overlaid on a lambert conformal projection (i.e. by calling one of the gsn_csm_xxxx_map routines and setting mpProjection to "LambertConformal").

Default: False

gsnMaskLambertConformalOutlineOn
If gsnMaskLambertConformal is set to True, then this resource indicates whether a border should be drawn around the masked plot.

Default: True

gsnMaximize
If set to True, then any plot drawn by a gsn function will be maximized in the workstation on which it is being drawn. For an X11 window or an NCGM file, this means the plot will be expanded to fill the biggest possible space within a square, with a small margin around all edges. You can get rid of this margin by setting gsnBoxMargin to 0.0. The aspect ratio will be preserved. For a PostScript or PDF file, the plot will be expanded to fill the biggest possible space on an 8 1/2" x 11" sheet of paper.

For a PS or PDF file, you can change the default paper size, margins, or orientation with the resources gsnPaperOrientation, gsnPaperMargin, gsnPaperWidth, and gsnPaperHeight.

Default: False

gsnMinorLatSpacing
Used to indicate the latitude spacing to use for minor tickmarks and their labels in any gsn_csm routine that is generating a cylindrical equidistant map and contains a latitude axis.

Default: dynamic

gsnMinorLonSpacing
Used to indicate the longitude spacing to use for minor tickmarks and their labels in any gsn_csm routine that is generating a cylindrical equidistant map and contains a longitude axis.

Default: dynamic

gsnPanelBottom
By default, the gsn_panel routine places all of the plots in the largest area possible in the viewport. This resource, which must be a value greater than or equal to 0.0 and less than 1.0, allows you to set a limit for where the bottommost plot(s) can be drawn. This allows you to reserve white space at the bottom for something like a labelbar. See also the other gsnPanel* resources.

Default: 0.0

gsnPanelCenter
By default, the gsn_panel routine centers all of the plots that it is paneling. If there are not enough plots to fill up the requested number of rows and columns, then it will center the remaining plots in the last row. If you set this resource to False, then the remaining plots will be left-justified.

Default: True

gsnPanelDebug
If you set this resource to True for the gsn_panel routine, then you will get some verbose information printed to the screen about what viewport coordinates are being used for the panelled plots. This information is useful if you want to panel the plots yourself, and you want some viewport values to start with.

Available in version 4.3.0 or later.

Default: False

gsnPanelFigureStrings
If you set this gsn_panel resource to a list of strings, these strings will be used as figure strings in the lower right hand corner of each paneled plot. You can set the resource amJust to change the location of the figure strings. ("TopRight", "TopLeft", or "BottomLeft" are the other choices.)

Default: none

gsnPanelFigureStringsBackgroundFillColor
If you set gsnPanelFigureStrings in a call to gsn_panel, then this resource allows you to control the background fill color of the box that surrounds each figure string. Default: 0 (background color)

gsnPanelFigureStringsFontHeightF
If you set gsnPanelFigureStrings in a call to gsn_panel, then this resource allows you to control the font height of the figure strings. If you don't set this resource, then the font height is calculated internally based on a number of factors.

Default: dynamic

gsnPanelFigureStringsPerimOn
If you set gsnPanelFigureStrings in a call to gsn_panel, then this resource turns on the drawing of a box perimeter around each figure string. Default: False

gsnPanelLabelBar
If you set this gsn_panel resource to True, then a single labelbar will be generated for all the plots on the page. The default is to draw the labelbar on the bottom, unless lbOrientation is set to "Vertical". Note: using this resource assumes that all of your plots have the same labelbar!

Default: False

gsnPanelLeft
By default, the gsn_panel routine tries to place all of the plots in the largest area possible in the viewport. This resource, which must be a value greater than or equal to 0.0 and less than 1.0, allows you to set a limit for where the leftmost plot(s) can be drawn. This allows you to reserve white space at the left for something like a labelbar. See also the other gsnPanel* resources.

Default: 0.0

gsnPanelRight
By default, the gsn_panel routine tries to place all of the plots in the largest area possible in the viewport. This resource, which must be a value greater than 0.0 and less than or equal to 1.0, allows you to set a limit for where the rightmost plot(s) can be drawn. This allows you to reserve white space at the right for something like a labelbar. See also the other gsnPanel* resources.

Default: 1.0

gsnPanelRowSpec
By default, the gsn_panel routine panels its plots according to the dims variable which indicates rows x columns. If you set gsnPanelRowSpec to True, however, then you can use the dims variable to indicate the number of plots you want per row. For example, setting gsnPanelRowSpec to True and dims to (/2,3,1/) will put 2 plots in the first row, 3 plots in the second row, and 1 plot in the third row.

Default: False

gsnPanelScalePlotIndex
By default, the gsn_panel routine uses the first valid plot in its list to determine the scale factor for resizing all of the plots to be paneled. If your plots are slightly different sizes, you can use this resource to indicate the index of which plot should be used to determine the scale factor. This is especially useful if your first valid plot is smaller than one or more of the others in the list.

Available in version 5.1.0 or later.

Default: the first valid plot in the list

gsnPanelTop
By default, the gsn_panel routine tries to place all of the plots in the largest area possible in the viewport. This resource, which must be a value greater than 0.0 and less than or equal to 1.0, allows you to set a limit for where the topmost plot(s) can be drawn. This allows you to reserve white space at the top for something like a title. See also the other gsnPanel* resources.

Default: 1.0

gsnPanelXF
The gsn_panel routine calculates the NDC X and Y positions of the upper left corner of every plot on the panel. If you want to tweak any of the X positions, then you can set the gsnPanelXF resource to an array of the same length as the number of plots you want to panel, and give it the new NDC coordinates you want for the X positioins.

If you want to keep any of the calculated values that gsn_panel uses, then set the corresponding gsnPanelXF value to a negative value. You can set gsnPanelDebug to True to find out what values are being used for the X and Y positions.

Available in version 4.3.0 or later.

Default: None

gsnPanelXWhiteSpacePercent
Takes a percentage value from 0 to 100 to indicate what percentage of the total plot width should be used for white space at the left and right of each plot in a call to gsn_panel. See also the other gsnPanel* resources.

Default: 1.0

gsnPanelYF
The gsn_panel routine calculates the NDC X and Y positions of the upper left corner of every plot on the panel. If you want to tweak any of the Y positions, then you can set the gsnPanelYF resource to an array of the same length as the number of plots you want to panel, and give it the new NDC coordinates you want for the Y positioins.

If you want to keep any of the calculated values that gsn_panel uses, then set the corresponding gsnPanelYF value to a negative value. You can set gsnPanelDebug to True to find out what values are being used for the X and Y positions.

Available in version 4.3.0 or later.

Default: None

gsnPanelYWhiteSpacePercent
Takes a percentage value from 0 to 100 to indicate what percentage of the total plot height should be used for white space at the top and bottom of each plot in a call to gsn_panel. See also the other gsnPanel* resources.

Default: 1.0

gsnPaperHeight
This resource specifies the height (in inches) of the paper that you plan to print the PostScript or PDF file on. This resource only comes into effect if gsnMaximize is set to True. See also gsnPaperMargin, gsnPaperWidth, and gsnPaperOrientation.

Default: 11.0

gsnPaperMargin
This resource specifies the margin (in inches) that you want to leave around the plotting area if gsnMaximize is set to True and your output is going to a PS, EPS, EPSI, or PDF file. See also gsnPaperHeight, gsnPaperWidth, and gsnPaperOrientation.

If your output is X11 or NCGM, then you can use gsnBoxMargin to control the margin size.

Default: 0.5

gsnPaperOrientation
This resource specifies the orientation of the plot on paper that you plan to print the PostScript or PDF file on. This resource only comes into effect if gsnMaximize is set to True. Valid values are "portrait", "landscape", and "auto". If set to "auto", then NCL will figure out the best possible orientation to use for the type of plot being drawn. You cannot change the orientation after you already begin drawing to a frame.

If you are not using gsnMaximize, then to control the orientation you can check out the wkOrientation resource.

Default: "auto"

gsnPaperWidth
This resource specifies the width (in inches) of the paper that you plan to print the PostScript or PDF file on. This resource only comes into effect if gsnMaximize is set to True. See also gsnPaperMargin, gsnPaperHeight, and gsnPaperOrientation.

Default: 8.5

gsnPolar
Controls what polar hemisphere is shown on polar sterographic plots generated by gsn_csm_xxxx_polar routines. Set to either "SH" or "NH"

Default: "NH"

gsnPolarLabelDistance
If one of the gsn_csm_xxxx_polar routines is called, this resource applies a scale to apply to the distance (in NDC coordinates) of the polar longitude labels from the map perimeter. A value of 1.0 will cause the labels to be right up against the perimeter.

Default: 1.04, which represents a 4% increase in the distance.

gsnPolarLabelFont
If one of the gsn_csm_xxxx_polar routines is called, this resource controls the font of the polar labels.

Default: dynamic

gsnPolarLabelFontHeightF
If one of the gsn_csm_xxxx_polar routines is called, this resource controls the font height of the polar lat/lon labels. Recall that these labels are special labels added by the template, and are not true tick mark labels.

Default: dynamic

gsnPolarLabelSpacing
If one of the gsn_csm_xxxx_polar routines is called, this resource sets the longitude spacing for the longitude labels.

Default: 30 or whatever mpGridLonSpacingF is set to.

gsnPolarTime
If this resource is set to True, then instead of getting longitude labels on polar sterographic plots generated by gsn_csm_xxxx_polar, you will get local time.

Default: False

gsnPolarUT
If gsnPolarTime is set to True, then this resource can be set to some value such that the local time axis is shifted in such a way that 0 LT is always at the bottom of the plot. For example, if gsnPolarUT is set to 12 UT, then the whole field is shifted by 180 degrees

Default: 0

gsnRightString
For any gsn_csm plotting routine, this resource adds the given string just above the plot's upper boundary and right-justifies it.

Default: data@units

gsnRightStringFontColor
If gsnRightString is set, this resource controls the font color of the string. This resource overrides gsnStringFontColor.

Available in version 5.1.1 or later.

Default: foreground (1)

gsnRightStringFontHeightF
If gsnRightString is set, this resource controls the font height of the string. This resource overrides gsnStringFontHeightF.

Default: dynamic

gsnRightStringOrthogonalPosF
If gsnRightString is set, this resource allows you to move this string up or down. Use small negative or positive values to nudge the string closer to or away from the plot boundary.

Default: dynamic

gsnRightStringParallelPosF
If gsnRightString is set, this resource allows you to move this string left or right. A value of 0.0 moves the plot to the left boundary of the plot, and a value of 1.0 (the default) moves it to the right boundary. A value of 0.5 centers it.

Default: 1.0

gsnScalarContour
If set to True when calling any gsn_csm vector/contour routine, the third field will be drawn as a separate contour field. Otherwise, the vectors will be colored according to the third field.

Default: False

gsnScale
If set to True, then the X and Y axis labels will be scaled to be the same size and the tick marks will be scaled to be the same length in any gsn function that creates tickmarks. This is useful when the X and Y axis are of different lengths, but you still want the labels and tick marks to be the same for each axis. See also gsnShape.

Default: False

gsnShape
If set to True in any non-map gsn function that has an X and Y axis, then whichever axis has the smaller range will be resized so that the ratio of the axes ranges is the same as the ratio of the axes lengths. For example, if the Y axis ranges from 1 to 50, and the X axis ranges from 1 to 100, then setting gsnShape to True will cause the Y axis to be resized to half the length of the X axis. If this resource is set to True, then gsnScale is also automatically set to True.

Default: False

gsnSpreadColorEnd
This resource only takes effect if gsnSpreadColors is set to True. It indicates the index of the last color in the color table that should be used for a color contour or vector plot. If this value is negative, then the value indicates the position from the last color in the color table. For example, -1 indicates the last color, -2 indicates the second to the last color, and so on. (The colors go from 0 to ncol-1, where ncol is the number of colors.) See also gsnSpreadColorStart.

If gsnSpreadColorStart and gsnSpreadColorEnd are selected such that the start color is after the end color in the color table, then the colors will be reversed.

Default: -1

gsnSpreadColorStart
This resource only takes effect if gsnSpreadColors is set to True. It indicates the index of the first color in the color table that should be used for a color contour or vector plot. If this value is negative, then the value indicates the position from the last color in the color table. For example, -1 indicates the last color, -2 indicates the second to the last color, and so on. (The colors go from 0 to ncol-1, where ncol is the number of colors.) See also gsnSpreadColorEnd.

If gsnSpreadColorStart and gsnSpreadColorEnd are selected such that the start color is after the end color in the color table, then the colors will be reversed.

Default: 2

gsnSpreadColors
If set to True when calling any gsn function that produces vectors and/or contours, then the colors used will be spread across the whole color map. See also gsnSpreadColorStart and gsnSpreadColorEnd.

Default: False

gsnStringFont
If any of gsnLeftString, gsnCenterString, or gsnRightString are set, this resource controls the font of these strings.

Default: dynamic

gsnStringFontColor
If any of gsnLeftString, gsnCenterString, or gsnRightString are set, this resource controls the font color of these strings.

You can use gsnLeftStringFontColor, gsnCenterStringFontColor, or gsnRightStringFontColor to control the individual colors of each string.

Available in version 5.1.1 or later.

Default: foreground (1)

gsnStringFontHeightF
If any of gsnLeftString, gsnCenterString, or gsnRightString are set, then this resource controls the font height of these strings. This resource can be overridden by setting the individual resources gsnLeftStringFontHeightF, gsnRightStringFontHeightF, or gsnCenterStringFontHeightF.

Default: dynamic

gsnTickMarksOn
If set to False, then no tickmarks or tickmark labels will be drawn in the gsn functions where tickmarks are drawn automatically.

Default: True

gsnXAxisIrregular2Linear
If set to True, then the X axis will be linearized for any contour, vector, or streamline plot created by a gsn function. This resource should only be set to True if coordinate arrays are being used to define your X axis values, and they are not linear.

Default: False

gsnXAxisIrregular2Log
If set to True, then the X axis will be changed to log scaling for any contour, vector, or streamline plot created by a gsn function. This resource should only be set to True if coordinate arrays are being used to define your X axis values, and they are not linear. Otherwise, you can just use the trXLog resource to indicate you want log scaling.

Default: False

gsnXRefLine
Draws a vertical line at the given X value in the gsn_csm_xy function.

Default: None

gsnXRefLineColor
If gsnXRefLine is set, this resource indicates the color of the line.

Default: 1 (foreground color)

gsnXRefLineDashPattern
If gsnXRefLine is set, this resource indicates the dash pattern of the line.

Default: 0 (solid line)

gsnXRefLineThicknessF
If gsnXRefLine is set, this resource indicates a scale factor for the thickness of the line. A value of 2.0 doubles the thickness.

Default: 1.0

gsnXYAboveFillColors
This resource can be used to indicate a fill color to use between two curves in an XY plot that intersect. It only applies to the gsn_csm_xy function.

It should be set to an array of colors (either color index values or named colors) that has one fewer values than you have curves. The first value will be used to fill all areas between the first and second curves where the first curve is greater than the second curve, the second value will be used to fill all areas between the second and third curves where the second curve is greater than the third curve, and so on. If you set this resource to less than ncurves-1 colors, then the colors will be repeated as necessary.

To indicate that you don't want any fill, use either "transparent" or the value -1.

To fill areas where one curve is less than another curve, use gsnXYBelowFillColors. If you want to fill between two curves that do not intersect, see gsnXYFillColors.

Available in version 5.1.0 or later.

Default: None

gsnXYBarChart
If set to True, turns a gsn_csm_xy line plot into a bar chart, where each bar is an individual Y value.

Default: False

gsnXYBarChartBarWidth
If gsnXYBarChart is set, then this resource allows the user to control the width of the bars. By default, the width of the bars is the distance between each X value (dx). To get a bar width that is half the default, then, use a value of dx/2. If you have multiple curves, then you can set an array of bar widths, one for each curve.

Default: dynamic

gsnXYBarChartColors
If gsnXYBarChart is set, then this resource controls the colors of individual bars for charts w/o a reference line.

Default: None

gsnXYBarChartColors2
If gsnXYBarChart is set, then this resource controls the colors of individual bars and assigns the colors consecutively, regardless of whether the bar is up or down.

Default: None

gsnXYBarChartOutlineOnly
If gsnXYBarChart is set, then setting this resource to True indicates you want an outline of the bars, and not each individual bar outlined.

Default: False

gsnXYBarChartPatterns
If gsnXYBarChart is set, then this resource controls the patterns of individual bars for charts w/o a reference line.

Default: None

gsnXYBarChartPatterns2
If gsnXYBarChart is set, then this resource controls the patterns of individual bars and assigns the patterns consecutively regardless of whether the bar is up or down.

Default: None

gsnXYBelowFillColors
This resource can be used to indicate a fill color to use between two curves in an XY plot that intersect. It only applies to the gsn_csm_xy function.

It should be set to an array of colors (either color index values or named colors) that has one fewer values than you have curves. The first value will be used to fill all areas between the first and second curves where the first curve is less than the second curve, the second value will be used to fill all areas between the second and third curves where the second curve is less than the third curve, and so on. If you set this resource to less than ncurves-1 colors, then the colors will be repeated as necessary.

To indicate that you don't want any fill, use either "transparent" or the value -1.

To fill areas where one curve is greater than another curve, use gsnXYAboveFillColors.

If you want to fill between two curves that do not intersect, see gsnXYFillColors.

Available in version 5.1.0 or later.

Default: None

gsnXYFillColors
This resource can be used to indicate a fill color to use between two adjacent curves in an XY plot. It only applies to the gsn_csm_xy function.

It should be set to an array of colors (either color index values or named colors) that has one fewer values than you have curves. The first value will be used to fill the area between the first and second curves, the second value will be used to fill the area between the second and third curves, and so on. If you set this resource to less than ncurves-1 colors, then the colors will be repeated as necessary.

To indicate that you don't want any fill, use either "transparent" or the value -1.

If you want to fill between two curves that intersect, see gsnXYAboveFillColors and gsnXYBelowFillColors.

Available in version 5.1.0 or later.

Default: None

gsnYAxisIrregular2Linear
If set to True, then the Y axis will be linearized for any contour, vector, or streamline plot created by a gsn function. This resource should only be set to True if coordinate arrays are being used to define your Y axis values, and they are not linear.

Default: False

gsnYAxisIrregular2Log
If set to True, then the Y axis will be changed to log scaling for any contour, vector, or streamline plot created by a gsn function. This resource should only be set to True if coordinate arrays are being used to define your Y axis values, and they are not linear. Otherwise, you can just use the trYLog resource to indicate you want log scaling.

Default: False

gsnYRefLine
Draws a horizontal line at the given Y value in the gsn_csm_xy function.

Default: None

gsnYRefLineColor
If gsnYRefLine is set, this resource indicates the color of the line.

Default: 1 (foreground color)

gsnYRefLineColors
If gsnYRefLine is set to multiple reference lines, this resource indicates the color of each line.

Default: 1 (foreground color)

gsnYRefLineDashPattern
If gsnYRefLine is set, this resource indicates the dash pattern of the line.

Default: 0 (solid line)

gsnYRefLineDashPatterns
If gsnYRefLine is set to multiple reference lines, this resource indicates the dash pattern of each line.

Default: 0 (solid line)

gsnYRefLineThicknessF
If gsnYRefLine is set, this resource indicates a scale factor for the thickness of the line. A value of 2.0 doubles the thickness.

Default: 1.0

gsnYRefLineThicknesses
If gsnYRefLine is set to multiple reference lines, this resource indicates a scale factor for the thickness of each line. A value of 2.0 doubles the thickness.

Default: 1.0

gsnZonalMean
If set to True, then a zonal mean plot is drawn on the right side of a contour/map plot generated by one of the gsn_csm_contour_map_ce or gsn_csm_contour_map routines (it will not work with polar plots). For versions version 5.0.0 and earlier, this resource only works with cylindrical equidstant projections.

Default: False

gsnZonalMeanXMaxF
If gsnZonalMean is set to True, then this resource allows the user to set the maximum value of the X axis of the attached zonal mean plot.

Default: dynamic

gsnZonalMeanXMinF
If gsnZonalMean is set to True, then this resource allows the user to set the minimum value of the X axis of the attached zonal mean plot.

Default: dynamic

gsnZonalMeanYRefLine
If gsnZonalMean is set to True, then this resource draws a horizontal line at the given value.

Default: dynamic

lbAutoManage
The lbAutoManage switch determines how LabelBar operates; when True, LabelBar manages the sizing of the title and the label text. The title is always sized to fit within the currently set boundaries of the LabelBar given any text angle, aspect ratio, etc. The labels also are sized to fit within the current boundary. Additionally, the sizing of the labels is managed so that under any rotation, the labels will not overlap. Also the label justification is managed such that, given any rotation, the end of the label string aligns with the correct LabelBar box. When off, you may directly size the labels and text as you please. However, under rotation, the justification of the labels does not change, and, although the text is moved out of the way of the LabelBar boxes, it will not necessarily line up correctly. In practice, when working interactively, a good method is to create a basic LabelBar layout close to the desired size with the lbAutoManage mode on, then switch it off to tune the text size precisely to your taste.

Currently, when the text of the labels is rotated, the size of the LabelBar may increase slightly along the axis of orientation.

Default: True

lbBottomMarginF
Defines an offset, specified as a fraction of whichever LabelBar axis is smallest, between the bottommost LabelBar element and the bottom edge of the LabelBar perimeter. It is always subtracted from the current LabelBar extent. Negative values are allowed.

Default: 0.05

lbBoxCount
Number of boxes in the labelbar. All the LabelBar array resources, when specified, are required to have a number of elements related to the number of boxes. The arrays specified by lbFillPatterns, lbFillColors, and lbFillScales must have at least as many elements as the box count. The minimum size of the lbLabelStrings array may be the box count, one element less than box count, or one element more than box count, depending on the setting of the lbLabelAlignment resource. The lbBoxFractions array, when set, always requires one element more than box count.

This resource may be intercepted or disabled by:

Default: 16

lbBoxFractions
An array that specifies sizing of each box in the LabelBar when the box sizing mode is set to ExplicitSizing. There must be one more element in this array than the number of items specified by the resource lbBoxCount. Each element of the array must eventually contain a number in the range 0.0 to 1.0, with succeeding elements increasing monotonically. The first element must be 0.0 and the last 1.0. If invalid values are discovered when the array is checked, it is not considered an error. Instead, the code simply supplies linearly interpolated values for all adjacent elements containing out- of-bounds elements. The interpolation is performed relative to the two closest bounding elements containing valid values, or 0.0 or 1.0 respectively if the first or last element contains invalid data. The values thus obtained represent the beginnings and endings of the LabelBar boxes.

Default: NULL

lbBoxLineColor
The hlu index of the color used to draw lines around the boxes in the LabelBar

Default: Foreground

lbBoxLineDashPattern
The hlu index of the dash pattern used for the lines around the boxes of the LabelBar.

Default: 0

lbBoxLineDashSegLenF
The length in NDC units of the dash pattern used for the lines around the boxes of the LabelBar.

Default: 0.15

lbBoxLineThicknessF
Determines the thickness of the lines used around the boxes.

Default: 1.0

lbBoxLinesOn
A boolean flag determining whether lines should appear around the boxes in the LabelBar.

Default: True

lbBoxMajorExtentF
Determines the amount of the area allotted to each box of the LabelBar in the direction of lbOrientation is actually occupied by the box. When set to 1.0, the boxes touch each other. If set to 0.0, the boxes disappear entirely. Intermediate values create separated boxes.

Default: 1.0

lbBoxMinorExtentF
When the lbAutoManage feature is turned on, this resource determines the fraction of the distance (less the margins) across the axis perpendicular to the orientation (the minor axis) occupied by the boxes of the LabelBar. If set to 1.0, the boxes entirely crowd out their associated labels. If lbTitlePosition is set to a side parallel with the major axis, the lbBoxMinorExtentF cannot exceed 1.0 minus the amount of space used for the title, as set by the resource lbTitleExtentF.

When lbAutoManage is False and lbTitlePosition is set to a side perpendicular to the major axis, the axis extent from which the box minor extent is calculated includes any extra extent added due to an increased value given to lbTitleFontHeightF. However, it does not include extra extent due to increased value given to the lbLabelFontHeightF resource.

Default: 0.33

lbBoxSizing
When set to UniformSizing, all the boxes in the LabelBar have the same size. When set to ExplicitSizing, the values in the array, lbBoxFractions, determine the relative size of each box along the major axis (the axis of orientation).

Default: UniformSizing

lbFillBackground
The color index used for the background of all the boxes in the LabelBar. By default it is set to Transparent (-1), specifying that the background of the boxes is transparent to whatever it overlays. Note that the box background is only observable when the fill pattern is not solid. This resource also applies to the background of the fill pattern set with the lbPerimFill resource.

Default: Transparent

lbFillColor
When lbMonoFillColor is set True, this resource of type NhlTColorIndex sets a uniform fill color for all the LabelBar boxes.

This resource may be intercepted or disabled by:

Default: Foreground

lbFillColors
This array resource of type NhlTColorIndexGenArray individually sets the color of each box in the LabelBar when lbMonoFillColor is set False. The LabelBar ensures that this array contains at least as many elements as the current value of lbBoxCount. You may cause a box to appear empty by setting the appropriate array element to the value Transparent.

This resource may be intercepted or disabled by:

Default: By default, each box is assigned to the next succeeding color in the hlu color table, up to the number of defined colors. Additional boxes are assigned the current value of wkForegroundColor.

lbFillDotSizeF
This resource sets a uniform dot size, in NDC units, for the stipple dot fill pattern. The default value of 0.0 causes the dots to be drawn as before, using a workstation dependent minimum dot size. A caveat is that individual dots are not clipped around the edges of fill areas; this becomes more noticeable as the dot size increases.

Default: 0.0

lbFillLineThicknessF
The line thickness used for the lines that comprise the fill pattern within the label boxes.

Default: 1.0

lbFillPattern
When lbMonoFillPattern is set True, this resource of type NhlTFillIndex sets a uniform fill pattern for all the LabelBar boxes.

This resource may be intercepted or disabled by:

Default: SolidFill

lbFillPatterns
This array resource of type NhlTFillIndexGenArray individually sets the fill pattern of each box in the LabelBar when lbMonoFillPattern is set False. The LabelBar ensures that this array contains at least as many elements as the current value of lbBoxCount. You can cause any box to appear empty by setting the appropriate array element to the value HollowFill (-1). Note that you can use the scalar resource lbFillBackground to set a uniform solid-fill background color the fill patterns.

This resource may be intercepted or disabled by:

Default: All array elements above those specified by the user are assigned values according to the formula: element_index MOD wkFillTableLength + 1.

lbFillScaleF
When lbMonoFillScale is set True, lbFillScaleF sets a uniform fill scale that applies to all patterns in the LabelBar boxes.

This resource may be intercepted or disabled by:

Default: 1.0

lbFillScales
When lbMonoFillScale is False, each element of this array resource contains an individual scale value that is applied to the pattern assigned to the corresponding box in the LabelBar. When the scale value is 1.0, all lines in the currently defined patterns are nominally spaced at about 0.01 NDC units. The scale value is applied as a factor to this spacing.

This resource may be intercepted or disabled by:

Default: 1.0 for all elements

lbJustification
When the labelbar changes size, the justification determines a fixed point about which the size change occurs. Any of the corners, the center of any edge, or the current center of the LabelBar may be set to the fixed justification point.

This resource may be intercepted or disabled by:

Default: BottomLeft

lbLabelAlignment
How the labels align with respect to the label boxes. If set to BoxCenters, the labels align with the centers of each box, and the number of labels is equal to the number of boxes. If set to InteriorEdges, the labels align with the internal separators between the boxes, and there is one fewer label than the number of boxes. If set to ExternalEdges, the labels align with the external edges as well as the interior separators between the boxes, and there is one more label than boxes.

This resource may be intercepted or disabled by:

Default: BoxCenters

lbLabelAngleF
The angle of the text of the labels. When the auto-manage resource is turned on, both the size and justification mode of the label text may change in response to changes of the label angle.

Default: 0.0

lbLabelAutoStride
When this boolean resource is set True, LabelBar labels are checked for overlap before being drawn. If overlap would otherwise occur, a stride is set through the labels such that overlap will be avoided. The stride proceeds in both directions from a pivot label, chosen based on how "round" it is relative to the other labels. If the labels seem to be equally "round" or if the labels are non-numeric, then the shortest label is chosen as the pivot.

If lbLabelAlignment is set to ExternalEdges, the behavior is a bit different. In this case, the stride is set as described above, but the labels at each end are guaranteed to appear. This may cause labels that would otherwise be part of the stride sequence to be eliminated. This behavior is useful when the end labels are used to show the extreme values of a dataset.

The stride calculated as a result of setting lbLabelAutoStride is independent of the stride specified by the lbLabelStride resource and is applied subsequently to it. Also note that lbAutoManage must be set False in order for lbLabelAutoStride to have an effect. When lbAutoManage is True, the label font height is reduced to avoid overlap and therefore a stride greater than unity is never required.

Default: False

lbLabelBarOn
A boolean flag that determines whether the LabelBar should appear. Primarily useful as a forwarded resource when the LabelBar is a child of a higher level object.

This resource may be intercepted or disabled by:

Default: True

lbLabelConstantSpacingF
Normally when lbLabelFontQuality is set to High, theLabelBar writes line label text with proportional spacing. Setting the lbLabelConstantSpacingF to a value greater than 0.0 overrides this behavior and instead begins each character a distance of lbLabelConstantSpacingF times the nominal character size from the beginning of the previous character. This implies that values between 0.0 and 1.0 will cause the characters to overlap each other, while a value of 1.0 implies no space between two nominally sized characters. This parameter is ignored when lbLabelFontQuality is not Low or Medium. Values less than 0.0 result in an error and are replaced with the default value.

Default: 0.0

lbLabelDirection
This resource of type NhlTTextDirection specifies the direction of the label text.

Default: Across

lbLabelFont
This resource of type NhlTFont specifies the font used to render the LabelBar labels.

Default: "pwritx"

lbLabelFontAspectF
Determines the shape of the label font text. Values greater than 1.0 make the text tall and skinny. Values less than one make the text short and wide.

Default: 1.0

lbLabelFontColor
The hlu color index used for drawing the label text.

Default: Foreground

lbLabelFontHeightF
The height in NDC coordinates of the text used to draw the labels. When lbAutoManage is set True, the user cannot directly set the label font height. Rather, it is set in response to other factors, such as the current size and shape of the LabelBar, the current setting of lbBoxMinorExtentF, the current text angle of the labels, and how much space there is between the labels. Set lbAutoManage False if you wish to control the label font height directly.

Default: 0.02

lbLabelFontQuality
Determines the text quality used to draw the label text.

Default: High

lbLabelFontThicknessF
Sets the thickness of the line used to draw the Label text. The value acts as a multiplier of a (device-dependent) unit thickness. This resource is ignored when the lbLabelFont specifies a filled font (font indexes 21-22, 25-26, 29-30, and 33-37).

Default: 1.0

lbLabelFuncCode
Determines the function code character used when parsing the label string.

This resource may be intercepted or disabled by:

Default: :

lbLabelJust
The justification of the label text. When the auto-manage feature is on, the justification may be changed internally in response to changes in the label angle. Therefore in order to control the label justification explicitly, you must first turn off the auto-manage feature.

Default: CenterCenter

lbLabelOffsetF
Defines an offset, specified as a fraction of the length of the minor labelbar axis (perpendicular to the axis of orientation), between the LabelBar boxes and the labels.

Default: 0.1

lbLabelPosition
This resource of type NhlTPosition determines the position of the labels with respect to the LabelBar boxes. If the orientation of the LabelBar is Horizontal, valid values are Top, Center, and Bottom. If the orientation is Vertical, valid values are Left, Center, and Right. If a value inappropriate for the orientation is assigned, the value is silently converted as follows: Bottom becomes Left, Top becomes Right, and vice versa. When set to Center the labels are centered on, and when the auto-manage feature is on, sized to fit within, each respective label box.

Default: Right

lbLabelStride
Determines which labels actually are rendered the LabelBar is drawn. For example, if the stride is set to 2, only every other label will be drawn, starting with the first label.

Default: 1

lbLabelStrings
An array containing the strings comprising each label in the LabelBar.

This resource may be intercepted or disabled by:

Default: Label_<label element number>

lbLabelsOn
A boolean flag determining whether labels should appear in the LabelBar.

Default: True

lbLeftMarginF
Defines an offset, specified as a fraction of whichever LabelBar axis is smallest, between the leftmost LabelBar element and the left edge of the LabelBar perimeter. It is always subtracted from the current LabelBar extent. Negative values are allowed.

Default: 0.05

lbMaxLabelLenF
This read-only resource returns the maximum length in NDC of the strings used as LabelBar labels.

Default: <dynamic>

lbMinLabelSpacingF
This read-only resource returns the minimum distance in NDC from the start of one label string to the start of the next label string.

Default: <dynamic>

lbMonoFillColor
When set True, all LabelBar boxes are set to a single color, as specified by the value of the scalar resource lbFillColor. When False, the elements of the array resource lbFillColors control the color of each box individually.

This resource may be intercepted or disabled by:

Default: False

lbMonoFillPattern
When set True, all the boxes in the labelbar are set to a single pattern, as specified by the value of the scalar resource lbFillPattern.

This resource may be intercepted or disabled by:

Default: False

lbMonoFillScale
When set True, the patterns applied to each box in the LabelBar are scaled by a single factor, as specified by the value the scalar resource lbFillScaleF.

This resource may be intercepted or disabled by:

Default: True

lbOrientation
This resource of type NhlTOrientation specifies whether the labelbar boxes are arranged horizontally in a row or vertically in a column. The major axis of the LabelBar instance is parallel to the orientation and the minor axis is perpendicular to the orientation.

This resource may be intercepted or disabled by:

Default: Vertical

lbPerimColor
The hlu index of the color used for the line around the perimeter of LabelBar.

Default: Foreground

lbPerimDashPattern
Specifies the hlu index of the dash pattern used to draw the perimeter of the LabelBar.

Default: 0, specifying a solid line

lbPerimDashSegLenF
The length in NDC units of the dash pattern used to draw the perimeter of the LabelBar.

Default: 0.15

lbPerimFill
The hlu index of the pattern used to fill the background of the LabelBar area. Only has an effect when the lbPerimFillColor has set to a value greater than Transparent (-1).

Default: HollowFill

lbPerimFillColor
The hlu index of the color used to fill the background of the Legend area. Only has an effect when the lbPerimFill has a value greater than HollowFill (-1).

Default: Background

lbPerimOn
A boolean flag determining whether a line is drawn around the perimeter of the LabelBar.

Default: True

lbPerimThicknessF
Specifies the thickness of the line used to draw the perimeter of the LabelBar.

Default: 1.0

lbRasterFillOn
If set True, this resource causes the LabelBar to use raster mode fill rather than normal polygon fill to render the box colors. In this case, only solid fill is possible; the fill pattern resources are ignored. If any element of lbFillColors is set to Transparent or lbBoxSizing is set to ExplicitSizing, raster mode fill is not possible: LabelBar issues a warning and defaults to normal polygon fill.

Normally, assuming the boxes are solid-filled, the appearance of the LabelBar boxes will be identical whether or not this resource is set. It only makes a difference when the output must go to certain printers that render colors slightly differently when raster fill is in effect. ContourPlot forces lbRasterFillOn to True when it manages a LabelBar and raster fill is in effect.

Default: False

lbRightMarginF
Defines an offset, specified as a fraction of whichever LabelBar axis is smallest, between the rightmost LabelBar element and the right edge of the LabelBar perimeter. It is always subtracted from the current LabelBar extent. Negative values are allowed.

Default: 0.05

lbTitleAngleF
The angle of the title text. When the auto-manage feature is on, the title size changes as the text rotates.

Default: 0.0

lbTitleConstantSpacingF
Determines a constant amount of extra space that is placed between each character of the title text. Values less than 0.0 result in an error and are replaced with the default value.

Default: 0.0

lbTitleDirection
This resource of type NhlTTextDirection specifies the direction of the title text. When the title position, as set by the resource lbTitlePosition, is Top or Bottom the direction is set by default to Across. When title position is Left or Right the text is set by default to Down.

Default: Across

lbTitleExtentF
The LabelBar title occupies a rectangular portion of the LabelBar viewport bounded on three sides by edges of the viewport and on the fourth by a line determined by the value of this resource. lbTitleExtentF specifies a fraction of the length (minus the margins) of the LabelBar axis perpendicular to lbTitlePosition. At this point along the length of the axis the fourth side of the title extent rectangle is constructed parallel to the side specified by lbTitlePosition. The sum of the values given to lbTitleExtentF and lbTitleOffsetF cannot exceed 0.5 (half the length of the axis). If the sum does exceed 0.5, a warning is issued and both values are reset to their default values.

If lbAutoManage is set False, and lbTitleFontHeightF is set such that the title extent rectangle cannot accommodate the full extent of the title text, the viewport of the LabelBar instance is expanded to fit the title text extent. However, the LabelBar treats this additional extent as 'extra'. The title extent rectangle does not change its size as long as the LabelBar view width or height is not explicitly modified. This means that as you set lbTitleFontHeightF to smaller values, the LabelBar viewport will shrink until its size matches the size it would have had if the text extent fit within the originally set title extent.

Default: 0.15

lbTitleFont
This resource of type NhlTFont specifies the font used to render the LabelBar title.

Default: "pwritx"

lbTitleFontAspectF
Determines the shape of the title font text. Values greater than 1.0 make the text tall and skinny. Values less than one make the text short and wide.

Default: 1.0

lbTitleFontColor
The hlu index of the color used for the title text.

Default: Foreground

lbTitleFontHeightF
The font height in NDC units used for the title text. If lbAutoManage is set True, the LabelBar sets this resource automatically based on the space available and the value of other title font attributes including lbTitleAngleF, lbTitleConstantSpacingF and lbTitleFontAspectF. The available space is determined from the size of the LabelBar viewport and the setting of the resource lbTitleExtentF. When lbAutoManage is True, attempts by the user to set this resource are simply ignored.

If lbAutoManage is False, the LabelBar instance will honor the set value of lbTitleFontHeightF, even if it must increase the size of the viewport in order to encompass the full extent of the title text. However, space added in this manner is considered an addition to the 'fundamental' size of the LabelBar. If the lbTitleFontHeightF is reduced to a value less than or equal to the value that would be used if lbAutoManage were True, then the LabelBar will resize itself to its 'fundamental' size. If you resize the LabelBar by setting the width or height of its viewport, lbTitleFontHeightF and the 'fundamental' size both adjust themselves proportionally.

Default: 0.025

lbTitleFontQuality
Determines the text quality used to draw the title text.

Default: High

lbTitleFontThicknessF
Determines the thickness of the line used to draw the Label text. This resource only affects the Hershey fonts.

Default: 1.0

lbTitleFuncCode
Determines the function code character used when parsing the label string.

Default: :

lbTitleJust
The justification used for the title text.

Default: CenterCenter

lbTitleOffsetF
This resource defines an offset specified as a fraction of the length of the axis (minus the margins) perpendicular to the side specified by lbTitlePosition. This offset separates the title extent, as specified by lbTitleExtentF, from the other elements of the LabelBar.

Default: 0.03

lbTitleOn
A boolean flag determining whether the title should appear in the LabelBar. If lbTitleString is set when the LabelBar object created, lbTitleOn defaults to True. Otherwise it defaults to False.

Default: True

lbTitlePosition
This resource of type NhlTPosition determines the position of the title with respect to the other elements of the LabelBar. Valid positions are Top, Bottom, Left, and Right. When you set the title position, LabelBar automatically adjusts the title direction, unless you explicitly set lbTitleDirectionin the same call. When you set the position to Top or Bottom, the title direction is set to Across; when the position is set to Left or Right, the title direction is set to Down.

Default: Top

lbTitleString
A string containing the text used for the LabelBar title. If lbTitleString is set when the LabelBar object created, the boolean resource lbTitleOn defaults to True, causing the title to appear. Otherwise it defaults to False. If you explicitly set lbTitleOn True without setting lbTitleString, LabelBar supplies a title consisting of the name of the current instantiation of the object.

Default: <dynamic>

lbTopMarginF
Defines an offset, specified as a fraction of whichever LabelBar axis is smallest, between the topmost LabelBar element and the top edge of the LabelBar perimeter. It is always subtracted from the current LabelBar extent. Negative values are allowed.

Default: 0.05

lgAutoManage
The lgAutoManage switch determines how Legend operates. When it is on, Legend manages the sizing of the title and the label text. The title is always sized to fit within the currently set boundaries of the Legend given any text angle, aspect ratio, etc. The labels also are sized to fit within the current boundary, with the exception that when the text of the labels is rotated, the Legend as a whole may grow along the axis of orientation. Additionally the sizing of the labels is managed so that under any rotation, the labels will not overlap. Also the label justification is managed such that, given any rotation the end of the label string aligns with the correct Legend item. When off, you may directly size the labels and text as you please. However, under rotation, the justification of the labels does not change, and, although the text is moved out of the way of the Legend boxes, it will not necessarily line up correctly. In practice, when working interactively, a good method is to create a basic Legend layout close to the desired size with the lgAutoManage mode on, then switch it off to tune the text size precisely to your taste.

Default: True

lgBottomMarginF
Defines an offset, specified as a fraction of whichever Legend axis is smallest, between the rightmost Legend element and the right edge of the Legend perimeter. It is always subtracted from the current Legend extent.

Default: 0.05

lgBoxBackground
The color index used for the background of the boxes enclosing the Legend items. By default it is set to -1 (Transparent), specifying that the background of the boxes is transparent to whatever it overlays.

Default:Transparent

lgBoxLineColor
The hlu index of the color used to draw the box lines around the Legend items.

Default: Foreground

lgBoxLineDashPattern
The hlu index of the dash pattern used for the lines drawn around the Legend items.

Default: Solidline

lgBoxLineDashSegLenF
The length in NDC units of the dash pattern used for the box lines around the Legend items.

Default: 0.15

lgBoxLineThicknessF
Determines the thickness of the box lines drawn around the Legend items.

Default: 1.0

lgBoxLinesOn
A boolean flag determining whether boxes should appear around Legend items.

Default: False

lgBoxMajorExtentF
Determines the amount of the area allotted to the boxes surrounding each item of the Legend in the direction of lgOrientation is actually occupied by the box. This will be visible only when the boxes outlining the space occupied by each item are turned on. When set to 1.0 the boxes touch each other. If set to 0.0 the boxes disappear entirely. Intermediate values create discreet separated boxes. The items themselves are not affected by the value given to lgBoxMajorExtentF.

Default: 0.5

lgBoxMinorExtentF
When the lgAutoManage feature is turned on, this resource determines the fraction of the distance (less the margins) across the axis perpendicular to the orientation (the minor axis) occupied by the boxes surrounding the each item of the Legend. If set to 1.0, the explanatory labels are completely eliminated from the Legend area. If the title also extends along the minor axis, the lgBoxMinorExtentF cannot exceed 1.0 minus the amount of space requested by the title, as set by the resource lgTitleExtentF. The value of the lgBoxMinorExtentF controls how long a line segment is when the item type is set to Lines, but it does not clip or affect the appearance of item type Markers in any way.

When lgAutoManage is False and lgTitlePosition is set to a side perpendicular to the major axis, the axis extent from which the box minor extent is calculated includes any extra extent added due to an increased value given to lgTitleFontHeightF. However, it does not include extra extent due to increased value given to the lgLabelFontHeightF resource.

Default: 0.6

lgDashIndex
When lgMonoDashIndex is set True, this resource sets a uniform dash pattern index for the lines drawn in all items in the legend.

This resource may be intercepted or disabled by:

Default: SolidLine

lgDashIndexes
When lgMonoDashIndex is set False, this array sets a dash pattern index value for each Legend item individually. If a positive index greater than the number of dash patterns is specified, the dash pattern routines automatically use modular arithmetic to arrive at an index value within the defined range of indexes.

This resource may be intercepted or disabled by:

Default: Array elements 0 through the item count - 1 are assigned indexes 1 through item count.

lgItemCount
Number of items in the Legend. All the Legend array resources, when specified, are required to have at least as many elements as lgItemCount.

This resource may be intercepted or disabled by:

Default: 16

lgItemOrder
This resource allows you to control the order of the items in the Legend. It must be set as an array of lgItemCount integers containing the values 0 through item count - 1, ordered as you wish the items to appear. For example, to reverse the order of a Legend with 4 items, you would set the resource with the array (/ 3, 2, 1, 0 /). If the array contains too many or too few elements, repeated values, or any values outside the valid range, the resource will be ignored and a warning message emitted.

Available in version 5.1.0 or later.

Default: NULL

lgItemPlacement
When set to UniformPlacement all Legend items are evenly spaced within the Legend. If set to ExplicitPlacement, the distance between each item is controlled by the lgItemPositions array.

Default: UniformPlacement

lgItemPositions
When lgItemPlacement is set to ExplicitPlacement, the elements of this array control the relative position within the Legend of each item. The array should be a monotonically increasing sequence in the range 0.0 - 1.0 inclusive (except as noted below). Each element corresponds to the position of the Legend item with the corresponding index. The value indicates the distance of each particular item from the left or bottom (depending on the value of lgOrientation) of the Legend item area. A value of 1.0 indicates the right or top of the item area, while 0.5 would indicate the center of the item area. You can cause a subgroup of the items to be evenly spaced by giving the value -1.0 to the elements between two elements containing valid monotonically increasing values. The Legend object will replace the -1.0 values with monotonically increasing values evenly spaced between the two given valid values. Actually it will replace any invalid values in the same manner, although values other than -1.0 will cause a WARNING error.

Default: NULL

lgItemType
When lgMonoItemType is set True, this resource sets all the items in the legend. It indicates if they should contain a line, a marker, or both.

This resource may be intercepted or disabled by:

Default: Lines

lgItemTypes
When lgMonoItemType is set False, this array sets an NhlTMarkLineMode value for each Legend item individually. This means that each item in the Legend can have a line, a marker, or both based on the value of each element of this array.

This resource may be intercepted or disabled by:

Default: NULL

lgJustification
When the Legend changes size the justification determines a fixed point about which the size change occurs. Any of the corners, the center of any edge, or the current center of the Legend may be set to be the fixed justification point.

This resource may be intercepted or disabled by:

Default: BottomLeft

lgLabelAlignment
How the labels align with respect their corresponding items along the minor axis of the Legend object. When set to ItemCenters, the labels align with the centers of each item. If set to AboveItems, the labels appear above the item, while if set to BelowItems, the labels appear below the item. To avoid overlap use alignment modes of above or below when the label offset is negative or the label position is set to Center.

Default: ItemCenters

lgLabelAngleF
The angle of the text of the labels. When the auto-manage resource is turned on, both the size and justification mode of the label text may change in response to changes of the label angle.

Default: 0.0

lgLabelAutoStride
When this boolean resource is set True, Legend labels are checked for overlap before being drawn. If overlap would otherwise occur, a stride is set through the labels such that overlap will be avoided. The stride proceeds in both directions from a pivot label, chosen based on how "round" it is relative to the other labels. If the labels seem to be equally "round" or if the labels are non-numeric, then the shortest label is chosen as the pivot.

The stride calculated as a result of setting lgLabelAutoStride is independent of the stride specified by the lgLabelStride resource and is applied subsequently to it. Also note that lgAutoManage must be set False in order to see the effect of setting lgLabelAutoStride True. When lgAutoManage is True, the label font height is reduced to avoid overlap and therefore a stride greater than unity is never required.

Default: False

lgLabelConstantSpacingF
Determines a constant amount of extra space that is placed between each character of the label text. Values less than 0.0 result in an error and are replaced with the default value.

Default: 0.0

lgLabelDirection
This resource of type NhlTTextDirection specifies the direction of the label text.

Default: Across

lgLabelFont
This resource of type NhlTFont specifies the font used to render the Legend labels.

Default: "pwritx"

lgLabelFontAspectF
Determines the shape of the label font text. Values greater than 1.0 make the text tall and skinny. Values less than one make the text short and wide.

Default: 1.0

lgLabelFontColor
The hlu color index used for drawing the label text.

Default: Foreground

lgLabelFontHeightF
The height in NDC coordinates of the text used to draw the labels. When lgAutoManage is set True, the user cannot directly set the label font height. Rather it is set in response to other factors, such as the current size and shape of the Legend, the current setting of lgBoxMinorExtentF, the current text angle of the labels, and how much space there is between the labels. Set lgAutoManage False if you wish to control the label font height directly.

Default: 0.02

lgLabelFontQuality
Determines the text quality used to draw the label text.

Default: High

lgLabelFontThicknessF
Determines the thickness of the line used to draw the Label text. This resource only affects the Hershey fonts.

Default: 1.0

lgLabelFuncCode
Determines the function code character used when parsing the label string.

This resource may be intercepted or disabled by:

Default: :

lgLabelJust
The justification of the label text. When the auto-manage feature is on, the Legend object manages the justification internally. Therefore in order to control the label justification explicitly you must first turn off the auto-manage feature.

Default: CenterCenter

lgLabelOffsetF
Defines an offset, specified as a fraction of the length of the minor Legend axis (perpendicular to the axis of orientation), between the Legend boxes and the labels. The offset may be positive or negative and the offset direction depends on the current value of lgLabelJust. The positive direction is from the justified edge toward the body of the text (i.e. positive for right-justified text is toward the left). The primary use of negative offsets for labels is when the label alignment is set either to AboveBoxes or BelowBoxes. In these cases, you may begin or end the text at some point under or over the Legend items, thus allowing for more text within a narrower Legend. If the label alignment is set to BoxCenters, negative offsets may result in text appearing overlaid on the actual Legend items. When positive the label offset quantity is subtracted from the amount allotted to the labels as a whole.

Default: 0.02

lgLabelPosition
This resource of type NhlTPosition determines the position of the labels with respect to the Legend boxes. If the orientation of the Legend is Horizontal, valid values are Top, Center, and Bottom. If the orientation is Vertical, valid values are Left, Center, and Right. If a value inappropriate for the orientation is assigned, the value is silently converted as follows: Bottom becomes Left, Top becomes Right, and vice versa. When set to Center the labels are centered on, and when the auto-manage feature is on, sized to fit in the same space as each Legend item. To avoid overlap, the lgLabelAlignment resource must be set properly when the label position is Center.

Default: Right

lgLabelStride
Determines which labels actually are rendered the Legend is drawn. For example, if the stride is set to 2, only every other label will be drawn, starting with the first label.

Default: 1

lgLabelStrings
An array containing the strings that comprise the label associated with each item of the Legend.

This resource may be intercepted or disabled by:

Default: Label_<label element number>
lgLabelsOn
A boolean flag determining whether labels should appear in the Legend.

Default: True

lgLeftMarginF
Defines an offset, specified as a fraction of whichever Legend axis is smallest, between the leftmost Legend element and the left edge of the Legend perimeter. It is always subtracted from the current Legend extent.

Default: 0.05

lgLegendOn
A boolean flag that determines whether the Legend should appear.

This resource may be intercepted or disabled by:

Default: True

lgLineColor
When lgMonoLineColor is True, this resource of type NhlTColorIndex sets the color of each Legend item line to a single value. Note that color of the line labels are controlled by a different set of resources.

This resource may be intercepted or disabled by:

Default: Foreground

lgLineColors
When lgMonoLineColor is False, this resource of type NhlTColorIndexGenArray individually sets the color assigned to each Legend item line. Note that color of the line labels are controlled by a different set of resources.

This resource may be intercepted or disabled by:

Default: By default each item line is assigned to the next succeeding color in the hlu colortable, up to the number of defined colors. Additional boxes are assigned the value, "Foreground" (1).

lgLineDashSegLenF
The length in NDC units of the dash pattern used for Legend line items. This is the length before the dash pattern repeats.

This resource may be intercepted or disabled by:

Default: 0.15

lgLineDashSegLens
When lgMonoLineDashSegLen is False, this array resource individually controls the segment length value applied to the each Legend item line.

This resource may be intercepted or disabled by:

Default: NULL

lgLineLabelConstantSpacingF
Determines a constant amount of extra space that is placed between each character of the line label text. Values less than 0.0 result in an error and are replaced with the default value.

This resource may be intercepted or disabled by:

Default: 0.0

lgLineLabelFont
This resource of type NhlTFont specifies the font used to render the Legend line labels.

Default: "pwritx"

lgLineLabelFontAspectF
Determines the shape of the internal line label font text. Values greater than 1.0 make the text tall and skinny. Values less than one make the text short and wide.

This resource may be intercepted or disabled by:

Default: 1.0

lgLineLabelFontColor
When lgMonoLineLabelFontColor is True, this resource of type NhlTColorIndex sets the color of all line labels used in line type items to a single value.

This resource may be intercepted or disabled by:

Default:

lgLineLabelFontColors
When lgMonoLineLabelFontColor is False, this resource of type NhlTColorIndexGenArray individually sets the color index used to render the line label for each line type Legend item.

This resource may be intercepted or disabled by:

Default: NULL

lgLineLabelFontHeightF
When lgMonoLineLabelFontHeight is True, this resource sets the height in NDC units of all the internal line labels used for line type items. Note that unlike many other text font height type resources, the values of this resource does not automatically scale when the size of the Legend is changed. This is because the size may be of significance in distinguishing the items for which the Legend serves as the key. Also, note that setting lgAutoManage True does not disable lgLineLabelFontHeightF. The Legend object currently does nothing to prevent the internal line labels from overlapping other Legend items, when the value of this resource is large enough.

This resource may be intercepted or disabled by:

Default: 0.01

lgLineLabelFontHeights
When lgMonoLineLabelFontHeight is False, the elements of this array individually specify the height in NDC units of the internal line labels used with line type items. Note that unlike many other text font height type resources, the values of this resource does not automatically scale when the size of the Legend is changed. This is because the size may be of significance in distinguishing the items for which the Legend serves as the key. Also, note that setting lgAutoManage True does not disable lgLineLabelFontHeights. The Legend object currently does nothing to prevent the internal line labels from overlapping other Legend items, when the value of this resource is large enough.

This resource may be intercepted or disabled by:

Default: NULL

lgLineLabelFontQuality
Determines the text quality used to draw the line label text.

This resource may be intercepted or disabled by:

Default: High

lgLineLabelFontThicknessF
Determines the thickness of the line used to draw the internal line label text. This resource only affects the Hershey fonts.

This resource may be intercepted or disabled by:

Default: 1.0

lgLineLabelFuncCode
Determines the function code character used when parsing the line label string.

This resource may be intercepted or disabled by:

Default: :

lgLineLabelStrings
An array of strings. Each string determines the contents of the label used in the rendering of the line specified by the corresponding element in the lgDashIndexes resource, if the corresponding element in the lgItemTypes resource indicates "Lines". To have an item line without a line label, specify that element with NULL using the C interface, or an empty string ("") from FORTRAN or NCL.

This resource may be intercepted or disabled by:

Default: NULL

lgLineLabelsOn
A boolean flag determining whether to draw line labels in line type Legend items.

Default: True

lgLineThicknessF
When lgMonoLineThickness is True, this resource sets a singles thickness value for all Legend item lines. It does not affect the thickness of lines used to draw the line labels in the line items.

This resource may be intercepted or disabled by:

Default: 1.0

lgLineThicknesses
When lgMonoLineThickness is False, this array resource individually controls the thickness value applied to the each Legend item line. The thickness of the characters in the line labels are not affected.

This resource may be intercepted or disabled by:

Default: NULL

lgMarkerColor
When lgMonoMarkerColor is True, this resource of type NhlTColorIndex sets the color of each Legend item marker to a single value.

This resource may be intercepted or disabled by:

Default: Foreground

lgMarkerColors
When lgMonoMarkerColor is False, this resource of type NhlTColorIndexGenArray individually sets the color assigned to each Legend item marker.

This resource may be intercepted or disabled by:

Default: By default each item marker is assigned to the next succeeding color in the hlu colortable, up to the number of defined colors. Additional boxes are assigned the value, "Foreground" (1).

lgMarkerIndex
When lgMonoMarkerIndex is set True, this resource sets a uniform marker for all items in the legend.

This resource may be intercepted or disabled by:

Default:

lgMarkerIndexes
When lgMonoMarkerIndex is set False, this array sets a marker index value for each Legend item individually. If a positive index greater than the number of markers is specified, the marker routines automatically use modular arithmetic to arrive at an index value within the defined range of indexes.

This resource may be intercepted or disabled by:

Default: Array elements 0 through the item count - 1 are assigned indexes 1 through item count.

lgMarkerSizeF
When lgMonoMarkerSize is True, this resource sets the height in NDC units of all marker items.

This resource may be intercepted or disabled by:

Default: 0.01

lgMarkerSizes
When lgMonoMarkerSize is False, the elements of this array individually specify the height in NDC units of marker items.

This resource may be intercepted or disabled by:

Default: NULL

lgMarkerThicknessF
When lgMonoMarkerThickness is True, this resource sets a singles thickness value for all Legend markers. This value affects the thickness of the lines in the glyphs used to represent the markers.

This resource may be intercepted or disabled by:

Default:

lgMarkerThicknesses
When lgMonoMarkerThickness is False, this array resource individually controls the thickness value applied to the each Legend marker. The value affects the thickness of the lines in the glyphs used to represent the markers.

This resource may be intercepted or disabled by:

Default: NULL

lgMonoDashIndex
When set True, the scalar resource lgDashIndex sets the dash pattern index for all lines drawn in items in the legend to a single index value. Otherwise, the array resource lgDashIndexes controls the dash index of each legend item individually.

This resource may be intercepted or disabled by:

Default: False

lgMonoItemType
When set True, the scalar resource lgItemType sets all items in the legend to the same NhlTMarkLineMode. This indicates if the item should contain a line, a marker, or both. Otherwise, the array resource lgItemTypes controls each legend item individually.

This resource may be intercepted or disabled by:

Default: True

lgMonoLineColor
When set True, all item lines in the Legend are set to a single color, as specified by the value of the scalar resource lgLineColor. Otherwise, the array resource lgLineColors controls the color of each item line individually.

This resource may be intercepted or disabled by:

Default: False

lgMonoLineDashSegLen
When set True, a single line segment length is used for all item lines int the Legend object, as specified by the scalar resource lgLineDashSegLenF. Otherwise the array element of lgLineDashSegLens controls the segment length of each individual Legend item line.

This resource may be intercepted or disabled by:

Default: True

lgMonoLineLabelFontColor
When set True, all internal line labels have the same color, as specified by the scalar resource lgLineLabelFontColor. Otherwise, the colors of the line labels are controlled individually based on the elements of the array resource lgLineLabelFontColors.

This resource may be intercepted or disabled by:

Default: False

lgMonoLineLabelFontHeight
When set True, the font height of all line labels of line type items are set to a single size, as specified by the scalar resource lgLineLabelFontHeightF. Otherwise, the font height is individually controlled by the array resource lgLineLabelFontHeights.

This resource may be intercepted or disabled by:

Default: True

lgMonoLineThickness
When set True, a single line thickness is used for all item lines in the Legend object, as specified by the scalar resource lgLineThicknessF. Otherwise the array element of lgLineThicknesses controls the thickness of each individual Legend item line.

This resource may be intercepted or disabled by:

Default: True

lgMonoMarkerColor
When set True, all items markers in the Legend are set to a single color, as specified by the value of the scalar resource lgMarkerColor. Otherwise, the array resource lgMarkerColors controls the color of each item marker individually.

This resource may be intercepted or disabled by:

Default: False

lgMonoMarkerIndex
When set True, the scalar resource lgMarkerIndex sets the marker index for all lines drawn in items in the legend to a single index value. Otherwise, the array resource lgMarkerIndexes controls the marker index of each legend item individually.

This resource may be intercepted or disabled by:

Default: False

lgMonoMarkerSize
When set True, the size of all marker type items is set to a single size, as specified by the scalar resource lgMarkerSizeF. Otherwise, the size is individually controlled by the array resource lgMarkerSizes.

This resource may be intercepted or disabled by:

Default: True

lgMonoMarkerThickness
When set True, a single thickness is used for all item markerss in the Legend object, as specified by the scalar resource lgMarkerThicknessF. Otherwise the array elements of lgMarkerThicknesses controls the thickness of each individual Legend marker.

This resource may be intercepted or disabled by:

Default: True

lgOrientation
This resource of type NhlTOrientation specifies whether the legend items are arranged horizontally in a row or vertically in a column. The major axis of the Legend instance is parallel to the orientation and the minor axis is perpendicular to the orientation.

Default: Vertical

lgPerimColor
The hlu index of the color used for the perimeter line.

Default: Foreground

lgPerimDashPattern
Specifies the hlu index of the dash pattern used to draw the perimeter of the Legend.

Default: SolidLine

lgPerimDashSegLenF
The length in NDC units of the dash pattern used to draw the perimeter of the Legend.

Default: 0.15

lgPerimFill
The hlu index of the pattern used to fill the background of the Legend area. Only has an effect when the lgPerimFillColor has set to a value greater than NhlTRANSPARENT (-1).

Default: HollowFill

lgPerimFillColor
The hlu index of the color used to fill the background of the Legend area. Only has an effect when the lgPerimFill has a value greater than HollowFill (-1).

Default: Background

lgPerimOn
A boolean flag determining whether to draw a line around the perimeter of the Legend.

Default: True

lgPerimThicknessF
Specifies the thickness of the perimeter line.

Default: 1.0

lgRightMarginF
Defines an offset, specified as a fraction of whichever Legend axis is smallest, between the rightmost Legend element and the right edge of the Legend perimeter. It is always subtracted from the current Legend extent.

Default: 0.05

lgTitleAngleF
The angle of the title text. When the auto-manage feature is on, the title size changes as the text rotates.

Default: 0.0

lgTitleConstantSpacingF
Determines a constant amount of extra space that is placed between each character of the title text. Values less than 0.0 result in an error and are replaced with the default value.

Default: 0.0

lgTitleDirection
This resource of type NhlTTextDirection specifies the direction of the title text. When the title position, as set by the resource lgTitlePosition, is Top or Bottom the direction is set by default to Across. When title position is Left or Right the text is set by default to Down.

Default: Across

lgTitleExtentF
The Legend title occupies a rectangular portion of the Legend viewport bounded on three sides by edges of the viewport and on the fourth by a line determined by the value of this resource. lgTitleExtentF specifies a fraction of the length (minus the margins) of the Legend axis perpendicular to lgTitlePosition. At this point along the length of the axis the fourth side of the title extent rectangle is constructed parallel to the side specified by lgTitlePosition. The sum of the values given to lgTitleExtentF and lgTitleOffsetF cannot exceed 0.5 (half the length of the axis). If the sum does exceed 0.5, a warning is issued and both values are reset to their default values.

If lgAutoManage is set False, and lgTitleFontHeightF is set such that the title extent rectangle cannot accommodate the full extent of the title text, the viewport of the Legend instance is expanded to fit the title text extent. However, the Legend treats this additional extent as 'extra'. The title extent rectangle does not change its size as long as the Legend view width or height is not explicitly modified. This means that as you set lgTitleFontHeightF to smaller values, the Legend viewport will shrink until its size matches the size it would have had if the text extent fit within the originally set title extent.

Default: 0.15

lgTitleFont
This resource of type NhlTFont specifies the font used to render the Legend title.

Default: "pwritx"

lgTitleFontAspectF
Determines the shape of the title font text. Values greater than 1.0 make the text tall and skinny. Values less than one make the text short and wide.

Default: 1.0

lgTitleFontColor
The hlu index of the color used for the title text.

Default: Foreground

lgTitleFontHeightF
The font height in NDC units used for the title text. If lgAutoManage is set True, the Legend sets this resource automatically based on the space available and the value of other title font attributes including lgTitleAngleF, lgTitleConstantSpacingF and lgTitleFontAspectF. The available space is determined from the size of the Legend viewport and the setting of the resource lgTitleExtentF. When lgAutoManage is True, attempts by the user to set this resource are simply ignored.

If lgAutoManage is False, the Legend instance will honor the set value of lgTitleFontHeightF, even if it must increase the size of the viewport in order to encompass the full extent of the title text. However, space added in this manner is considered an addition to the 'fundamental' size of the Legend. If the lgTitleFontHeightF is reduced to a value less than or equal to the value that would be used if lgAutoManage were True, then the Legend will resize itself to its 'fundamental' size. If you resize the Legend by setting the width or height of its viewport, lgTitleFontHeightF and the 'fundamental' size both adjust themselves proportionally.

Default: 0.025

lgTitleFontQuality
Determines the text quality used to draw the title text.

Default: High

lgTitleFontThicknessF
Determines the thickness of the line used to draw the Label text. This resource only affects the Hershey fonts.

Default: 1.0

lgTitleFuncCode
Determines the function code character when parsing the title string.

Default: :

lgTitleJust
The justification used for the title text.

Default: CenterCenter

lgTitleOffsetF
This resource defines an offset specified as a fraction of the length of the axis (minus the margins) perpendicular to the side specified by lgTitlePosition. This offset separates the title extent, as specified by lgTitleExtentF, from the other elements of the Legend.

Default: 0.03

lgTitleOn
A boolean flag determining whether the title should appear in the Legend.

Default: True

lgTitlePosition
This resource of type NhlTPosition determines the position of the title with respect to the other elements of the Legend. Valid positions are Top, Bottom, Left, and Right. When you set the title position, Legend automatically adjusts the title direction, unless you explicitly set lgTitleDirection in the same call. When you set the position to Top or Bottom, the title direction is set to Across; when the position is set to Left or Right, the title direction is set to Down.

Default: Top

lgTitleString
A string containing the text used for the Legend title.

Default: <dynamic>
The name of the Legend object is used if this resource is not set.

lgTopMarginF
Defines an offset, specified as a fraction of whichever Legend axis is smallest, between the rightmost Legend element and the right edge of the Legend perimeter. It is always subtracted from the current Legend extent.

Default: 0.05

mpAreaGroupCount (MapPlot)
mpAreaGroupCount specifies the total number of area groups, including the "default" group, the three fixed (or geophysical) groups, and the dynamic (or political) groups (a minimum of six). The minimum, as well as the default, value of mpAreaGroupCount is 10. The maximum value is 255. Attempts to set mpAreaGroupCount to values outside this range result in a warning and a restoration of the default value.

When using the RANGS database this resource is ignored.

Default: 10

mpAreaMaskingOn (MapPlot)
This boolean resource is the master switch for enabling the area masking facility. If True, MapPlot enables area masking, causing areas named in the mpMaskAreaSpecifiers array to remain unfilled, consequently allowing previously drawn plot elements to be visible within the areas' outlines. If False, no masking is performed, regardless of the contents of mpMaskAreaSpecifiers. For convenience, setting mpMaskAreaSpecifiers causes mpAreaMaskingOn to be set True, if it is not explicitly set otherwise in the same call.

When using the RANGS database this resource is ignored.

Default: False

mpAreaNames (MapPlot)
mpAreaNames is a string array resource you can use to retrieve the names of all areas in a MapPlot database. You need to know these names, including specific details of their spelling, in order to use the specifier resources (mpFillAreaSpecifiers, mpOutlineSpecifiers, or mpMaskAreaSpecifiers). There is a unique name for each distinct area. However, the form of the names differs depending on the database in use.

You can also set this resource to rename the area names, perhaps to better represent the conventions of another locale. You must set the complete list of names at the same time. Keep in mind that the order of areas is fixed: a particular element of the array always refers to the same area in the database you are using regardless of the name you give it.

When using the Ncarg4_0 database:
All names that are compounds of several words use the hyphen character ('-') to separate the individual words. In several cases where the names would otherwise not be unique, an underscore character ('_') followed by a digit is appended to the end of the name. If you use a SetValues call to rename the areas, it is your responsibility to ensure that you do not duplicate the names of any areas. Only one of a group of identically named areas will remain accessible. See the Ncarg4_0 database table for the list of area names.
When using the Ncarg4_1 database:
Each geographic entity in the Ncarg4_1 database is defined in a hierarchical manner as a descendent of one of the two top level elements "Land" and "Water". Therefore each entity has a "fully-qualified" name that starts with the term "Land" or "Water". Colons separate entities that have different levels (see mpAreaTypes) and periods separate child entities that are conceptually at the same level. For example, the island of Tasmania has the fully qualified name "Land : Australia : Australia . Tasmania", where the first "Australia" is the continent and the second is the country of which Tasmania is a part. However, mpAreaNames does not return the fully-qualified name of the resource. Instead it returns only enough of the name, starting from the right, to ensure that it is unique. In this case it would be simply the string "Tasmania". If another entity named "Tasmania" existed in the dataset, it would return "Australia . Tasmania".

The Ncarg4_1 version of the database provides several different datasets, that while similar in their overall content, provide different types and levels of geographic detail. See mpDataSetName for a list of the datasets available with this database, along with links to tables of detailing their contents.

When using the RANGS database:
This resource is not used and is set to NULL.

Default: <dynamic>

mpAreaTypes (MapPlot)
This read-only integer array resource contains the integer value of the type of each area in a MapPlot database. Each element gives the type of the area named by the corresponding element of the mpAreaNames array. The meaning and value of these types vary depending on the value of mpDataBaseVersion.

When using the Ncarg4_0 database:
Areas are classified into eight types. These types are as follows:
  • (0) mpOcean
  • (1) mpContinent
  • (2) mpLargeIsland
  • (3) mpSmallIsland
  • (4) mpInlandWater
  • (5) mpNational
  • (6) mpUSStateLand
  • (7) mpUSStateWater
See the Ncarg4_0 database table to find the area type associated with a particular area name.
When using the Ncarg4_1 database:
Areas are classified into four or five four types. These types represent the four or five levels of the hierarchical classification scheme currently represented in the database. More types may be added if and when areas at other levels of the hierarchy are added to the database. The current types are as follows:
  • (1) land or water
  • (2) continental boundary
  • (3) national boundary
  • (4) state or provincial boundary
  • (5) county boundary or climate division
Three datasets are available for this database version. Earth..1 contains only the first 4 levels, while Earth..2 and Earth..3 contain 5 levels. Use mpDataSetName to select among the possible datasets.
When using the RANGS database:
This resource is not used and is set to NULL.

Default: <dynamic>

mpBottomAngleF (MapTransformation)
When mpLimitMode has the value Angles, this resource specifies the positive angle in degrees down from the center to the edge of the projection, or, if using a satellite projection, the displacement angle down from the satellite line of sight to the projection center. Note that direction of the line over which the angle is measured remains parallel to the left edge of the viewport, regardless of the rotation angle applied to the projection. mpBottomAngleF has a maximum allowable value that varies depending on the projection.

Default: 80.0

mpBottomMapPosF (MapTransformation)
This read-only resource contains the coordinate of the bottom edge of the projected area in NDC space.

Default: 0.0

mpBottomNDCF (MapTransformation)
When mpLimitMode has the value NDC, this resource specifies the bottom edge of the limiting rectangle in Normalized Device Coordinates. If mpBottomNDCF is set to a value greater than mpRightNDCF, a warning is issued and the values are exchanged. Since the relationship between the map projection area and NDC coordinates changes whenever the map limits are changed, as well as when the viewport area is moved or resized, MapTransformation resets the value of mpBottomNDCF to the NDC value of the bottom edge of the projected area at the end of any update to the transformation.

Default: <dynamic>

mpBottomNPCF (MapTransformation)
When mpLimitMode has the value NPC, this resource specifies the bottom edge of the limiting rectangle in Normalized Projection Coordinates. mpBottomNPCF is constrained to values in the range 0.0 through 1.0. If mpBottomNPCF is set to a value greater than mpTopNPCF, a warning is issued and the values are exchanged. The value of mpBottomNPCF is updated whenever the map limits are set using any of the map limit modes.

Default: 0.0

mpBottomPointLatF (MapTransformation)
When mpLimitMode has the value Points, this resource specifies the latitude, in degrees, of a point along the bottom edge of the limiting rectangle.

Default: 0.0

mpBottomPointLonF (MapTransformation)
When mpLimitMode has the value Points, this resource specifies the longitude, in degrees, of a point along the bottom edge of the limiting rectangle.

Default: 0.0

mpBottomWindowF (MapTransformation)
When mpLimitMode has the value Window, this resource specifies the value, in window coordinates, of the bottom edge of the projection.

Default: 0.0

mpCenterLatF (MapTransformation)
This resource defines the latitude of the center of the map projection coordinate system. It applies for all values of the mpProjection resource except for LambertConformal. Its value must lie between -90.0 and +90.0, where -90.0 represents the South Pole and +90.0 represents the North Pole.

V4.1 Status Note 2

Default: 0.0

mpCenterLonF (MapTransformation)
This resource defines the longitude of the center of the map projection coordinate system. It applies for all values of the mpProjection resource except for LambertConformal. Its value must lie between -180.0 and +180.0, where both extremes represent the longitude of the International Dateline.

V4.1 Status Note 2

Default: 0.0

mpCenterRotF (MapTransformation)
Unless the origin lies at one of the poles, this resource defines the angle that the map projection coordinate system is rotated counterclockwise from a vector directed north with origin at the projection center. If the projection center is at the North Pole, the vector points in the direction of mpCenterLonF+180.0. If the center is the South Pole, the vector points in the direction of mpCenterLonF. mpCenterRotF applies for all values of the mpProjection resource except for LambertConformal.

Default: 0.0

mpDataBaseVersion (MapPlot)
This resource of type NhlTMapDataBaseVersion determines which database version MapPlot should use. Currently there are three choices:
Ncarg4_0 (alias: LowRes)
Use the original database as supplied with MapPlot in version 4.0. This database is out of date with respect to political boundaries and has much lower resolution than the Ncarg4_1 database. Nevertheless, for global scale plots that involve only geophysical boundaries, this database is the recommended one to use. Because there are so many fewer points, MapPlot can render the data much faster, particularly when fill is involved. This database contains 583 named geographical entities.
Ncarg4_1 (alias: MediumRes)
Use one of the map datasets developed for the Ncarg4_1 version of the MapPlot database. These datasets contain between 1085 and 6853 geographical entities arranged in an extensible hierarchical fashion. The database is organized in such a way that new subdivisions of existing areas can easily be added. The resolution is much higher than the original database, and the political boundaries are more up-to-date. Use of this database is recommended when plotting limited areas of the earth's surface, any time up-to-date political boundaries are required, or when certain subdivisions of the United States, Canada, or Mexico are desired. Select the dataset using the resource mpDataSetName. The datasets available are:
RANGS_GSHHS (aliases: HighRes, RANGS)
Use the multi-resolution coastline database RANGS (Regionally Accessible Nested Global Shorelines), developed by Rainer Feistel from Wessel and Smith's GSHHS (Global Self-consistent Hierarchical High-resolution Shoreline) database. This database is not supplied with the NCAR Graphics software suite, but may be freely downloaded from Feistel's site. For this database to be accessible to NCAR Graphics routines, the files that comprise it must be installed in a directory named "rangs" that is a subdirectory of the directory where the other NCAR Graphics map database files reside (typically $NCARG_ROOT/lib/ncarg/database). Alternatively, you may set the environment variable NCARG_RANGS to point to the directory location of the RANGS database files. The RANGS database is capable of much higher resolution than the other databases, but it should not be used for maximal area projections of the whole globe since there are some problems in rendering it at this scale. This database currently consists of coastline data only and has no named areas associated with it.

Plesae click here for more information on how to download and install the RANGS/GSHHS database.

You may freely switch between the databases after creating a mapplot. However, note that because the databases differ considerably in their area naming schemes, you will be likely to encounter warning messages if you have set any of the specifier resources (mpFillAreaSpecifiers, mpOutlineSpecifiers, mpMaskAreaSpecifiers, or mpMaskOutlineSpecifiers).

Default: Ncarg4_0

mpDataResolution (MapPlot)
resource of type NhlTMapDataResolution specifies the resolution used to render the map. There are 6 choices:
UnspecifiedResolution (Alias: Unspecified)
MapPlot decides what resolution to use based on the range of the map limits currently in effect. Large scale maps will be drawn with high resolution and smaller scale maps with lower resolution.
FinestResolution (Alias: Finest)
Draw the map using the finest resolution possible.
FineResolution (Alias: Fine)
Draw the map using fine resolution.
MediumResolution (Alias: Medium)
Draw the map using medium resolution.
CoarseResolution (Alias: Coarse)
Draw the map using coarse resolution.
CoarsestResolution (Alias: Coarsest)
Draw the map using the coarsest resolution possible.

These designations for resolution are only relative to the other resolutions that can be rendered using the RANGS database.

This resource is ignored when using the Ncarg4_0 or Ncarg4_1 databases.

Default: UnspecifiedResolution

mpDataSetName (MapPlot)
When mpDataBaseVersion is set to Ncarg_4_1 this string type resource specifies the name of the dataset used to populate the database. Currently there are three possible standard datasets from which to choose:
Earth..1
This dataset was created in 1998 and contains geophysical and political boundaries including the states of the United States.
Earth..2
This dataset was created in 1999 and is similar to "Earth..1" except that it contains the country Eritrea, and several countries resulting from the breakup of the USSR that were not included in "Earth..1". It also contains the provinces of Canada, the states of Mexico, and all the counties in the United States.
Earth..3
This dataset was created in 2000 and is like "Earth..2" except that the US counties are replaced with climate divisions within each state.
Earth..4
(Available in version 5.1.0 or later.) This dataset was created in 2008. It is much like "Earth..2", but has about 10 times as much detail and is much more accurate. Its coastlines are simplified versions of those in the RANGS database and its political outlines match what one finds on a web site such as Wikimapia. In addition to the provinces of Canada, the states of Mexico, and the states and counties of the conterminus United States, it provides the state/province outlines of Australia, Brazil, China, and India. The ice shelves of Antarctica are included as separate entities, that can be made to appear or not, as desired.

The name of the dataset (e.g. "Earth..1") is actually the basename for a set of files comprising the dataset. Other datasets, such as paleolithic continental boundaries, conforming to the Ncarg4_1 database scheme have been created, but they are not currently part of the standard NCAR Graphics distribution. If you have a dataset that conforms to the scheme, but is not located in the directory where map data is expected to be found (typically $NCARG_ROOT/lib/ncarg/database), you may specify a complete pathname (including the dataset basename) as the value of this resource.

As with changing the value of mpDataBaseVersion You may freely switch between datasets after creating a mapplot. However, you may encounter warning messages if you have set any of the specifier resources (mpFillAreaSpecifiers, mpOutlineSpecifiers, mpMaskAreaSpecifiers, or mpMaskOutlineSpecifiers) with names that appear in one dataset and not the other.

This resource is ignored when using the Ncarg4_0 or RANGS databases.

Default: Earth..2

mpDefaultFillColor (MapPlot)
This resource sets the HLU index of the color used to fill all areas within the map projection that, given that mpFillOn is True, are neither filled nor masked. mpDefaultFillColor is constrained to values greater than Transparent (-1). This resource provides an alternate method of setting the value of the first element of mpFillColors. If both resources are set in the same call, the value of mpDefaultFillColor takes precedence.

Default: 16

mpDefaultFillPattern (MapPlot)
This resource sets the HLU index of the fill pattern used to fill all areas within the map projection that, given that mpFillOn is True, are neither filled nor masked. If mpDefaultFillPattern has the value HollowFill (-1), there will be no fill of the ocean area, regardless of the setting of mpDefaultFillColor. This resource provides an alternate method of setting the value of the first element of mpFillPatterns. If both resources are set in the same call, the value of mpDefaultFillPattern takes precedence.

When using the RANGS database this resource is ignored.

Default: SolidFill

mpDefaultFillScaleF (MapPlot)
The mpDefaultFillScaleF resource controls the scaling of the pattern used to fill all areas within the map projection that, given that mpFillOn is True, are neither filled nor masked. It has no effect for solid fill (SolidFill, fill index 0). Values greater than 1.0 make the pattern spacing bigger than the default spacing, resulting in a fill that appears less dense. Values less than 1.0 have the opposite effect. Values less than or equal to 0.0 are invalid, generate a warning message, and are reset to the default value, 1.0. This resource provides an alternate method of setting the value of the first element of mpFillScales. If both resources are set in the same call, the value of mpDefaultFillScaleF takes precedence.

When using the RANGS database this resource is ignored.

Default: 1.0

mpDynamicAreaGroups (MapPlot)
MapPlot maintains two arrays that assign area group numbers to each area in a MapPlot database. MapPlot uses the area's group numbers to determine its fill attributes, assuming mpFillOn is True and you do not explicitly specify fill attributes for the area. The mpDynamicAreaGroups resource allows you to access and, if desired, set the elements of the dynamic area group array. The elements of this array have the same order as the mpAreaNames array. By default, within the dynamic group arrray MapPlot assigns each area a group number such that adjoining politically distinct land areas are guaranteed to belong to a different group. For this reason the mpDynamicAreaGroups array is sometimes known as the political groups array, since a map whose fill attributes are based on these area groups shows national and perhaps state and even county boundaries as well as physical features. Anytime mpFillBoundarySets is set in such a way that national or U.S. state areas must be distinguished, and the fill attributes are not set explicitly, MapPlot uses the group numbers in the mpDynamicAreaGroups array as indexes into the fill attribute array resources whose associated Mono flag resource is set False. A more thorough description of the situations that result in MapPlot indexing the fill attribute array resources based on the contents of the mpDynamicAreaGroups array is found in the discussion of area fill in the MapPlot object description.

You may reassign the group numbers in the mpDynamicAreaGroups array in any manner you please. At minimum and by default there are 10 area groups, but by setting the resource mpAreaGroupCount you can increase the number of area groups to any number up to a maximum of 255.

When using the Ncarg4_0 database:
See the Ncarg4_0 database table to find the dynamic area group associated with a particular area name.
When using the Ncarg4_1 database:
There are three datasets available with this database, and the area names available differ depending on the dataset selected. See mpDataSetName for links to tables containing the dynamic area group associated with the area names contained in the available datasets.
When using the RANGS database:
This resource is not used and is set to NULL.

Default: <dynamic>

mpEllipticalBoundary (MapTransformation)
When the boolean resource mpEllipticalBoundary is set True, the map projection area is limited to an ellipse inscribed within the normal rectangular perimeter of the viewport.

Default: False

mpFillAreaSpecifiers (MapPlot)
specify explicitly the names of areas MapPlot is to fill. Your purpose may be to include an area that would not otherwise be drawn (such as an interior national boundary when mpFillBoundarySets has the value Geophysical) or it may be simply that you want to control the area's fill attributes explicitly using the associated specified fill attribute arrays. The named areas are added to the basic set of fill areas specified using the resource mpFillBoundarySets.

You may explicitly specify the fill attributes of areas named in the mpFillAreaSpecifiers array using any or all of the three associated attribute array resources, mpSpecifiedFillColors, mpSpecifiedFillPatterns, and mpSpecifiedFillScales. The elements of each of these arrays correspond one-for-one with the elements of the mpFillAreaSpecifiers array. Attributes set using these arrays override all other resources involving fill attributes, including the fill attribute Mono flags. Each of these arrays accept a pre-defined special value allowing you to specify individual elements as "unset."

If you also using area masking, note that there is an order of precedence for fill and masking. Explicitly named areas take precedence over area groupings, and small areas take precedence over enclosing larger areas. Otherwise masking takes precedence over filling.

Note that the names from different MapPlot databases and datasets are not necessarily compatible. Therefore, if mpFillAreaSpecifiers is non-NULL when you set mpDataBaseVersion and/or mpDataSetName to a different value, you are likely to encounter warning messages unless you also set mpFillAreaSpecifiers using names compatible with the new database. You can retrieve a list of compatible names by getting the value of mpAreaNames. Case is not significant for mpFillAreaSpecifiers string values.

When using the Ncarg4_0 database:
Within the list you may include groups of areas defined by a number of pre-defined string constants. In addition, a substring matching facility allows you to specify groups of areas that share a common substring. When a fill attribute for a specified fill area is not explicitly set, MapPlot uses its normal method of setting fill attributes based on area group assignments. The group number is chosen from the mpFixedAreaGroups array or from the mpDynamicAreaGroups array depending on the setting of the resource mpSpecifiedFillPriority. You can override the general priority for an individual area by prepending an exclamation point ('!') to the area's name.
When using the Ncarg4_1 database:
The NullArea string constant is also defined. There is no substring matching facility. When a fill attribute for a specified fill area is not explicitly set, MapPlot uses its normal method of setting fill attributes based on area group assignments. The group number is chosen from the mpFixedAreaGroups array if the area's type is 1 (mpGeophysical) or if its type is 2 (mpContinental) and its parent is Water. Otherwise, the group number is chosen from the mpDynamicAreaGroups array. The use of the exclamation point ('!') prefix and the mpSpecifiedFillPriority resource is not supported.

Available in version 4.2.0.a034 or later.
In addition to individual area names, you can specify subdivisions of certain areas (states, provinces, and counties) using pre-defined group names appended to the area name following a colon (':') character.

When using the RANGS database:
This resource is ignored.

Default: NULL

mpFillBoundarySets (MapPlot)
You set this resource of type NhlTMapBoundarySets to specify the basic boundary set used for fill areas. Given the basic boundaries, you can then add other areas by specifying area names outlines in the mpFillAreaSpecifiers string array resource. You can also desiginate areas to be masked (left unfilled) by specifying area names in the mpMaskAreaSpecifiers string array resource.
NoBoundaries
MapPlot will draw area fill only for areas specified by name in mpFillAreaSpecifiers and not specified in mpMaskAreaSpecifiers.
Geophysical
MapPlot will draw area fill for geophysical features: land, oceans, and inland water bodies. You may specify by name other areas to be filled in the mpFillAreaSpecifiers resource.
National
MapPlot will individually fill all national boundary areas. Geophysical features are implicitly included. You may specify by name other areas to be filled in the mpFillAreaSpecifiers resource.
USStates
MapPlot will fill regions comprising the states of the United States. When using the Ncarg4_0 database, Alaska and Hawaii are not included, although a few areas outside the U.S. proper, including the Bahamas and a few lakes extending into Canadian territory, are drawn. When using the Ncarg4_1 database, Alaska and Hawaii are drawn, but no non-U.S. territory is included. You may add geophysical and/or national areas by name using the mpFillAreaSpecifiers resource.
GeophysicalAndUSStates
MapPlot will draw area fill for all global geophysical features as well as for the states of the United States. Other national boundaries do not appear unless you specify them by name using the mpFillAreaSpecifiers resource.
AllBoundaries
MapPlot draws area fill for all the boundaries for the database/dataset currently in use. When using the Ncarg4_0 database this includes geophysical and national boundaries as well as all U.S. states and inland water. When using the Ncarg4_1 database, depending on the dataset, this may include Canadian provinces, Mexican and US States, and counties or climate divisions of US states.

When the Ncarg4_1 database is in use, specifying an area name whose mpAreaTypes is 1 or 2 (mpGeophysical or mpContinental) has the effect of suppressing type 3 or higher fill areas within its borders even if the setting of mpFillBoundarySets would otherwise imply that they be drawn . For instance, setting mpFillAreaSpecifiers to the value "Africa" would have the effect of suppressing national boundaries within the African continent.

When using the RANGS database this resource is ignored.

Default: Geophysical

mpFillColor (MapPlot)
When mpMonoFillColor is set True, this resource of type NhlTColorIndex sets a uniform fill color for all MapPlot areas, except for those whose fill color is set explicitly using the mpSpecifiedFillColors array resource.

Default: Foreground

mpFillColors (MapPlot)
If mpMonoFillColor is False, each element of the array specifies the HLU color index used to fill the MapPlot areas belonging a particular area group. The first element of the array specifies the default color for regions within the map projection area that contain neither a filled nor a masked area. The second, third, and fourth elements specify colors for the fixed (geophysical) area groups: the Ocean group, the Land group, and the InlandWater group. For convenience, there are named alias resources for these first four elements of the array: mpDefaultFillColor, mpOceanFillColor, mpLandFillColor, and mpInlandWaterFillColor. If you set any of the alias resources at the same time as the mpFillColors array resource is set, the named alias resource value overrides. The remaining elements (by default, the fifth through the tenth elements) specify colors for the dynamic groups. If mpAreaGroupCount is increased from its minimum (and default) value of 10, more elements become available for additional dynamic group colors.

Default: By default the first 10 elements are assigned the following sequence of HLU color indexes: 16, 10, 8, 10, 26, 22, 11, 23, 13, 19. This choice of colors is intended to look reasonable with the "default" color map.

mpFillDotSizeF (MapPlot)
This resource sets a uniform dot size, in NDC units, for the stipple dot fill pattern. The default value of 0.0 causes the dots to be drawn as before, using a workstation dependent minimum dot size. A caveat is that individual dots are not clipped around the edges of fill areas; this becomes more noticeable as the dot size increases.

Default: 0.0

mpFillDrawOrder (MapPlot)
This resource of type NhlTDrawOrder determines when MapPlot area fill is drawn relative to other elements of the plot. There are three choices:
PreDraw
Draw area fill before the standard draw phase; the fill underlies all other MapPlot elements drawn during the predraw phase and anything drawn during the draw and postdraw phases.
Draw
Draw area fill during the standard draw; the fill overlays anything drawn during the predraw phase but underlies any other MapPlot elements drawn during the draw phase and anything drawn during the postdraw phase.
PostDraw
Draw area fill after the standard draw; the fill overlays anything drawn during the predraw and draw phases but underlies any other MapPlot elements drawn during the postdraw phase.

Default: Draw

mpFillOn (MapPlot)
This boolean resource is the master switch for drawing of MapPlot area fill. If True, the MapPlot enables drawing of map area fill. Otherwise, no map fill will appear, regardless of the setting of any other area-fill-related resources.

Default: False (True for some gsn_csm_xxxx routines)

mpFillPatternBackground (MapPlot)
mpFillPatternBackground specifies the HLU index of the color used for the background in areas filled with any HLU fill pattern besides SolidFill. If this resource has the value Transparent (-1), no color will be appear behind the fill pattern. The effect will be that the pattern appears transparently on top of anything already drawn.

Default: Background

mpFillPattern (MapPlot)
When mpMonoFillPattern is set True, this resource of type NhlTFillIndex sets a uniform fill pattern for all MapPlot areas, except for those whose fill pattern is set explicitly using the mpSpecifiedFillPatterns array resource.

When using the RANGS database this resource is ignored.

Default: SolidFill

mpFillPatterns (MapPlot)
If mpMonoFillPattern is False, each element of the array specifies the HLU fill pattern index used to fill the MapPlot areas belonging a particular area group. The first element of the array specifies the default pattern for regions within the map projection area that contain neither a filled nor a masked area. The second, third, and fourth elements specify patterns for the fixed (geophysical) area groups: the Ocean group, the Land group, and the InlandWater group. For convenience, there are named alias resources for these first four elements of the array: mpDefaultFillPattern, mpOceanFillPattern, mpLandFillPattern, and mpInlandWaterFillPattern. If you set any of the alias resources at the same time as the mpFillPatterns array resource is set, the named alias resource value overrides. The remaining elements (by default, the fifth through the tenth elements) specify patterns for the dynamic groups. If mpAreaGroupCount is increased from its minimum (and default) value of 10, more elements become available for additional dynamic area group patterns.

When using the RANGS database this resource is ignored.

Default: MapPlot assigns patterns sequentially, beginning with HLU fill pattern index 1 for the first element of mpFillPatterns.

mpFillScaleF (MapPlot)
When mpMonoFillPattern is set True, this floating point resource sets a uniform fill pattern scale factor for all MapPlot areas, except for those whose fill scale factor is set explicitly using the mpSpecifiedFillScales array resource.

When using the RANGS database this resource is ignored.

Default: 1.0

mpFillScales (MapPlot)
If mpMonoFillPattern is False, each element of the array specifies the scale factor applied to the fill pattern used to fill MapPlot areas belonging a particular area group. The first element of the array specifies the default fill pattern scale factor for regions within the map projection area that contain neither a filled nor a masked area. The second, third, and fourth elements specify scale factors for the fixed (geophysical) area groups: the Ocean group, the Land group, and the InlandWater group. For convenience, there are named alias resources for these first four elements of the array: mpDefaultFillScaleF, mpOceanFillScaleF, mpLandFillScaleF, and mpInlandWaterFillScaleF. If you set any of the alias resources at the same time as the mpFillScales array resource is set, the named alias resource value overrides. The remaining elements (by default, the fifth through the tenth elements) specify patterns for the dynamic groups. If mpAreaGroupCount is increased from its minimum (and default) value of 10, more elements become available for additional dynamic area group fill scale values.

When using the RANGS database this resource is ignored.

Default: 1.0 for all elements

mpFixedAreaGroups (MapPlot)
MapPlot maintains two arrays that assign area group numbers to each area in a MapPlot database. MapPlot uses the area's group numbers to determine its fill attributes, assuming mpFillOn is True and you do not explicitly specify fill attributes for the area. The mpFixedAreaGroups resource allows read-only access for informational purposes only to the fixed area group array, which, as its name implies, you cannot modify. The elements of this array have the same order as the mpAreaNames array. Within the array each area in the database is assigned to area group 1, 2, or 3. These are respectively the Ocean group, the Land group and the InlandWater group. For this reason mpFixedAreaGroups is sometimes known as the geophysical area groups array, since a map whose fill attributes are based on these area groups shows only physical as opposed to political features.

If fill is turned on and you set mpFillBoundarySets to the value Geophysical and do not explicitly specify any areas using the mpFillAreaSpecifiers resource, MapPlot will use the mpFixedAreaGroups group numbers to determine fill attributes for all areas of the map. For each of the three fill attribute types that has its Mono flag resource set False, the area's group number is used as an index into the fill attribute array resource. This yields, for mpFillColors, an HLU color index, for mpFillPatterns, an HLU fill pattern index, and for mpFillScales, a fill pattern scaling factor. A more complete description of the situations that result in MapPlot indexing the fill attribute array resources based on the contents of the mpFixedAreaGroups array is found in the discussion of area fill in the MapPlot object description.

Note that you can set the fill attributes of the area groups assigned by the mpFixedAreaGroups array using a set of convenience resources that act as named aliases for the Ocean, Land, and InlandWater elements of mpFillColors, mpFillPatterns, and mpFillScales. These resources are as follows: mpOceanFillColor, mpOceanFillPattern, mpOceanFillScaleF, mpLandFillColor, mpLandFillPattern, mpLandFillScaleF, mpInlandWaterFillColor, mpInlandWaterFillPattern, and mpInlandWaterFillScaleF.

When using the Ncarg4_0 database:
See the Ncarg4_0 database table to find the fixed area group associated with a particular area name.
When using the Ncarg4_1 database:
There are three datasets available with this database, and the area names available differ depending on the dataset selected. See mpDataSetName for links to tables containing the fixed area group associated with the area names contained in the available datasets.
When using the RANGS database:
This resource is not used and is set to NULL.

Default: <dynamic>

mpGeophysicalLineColor (MapPlot)
This resource sets the HLU index of a color used to render interior national boundary outlines. This resource applies to the outlines of all continents and islands, except that when one or more U.S. states are drawn, the portion of North America whose outline is contiguous with the U.S. border is rendered using mpUSStateLineColor.

Default: Foreground

mpGeophysicalLineDashPattern (MapPlot)
This resource sets the HLU index of a dash pattern used to render interior national boundary outlines. This resource applies to the outlines of all continents and islands, except that when one or more U.S. states are drawn, the portion of North America whose outline is contiguous with the U.S. border is rendered using mpUSStateLineDashPattern.

When using the RANGS database this resource is ignored.

Default: SolidLine

mpGeophysicalLineDashSegLenF (MapPlot)
This resource specifies the length of each segment of the dash patterns used to draw geophysical boundary outlines. It is the length in NDC before the dash pattern repeats itself. This resource automatically scales with changes in the size of the viewport of the MapPlot object. This resource applies to the outlines of all continents and islands, except that when one or more U.S. states are drawn, the portion of North America whose outline is contiguous with the U.S. border is rendered using mpUSStateLineDashSegLenF. MapPlot sets the default value of mpNationalLineDashSegLenF dynamically based on the ratio of the actual plot viewport width to a reference viewport width of 0.6 and a reference dash segment length of 0.15.

When using the RANGS database this resource is ignored.

Default: 0.15 (for a viewport width of 0.6)

mpGeophysicalLineThicknessF (MapPlot)
Sets the thickness of the lines used to draw geophysical boundary outlines. The value acts as a multiplier of a (device-dependent) unit thickness. This resource applies to the outlines of all continents and islands, except that when one or more U.S. states are drawn, the portion of North America whose outline is contiguous with the U.S. border is rendered using mpUSStateLineThicknessF.

Default: 1.0

mpGreatCircleLinesOn (MapTransformation)
This resource selects between two methods for defining the transformation of lines or edges between defined points of the data space graphics primitive functions, NhlDataPolygon and NhlDataPolyline. If mpGreatCircleLinesOn is False, the space between the defined points is treated as if the latitude/longitude coordinate system were cartesian. This method of performing the transformation results in all straight lines between the defined points when mpProjection is set to CylindricalEquidistant. Another characteristic of this method is that, for any projection, a line between two points at the same latitude is coincident with the line of latitude itself.

If mpGreatCircleLinesOn is set True, lines between defined points follow a great circle route, the shortest distance on the surface of the globe between the two points. In this case, lines appear curved on a cylindrical equidistant projection, except for the special cases of lines between points of equal longitude or of lines drawn near the equator. For any projection, lines between points of equal latitude diverge farther and farther from the line of latitude as the distance from the equator increases.

Default: False

mpGridAndLimbDrawOrder (MapPlot)
This resource of type NhlTDrawOrder determines when MapPlot draws the grid lines representing latitude and longitude relative to other elements of the plot. When a limb line representing the edge of the visible surface of the projection is required, MapPlot always renders it at the same time as the grid lines. There are three choices:
PreDraw
Draw grid lines before the standard draw phase; the grid lines overlay MapPlot fill drawn during the predraw phase but underlie other predraw phase MapPlot elements and anything drawn during the draw and postdraw phases.
Draw
Draw grid lines during the standard draw; the grid lines overlay anything drawn during the predraw phase and MapPlot fill drawn during the draw phase but underlie other draw phase MapPlot elements and anything drawn during the postdraw phase.
PostDraw
Draw grid lines after the standard draw; the grid lines overlay anything drawn during the predraw and draw phases and MapPlot fill drawn during the postdraw phase but underlie other postdraw phase MapPlot elements.

Default: PostDraw

mpGridAndLimbOn (MapPlot)
This boolean resource determines whether the MapPlot object draws grid lines representing latitude and longitude as well as (when appropriate) a limb line around the edge of the visible surface of the map projection.

Default: True

mpGridLatSpacingF (MapPlot)
This resource specifies the spacing, in degrees, between MapPlot grid lines representing latitude. Use this resource if you want to set the latitude spacing independently of the longitude spacing. Note that setting mpGridSpacingF at the same time or subsequently overrides the value of this resource.

Default: 15.0

mpGridLineColor (MapPlot)
This resource sets the HLU index of a color used to draw the grid representing latitudes and longitudes.

Default: Foreground

mpGridLineDashPattern (MapPlot)
This resource sets the HLU index of a dash pattern used to draw the grid representing latitudes and longitudes.

Default: SolidLine

mpGridLineDashSegLenF (MapPlot)
This resource specifies the length of each segment of the dash patterns used to draw the grid representing latitudes and longitudes. It is the length in NDC before the dash pattern repeats itself. This resource automatically scales with changes in the size of the viewport of the MapPlot object. MapPlot sets the default value of mpGridLineDashSegLenF dynamically based on the ratio of the actual plot viewport width to a reference viewport width of 0.6 and a reference dash segment length of 0.15.

Default: 0.15 (for a viewport width of 0.6)

mpGridLineThicknessF (MapPlot)
This resource determines the thickness of the lines used to draw the grid representing latitudes and longitudes. The value acts as a multiplier of a (device-dependent) unit thickness.

Default: 1.0

mpGridLonSpacingF (MapPlot)
This resource specifies the spacing, in degrees, between MapPlot grid lines representing longitude. Use this resource if you want to set the longitude spacing independently of the latitude spacing. Note that setting mpGridSpacingF at the same time or subsequently overrides the value of this resource.

Default: 15.0

mpGridMaskMode (MapPlot)
This resource of type NhlTMapGridMaskMode specifies how the MapPlot object should mask the grid representing latitudes and longitudes. There are seven choices:
MaskNone
MapPlot does not mask the grid. Grid lines appear over the entire visible map projection area.
MaskOcean
MapPlot masks the grid over areas of the map occupied by any part of the global ocean.
MaskNotOcean
MapPlot masks the grid over areas of the map that are not part of the global ocean, including bodies of water within the interior of continents.
MaskLand
MapPlot masks the grid over areas of the map that represent land. Bodies of water within the interior of continents remain unmasked.
MaskNotLand
MapPlot masks the grid over all areas of the map that do not represent land, including bodies of water within the interior of continents.
MaskFillArea
MapPlot masks the grid over filled or masked areas in the map. The grid is drawn only over 'background' areas within the map projection, that is, those areas of the MapPlot that would be filled (assuming fill is enabled) using the color specified by mpDefaultFillColor.
MaskMaskArea
MapPlot masks the grid only over areas named in the mpMaskAreaSpecifiers array.

When using the RANGS database this resource is ignored.

Default: MaskNone

mpGridMaxLatF (MapPlot)
This resource specifies the maximum absolute value of the latitude at which a latitude grid line may appear. For instance, if you set mpGridMaxLatF to 70.0, no latitude lines will appear between 70 degrees and 90 degrees or between -70 degrees and -90 degrees. If the latitude spacing were set to 20.0, then, in this case, the highest and lowest latitude lines would be at 60 degrees and -60 degrees.

Default: 90.0

mpGridPolarLonSpacingF (MapPlot)
This resource has an effect only when the map projection is such that the North and South poles project to single points. In this case, it controls the way longitude lines are continued in the area between the pole and the latitude line nearest the pole. Basically it allows you to set an alternate spacing for longitude lines near the poles, generally for the purpose of avoiding overcrowding. For instance, if mpGridPolarLonSpacingF is set to its default value of 90.0 and the longitudinal spacing is set to 15.0, then only the longitude lines that are multiples of 90.0 continue to the poles. Note that if the longitudinal spacing were set to 20.0, lines would continue only at multiples of 180.0, since there would be no longitude lines to continue at 90.0 and 270.0.

Default: 15.0

mpGridSpacingF (MapPlot)
This resource specifies the spacing, in degrees, between MapPlot grid lines representing latitude and longitude. Use this resource if you want the spacing to be equal in latitude and longitude. Setting this resource overrides any values set for the resources mpGridLatSpacingF and mpGridLonSpacingF and causes them both to be set to the value given mpGridSpacingF.

Default: 15.0

mpInlandWaterFillColor (MapPlot)
This resource sets the HLU index of the color used to fill areas representing bodies of water except for the oceans. mpInlandWaterFillColor is constrained to values greater than -1 (Transparent). This resource provides an alternate method of setting the value of the fourth element of mpFillColors. If both resources are set in the same call, the value of mpInlandWaterFillColor takes precedence.

Default: 10

mpInlandWaterFillPattern (MapPlot)
This resource sets the HLU index of the fill pattern used to fill areas representing bodies of water except for the oceans. If mpInlandWaterFillPattern has the value HollowFill (-1), there will be no fill of the inland water area, regardless of the setting of mpInlandWaterFillColor. This resource provides an alternate method of setting the value of the fourth element of mpFillPatterns. If both resources are set in the same call, the value of mpInlandWaterFillPattern takes precedence.

When using the RANGS database this resource is ignored.

Default: SolidFill

mpInlandWaterFillScaleF (MapPlot)
The mpInlandWaterFillScaleF resource controls the scaling of the pattern used to fill areas representing bodies of water except for the oceans. It has no effect for solid fill (SolidFill, fill pattern index 0). Values greater than 1.0 make the pattern spacing bigger than the default spacing, resulting in a fill that appears less dense. Values less than 1.0 have the opposite effect. Values less than or equal to 0.0 are invalid, generate a warning message, and are reset to the default value, 1.0. This resource provides an alternate method of setting the value of the fourth element of mpFillScales. If both resources are set in the same call, the value of mpInlandWaterFillScaleF takes precedence.

When using the RANGS database this resource is ignored.

Default: 1.0

mpLabelDrawOrder (MapPlot)
This resource of type NhlTDrawOrder determines when MapPlot labels are drawn relative to other elements of the plot. There are three choices:
PreDraw
Draw labels before the standard draw phase; the labels overlay all other MapPlot elements drawn during the predraw phase but underlie anything drawn during the draw and postdraw phases.
Draw
Draw labels during the standard draw; the labels overlay anything drawn during the predraw phase and any other MapPlot elements drawn during the draw phase but underlie anything drawn during the postdraw phase.
PostDraw
Draw labels after the standard draw; the labels overlay anything drawn during the predraw and draw phases and all other MapPlot elements drawn during the postdraw phase.

Default: PostDraw

mpLabelFontColor (MapPlot)
This resource specifies the hlu color index used to draw the characters used for MapPlot labels.

Default: True

mpLabelFontHeightF (MapPlot)
This resource controls the height in NDC of characters used in the MapPlot labels. The MapPlot text height scales with changes to the viewport width, unless you explicitly set mpLabelFontHeightF during the same call.

Default: <dynamic> -- 0.008 for a viewport width of 0.6

mpLabelsOn (MapPlot)
This boolean resource determines whether the MapPlot object draws labels identifying the equator ("EQ"), Greenwich Meridian ("GM"), International Dateline ("ID"), North Pole ("NP"), and South Pole ("SP").

Default: False

mpLambertMeridianF (MapTransformation)
When mpProjection is set to the value LambertConformal, this resource specifies the central meridian (line of longitude in degrees) of the projection. This resource has nearly the same meaning that mpCenterLonF has for the other projections.

V4.1 Status Note 2

Default: 0.0

mpLambertParallel1F (MapTransformation)
When mpProjection is set to the value LambertConformal, this resource specifies one of the two standard parallels (lines of latitude in degrees) used to define the conic projection. A simpler conic projection is defined when mpLambertParallel1F and mpLambertParallel2F are equal. Normally, mpLambertParallel1F and mpLambertParallel2F should not be more than 90.0 degrees apart.

V4.1 Status Note 2

Default: .001

mpLambertParallel2F (MapTransformation)
When mpProjection is set to the value LambertConformal, this resource specifies one of the two standard parallels (lines of latitude in degrees) used to define the conic projection. A simpler conic projection is defined when mpLambertParallel1F and mpLambertParallel2F are equal. Normally, mpLambertParallel1F and