The LAYOUT
OVERLAYEQUATED statement is used for equated layouts where the X and
Y axes always have equal increments between tick values. Because the
axes within the equated layout are so closely correlated, some axis
adjustments cannot be applied to one axis without applying them to
the other.
For example,
the INTEGER= option sets evenly spaced integer values for the axis
tick marks. That setting must be applied to both axes if the correlation
between them is to be maintained. The LAYOUT OVERLAYEQUATED statement
provides the
COMMONAXISOPTS= option for specifying the INTEGER=
option and other options whose settings apply in common to both axes.
Despite
the close correlation between the axes, some axis adjustments can
be made to one axis without affecting the other. For example, displaying
grid lines on one axis has no impact on the other. The
XAXISOPTS= and YAXISOPTS= options are available for applying
settings separately to the X and Y axes.
The following
example template sets evenly spaced integer values for the axis tick
marks of both axes. It also specifies the display of grid lines, tick
marks, and tick values for the Y axis:
begingraph;
layout overlayequated /
commonaxisopts=(integer=true);
yaxisopts=(griddisplay=on display=(ticks tickvalues));
seriesplot x=var1 y=var2;
endlayout;
endgraph;
Interaction. The OVERLAYEQUATED’s axis options
are ignored when the LAYOUT OVERLAYEQUATED statement is nested within
another layout type that has external axes in effect. For example,
the axis options are ignored when the statement is nested within a
LAYOUT LATTICE with a COLUMNAXIS= or ROWAXIS= option in effect.