SAS Institute. The Power to Know

SAS/GRAPH(R) 9.2: Statistical Graphics Procedures Guide

space
Previous Page | Next Page

The SGPANEL Procedure

PANELBY Statement


Specifies one or more classification variables for the panel, the layout type, and other options for the panel


Syntax

PANELBY variable(s) </ option(s)>

option(s) can be one or more of the following:

COLUMNS= n

GRID

LAYOUT= LATTICE | PANEL

MISSING

NOVARNAME

ROWS= n

SPACING= n

SPARSE

UNISCALE= ROW | ALL


Required Arguments

variable(s)

specifies one or more classification variables for the panel.


Options

COLUMNS= n

specifies the number of columns in the panel. By default, the number of columns is determined automatically based on the number of classifier values and the layout type.

Tip: The SGPANEL procedure automatically splits the panel into multiple graphs (pages) as needed when your panel contains a large number of cells. You can control the number of cells in each graph by using the COLUMNS= and the ROWS= options.
LAYOUT= LATTICE | PANEL

specifies the type of layout that is used for the panel.

Select one of the following values:

LATTICE

when you specify two classification variables, arranges the cells so that the values of the first variable are columns and the values of the second variable are rows. You can use LATTICE only when you specify exactly two classification variables.

PANEL

arranges the cells in rows and columns. The headings for each cell are placed at the top of the cell.

Default: PANEL
MISSING

processes missing values as a valid classification value and creates cells for it. By default, missing values are not processed as a classification value.

NOVARNAME

removes the variable names from the cell headings of a panel layout, or from the row and column headings of a lattice layout. For example, a row heading might "NorthEast" instead of "Region=NorthEast" when you specify the NOVARNAME option.

ROWS= n

specifies the number of rows in the panel. By default, the number of rows is determined automatically based on the number of classifier values and the layout type.

Tip: The SGPANEL procedure automatically splits the panel into multiple graphs (pages) as needed when your panel contains a large number of cells. You can control the number of cells in each graph by using the COLUMNS= and the ROWS= options.
SPACING= n

specifies the number of pixels between the rows and columns in the panel.

Default: 0
SPARSE

enables the SGPANEL procedure to create empty cells for crossings of the classification variables that are not present in the input data set. By default, empty cells are not created for the panel layout.

Interaction: This option has no effect if you specify LAYOUT=LATTICE.
UNISCALE= COLUMN | ROW | ALL

scales the shared axes in the panel to be identical. Specify one of the following values:

COLUMN

scales all of the column axes in the panel to be identical.

ROW

scales all of the row axes in the panel to be identical.

ALL

scales all of the column axes to be identical, and also scales all of the row axes to be identical.

Default: ALL

space
Previous Page | Next Page | Top of Page