TOC PREV NEXT INDEX

AGContourFieldObj

Synopsis

AGContourFieldObj is a macro that makes contours from a scalar 2D structured field.

Input Ports

in_field => Mesh_Struct+Node_Data+Scalar+Dim2+IPort2+read

Output Port

obj => DefaultObject

Description

AGContourFieldObj draws a complete contour plot including axes and legend, based on the node data from the input scalar field. Contour's coordinates are the coordinates of the Field, and the contour's data values, or classification values, are the input Field's node_data values.

The world coordinates are not the data viewer's world coordinates but rather the world coordinates of the AG viewport object. The coordinates of the viewport are {-3, -3, 3, 3}

You can edit contour attributes from the Editors->Graph->Contour page of the DataViewer. The Editors->Graph menu contains pages to edit the axis, ticklines, and title. The data is divided into 10 classes by default.

Input Port

in_field

A 2D structured scalar field with node_data (cell_data will not work). The input must contain a single component of node_data. You can use extract component if it has morethan one.

Output Port

obj

This output port connects to a 2D view.

Example

Not Available

File

v/AG.v

See Also Related Modules

AGContour / AGContourObj
AGContourWorld
AGText /AGTextObj
AGXAxis / AGYAxis
AGXTicklines / AGYTicklines

TOC PREV NEXT INDEX