ODS enables
you to change the ODS destination where you are sending your output
to result in different output formats such as RTF or PDF. There might
also be times when you want to access your graphs as individual image
files.
The default image file
type is determined by the ODS destination. You can use the OUTPUTFMT=
option to specify a different image file format. The type of image
allowed is dependent on the destination that you have specified.
You can also specify
names for your graphics image files and the directory in which you
want to save them. The IMAGENAME= option specifies the base image
filename and the GPATH= option specifies a directory for your images.
ods graphics on /
width=3.25in
outputfmt=gif
imagemap=on
imagename="MyBoxplot"
border=off;
The resulting
filename for the image created is
MyBoxplot.GIF
.
If there is more then one image, they are named
MyBoxplot1.GIF
,
MyBoxplot2.GIF
,
and so on.
The following ODS GRAPHICS
statement specifies the RESET=ALL option, which changes the image
filename and format to the defaults:
ods graphics on / reset=all;
You can use
the GPATH= option to specify a directory for saving your graphics
image files. For example, in
Controlling Graphics with the ODS GRAPHICS Statement the GPATH= option on both of the
ODS HTML statements specifies that all images be saved in the directory
C:\myfiles\images
.