MARK

Draws a polymarker
Operating state: SGOP

Syntax

return-code-variable=GDRAW ('MARK', n, x-values, y-values);

Required Arguments

n
numeric constant or numeric variable name; the number of times the symbol is drawn. You can specify a missing value (.) for n. If n is missing, the number of vertices is calculated from the number of x and y pairs.
x-values
list of numeric constants, variables, or OF arguments that describe the x coordinates of the symbols in units based on the current window system.
y-values
list of numeric constants, variables, or OF arguments that describe the y coordinates of the symbols in units based on the current window system.

Return Codes

This function returns:
0, 4, 65, 86, 100, or 301. See Return Codes for DSGI Routines and Functions.

Details

The GDRAW('MARK', . . . ) function draws a series of symbols. The marker attributes and bundles affect the appearance of this primitive. See DATA Step Graphics Interface Routines for a list of these attributes. Refer to the Symbol Indexes Used with DSGI for a list of symbols that you can draw with GDRAW('MARK', . . . ).
Note: All of the x coordinates are listed in the function first, followed by the y coordinates. This primitive takes the first n values and stores them as x coordinates and the next n values and stores them as y coordinates.