Statement Details

LAYOUT PROTOTYPE Is a Nested Statement

The LAYOUT PROTOTYPE statement is not an independent layout; it must be nested in a LAYOUT DATAPANEL or LAYOUT DATALATTICE block. Only plot statements can be used within the LAYOUT PROTOTYPE block—no nested layouts. Additional restrictions are listed below.
The plot-statements determine the graphical content of the cells in the parent layout, based on the subsetting of the specified classification variables. For an example, see LAYOUT DATALATTICE Statement or LAYOUT DATAPANEL Statement.
A PROTOTYPE layout is essentially a restricted OVERLAY layout with the same general rules for overlaying plots. The main difference is that there are no axis options available on the LAYOUT PROTOTYPE statement. Axis properties are set with the ROWAXISOPTS= and COLUMNAXISOPTS= options of the parent DATAPANEL or DATALATTICE statement.
The following restrictions also apply to a LAYOUT PROTOTYPE block:
  • You can specify only one LAYOUT PROTOTYPE block in a LAYOUT DATALATTICE or LAYOUT DATAPANEL block. If you specify more than one, only the last prototype block specified is honored. The remaining prototype blocks are ignored.
  • Only non-computed two-dimensional plots can be included in the LAYOUT PROTOTYPE block. Thus, plots such as BOXPLOT, HISTOGRAM, DENSITYPLOT, ELLIPSE, LOESSPLOT, MODELBAND, and REGRESSIONPLOT cannot be used. In addition, a SCATTERPLOTMATRIX plot, a three-dimensional plot, or a region plot such as PIECHART or MOSAICPLOTPARM cannot be used in the LAYOUT PROTOTYPE block.
  • A plot statement cannot be used if it contains a column defined with an EVAL expression.
  • You can add one or more two-dimensional plots and one-dimensional plots to the graph area that the LAYOUT PROTOTYPE statement creates, provided all of the graphs can share the same axis type.
  • ENTRY, DISCRETELEGEND, and CONTINUOUSLEGEND statements cannot be used in the prototype layout.
  • If you include a plot statement with a CURVELABEL= option (such as SERIESPLOT), only CURVELABELLOCATION=INSIDE is supported.
  • If you include a plot statement that supports a CLIP= option (such as LINEPARM or ELLIPSEPARM), the CLIP value is always set to TRUE.

Options

Statement Option
Description
Specifies the aspect ratio of the prototype cell.
Specifies whether the default visual attributes of markers, lines, and fills in nested plot statements automatically change from plot to plot.
Specifies the fill color of the plot wall area.
Specifies whether the plot’s wall and wall outline are displayed.
ASPECTRATIO= AUTO | positive-number
specifies the aspect ratio of the prototype cell. The ratio is expressed as a positive decimal fraction representing wall-height divided by wall-width. For example, 0.75 is a 3/4 aspect ratio and 1.0 is a square aspect ratio.
Default: AUTO. The prototype cell is sized to the maximum area that can fill the available space inside the layout cell.
Note: If AUTO is not used for the aspect ratio, the entire DATALATTICE or DATAPANEL grid is affected and changes shape.
CYCLEATTRS=boolean
specifies whether the default visual attributes of markers, lines, and fills in nested plot statements automatically change from plot to plot. See Cycling through Group Attributes in Overlaid Plots for more information.
Default: FALSE
FALSE
does not cycle the default visual attributes of multiple plots. For example, if you overlay three series plots, each series line has the same default visual properties.
TRUE
the system looks at the plots in the layout. It tries to use the GraphData1 - GraphDataN style elements to assign different visual properties to applicable plots (scatter plots and series plots and others). For example, if you overlay three series plots, the three series lines receive different default visual properties (line pattern and color). These default properties are determined by the next GraphDataN style element not already used. Some plots in the layout do not participate in the cycling (for example, reference lines and drop lines).
WALLCOLOR=style-reference | color
specifies the fill color of the plot wall area.
Default: The GraphWalls:Color style reference.
style-reference
A reference in the form style-element:style-attribute. Only the style- attribute named COLOR is used.
Interaction: This option is ignored if WALLDISPLAY=NONE or WALLDISPLAY=(OUTLINE).
WALLDISPLAY=STANDARD | ALL | NONE | (display-options)
specifies whether the plot wall and wall outline are displayed.
Default: STANDARD
STANDARD
Displays a filled wall. The setting of the FRAMEBORDER= ON | OFF attribute of the GraphWalls style element determines whether the wall outline is displayed.
ALL
Displays a filled, outlined wall.
NONE
Displays no wall, no wall outline.
(display-options)
These options must be enclosed in parentheses and include one of the following:
OUTLINE displays the wall outline.
FILL displays a filled wall area.
Use the WALLCOLOR= option to control the color of the wall.
The appearance attributes of the wall outline are set by the GraphAxisLine style element.