MARREP

Associates a bundle of marker attributes with an index
Operating state: GKOP, SGOP, WSAC, WSOP
Default: none

Syntax

return-code-variable=GSET ('MARREP',index, color-index, size, type);

Required Arguments

index
numeric constant or numeric variable name; defines the bundle index number. Valid values are 1 to 20, inclusive.
color-index
numeric constant or numeric variable name; indicates the color index of the color to use. Valid values are 1 to 256, inclusive. The color index should represent one of the following:
  • a color index assigned to a color name with the GSET('COLREP', . . . ) function
  • the nth color in the color list of the COLORS= graphics option
  • the nth color in the device's default color list
size
numeric constant or numeric variable name; indicates the size of the marker in units of the current window system; must be greater than 0.
type
numeric constant or numeric variable name; specifies the type of marker to use; valid values are 1 to 67, inclusive. See Symbol Indexes Used with DSGI for a table of the symbols used for each marker type.

Return Codes

This function returns:
0, 8, 64, 66, 85, or 90. See Return Codes for DSGI Routines and Functions.

Details

The GSET('MARREP', . . . ) function assigns a color, size, and type of marker to a specific marker bundle. The aspect source flag (ASF) of MARCOLOR, MARSIZE, and MARTYPE must be set to 'BUNDLED' before the GDRAW('MARK', . . . ) function is executed if you want the bundled values to be used when the marker is drawn.