>> << Ndx Usr Pri Phr Dic Rel Voc !: wd Help User

# Plot Layout

Each plot requires the calculation of a series of boxes (rectangular screen areas).

These are of two types:

- frame boxes determine the frame in which the next sequence of plot commands operates.
- item boxes determine the position of specific graphic items.

These calculations are done automatically, but some cases can be specified by the user. These are:

1. PlotBox - isigraph window size, or the parameter to the `eps` or `pdf` commands.

2. SubBox - parameter to the `sub` command.

3. DrawBox - parameter to the `new` or `use` commands.

4. KeyBox - position determined by parameters to the `keypos` option.

The layout calculations then determine the frame boxes, in decreasing size:

1. PlotBox `Pxywh` - entire graphic window.

2. SubBox `Sxywh` - a subset of Pxywh.

2. DrawBox `Dxywh` - area used for the specific plot. If there is only one plot and it takes the entire window, then it is the same as the SubPlotBox.

3. The following item boxes are then calculated and positioned so as to avoid overlaps:

- TitleBox `Txywh` - for the Title, at the top.
- YCapBox `Yxywh` - for the Y Caption, on the left.
- Y2CapBox `Y2xywh` - for the second Y axis Caption, on the right.
- XCapBox `Xxywh` - for the X Caption, at the bottom

4. The inside area remaining is OutBox `Oxywh`, the area available for drawing an outside key. In this case, the key item box is calculated:

- KeyBox `Kxywh` - for drawing keys. Positioned now only if it is an outside key.

5. LabelBox `Lxywh` - area that remains after positioning the outside key item boxe. Labels are drawn in this box.

6. FrameBox `Fxywh` - area in which the plot axes are drawn.

7. GrafBox `Gxywh` - area in which the data is plotted.

- If there is an extended frame, it is slightly smaller than the frame. In this case ticmarks appear in the FrameBox, but do not intrude into the GrafBox.
- Otherwise, it is the same as the FrameBox. Ticmarks will intrude into the drawing area.

8. An inside KeyBox is drawn after drawing the rest of the plot.

>> << Ndx Usr Pri Phr Dic Rel Voc !: wd Help User