Chapter Contents |
Previous |
Next |
SAS/GRAPH Software: Reference |
In order to do these kinds of things with your SAS/GRAPH output, you must export your graphs from SAS/GRAPH, using a different graphics file format, such as CGM, GIF, or TIFF, and store them in external files.
For information on creating SAS/GRAPH output for Web publishing, see Bringing SAS/GRAPH Output to the Web. For information on SAS/GRAPH language elements and programs and on how procedure output is generated, see SAS/GRAPH Programs. For information on using and managing SAS/GRAPH output, see SAS/GRAPH Output.
About Graphics Stream Files |
Note: You can also use the Output Delivery
System (ODS) or SAS/GRAPH device drivers
to generate SAS/GRAPH output as HTML
and GIF files that you can view with a Web browser. Details are discussed
in Using SAS/GRAPH Web Drivers to Create Web Output.
Once you have created a GSF, you can
Note: A GSF is different from a SAS/GRAPH catalog
entry. A GSF is an external file that is independent of SAS, and a catalog
entry is a type of SAS file. Consequently, you use host commands to manipulate
a GSF independent of the SAS System, whereas you must use the SAS System to
manipulate SAS catalog entries. For example, to view graphics output stored
in a catalog you must use the GREPLAY procedure or the GRAPH window.
About Graphics File Formats |
BMP | Windows bitmap |
CGM | Computer graphics metafile |
EPS | Adobe's encapsulated PostScript language |
GIF | GIF format |
HP-GL | Hewlett Packard's Graphics Language (plotter control language) |
JPEG | JPEG format |
PBM | Portable bitmap |
Portable Document Format | |
PNG | Portable Network Graphics format |
PS | Adobe's PostScript language |
PPM | Portable pixmap |
TIFF | Tagged Image Format File |
The type of graphics file format that you choose depends on how you are going to use the output. If you are planning to import the graph into other software products, such as Microsoft Excel or Word Perfect, you may prefer to create a CGM file. These vector-based files are usually smaller than bitmapped files, and they can be edited. In addition, they use hardware fonts and provide a clear image on high-resolution devices.
If you want to display the graph on a Web page, or import it into software that cannot accept vector graphics like CGM, you will need to create a bitmapped file using a format such as GIF or TIFF.
Note: The HTML and WEBFRAME drivers generate both HTML files and GIF files specifically
for use with a Web browser. For details, see Using SAS/GRAPH Web Drivers to Create Web Output.
Most software packages that process graphics input can accept one or more of these file formats. Check the documentation for the hardware or software product to which you want to send the graph to determine what file format or formats it can use.
For a complete list of graphics file formats available with SAS/GRAPH in your operating environment, refer to the Device Help for SAS/GRAPH in the SAS Help facility.
Ways to Export SAS/GRAPH Output |
Operating Environment Information: In Windows operating environments, WMF formats cannot be exported using this method.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.