3.7.1 uzpget/uzpset(uzpstx)

1.
Function
Inquires/changes the internal variables used by UXPACK/UYPACK/UZPACK. (uzpstx permits changes with a runtime option.)
2.
Call
ipara = NumRu::DCL.uzpget(cp)
NumRu::DCL.uzpset(cp,ipara)
NumRu::DCL.uzpstx(cp,ipara)
3.
Explanation of Parameters
cp (C*8) The name of an internal variable
ipara (I,R,L) The value of an internal variable



Below is a list of names that can be specified as cp. For the definitions of the abbreviations for 'ROFFzs' and 'INDEXTi', see Section 3.4.
'UXUSER' (R) The value of the X coordinate which is used when 'u'ser is specified as the parameter to specify position in the draw routine of the Y axis. (The initial value is undefined.) For details, see Section 3.2.
'UYUSER' (R) The value of the Y coordinate which is used when 'u'ser is specified as the parameter to specify position in the draw routine of the X axis. (The initial value is undefined.) For details, see Section 3.2.
'ROFFzs' (R) An internal variable which keeps the distance of the last label or title drawn from the axis. (The initial values are 0, 0, 0, 0, 0, and 0.) See Section 3.8.1.
'ROFGzs' (R) An internal variable which specifies the amount of parallel shift of the axis from the original position. (The initial values are 0, 0, 0, 0, 0, and 0.) See Section 3.8.1.
'LABELzs' (L) An internal variable which specifies whether or not to draw labels. Labels drawn when .true.; not drawn when .false.. (The initial values are .true., .false., .true., .true., .false., and .true..) See Sections 3.6.3, 3.6.2, and 3.6.1.
'IROTLzs' (I) An internal variable which specifies the angle of rotation of the label text. The amount of rotation is specified using integer values when a unit of rotation is 90 degrees. (The initial values are 0, 0, 0, 0, 0, and 0.) See Sections 3.4, and 3.8.3.
'IROTCzs' (I) An internal variable which specifies the angle of rotation of the title text. The amount of rotation is specified using integer values when a unit of rotation is 90 degrees. (The initial values are 0, 0, 0, 0, 0, and 0.) See Sections 3.4 and 3.8.5.
'ICENTzs' (I) An internal variable which specifies the centering option of the label text. Left-aligned when -1, centered when 0, and right-aligned when +1. (The initial values are 0, 0, 0, +1, +1, and +1.) See Sections 3.4 and 3.8.3.
'INDEXTi' (I) An internal variable which specifies the line index of the line segment for drawing tick marks. (The initial values are undefined, 1, and 3.) See Sections 3.4 and 3.8.2.
'INDEXLi' (I) An internal variable which specifies the line index of the line segment for characters in labels and text. (The initial values are undefined, 3, and 3.) See Sections 3.4 and 3.8.3.
'RSIZETi' (R) An internal variable which specifies the length of the tick mark in units in VC. (The initial values are undefined, 0.007, and 0.014). See Sections 3.4 and 3.8.2.
'RSIZELi' (R) An internal variable which specifies the character height of the characters of the label in units in VC. (The initial values are undefined, 0.021, and 0.028.) See Sections 3.4 and 3.8.3.
'RSIZECi' (R) An internal variable which specifies the character height of the characters of the title in units in VC. (The initial values are undefined, 0.028, and 0.035) See Sections 3.4 and 3.8.5.
'LOFFSET' (R) An internal variable which specifies whether or not to perform linear offset of the coordinate system. Offset when .true.; Not offset when .false.. (The initial value is .false..) See Section 3.6.
'XOFFSET' (R) An internal variable which specifies the amount of X axis offset when 'loffset' is .true.. (The initial value is 0.0.) See Section 3.6.
'YOFFSET' (R) An internal variable which specifies the amount of Y axis offset when 'loffset' is .true.. (The initial value is 0.0.) See Section 3.6.
'XFACT' (R) An internal variable which specifies the value of the X axis factor when 'loffset' is .true.. (The initial value is 1.0.) See Section 3.6.
'YFACT' (R) An internal variable which specifies the value of the Y axis factor when 'loffset' is .true.. (The initial value is 1.0.) See Section 3.6.
'PAD1' (R) An internal variable which specifies the distance between the label and the axis component last drawn. (The initial value is 0.7 when the height of the label to be drawn is 1.)
'PAD2' (R) An internal variable which is used when internally determining the amount of offset for the axis. (The initial value is 1.5, when the size of the internal variable 'RSIZEC2' is 1.)
'IFLAG' (I) An internal variable which specifies on which side of the axis the labels and titles are drawn when the parameter 'u'ser is used in the axis settings. When 'iflag' is positive, the labels are drawn above the axis for uxplbl and on the right for uyplbl. When 'iflag' is negative, the labels are drawn on the opposite sides. (The initial value is -1. ) See Section 3.8.3.
'LBTWN' (L) An internal variable which specifies the options for the position to draw the labels. When .'lbtwn' is .true., the labels are drawn in between the positions specified and when .false., at the positions specified. (The initial value is .false..) See Section  3.8.3.
'RBTWN' (R) Specifies the detailed position of the label when the labels are drawn in between the positions specified (when 'lbtwn' is .true.). Left-aligned when -1, centered when 0, right-aligned when +1. (The initial value is 0.0.)
'LBOUND' (L) Specifies whether to draw the title when the title exceeds the width of the viewport. Not drawn when .true., drawn when .false.. (The initial value is .false..)
'LBMSG' (L) Specifies whether to print an error message when 'lbound' is .true. and there is not enough space for the title. Error message printed when .true., not printed when .false.. (The initial value is .true..)
'INNER' (I) An internal variable which specifies on which side of the axis the tick marks are drawn. When 'inner' is positive, the tick marks are drawn on the outside, and when negative, drawn on the inside. (The initial value is +1.)
'IUNDEF'

(I)

An internal variable which indicates that the value is undefined. (The initial value is -999.)

4.
Notes
(a)
The following subroutines are available for handling the internal variables.
ncp = NumRu::DCL.uzpqnp() Counts the total number of internal variables (NCP).
idx = NumRu::DCL.uzpqid(cp) Determines the position (IDX) of the internal variable cp.
cp = NumRu::DCL.uzpqcp(idx) Inquires the name (CP) of the internal variable at position idx.
ipara = NumRu::DCL.uzpqvl(idx) Inquires the value (IPARA) of the internal variable at position idx.
NumRu::DCL.uzpsvl(idx,ipara) Changes the value ( IPARA) of the internal variable at position idx
(b)
UZpGET calls the above UZPQID to determine the position of an internal variable, and inquires its value using uzpqvl. uzpset calls uzpqid to determine the position of an internal variable and changes its value using uzpsvl. Therefore, when the specified internal variable is not found, an error message is printed by uzpqid.
(c)
Specify an appropriate type of constant or variable for IPARA, corresponding to the type of the internal variable.