Previous Page | Next Page

The NETDRAW Procedure

ODS Style Definitions

ODS style definitions control the overall look of your output. An ODS style definition is composed of a set of style elements. A style element is a collection of style attributes that apply to a particular feature or aspect of the output. A value can be specified for each attribute in a style definition.

If the GSTYLE system option is in effect, then the default values of some PROC NETDRAW options can depend on the current ODS style definition. Table 9.20 lists these PROC NETDRAW options and explains the order in which PROC NETDRAW searches for each option’s default value. The order assumes that the GSTYLE system option is in effect; if that is not the case, then the steps referring to ODS style definitions are ignored.

Table 9.20 PROC NETDRAW Options: Search Orders for Default Values

Option

 

Search Order for Default Value

CARCS=

1.

The Color attribute of the GraphConnectLine element of the current ODS style definition

 

2.

The fourth color in the COLORS= list of the GOPTIONS statement

CAXIS=

1.

The Color attribute of the GraphAxisLines element of the current ODS style definition

 

2.

The text color

CREF=

1.

The Color attribute of the GraphReference element of the current ODS style definition

 

2.

The text color

CREFBRK=

1.

The Color attribute of the GraphReference element of the current ODS style definition

 

2.

The text color

CTEXT=

1.

The value specified for the CTEXT= option in the GOPTIONS statement

 

2.

The Color attribute of the GraphDataText element of the current ODS style definition

 

3.

The Color attribute of the GraphDataDefault element of the current ODS style definition

 

4.

The first color in the COLORS= list in the GOPTIONS statement

FONT=

1.

The value specified for the FTEXT= option in the GOPTIONS statement

 

2.

The Font attribute of the GraphDataText element of the current ODS style definition

 

3.

The default hardware font for the graphics output device

In order to create your own style definition or to modify a style definition for use with ODS Graphics, you need to understand the relationships between style elements and graph features. This information is provided in the ODS Statistical Graphics documentation at http://support.sas.com/documentation/onlinedoc/base/ . Style definitions are created and modified with the TEMPLATE procedure. For more information, refer to the section "TEMPLATE Procedure: Creating a Style Definition" in the SAS Output Delivery System User’s Guide.

Previous Page | Next Page | Top of Page