Specifies the width of the addressable graphics display area;
affects the horizontal resolution of the device and the horizontal dimension
of the graphics output area.
| Used in: |
GOPTIONS statement; GDEVICE procedure; GDEVICE Detail window
|
| Restriction: |
Ignored by default display drivers and host printing drivers
|
| See also: |
HSIZE, PAPERSIZE, XPIXELS
|
|
XMAX=width <IN | CM |
PT>
|
-
width
-
is a positive number that may be followed
by a unit specification, either IN for inches (default), or CM for centimeters,
or PT for points. If you do not specify XMAX, a default width is searched
for in this order:
-
the width specification on a GOPTIONS
PAPERSIZE setting
-
the width specification on an OPTIONS
PAPERSIZE setting
-
XMAX in the device entry catalog.
If XMAX=0, default behavior is used. If both XMAX
and
PAPERSIZE have been specified on GOPTIONS, the last request is used.
Like the XPIXELS device parameter, XMAX controls the
width of the display area, but the width is in inches, centimeters, or points
rather than pixels. Typically, you might use XMAX to change the width of the
display area for a hardcopy device.
SAS/GRAPH uses
the value of XMAX in calculating the horizontal resolution of the device:
|
x-resolution = XPIXELS /
XMAX
|
However, changing XMAX does not necessarily change the
resolution:
XMAX also affects the value of HSIZE, which controls
the horizontal dimension of the graphics output area.
To permanently change the value of the XMAX device parameter
in the device entry, use the GDEVICE procedure. This can change the resolution.
To temporarily change the size of the display and the
resolution of the device for the current graph or for the duration of your
SAS session, use XMAX= and XPIXELS= in the GOPTIONS statement.
To reset the value of XMAX to the default, specify XMAX=0.
To return to the default resolution for the device, specify both XMAX=0 and
XPIXELS=0.
See Procedure Output and the Graphics Output Area
for more information.
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.