Annotate Dictionary |
Updates: | XLAST, YLAST |
Syntax | |
Associated Variables | |
Details |
Syntax |
FUNCTION='IMAGE'; |
Associated Variables |
specifies the image file to be displayed in the graphics output. The syntax of external file specifications varies across operating environments.
Note: Copying and pasting the image works only if an absolute path is specified instead of a relative path, or if the file into which the image is being pasted is opened from the directory to which the image is relative.
specifies how the image is to be applied to fill the specified area of the graphics output. The default value of TILE replicates the image to fill the area. The FIT value stretches a single instance of the image to fill the area.
specifies the horizontal coordinate that determines the size of the image displayed in the graphics output.
specifies the vertical coordinate that determines the size of the image displayed in the graphics output.
specifies the coordinate system for the Z variable. See ZSYS Variable for an explanation of coordinate-system.
Details |
The following example shows how the IMAGE function adds a single stretched instance of an image to the graphics output, beginning at the current coordinates and ending at the specified coordinates:
x=10; y=5; function="move"; output; x=35; y=15; imgpath="/images/gifs/picture.gif"; style="fit"; function="image"; output;
For a list of the file types that you use, see Image File Types Supported by SAS/GRAPH.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.