3.8.4 UXPNUM/UYPNUM

1.
Function
Draws labels specified by numerical values.
2.
Call
CALL UXPNUM(CSIDE,ISLCT,UX,N)
CALL UYPNUM(CSIDE,ISLCT,UY,N)
3.
Explanation of Parameters
CSIDE (C*1) Specifies the position of the axis on which to draw the labels. (See Section 3.2.)
ISLCT (I) Specifies the attributes of the labels to be drawn. (See Section 3.4.)
UX, UY (R) An array of length containing the positions of the labels to be drawn (specified in values in UC).
N (I) The length of array UX, UY.
4.
Notes
(a)
This routine uses the subroutine CHVAL (see FMTLIB in the user's manual for "MISC1") to convert UX, UY into character-types, and then calls UXPLBL/UYPLBL. (See UXPLBL/UYPLBL for label attributes) Since the character-type array to deliver to UXPLBL/UYPLBL is prepared internally, the length (N) of UX, UY must be less than 40.
(b)
The format to deliver to the subroutine CHVAL for UXPNUM can be changed/inquired using the subroutines
UXSFMT(CFMT) / UXQFMT(CFMT).
For UYPNUM, the subroutines
UYSFMT(CFMT) / UYQFMT(CFMT)
are used to inquire/change the format. The CFMT is a character-type variable with length of less than 16. For example, CFMT is set as '(F6.1)'. The initial value is 'B', which is an option specific to CHVAL. (The value is converted into character-type with a significant digit of 3, and the trailing zeros after the decimal point is removed. If the ones' place is the least significant digit, the decimal point is also removed.) CHVAL automatically left-aligns the characters. Therefore, regardless of whether '(F4.1)' or '(F8.1)' is set to convert the floating-point number 1.2 into a character-type variable, the value returned by CHVAL will be '1.2'.