| DATA Step Graphics Interface Dictionary |
| Operating States: | SGOP |
| Return Codes: | 0, 4, 86 |
| Default Values: | 1. color list of COLORS= graphics option; 2. device's default color list |
| Syntax | |
| Description | |
| Argument Definitions | |
| See Also |
| Syntax |
return-code-variable=GSET('COLREP', color-index, color);
| Description |
The GSET('COLREP', . . . ) function associates a predefined SAS color name with a color index. Many of the GASK routines and GSET functions use color-index as an argument.
If this function is not used, DSGI searches for a color specification in the following order:
| Argument Definitions |
| color-index |
numeric constant or numeric variable name; a number from 1 to 256 that identifies a color. |
| color |
character string enclosed in quotation marks or character variable name; a predefined SAS color name. See SAS Color Names and RGB Values in the SAS Registry for a list of predefined SAS color names. |
| See Also |
|
COLORS= graphics option (see COLORS) | |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.