DCL:GRPH2:USPACK: Auto-Scaling Routines: Basic Structure
The USDAXS sets appropriate intervals for tick marks and labels for
the currently set transformation function and creates a plot. The position of
the coordinate axis is specified by the internal variable CXSIDE/CYSIDE
of USCSET, and the titles, etc. can be set using USSTTL
or USCSET. USDAXS basically processes the X ands Y axes
independently, and it performs a different processing for determining the label
interval depending on the angle between the label and the axis (parallel or
perpendicular). Normally, the labels are drawn horizontally for both the X and Y
axes (parallel to the X axis), so even when the data range for the X and Y axes
are the same, the label interval may be different. If you are not comfortable
with this, set 'LMATCH' to .TRUE. with USLSET.
Then, regardless of the direction of the label, the label interval is set
assuming that the label is drawn parallel to the axis, so the intervals for X-
and Y- axis labels will be the same.
The USDAXS plot both the X and Y axes, but there is also the USXAXS and USYAXS for plotting the axes separately.