![]() Chapter Contents |
![]() Previous |
![]() Next |
| The GREPLAY Procedure |
| Procedure features: |
| ||||||||
| Sample library member: | GR26N03 |
This example uses the CDEF statement to define a color map. The LIST statement is used in this example to display the color map definition in the log. Defining a Color Map (GR26N03) shows a partial listing of the log.
| | libname reflib 'SAS-data-library';
goptions reset=global gunit=pct border cback=white
colors=(black blue green red)
ftext=swissb htitle=6 htext=3; |
| | proc greplay cc=reflib.clrmap gout=reflib.excat nofs; |
| | cdef mycolor des='Special Color Map'
1 / pink : red
2 / cyan : blue
3 / lig : green; |
| | cmap mycolor; list cmap; quit; |
Defining a Color Map (GR26N03)
.
.
75 /* list the contents of the color map */
76 list cmap;
MYCOLOR Special Color Map
FROM TO
1 PINK RED
2 CYAN BLUE
3 LIG GREEN
77 quit;
. |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.