SAS Institute. The Power to Know

SAS/GRAPH(R) 9.2 Reference

Previous Page | Next Page

Generating Output with SAS/GRAPH Procedures

Introduction

Like other SAS procedures, the output from SAS/GRAPH procedures is controlled by ODS (Output Delivery System). ODS controls where your output is sent--to a file, to the GRAPH window, directly to a printer, and so on. By default, ODS also applies a style to your output. Styles set the overall appearance of your output--the colors and fonts that are used.

SAS/GRAPH uses device drivers to generate graphics output. SAS/GRAPH device drivers control the format of your graphics. For example, they determine whether SAS/GRAPH produces a PNG file, an SVG file, or an ActiveX control.

Note:   This document deals only with device-based graphics. See Device-Based Graphics And Template-Based Graphics.  [cautionend]

Each ODS destination is associated with a default style and a default graphics device to optimize your output for that destination. However, using ODS statements and SAS/GRAPH statements and options, you can customize all of the aspects of your output--where your output is sent, its appearance, and the format of your graphics.

Relationship Between Destinations, Styles, and Devices
This... Controls... Is specified by...
ODS Destination* where your output is sent, such as to a file or directly to a printer, and so on ODS destination statement
ODS Style the appearance of your output, including colors and fonts STYLE= attribute on the ODS destination statement
SAS/GRAPH device the format of your graphics output such as PNG, GIF, SVG , and so on DEVICE= option on the GOPTIONS statement
* The LISTING destination is unique. For the LISTING destination, the device controls where your output is sent.

The following sections discuss these concepts of SAS output and describe how you can use SAS/GRAPH and ODS statements and options to create the graphic output you want.

For complete information on ODS, see also SAS Output Delivery System: User's Guide.

Previous Page | Next Page | Top of Page