POLY Function

Specifies the beginning point of a polygon. Associated variables can define the fill pattern and color, as well as the line type that outlines the polygon.

Syntax

FUNCTION='POLY';

Associated Variables

COLOR='color'
specifies the color of the interior of the polygon, if a pattern is specified for the STYLE variable. The outline color is specified with the POLYCONT function. Color can be any SAS/GRAPH color name.
HTML='link-string'
specifies the text that defines the link for drill-down.
LINE=1...46
specifies the line type that outlines the polygon. See Specifying Line Types for an illustration of the line types.
STYLE='fill-pattern'
specifies the value of the pattern that fills the polygon. Fill-pattern can be the following map patterns:
MSOLID
MS
a solid pattern
MEMPTY
ME
an empty pattern
Mdensity<style<angle>>
    a shaded pattern:
  • density can be 1...5
  • style can be X | N
  • angle can be 0...360.
For example, if STYLE='MSOLID' for the POLY function, the fill area that is drawn by the POLYCONT sequence uses a solid fill. If STYLE='M5N15', the fill area uses a shaded fill of parallel lines. The fill-pattern value M5N15 specifies that the lines use the heaviest density, are parallel, and are drawn at a 15-degree angle from the horizontal. See also the discussion of fill patterns for maps in the documentation for the VALUE= option for the PATTERN Statement.
Note:Java and ActiveX support only SOLID and EMPTY. EMPTY is the default if any other value is used.
WHEN='B' | 'A'
specifies when to begin the polygon in relation to other procedure output. See WHEN Variable.
X=horizontal-coordinate
Y=vertical-coordinate
Z=depth-coordinate (PROC G3D only)
XC='character-type-horizontal-coordinate'
YC='character-type-vertical-coordinate'
specify the initial point of the polygon that is being created. Use the Z variable only with the G3D procedure.
XSYS='coordinate-system'
specifies the coordinate system for the X or XC variable. Use the XC variable only with XSYS='2'. See XSYS Variable for an explanation of coordinate-system.
YSYS='coordinate-system'
specifies the coordinate system for the Y or YC variable. Use the YC variable only with YSYS='2'. See YSYS Variable for an explanation of coordinate-system.
ZSYS='coordinate-system'
specifies the coordinate system for the Z variable. See ZSYS Variable for an explanation of coordinate-system.

Details

Use POLY with POLYCONT to define and fill areas in the graphics output. POLY and POLYCONT do not update the (XLAST, YLAST) coordinates.