Statistical Graphics Using ODS


ODS Style Comparisons

In this section, some of the most commonly used styles are compared in a series of figures, most of which were generated in the preceding section. Figure 21.22 through Figure 21.31 show tables and graphs in the HTML destination for each of eight styles, for the following analysis:

proc reg data=sashelp.class;
   model Weight = Height;
run; quit;

The PEARL, PEARLJ, RTF, SAPPHIRE, and six JOURNAL styles are compared by running the following steps for each of the ten styles and capturing output in the PDF destination:

options nonumber nodate;
ods proctitle off;

ods pdf body="fPearlJ.pdf" style=PearlJ startpage=never;
title "PearlJ";
proc means data=sashelp.class maxdec=2;
run;

proc sgplot data=sashelp.class;
   vbar age / group=sex;
run;
ods pdf close;

The results of these steps are displayed in Figure 21.32 through Figure 21.41.

Figure 21.42 through Figure 21.52 show some of the most common style elements. Figure 21.53 through Figure 21.60 show how groups of observations are displayed in the graph.

The style comparisons are as follows:

$\bullet $ The ANALYSIS style is displayed in Figure 21.26, Figure 21.46, and Figure 21.57.
$\bullet $ The DEFAULT style is displayed in Figure 21.22, Figure 21.42, and Figure 21.53.
$\bullet $ The HTMLBLUE style is displayed in Figure 21.23, Figure 21.43, and Figure 21.54.
$\bullet $ The HTMLBLUECML style is displayed in Figure 21.24, Figure 21.44, and Figure 21.55.
$\bullet $ The JOURNAL style is displayed in Figure 21.27, Figure 21.32, Figure 21.47, and Figure 21.58.
$\bullet $ The JOURNAL1A style is displayed in Figure 21.33.
$\bullet $ The JOURNAL2 style is displayed in Figure 21.34.
$\bullet $ The JOURNAL2A style is displayed in Figure 21.35.
$\bullet $ The JOURNAL3 style is displayed in Figure 21.36.
$\bullet $ The JOURNAL3A style is displayed in Figure 21.37.
$\bullet $ The LISTING style is displayed in Figure 21.28, Figure 21.48, and Figure 21.59.
$\bullet $ The PEARL style is displayed in Figure 21.30, Figure 21.38, Figure 21.50, and Figure 21.61.
$\bullet $ The PEARLJ style is displayed in Figure 21.39, Figure 21.51, and Figure 21.62.
$\bullet $ The RTF style is displayed in Figure 21.29, Figure 21.40, Figure 21.49, and Figure 21.60.
$\bullet $ The SAPPHIRE style is displayed in Figure 21.31, Figure 21.41, Figure 21.52, and Figure 21.63.
$\bullet $ The STATISTICAL style is displayed in Figure 21.25, Figure 21.45, and Figure 21.56.

Figure 21.22: Statistical Output with the DEFAULT Style and HTML Destination

Statistical Output with the DEFAULT Style and HTML Destination


Figure 21.23: Statistical Output with the HTMLBLUE Style and HTML Destination

Statistical Output with the HTMLBLUE Style and HTML Destination


Figure 21.24: Statistical Output with the HTMLBLUECML Style and HTML Destination

Statistical Output with the HTMLBLUECML Style and HTML Destination


Figure 21.25: Statistical Output with the STATISTICAL Style and HTML Destination

Statistical Output with the STATISTICAL Style and HTML Destination


Figure 21.26: Statistical Output with the ANALYSIS Style and HTML Destination

Statistical Output with the ANALYSIS Style and HTML Destination


Figure 21.27: Statistical Output with the JOURNAL Style and HTML Destination

Statistical Output with the JOURNAL Style and HTML Destination


Figure 21.28: Statistical Output with the LISTING Style and HTML Destination

Statistical Output with the LISTING Style and HTML Destination


Figure 21.29: Statistical Output with the RTF Style and HTML Destination

Statistical Output with the RTF Style and HTML Destination


Figure 21.30: Statistical Output with the PEARL Style and HTML Destination

Statistical Output with the PEARL Style and HTML Destination


Figure 21.31: Statistical Output with the SAPPHIRE Style and HTML Destination

