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
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
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
Example
File
See Also Related Modules