Whenever axis scales
have been unified for a row or a column, you can replace the individual
cell axes in that row or column with a single axis that is external
to the cells.
To externalize the X axis,
use the following syntax:
COLUMNAXES;
COLUMNAXIS / options ;
<COLUMNAXIS / options ;>
ENDCOLUMNAXES;
To externalize the Y axis,
use the following syntax:
ROWAXES;
ROWAXIS / options ;
<ROWAXIS / options ;>
ENDROWAXES;
Within the axes blocks,
you should specify as many COLUMNAXIS or ROWAXIS statements as there
are columns or rows in the grid. The
options that are available to each statement are similar to those that are
available for the XAXISOPTS= and YAXISOPTS= options of a LAYOUT OVERLAY
statement. The
options that
you specify can differ from statement to statement.
Note: When a row or column external
axis is used, all axis options on the internal axes in that same dimension
are ignored.
The following code fragment
externalizes the Y axes:
layout lattice / columns=2 columngutter=5px
columndatarange=unionall
rowdatarange=union;
histogram mpg_city;
histogram mpg_highway;
rowaxes;
rowaxis / griddisplay=on;
endrowaxes;
endlayout;