Statistical Output with the SAPPHIRE Style and HTML Destination


Figure 21.32: JOURNAL Style and PDF Destination

JOURNAL Style and PDF Destination


Figure 21.33: JOURNAL1A Style and PDF Destination

JOURNAL1A Style and PDF Destination


Figure 21.34: JOURNAL2 Style and PDF Destination

JOURNAL2 Style and PDF Destination


Figure 21.35: JOURNAL2A Style and PDF Destination

JOURNAL2A Style and PDF Destination


Figure 21.36: JOURNAL3 Style and PDF Destination

JOURNAL3 Style and PDF Destination


Figure 21.37: JOURNAL3A Style and PDF Destination

JOURNAL3A Style and PDF Destination


Figure 21.38: PEARL Style and PDF Destination

PEARL Style and PDF Destination


Figure 21.39: PEARLJ Style and PDF Destination

PEARLJ Style and PDF Destination


Figure 21.40: RTF Style and PDF Destination

RTF Style and PDF Destination


Figure 21.41: SAPPHIRE Style and PDF Destination

SAPPHIRE Style and PDF Destination


Figure 21.42: Attributes of Style Elements in the DEFAULT Style

Attributes of Style Elements in the DEFAULT Style


Figure 21.43: Attributes of Style Elements in the HTMLBLUE Style

Attributes of Style Elements in the HTMLBLUE Style


Figure 21.44: Attributes of Style Elements in the HTMLBLUECML Style

Attributes of Style Elements in the HTMLBLUECML Style


Figure 21.45: Attributes of Style Elements in the STATISTICAL Style

Attributes of Style Elements in the STATISTICAL Style


Figure 21.46: Attributes of Style Elements in the ANALYSIS Style

Attributes of Style Elements in the ANALYSIS Style


Figure 21.47: Attributes of Style Elements in the JOURNAL Style

Attributes of Style Elements in the JOURNAL Style


Figure 21.48: Attributes of Style Elements in the LISTING Style

Attributes of Style Elements in the LISTING Style


Figure 21.49: Attributes of Style Elements in the RTF Style

Attributes of Style Elements in the RTF Style


Figure 21.50: Attributes of Style Elements in the PEARL Style

Attributes of Style Elements in the PEARL Style


Figure 21.51: Attributes of Style Elements in the PEARLJ Style

Attributes of Style Elements in the PEARLJ Style


Figure 21.52: Attributes of Style Elements in the SAPPHIRE Style

Attributes of Style Elements in the SAPPHIRE Style


Figure 21.53: Markers, Lines, and Colors with Groups in the DEFAULT Style

Markers, Lines, and Colors with Groups in the DEFAULT Style


Figure 21.54: Markers, Lines, and Colors with Groups in the HTMLBLUE Style

Markers, Lines, and Colors with Groups in the HTMLBLUE Style


Figure 21.55: Markers, Lines, and Colors with Groups in the HTMLBLUECML Style

Markers, Lines, and Colors with Groups in the HTMLBLUECML Style


Figure 21.56: Markers, Lines, and Colors with Groups in the STATISTICAL Style

Markers, Lines, and Colors with Groups in the STATISTICAL Style


Figure 21.57: Markers, Lines, and Colors with Groups in the ANALYSIS Style

Markers, Lines, and Colors with Groups in the ANALYSIS Style


Figure 21.58: Markers, Lines, and Colors with Groups in the JOURNAL Style

Markers, Lines, and Colors with Groups in the JOURNAL Style


Figure 21.59: Markers, Lines, and Colors with Groups in the LISTING Style

Markers, Lines, and Colors with Groups in the LISTING Style


Figure 21.60: Markers, Lines, and Colors with Groups in the RTF Style

Markers, Lines, and Colors with Groups in the RTF Style


Figure 21.61: Markers, Lines, and Colors with Groups in the PEARL Style

Markers, Lines, and Colors with Groups in the PEARL Style


Figure 21.62: Markers, Lines, and Colors with Groups in the PEARLJ Style

Markers, Lines, and Colors with Groups in the PEARLJ Style


Figure 21.63: Markers, Lines, and Colors with Groups in the SAPPHIRE Style

Markers, Lines, and Colors with Groups in the SAPPHIRE Style