AGContour / AGContourObj


Synopsis

Draws a filled contour and/or isoline plot


AGPrimitive+AGContourParams AGContour
{
// Only allow 2D scalar uniform, rectilinear, or structured field
Mesh_Struct+Node_Data+Scalar+Dim2+IPort2+read &field;
};

Input Ports

input => &field

Description

AGContour and AGContourObj draw a filled contour and/or isoline plot, depending on the value of the contourType subobject. The input field must be 2D scalar and uniform, rectilinear, or irregular. Isoline labels are not supported for irregular gridded data. All grids which have at least one corner value that is a null value are ignored.

AGContour must connect to AGDataObject via an AGContourWorld and an AGContourViewport . The coloring of the contour plot depends on the datamap present in AGDataObject . In order for the datamapper to know the limits of the data, the input field must connect to the input port of AGContour and to the second input port of the AGDataObject.

AGContourObj produces a correctly colored contour plot directly from a field input when connected to a 2D viewer.

Subobjects

visibility
priority

Inherited from AGPrimitive.

classValues
contourType
isoLineLabelColor
isoLineLabelFont
isoLineLabelDistance
isoLineLabelHeight
isoLineLabelAngleInterval
isoLineLabelDecimals
isoLineLabelFrequency
majorIsoLineColor
majorIsoLineWidth
majorIsoLineFrequency
majorIsoLineReference
majorIsoLineStyle
maxClass
minClass
minorIsoLineColor
minorIsoLineWidth
minorIsoLineStyle
numClasses

All Inherited from AGContourParams.

Examples

Libraries.Examples.Annotation_Graphing.contour1
examples/contour1.v

Libraries.Examples.Annotation_Graphing.contour2
examples/contour2.v

Libraries.Examples.Annotation_Graphing.sliceFld
examples/sliceFld.v

File

v/ag.v

See Also

Related modules

•      AGContourParams

•      AGContourLegend / AGContourLegendObj

•      AGContourViewport / AGContourViewportObj

•      AGContourWorld

•      AGPrimitive