- SAS 9.4 Graph Template Language: Reference, Second Edition
- SAS 9.3 Graph Template Language: Reference, Third Edition
- SAS/GRAPH 9.4: Statistical Graphics Procedures Guide, Second Edition
- SAS 9.3 ODS Graphics: Procedures Guide, Third Edition
- SAS/STAT 13.1 User's Guide: Statistical Graphics Using ODS
- SAS/STAT 9.3 User's Guide: Statistical Graphics Using ODS

- Statistical Graphics in SAS: An Introduction to the Graph Template Language and the Statistical
Graphics Procedures

by Warren Kuhfeld

ODS Statistical Graphics (also known as ODS Graphics) is functionality for easily creating statistical graphics. It is available in a number of SAS products, including SAS/STAT, SAS/ETS, SAS/QC, and
SAS/GRAPH software. With it, over 60 statistical procedures can produce graphs as automatically as they do tables. ODS Graphics is an extension of ODS (the Output Delivery System), which manages
procedure output and lets you display it in a variety of destinations, such as HTML and RTF. Consequently, many familiar features of ODS for tabular output apply equally to graphs. For statistical
procedures that support ODS Graphics, you invoke this functionality with the statement *ODS GRAPHICS ON*. Graphs and tables created by these procedures are then integrated in your ODS output destination.

In SAS 9.2, SAS/GRAPH software is required for ODS Graphics functionality. With SAS 9.3, all ODS Graphics capabilities moved to Base SAS.

New procedures use this functionality to product plots for exploratory data analysis and for customized statistical displays. Additional functionality enables you to edit graphs produced on the fly with the ODS Graphics Editor, a point-and-click interface with which you can customize titles, annotate points, and make other changes.

ODS Graphics produces graphs in standard image file formats, and the consistent appearance and individual layout of these graphs are controlled by ODS styles and templates, respectively. Since the default templates for procedure graphs are provided by SAS software, you do not need to know the details of templates to create statistical graphics. However, with some understanding of the underlying Graph Template Language, you can modify the default templates to make changes to graphs that are permanently in effect each time you run the procedure.