RECTANGULAR MESH ELEMS IN 2D, COLORING BASED ON AVERAGE
CALL SEQUENCE
TARECC (STRID, NX, XT, NY, YT, VT)
INPUT PARAMETERS
INTEGER STRID
INTEGER NX
REAL XT (nx)
INTEGER NY
REAL YT (ny)
REAL VT (nx, ny)
ARGUMENTS
- STRID
- Identifier of the generated structure.
- NX
- Number of vertical mesh lines.
- XT
- Abscissas of vertical mesh lines.
- NY
- Number of horizontal mesh lines.
- YT
- Ordinates of horizontal mesh lines.
- VT
- Values, one at each mesh vertex.
EFFECT
This function represents a 2D surface by creating filled polygons centered at
each mesh vertex. The colour of each polygon is a function of the value (VT) at
the mesh vertex located at the center of the polygon.
Each polygon is generated with a fill area set primitive with the
current fill area set attributes (inherited from the parent structure), except
for the polyline colour attribute, which is replaced by the colour attribute
selected by this function.