A Typical SAS/GRAPH Program

Most SAS/GRAPH programs have Base SAS statements, ODS statements, and SAS/GRAPH statements. Annotate DATA steps and DSGI functions are also used in many SAS/GRAPH programs. The sample program below identifies the basic parts of a typical SAS/GRAPH program. Each element is described in more detail in the following sections.
Typical SAS/GRAPH Program
Typical SAS/GRAPH Program
1 For information about ODS destinations, see Destination Statements.
2 For information about the GOPTIONS statement, see Global Statements.
3 For information about the TITLE and FOOTNOTE statements, see Global Statements.
4 For information about the SYMBOL statement, see Global Statements.
5 For information about the procedure statement, see Procedure Statement.
6 For information about the plot (action) statement, see Subordinate Statement.
7 For information about the RUN statement, see Shared Language Statements.
8 For information about the QUIT statement, see Shared Language Statements.
9 For information about specifying the style for an ODS destination, see Destination Statements.
10 For information about the HAXIS option, see Other Statements and Options.
11 For information about ODS styles, see ODS Statement Options.