You can enable ODS Graphics by specifying the following statement:
ods graphics on;
ODS Graphics remains enabled for all procedure steps until you disable it with the following statement:
ods graphics off;
Once ODS Graphics is enabled, creating graphical output with procedures is as simple as creating tabular output. For more information about enabling and disabling ODS Graphics, see the section Enabling and Disabling ODS Graphics. See the section Syntax for details about the more commonly used ODS GRAPHICS statement options.
You can control your output in the following ways:
ODS destination statements (such as ODS HTML or ODS RTF) specify where you want your graphs displayed. See Figure 21.20 for an example of HTML output. See the section ODS Destination Statements for a list of the supported destinations. See the section Syntax for details about the more commonly used ODS destination statement options.
ODS SELECT and ODS EXCLUDE statements select and exclude graphs from your output. See the section Selecting and Excluding Graphs for an example of how to select graphs.
ODS OUTPUT statements create SAS data sets from the data object used to make the plot. See the section Specifying an ODS Destination for Graphics for an example.
Procedure options specify which graphs to create. For each procedure, these options are described in the "Syntax" section of the procedure chapter. Typically, you use the PLOTS= option to control all graphs. The available graphs are listed in the "ODS Graphics" section, which is found in the "Details" section of each procedure chapter. Many graphs are produced by default.
Note: A default template is provided by SAS for each graph, so you do not need to know anything about templates to create statistical graphics.
You can also access individual graphs, control the resolution and size of graphs, and modify your graphs (as explained in the sections beginning with Selecting and Viewing Graphs). Alternatively, you can use special statistical graphics procedures to create custom graphs directly (see the section Statistical Graphics Procedures).