Contour Routines: Explanation of Subroutines
Sets the value of the contour level used by udcntr (or udcntz)
by the minimum & maximum values and step size, or by the number of levels.
- Explanation of Parameters
| xmin, xmax
||The minimum and maximum values of the contour levels. The levels do not
necessarily need to have conveniently rounded numbers.
When dx < 0, uses dx as the step size.
When dx=0, inquires
'NLEV' and generates approximately nlev contour levels.
When dx > 0, generates approximately INT(ABS(DX))
Must be xmin != xmax.
- The contour level is set as the step size specified by DX
multiplied by an integer factor.
- The labels for the contours are generated by the subroutine UDLABL.
The format used in this case can be inquired/changed using udqfmt/udsfmt
(see Section 8.2.9).
- There are 2 types of contours; the major line and the minor line. The major
line is a labeled contour, and the minor line is not labeled. (However, by
setting the internal variable 'LABEL' to .false., the major
lines will also have no labels. The initial value is .true..) The
line index of the major line is specified by the internal variable
'INDXMJ'. (The initial value is 3.) The character height for the
label of the major line is specified by the internal variable
'RSIZEL'. (Units in values of VC; the initial value is undefined.
Here, rsizel inquires the internal variable 'RSIZEL1'
handled by uzpget/uzpset.) The line
index of the minor line is specified by the internal variable 'INDXMN'.
(The initial value is 1.)
- When the internal variable 'LDASH' is .TRUE., the contour
lines with negative contour levels are drawn using the line type of the
inquired internal variable 'IDASH'. (The initial value of 'LDASH'
is .true.; the initial value of 'IDASH' is 3: dashed lines.)
All other contour lines are drawn with line types of the inquired internal
variable 'ISOLID'. (The initial value of 'ISOLID' is 1:
- The number of minor line between two major lines is specified by the
internal variable 'ICYCLE'. (The initial value is 2.) In other words,
one major line is drawn for a cycle of contours specified by the inquired
value of 'ICYCLE', and the remaining contours in the cycle are minor
lines. The contour levels of the major line is set as the step size specified
by dx multiplied by the factor 'ICYCLE'.