DCL:GRPH2:U[XYZ]PACK: Cartesian Coordinate Axis Routines
Of the subroutines packages UXPACK/UYPACK/UZPACK, this subroutine group is the one the user is most likely to use. It is written using a combination of lower-level applications (LLA), and the attributes of the components of the coordinate axis can be inquired/changed using UZpGET/UZpSET. In the explanation below for the upper-level applications (ULA), the routine name of a lower-level application can be frequently seen. See Section 3.8 for details.
The following subroutines are included in the upper-level applications (ULA).
UXAXDV/UYAXDV | . . . | Draws an axis with the intervals specified for tick marks and labels. |
UXAXNM/UYAXNM | . . . | Draws an axis with the position specified for tick marks and labels. |
UXAXLB/UYAXLB | . . . | Draws and axis with the position and label specified for the tick marks and labels. |
UXMTTL/UYMTTL | . . . | Draws a major title. |
UXSTTL/UYSTTL | . . . | Draws a minor title. |
The argument CSIDE common in the descriptions below is a parameter
which specifies the position to draw the axis component, and 'B', 'T',
and 'U' can be specified for the x axis, and 'L', 'R',
and 'U' for the y axis. (For details, see Section 3.2.)
Tick marks will be drawn no matter how CSIDE is selected, but whether
or not to draw the labels can be specified by the position-dependent internal
variables 'LABELzs'. Labels are drawn when this
internal variable is .TRUE. , and not drawn when .FALSE.. (The
initial values are .TRUE., .FALSE., .TRUE.,
.TRUE., .FALSE., and .TRUE..) This means that in the
initial setting, labels are drawn for the bottom ('B') and left ('L')
axes, but not on the top ('T') and right ('R')
axes. (The user-defined axis will be labeled.)
Of the routines below, the coordinate system will be linearly offset when the
internal variable LOFFSET' is .TRUE. for the routines UXAXLB/UYAXLB,
UXAXNM/UYAXNM, UXAXDV/UYAXDV, and not offset when .FALSE..
(The initial value is .FALSE..) In other words, when the internal
variable 'LOFFSET' is .TRUE., the following transformation will
be performed on the coordinate system, and the window will be reset. (This
setting is effective only within the routine. When the routine is exited, the
settings return to the original values. i.e. It is effective only when drawing
the coordinate axis.)
For UXPACK, the internal variables 'XOFFSET' and 'XFACT' are inquired and the following transformation is performed.This is convenient when, for example, you have temperature data in units of Celsius, and you wish to draw tick marks in Fahrenheit.f(x)=XFACTnx+XOFFSET
For UYPACK, the internal variables 'YOFFSET' and 'YFACT' are inquired and the following transformation is performed.
g(y)=YFACTny+YOFFSET