Creating a Static Graphic with ODS


You can use a GOPTIONS statement with a device type of GIF, JPEG, or PNG to create a static image file from one or more SAS/GRAPH procedures. SAS first creates a GRSEG entry in your Work catalog, and then creates an image file of the specified type that is identical to the GRSEG entry.

Use ODS with the following arguments to create the HTML file that embeds the image:

FILE=

The filename of the output HTML file ( BODY= is a synonym for FILE= ).

PATH =

The location (URL or fileref) of the HTML file and static graphic file.

GPATH=

The location of the image file that is created.

Note: You must specify GPATH only if you specify FILE= as a complete path and file name , and you don t specify PATH=.

If you specify FILE= as just a filename (and extension), and you specify PATH=, then both the HTML file and the image file are written to the same location (as specified by PATH.)

STYLE=

The style to be applied, if DEVICE=ACTXIMG or DEVICE=JAVAIMG. The STYLE argument is optional.

For samples, see Sample Programs for Static Images on page 447.




SAS.GRAPH 9.1 Reference, Volumes I and II
SAS.GRAPH 9.1 Reference, Volumes I and II
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 342

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net