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

These are of two types:

User Specified

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

Layout Calculations

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

1. Plot Box, Pxywh - entire graphic window.

2. Sub Box, Sxywh - a subset of Pxywh.

3. Draw Box, 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 Sub Plot Box.

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

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

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

6. Frame Box, Fxywh - area in which the plot axes are drawn.

7. Graf Box, Gxywh - area in which the data is plotted.

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