Chapter Contents |
Previous |
Next |
The GANNO Procedure |
Procedure features: |
| |||
Data set: | REFLIB.SQUARES | |||
Sample library member: | GR12N03 |
In this example, the GANNO procedure uses the NAME= option to generate multiple graphs from one Annotate data set. Since NAME= is assigned the variable COLOR, the GANNO procedure generates separate graphics output for each value of the COLOR, as shown in Output for COLOR Value BLUE (REFLIB.EXCAT.BLUE.GRSEG), Output for COLOR Value GRAY (REFLIB.EXCAT.GRAY.GRSEG), Output for COLOR Value BLUE (REFLIB.EXCAT.BLUE.GRSEG) and Output for COLOR Value GREEN (REFLIB.EXCAT.GREEN.GRSEG).
Each output is
stored as a separate entry in the output
catalog REFLIB.EXCAT. The entries are named according to the values of COLOR:
BLUE, GRAY, GREEN
, and
RED
. Note that the output
for
GRAY
includes the footnote shown in Storing Annotate Graphics. The output for
RED
shows the frame that is generated by the Annotate data set. The
black borders in the other outputs are not generated by the code.
libname reflib 'SAS-data-library'; goptions reset=global gunit=pct cback=white colors=(black blue green red); |
proc ganno annotate=reflib.squares name=color gout=reflib.excat description='Individual squares'; run; |
Output for COLOR Value BLUE (REFLIB.EXCAT.BLUE.GRSEG)
Output for COLOR Value GRAY (REFLIB.EXCAT.GRAY.GRSEG)
Output for COLOR Value GREEN (REFLIB.EXCAT.GREEN.GRSEG)
Output for COLOR Value RED (REFLIB.EXCAT.RED.GRSEG)
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.