9.2.1 uetone

1.
Function
Performs tone fill of 2-D contour graphs with tone primitives.
2.
Call
NumRu::DCL.uetone(z)
3.
Explanation of Parameters
z (R) A 2-D array of mx * ny. The nx * ny portion is used in the draw routine.
mx (I) The first adjustable dimension of array z.
nx (I) The first adjustable dimension of array z used in the draw routine
ny (I) The second adjustable dimension of array z used in the draw routine
4.
Notes
(a)
When the coordinates of the grid points in the X direction are not set by either uwsgxa (see section 11.2.1) or uwsgxb (see Section 11.2.2), then the window information is inquired using sgqwnd, and the grid points set so that the range between the uxmin and uxmax is divided equally into nx-1 sections.
(b)
When the coordinates of the grid points in the Y direction are not set by either uwsgya (see section 11.2.1) or uwsgyb (see Section 11.2.2), then the window information is inquired using sgqwnd, and the grid points set so that the range between the uymin and uymax is divided equally into ny-1 sections.
(c)
When the value of the tone level for the fill is not set by UEGTLA, UEGTLB, uestlv, or uestln, then the tone levels and tone patterns for the fill is set according to the following method. When the internal variable 'LTONE' handled by uelget/uelset is .true., (hereafter, an 'internal variable" refers to an internal variable handled by uepget/uepset, unless stated otherwise) then the following subroutine is called internally and approximately nlev tone levels are set.
NumRu::DCL.uegtlb(z,dx)
nlev is the value inquired by the internal variable 'NLEV'. (The initial value is 12.) When the internal variable 'LTONE' is .false., the region with a value lower than that inquired by the internal variable 'RLEV' is filled with the tone pattern with the value inquired by the internal variable 'IPAT'. (The initial values of 'RLEV' and IPAT' are 0.0 and 1201, respectively: a right-up hatch.) The initial value of 'LTONE' is .false..
(d)
When the internal variable 'LMISS' handled by GLpGET/GLpSET is .true., then missing-value handling is performed. In other words, the grid points surrounding a missing value is not filled. (The missing value inquired here is the internal variable 'RMISS' handled by glpget/glpset.) When .false., missing-value handling is not performed. For details, see the user's manual for "MATH1."
(e)
Checks the values of all grid points before performing the fill. In the following 2 cases, the fill is not performed, and a message is printed. They are:
  • when all grid points are missing values (a missing field)
  • when all grid points have the same value (a constant field).