Back|Forward
DCL:GRPH2:UCPACK :
Coordinate Axis Routines for Date: Explanation of
Subroutines
5.3.2 UCXADY/UCYADY
- 1.
- Function
Plots the coordinate axis for days.
- 2.
- Call
CALL UCXADY(CSIDE,JD0,ND)
CALL UCYADY(CSIDE,JD0,ND)
- 3.
- Explanation of Paramters
CSIDE |
(C*1) |
Specifies the position to plot the axis. |
JD0 |
(I) |
Specifies the date of the position corresponding to 0 in UC. |
ND |
(I) |
Specifies the number of days to plot. |
- 4.
- Notes
- (a)
- The intervals of the tick marks and labels for date are specified using the
internal variable 'NDAY' though the function NUCDAY. When 'NDAY'
is undefined, then an appropriate value is selected out of 0, 1, 2, 5,
10, and 15. (When the value is smaller than 1, only the axis is plotted and no
ticks or labels are plotted.) When explicitly specified, the specified value
is used. (The initial value is undefined.)
- (b)
- An array is prepared internally for storing the information for plotting the
ticks and days on the labels. The array size restricts the maximum number of
ticks and dates (labels) to 100.
- (c)
- UCXADY/UCYADY plots axis using UXPAXS/UYPAXS (ISLCT=2),
plots tick marks using UXPTMK/UYPTMK (ISLCT=1), and labels
of days using UXPLBL/UYPLBL (ISLCT=1).
Therefore, the attributes for these component elements of the axes can be
inquired/changed using UZpGET/UZpSET.
However, 'ICENTzs' must be 0.
'IROTLzs' inquires 'IROTCzs'
and uses the value. 'LBTWN' is .FALSE.. See Chapter 3
for details.
Copyright (C) 2000 GFD Dennou Club. All rights reserved.