6.1 Summary

The UUPACK/UVPACK/UHPACK are subroutine packages for drawing polylines, markers, and bar graphs in a Cartesian coordinate system. Therefore, they can only be used for normalization transformations with the transformation function numbers itr = 1- 4 (Cartesian linear coordinates). The program is not certified to operate properly when other transformation function numbers are specified.


The polylines in USPACK (Chapter 7) are drawn using routines in this package.


Unless undefined values (explained in the next section) must be specified as arguments in the routines for drawing polylines (uulin, uulinz) and markers (uumrk, uumrkz), these routines will perform the same operations as the corresponding routines (sgplu, sgplzu and sgpmu, sgpmzu)) in GRPH1. (However, parameters such as line indexes are independent.)



The functions of the UUPACK/UVPACK/UHPACK packages are as below.

UUPACK : Graph elements (such as polylines) with equivalent X and Y axis and their parameter management.
UVPACK : Graph elements with  independent variables for the X axis and dependent variables for the Y axis.
UHPACK : Graph elements with  independent variables for the Y axis and dependent variables for the X axis.

These subroutines can be classified into the following groups according to the number of variables.

  Number of independent variables Number of dependent variables
TYPE 1 N N
TYPE 2 N Nn2
TYPE 3 N+1 N
TYPE 4 N+1 Nn2
Here, the number of array specified as the independent variables is always 1; its length is N  or N+1. The length of a single array for the dependent variable is always N , but in some cases, 2 arrays are specified, so the number is (Nn2).

TYPE3 and TYPE4 routines are called box graphs in this package. In a bar graph, a bar with a certain width is drawn at the specified "position" of the independent variable. In contrast, in a box graph, the specified "interval" of the independent variable is filled in with a box. The u[vh]bxl and u[vh]bxlz draw step graphs.