11.1 Summary

The UWPACK is a subroutine package for handling information on 2-D grip-point coordinates.



UWPACK contains the following subroutines and functions. (In the following routines, those with 'x' as the 5th character in their name are routines for the X axis, and those with 'y' are for the Y axis.)

uwsgxa/uwsgya  . . . Sets grid points by specifying the coordinate values.
uwqgxa/uwqgya  . . .   Inquires a coordinate value of a grid point.
uwsgxb/uwsgyb  . . . Sets grid pints by specifying the minimum and maximum values and the number of grid points.
uwqgxb/uwqgyb  . . . Inquires the minimum and maximum values and the number of grid points.
uwsgxz/uwsgyz  . . . Specifies whether grid points are defined.
uwqgxz/uwqgyz  . . . Inquires whether grid points are defined.
uwdflt  . . . Sets evenly-spaced grid points when the coordinate values are not specified.

ruwgx/ruwgy  . . . Inquires the coordinate value of a grid point.
iuwgx/iuwgy  . . . Inquires the grid point number.
uwqgxi/uwqgyi  . . . Inquires the grid point number and position.



These are used in the UDPACK (Section 8), UEPACK (Section 9), and UGPACK (Section10), and share information concerning the grid points. For example, when you wish to draw contours (UDPACK) and perform tone fill (UEPACK) on an array with the same grid structure, you will only need to specify the information concerning the grid points once at the start with UWPACK, and the UDPACK and UEPACK will use this information to draw.



Internally, the grid- point information is handled in a COMMON block named uwblkx and uwblky. The user must not use an external procedure or a COMMON block with the same name.