To specify values for graphics options, you can submit a GOPTIONS
statement. Graphics options control characteristics of the graph,
such as size, colors, type fonts, fill patterns, and symbols. In addition,
they affect the settings of device parameters, which are defined in the device
entry. Device parameters control such characteristics as the appearance of
the display, the type of output produced, and the destination of the output.
The GOPTIONS statement allows you to change these settings temporarily, either for a single graph or for the duration of your SAS session. You can use the GOPTIONS statement to
Graphics options remain in effect until you change them, reset them using the RESET= option, or end your SAS session. |
General form, GOPTIONS statement:
GOPTIONS <options-list>;
where options-list can be one or more
graphics options.
|
For example, this GOPTIONS statement sets the values for background color,
text height, and text font:
goptions cback=blue htext=6 pct ftext=zapf;; This GOPTIONS statement resets all graphic options to their default values: goptions reset=goptions; |
Reset option |
RESET=ALL | GLOBAL | statement-name | (statement-name(s)) |
Options that set defaults for procedures and global statements |
GUNIT=units |
INTERPOL=interpolation-method |
OFFSHADOW=(x <units>, y <units> | (x,y) <units> |
V6COMP | NOV6COMP |
Image animation options |
DELAY=delay-time |
DISPOSAL=NONE | BACKGROUND | PREVIOUS | UNSPECIFIED |
INTERLACED | NONINTERLACED |
ITERATION=iteration-count |
TRANSPARENCY | NOTRANSPARENCY |
Options that affect how your SAS/GRAPH program runs |
DISPLAY | NODISPLAY |
ERASE | NOERASE |
GWAIT=seconds |
GRAPHRC | NOGRAPHRC |
PCLIP | NOPCLIP |
POLYGONCLIP | NOPOLYGONCLIP |
Options that interact with the operating environment |
DRVINIT='system-command(s)' |
DRVTERM='system-command(s)' |
PREGRAPH='system-command(s)' |
POSTGRAPH='system-command(s)' |
PROMPT | NOPROMPT |
Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.