Introduction to Devices, ODS Destinations, and ODS Styles

The output from SAS/GRAPH procedures is controlled by the following:
SAS/GRAPH device
SAS/GRAPH uses device drivers to generate graphics output. SAS/GRAPH device drivers control the format of your graphics. For example, devices determine whether SAS/GRAPH produces a PNG file, an SVG file, or an ActiveX control. You can specify a device in the OPTIONS statement, the SAS/GRAPH GOPTIONS statement, or the ODS destination statement.
ODS destination
Like other SAS procedures, the output from SAS/GRAPH procedures is controlled by ODS (Output Delivery System). An ODS destination controls where your output is sent, which could be to an HTML file, a PDF file, to the GRAPH window, directly to a printer, and so on. The ODS destination is specified by the ODS destination statement.
ODS style
By default, ODS also applies a style to your output. The ODS style controls the overall appearance of your output, including colors and fonts. You can specify a style with the STYLE= option in the ODS destination statement.
Note: This document deals only with device-based graphics. For information about template-based graphics (also called ODS Graphics), see SAS Graph Template Language: User's Guide and SAS Graph Template Language: Reference.
Each ODS destination is associated with a default style and a default SAS/GRAPH device to optimize your output for that destination. However, you can change the default values in order to customize your graphics output. Combining ODS statements with SAS/GRAPH statements and options enables you to control all of the aspects of your output. This includes where your output is sent, its appearance, and the format of your graphics.
Note: The LISTING destination is unique. For the LISTING destination, the SAS/GRAPH device controls not only the graphics format but 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 that you want.
For complete information about ODS, see also SAS Output Delivery System: User's Guide.