Graphics Options and Device Parameters Dictionary |
Sets the aspect ratio for graphics elements.
Used in: |
GOPTIONS statement GDEVICE procedure GDEVICE
Detail window
|
Default: |
device-dependent
|
Restriction: |
not supported by Java or ActiveX
|
-
scaling-factor
-
is a non-negative integer or real number
that determines the ratio of width to height for graphics elements. If you
specify ASPECT=1, each graphics element has equal horizontal and vertical
scaling factors; ASPECT=2 scales the graphics element twice as wide as its
height; and so on. If ASPECT= is not specified or is set to 0 or null, SAS/GRAPH uses
the aspect ratio of the hardware device.
The aspect ratio affects many graphics
characteristics, such as the shape of software characters and the roundness
of pie charts. Some graphics drivers do not produce correct output if the
aspect ratio is anything other than the default. When you use a device that
uses local scaling (that is, the device itself can scale the output, for example,
some plotters), use ASPECT= to tell SAS/GRAPH the
scaling factor.
Note: You can get more reliable results
if you use the default aspect ratio and use the HSIZE= and VSIZE= graphics
options to set the dimensions. ![[cautionend]](../../../../common/63294/HTML/default/images/cautend.gif)
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.