Chapter Contents |
Previous |
Next |
SAS/GRAPH Software: Reference |
The parameter values for device entries in SASHELP.DEVICES reflect the most common modes of operation of the supported devices. You can control the way the device driver produces output for your device by changing values in the device entry. You can change device parameters either permanently or temporarily.
Modifying Device Parameters Permanently |
The new values that you specify for device parameters must be within the device's capabilities. For example, all devices are limited in the size of the output they can display. Some output devices cannot display color. If you try to increase the size of the display past the device's capability or if you specify colors for a device that cannot display them, you will get unpredictable results.
Note: If you run SAS/GRAPH software
in a multi-user environment, you should not change the device entries in the
Institute-supplied catalog, SASHELP.DEVICES, unless you are the system administrator
or the SAS Support Consultant.
If you need to change a device driver in SASHELP.DEVICES, copy it into a personal catalog named DEVICES, and then modify the copy. To use the new device driver, assign the libref GDEVICE0 to the library that contains the modified copy. See Creating or Modifying Device Entries for details.
Overriding Device Parameters Temporarily |
goptions hsize=6in vsize=4in;
These new values remain in effect until you change them, use the RESET= graphics option to reset them, or end your SAS session.
The values that you specify for graphics options must
be supported by your graphics device. If you use an option that is not supported, SAS/GRAPH software
ignores the option. See GOPTIONS Statement
for information about specifying graphics options.
You can also override parameters that control such attributes as text color and font by using options in other SAS/GRAPH statements. For example, this TITLE statement explicitly specifies the text color and font:
title color=blue font=zapf 'Production Quality';
The COLOR= option overrides the default color selection from the device entry's colors list as well as any graphics options that affect text color. The FONT= option overrides the device's default font and any graphics options that affect the font. As long as the values are supported by your graphics device, the values you specify in the statements override the corresponding device parameters and graphics options when the SAS program is executed.
When you specify options that override device parameter settings, this is the order of precedence that SAS/GRAPH software uses:
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.