Graphics Options and Device Parameters Dictionary |
Used in: | GOPTIONS statement GDEVICE procedure GDEVICE Detail window |
Default: | device-dependent |
Restriction: | not supported by Java or ActiveX |
Syntax | |
Details |
Syntax |
ASPECT=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.
Details |
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.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.