DCL:GRPH2:ULPACK : Logarithmic Coordinate Axis Routines: Explanation of Subroutines
Inquires/changes an internal variable used in the ULPACK subroutine package. (ULpSTX permits change with a runtime option.)
CALL ULpGET(CP,IPARA)
CALL ULpSET(CP,IPARA)
CALL ULpSTX(CP,IPARA)
CP (C*8) The name of an internal variable. IPARA (I) The value of an internal variable.
Below is a list of names that can be specified as CP.
'IXCHR' (I) The label for the X axis in the form of 2. 10n, and is the character number to be used in the position '. '. It is specified using the DCL character number (See the user's manual for "GRPH1.") The initial value is 195 (. ). 'IYCHR' (I) The label for the Y axis in the form of 2. 10n, and is the character number to be used in the position '. '. It is specified using the DCL character number (See the user's manual for "GRPH1.") The initial value is 195 (. ). 'IXTYPE' (I) Specifies the label format for the X axis. Specified using an integer value between 1 and 4. (The initial value is 1.) The meaning of the values are explained in the next page. 'IYTYPE' (I) Specifies the label format for the Y axis. Specified using an integer value between 1 and 4. (The initial value is 1.)
1: Exponent part placed on all labels.
Examples: 1. 103 2. 103 5. 103 1. 104
However, when the internal variable 'LCNTL' handled by SGLGET/SGLSET (See user's manual for "GRPH1") is .FALSE., then the . 10n is expressed as En.
2: The exponent part is not placed on labels for marks besides 10n.
Examples: 103 2 5 104
3: All labels are characterized using the subroutine CHVAL (See section on FMTLIB in the user's manual for "MISC1.")
Examples: 1000 2000 5000 10000
4: The subroutine CHVAL is used only for labels on 10n marks. Other marks will be labeled as when 2 is specified.
Examples: 1000 2 5 10000
ULPQNP(NCP) Counts the total number of internal variables (NCP). ULPQID(CP,IDX) Determines the position (IDX) of the internal variable CP. ULPQCP(IDX,CP) Inquires the name (CP) of the internal variable at position IDX. ULPQVL(IDX,IPARA) Inquires the value (IPARA) of the internal variable at position IDX. ULPSVL(IDX,IPARA) Changes the value (IPARA) of the internal variable at position IDX