5.1 Summary

The UCPACK is a subroutine package for plotting a coordinate axis with dates for tick marks.



This package is written based on the subroutine packages UXPACK/UYPACK/UZPACK (See Chapter 3) for plotting Cartesian coordinate systems.



To plot this type of coordinate axis, the normalization transformation must be set using units in days. The coordinate axis will be plotted from the position corresponding to 0 in the user-defined coordinate system (UC). Therefore, if you wish to allot a period from Jan. 1 to Jan. 31 to the full viewport size, specify the ends of the window as (0, 30).



Below are explanation of the arguments cside, jd0, and nd, which are common in the subroutines.

cside - a character-type argument which specifies the position. For the X axis, specify as 'B'ottom, 'T'op, or 'U'ser; for the Y axis, specify 'L'eft, 'R'ight, or 'U'ser. For details, see Section 3.2.
jd0 - the date of the position corresponding to the 0 in UC. The numerals left of the 5th digit from the right represent year, the 3rd and 4th digits from right represent month, and the 1st and 2nd digits from right represent day. For example, Sept. 1, 1990 is expressed as 19900901.
nd - The number of days to plot when jd0 is the day 0. For example, if you wish to make a plot for the period between Sept. 1, 1990 to Sept. 30, 1990, then set jd0 as 19909001 and nd as 29.