Chapter Contents |
Previous |
Next |
The GIMPORT Procedure |
Requirements: | You can submit only one SCALE statement. |
Tip: | You can submit the SCALE statement alone or in conjunction with the TRANSLATE statement, but the SCALE statement is always processed first. |
Featured in: | Adjusting the Graphics Output |
SCALE X=factor | Y=factor | X=factor Y=factor; |
Required Arguments |
Details |
If the shapes in the imported graphics output are too narrow, you can make them wider by increasing the values of the x coordinate. To make the elements in the graphics output twice as wide, specify X=2. To make them half as high, specify Y=.5.
For example, if the values of the x coordinates range from 5 to 50 and if in the SCALE statement the factor for X= is specified as 2, then the values of all of the x coordinates are multiplied by 2 and the range of these values increases. The new range is 10 to 100. And if the values of the y coordinates range from 0 to 25 and if in the SCALE statement the factor for Y= is specified as .5, then the values of all of the y coordinates are multiplied by .5 and the range of these values decreases. The new range is 0 to 12.5.
If you specify a factor that causes the graphics output to exceed the size of the graphics output area, the procedure draws as much of the graphics output as will fit in the available space.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.