Back|Forward
DCL:GRPH2:U[XYZ]PACK:
Cartesian Coordinate Axis Routines: Explanation of
Subroutines: Lower-Level Applications (LLA)
3.8.1 uxpaxs/uypaxs
- 1.
- Function
Draws a line for the axis.
- 2.
- Call
NumRu::DCL.uxpaxs(cside,islct)
NumRu::DCL.uypaxs(cside,islct)
- 3.
- Explanation of Parameters
cside |
(C*1) |
Specifies the position of an axis to be drawn by a line. (See Section 3.2.) |
islct |
(I) |
Specifies the attributes of the axis. (See Section 3.4.) |
- 4.
- Notes
- (a)
- The line index of the line for the axis is specified by the internal
variable 'INDEXTi'.
- (b)
- The internal variable 'ROFFzs' is dependent on the
position the axis component is drawn. This internal variable keeps the
distance from the axis of the label or title last drawn. As long as this
internal variable is not initialized, the label or title will be drawn
successively towards the outside of the window without any overlap.
- (c)
- A coordinate axis can be drawn in a position shifted parallel from its
original position. (See Section 3.2.) The amount of
offset is handled by the internal variable 'ROFGzs' which
is dependent on the position drawn. (The initial value is 0.) The offset for
X/Y axis can be changed using the subroutines
uxsaxz(CSIDE,ROFFX) / NumRu::DCL.uysaxz(cside,roffy).
There are also subroutines for internally setting the
offset:
uxsaxs(CSIDE) / NumRu::DCL.uysaxs(cside).
The amount of offset is calculated based on the
internal variable 'PAD2'.
- (d)
- The line segment for the axis is drawn only when the internal variables 'ROFFzs'
and 'ROFGzs' are equal. These internal
variables are set to 0 by the subroutine uzinit. Normally, uzinit
is described in grfrm, so the user does not need to explicitly call uzinit
when using GRPACK (see Chapter 2).