The LAYOUT
OVERLAY statement builds a composite using one or more
GTL-statements. You can specify one or more 2-D
plots within the layout, provided all plots can share the same type
of axes. You can also specify one or more insets, such as nested layout
statements (for example, LAYOUT GRIDDED), ENTRY statements, and legend
statements (CONTINUOUSLEGEND or DISCRETELEGEND).
The following
general logic applies to rendering the composite:
-
All plot statements are rendered
first. Plot statement results are always rendered in the plot area.
The plots are stacked on top of one another in the order in which
they are specified, with the last one on top. It is possible for one
plot’s graphical data to obscure graphical data beneath it.
You can control this by selectively ordering the plot statements,
or by using transparency on the individual plots, or by doing both.
-
The insets are rendered next, in
the order in which they are specified. As with the plot statements,
it is possible for the insets to obscure the results of other statements
in the layout.
-
To control the horizontal and vertical
positioning of an inset, use the inset statement’s AUTOALIGN=
option, or its HALIGN= and VALIGN= options. Each nested inset determines
its own relative position in the parent OVERLAY.
-
Some insets, like legends, can
be positioned inside or outside of the plot area using the inset statement’s
LOCATION= option. The inset’s AUTOALIGN= or HALIGN= and VALIGN=
settings are then relative to that location.
Generally,
the first specified plot determines the layout’s default axis
characteristics. To enable another plot to define the axis characteristics,
set PRIMARY=TRUE for that plot. For more information about the default
axis characteristics, see
When Plots Share Data and a Common Axis.
See Also: LAYOUT OVERLAYEQUATED and LAYOUT OVERLAY3D.