The Graphics Output Environment |
The resolution of an
image is the number of pixels per inch. Resolution is determined by the values
of the device parameters XMAX, YMAX, XPIXELS, and YPIXELS, and is calculated
by dividing the number of pixels by the corresponding outer dimension. For
example:
x-resolution = XPIXELS / XMAX
|
Therefore, the X resolution of the PSCOLOR device illustrated in
Default Dimensions of the PSCOLOR Device is 300dpi
(dots per inch).
Ordinarily, you do not want to change the image resolution
because changing it might distort your image. However, you might want to change
the size of the display area. To do so without changing the resolution, use
the GOPTIONS statement to change either the values of XPIXELS= and YPIXELS=,
or the values of XMAX= and YMAX=. SAS/GRAPH
automatically calculates the correct value for the unspecified parameters
so that the device retains the default resolution.
For information on controlling the resolution of your
image see Using the XPIXELS=, XMAX=, YPIXELS=, and YMAX= Graphics Options to Set the Resolution for Device-Based Graphics.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.