%POLY, %POLY2 Annotate Macros
Begins drawing a polygon at the specified coordinates and determines the color, fill pattern, and line type of the polygon.
| Variables written out: | FUNCTION, COLOR, LINE, STYLE, X, Y, |
|---|---|
| Requirement: | You must run the %ANNOMAC macro before using this or any of the other SAS/GRAPH annotate macros. See Making the Macros Available. |
Table of Contents
Syntax
Parameters
x, y
specify the starting point for a new polygon. Values can be numeric coordinates, numeric constants, or numeric variables.
| See | X Variable and Y Variable |
|---|
color
specifies the optional polygon fill color using a character string without quotation marks. Use an asterisk (*) to specify the previous value of the color parameter.
| Tip | Use the %POLYCONT Annotate Macro to specify the color of the polygon outline. |
|---|---|
| See | COLOR Variable |
style
specifies the fill pattern for the polygon, using a character string without quotation marks.
| See | STYLE Variable: Patterns for the POLY function for valid style values. |
|---|
line
specifies the polygon's line type, which can be continuous or segmented. The value can be a number, a numeric constant, or a numeric variable.
| See | LINE Variable for the POLY function for valid line values. |
|---|
width
specifies the width of the polygon's outline and optional fill lines. The value can be a number, a numeric constant, or a numeric variable.
| See | SIZE Variable for the POLY function for valid width values. |
|---|