Vectors_params(3NCARG)
Vectors_params π (3NCARG)
okay bestie, gather round, because this is the NCAR GRAPHICS manual page for Vectors_params, and it is long β like, 8-parts long. This is part 1. π
β¨ NAME β¨
Vectors_params β this doc spills all the tea on every single internal parameter that Vectors has. all of them. no skips. π«Ά
πΈ DESCRIPTION πΈ
So here's the vibe: every parameter gets its own little moment, and they're listed in alphabetical order because we are organized and iconic. β¨
Each description kicks off with a line that tells you the three-character mnemonic (the lil nickname), the phrase that mnemonic stands for, the intrinsic type of the parameter, and whether or not it's an array. π
ACM - Arrow Color Mode - Integer
ACM controls how color gets applied to filled vector arrows. π
Important: it only does anything when AST has the value 1. And its behavior also depends on the setting of the parameter CTV. Assuming CTV is set to a non-zero value (which implies you want multi-colored vectors, bestie), ACM has these settings:
-2β Multi-colored fill; outline off-1β Fill off; multi-colored outline0β Multi-colored fill; mono-colored outline1β Mono-colored fill; multi-colored outline2β Multi-colored fill; multi-colored outline
Mono-colored outlines use the current GKS polyline color index. Mono-colored fill uses the current GKS fill color index. And when CTV is set to 0, both the fill and the outlines become mono-colored β which means only modes -2, -1, and 0 stay distinguishable. π«
The default value is 0. β¨
AFO - Arrow Fill Over Arrow Lines - Integer
If AFO is set to 1, the perimeter outline of a filled vector arrow gets drawn first, underneath the fill. π In that case you must set the line thickness parameter (LWD) to a value greater than unity in order for the line to appear completely.
The advantage of drawing the line underneath? The full extent of the fill shows up, which gives you a crisper, more sharply defined arrow β¨. When the line is drawn on top of the fill using a different color index, the fill color may be partially or completely obscured β especially for small vector arrows. π
AFO has an effect only when the parameter AST is set to 1.
The default value of AFO is 1.
AIR - Arrow Interior Reference Fraction - Real
AIR specifies the distance from the point of the arrowhead of a filled vector arrow drawn at the reference length, to the point where the arrowhead joins with the line extending to the tail of the arrow. π¦
Its value represents a fraction of the reference length. This distance gets adjusted proportionally to the X component of the arrowhead size for vector arrows whose length differs from the reference length. See VRL for an explanation of how the reference length is determined. π
AIR has an effect only when AST is set to 1. AIR is allowed to vary between 0.0 and 1.0, and its default value is 0.33.
AMN - Arrow Head Minimum Size - Real
Specifies a minimum length for the two lines representing the point of the vector arrow head, as a fraction of the viewport width. πΈ
AMN has an effect only for line-drawn vector arrows (parameter AST set to 0). Normally the arrow head size is scaled proportionally to the length of the vector. This parameter lets you make sure the arrow head stays recognizable even for very short vectors. π₯Ί
Note that you can cause all the arrowheads in the plot to be drawn at the same size if you set AMN and AMX to the same value. And if you set both AMN and AMX to 0.0, the arrowheads will not be drawn at all. π
The default value is 0.005.
AMX - Arrow Head Maximum Size - Real
Specifies a maximum length for the two lines representing the point of the vector arrow head, as a fraction of the viewport width. π¦
AMX has an effect only for line-drawn vector arrows (parameter AST set to 0). Normally the arrow head is scaled proportionally to the length of the vector. This parameter lets you make sure the arrow heads don't become excessively large for high magnitude vectors. π
Note that you can cause all the arrowheads in the plot to be drawn at the same size if you set AMN and AMX to the same value. And if you set both AMN and AMX to 0.0, the arrowheads will not be drawn at all. π
The default value is 0.05.
AST - Arrow Style - Integer
Here's the whole aesthetic menu, bestie:
- If
ASTis set to0, the vector arrows are drawn using lines only. - When
ASTis set to1, the vectors are plotted using variable width filled arrows, with an optional outline. - If
ASTis set to2, wind barb glyphs are used to represent the vectors.
There are parameters for controlling the appearance of each style, and each of those only does something for one value of AST. But some parameters apply to all arrow styles. π
Here's the rundown of which parameters affect which arrow style:
Line-Drawn Arrows (AST = 0) π
AMNAMXCLRCTVLWDNLVPAITVL
Filled Arrows (AST = 1) π
ACMAFOAIRAWFAWRAXFAXRAYFAYRCLRCTVLWDNLVPAITVL
Wind Barbs (AST = 2) π¬οΈ
WBAWBCWBDWBSWBTCLRCTVLWDNLVPAITVL
When filled arrows are used, colors associated with the threshold levels may be applied to either or both the fill or the outline of the arrow. π When fill is drawn over the outline (AFO set to 1), LWD should be set to a value greater than 1.0 in order for the outline to be fully visible. π
The default value of AST is 0.
AWF - Arrow Width Fractional Minimum - Real
AWF specifies the width of a filled arrow drawn at the minimum length, as a fraction of the width of an arrow drawn at the reference length. π
- If
AWFhas the value0.0, then the ratio of the arrow width to the arrow length will be constant for all arrows in the plot. - If given the value
1.0, the width will itself be constant for all arrows in the plot, regardless of length. π
See VFR for a discussion of how the minimum length is determined.
AWF has an effect only when AST is set to 1. AWF is allowed to vary between 0.0 and 1.0, and its default value is 0.0.
AWR - Arrow Width Reference Fraction - Real
AWR specifies the width of a filled vector arrow drawn at the reference length, as a fraction of the reference length. π¦
See VRL for an explanation of how the reference length is determined.
AWR has an effect only when AST is set to 1. AWR is allowed to vary between 0.0 and 1.0, and its default value is 0.03.
AXF - Arrow X-Coord Fractional Minimum - Real
AXF specifies the X component of the head of a filled vector arrow drawn at the minimum length, as a fraction of the X component of the head of an arrow drawn at the reference length. β¨
The X component of the arrowhead is the distance from the point of the arrowhead to a point along the centerline of the arrow perpendicular the arrowhead's rear tips. π
- If
AXFhas the value0.0, then the ratio of the X component of the arrowhead size to the arrow length will be constant for all vectors in the plot. - If given the value
1.0, the arrowhead X component will itself be constant for all arrows in the plot, regardless of their length. π
See VRL for an explanation of how the reference length is determined.
AXF has an effect only when AST is set to 1. AXF is allowed to vary between 0.0 and 1.0, and its default value is 0.0.
AXR - Arrow X-Coord Reference Fraction - Real
AXR specifies the X component of the head of a filled vector arrow drawn at the reference length, as a fraction of reference length. π
The X component of the arrowhead is the distance from the point of the arrowhead to a point along the centerline of the arrow perpendicular the arrowhead's rear tips. π¦
See VRL for an explanation of how the reference length is determined.
AXR has an effect only when AST is set to 1. AXR is allowed to vary between 0.0 and 2.0, and its default value is 0.36.
AYF - Arrow Y-Coord Fractional Minimum - Real
The value of this parameter, when added to the minimum width value, specifies the Y component length of the arrowhead size for a filled arrow drawn at the minimum length, as a fraction of the length specified by AYF. π
If given the value 1.0, the arrowhead Y component will extend the same distance perpendicularly from the edge of all arrows in the plot, regardless of their length and width. This can be a useful resource to adjust to ensure that the points of even very short vector arrows remain visible. π₯Ίβ¨
See VFR for a discussion of how the minimum length is determined.
AYF has an effect only when AST is set to 1. AYF is allowed to vary between 0.0 and 1.0, and its default value is 0.25.
AYR - Arrow Y-Coord Reference Fraction - Real
AYR specifies the perpendicular distance from one side of a filled vector arrow drawn at the reference length to one of the back tips of the arrowhead. π¦
The value represents a fraction of the value of the reference length and, when added to half the arrow width, determines the Y component of the arrowhead size. π
See VRL for an explanation of how the reference length is determined.
AYR has an effect only when AST is set to 1. AYR is allowed to vary between 0.0 and 1.0, and its default value is 0.12.
π CLR β Array of GKS Color Indices β Integer Array
okay so CLR is an array of GKS color indices, and it's the moment where you, yes you, become the palette designer. π
This parameter is an array holding the GKS color index to use for coloring a vector when the scalar quantity is less than or equal to the threshold value sitting at the same index in the TVL threshold value array. Depending on how AST and ACM are set, it might specify a set of fill color indexes, a set of line color indexes, or honestly both. slay, versatile.
To actually reach a particular element of the CLR array, you gotta first set PAI β that's the parameter array index parameter β to the value of that array element's index. All elements of the array start out set to one. β¨
not me about to deliver the most important warning of this whole page: the Vectors utility makes no calls to set the GKS color representation (GSCR), and it never modifies the contents of the CLR array. So the color palette responsibility is 100% yours, bestie. You have to create a suitably graduated color palette and assign the color index values into CLR prior to calling VVECTR. no cap.
Typically β assuming the desired RGB values have already been stored in a 2 dimensional 3 x n array called RGB β you just loop through the calls that set up the color representation and the color index, like in this example for a fourteen color palette:
DO 100 I=1,14,1
CALL GSCR (1,I,RGB(1,I),RGB(2,I),RGB(3,I))
CALL VVSETI('PAI -- Parameter Array Index', I)
CALL VVSETI('CLR -- GKS Color Index', I)
100 CONTINUE
see the descriptions of CTV, NLV, and TVL for the full tea on configuring the vector coloring scheme. π«Ά
𧬠CPM β Compatibility Mode β Integer
CPM controls the degree of compatibility between the pre-Version 3.2 capabilities of the Vectors utility and later versions. It's giving time machine energy. π°οΈ You can independently control three behaviors using the nine settings provided:
- use of
VELVCTandVELVECinput parameters - use of variables initialized in the
VELDATblock data statement - use of the old mapping routines,
FX,FY,MXF, andMYF.
Note, however, that when you're using the Version 3.2 entry points VVINIT and VVECTR, only the third behavior option has any meaning. π
When CPM is set to 0, its default value, the Vectors utility's behavior varies depending on whether you access it through one of the pre-Version 3.2 entry points (VELVCT, VELVEC, and EZVEC), or through the VVINIT/VVECTR interface. Otherwise, positive values result in invocation of the pre-Version 3.2 mapping routines (FX, FY, MXF, and MYF) for the conversion from data to user coordinates. Negative values cause VVMPXY or perhaps VVUMXY to be used instead. When using the pre-Version 3.2 interface, odd values of CPM cause the data values in the VELDAT block data subroutine to override corresponding values initialized in the Version 3.2 VVDATA block data subroutine, or set by the user calling VVSETx routines. Values of CPM with absolute value greater than two cause some of the input arguments to VELVEC and VELVCT to be ignored. These include FLO, HI, NSET, ISPV, SPV and (for VELVCT only) LENGTH. π«
Here's the table of the nine settings of CPM and their effect on the operation of the Vectors utility β first column is the value, then whether it uses FX, FY, etc., then whether it uses VELDAT data, then whether it uses the input args:
-4β UseFX,FY, etc.: no Β· UseVELDATdata: no Β· Use input args: no-3β UseFX,FY, etc.: no Β· UseVELDATdata: yes Β· Use input args: no-2β UseFX,FY, etc.: no Β· UseVELDATdata: no Β· Use input args: yes-1β UseFX,FY, etc.: no Β· UseVELDATdata: yes Β· Use input args: yes0β UseFX,FY, etc.: old β yes; new β no (*) Β· UseVELDATdata: yes Β· Use input args: yes1β UseFX,FY, etc.: yes Β· UseVELDATdata: yes Β· Use input args: yes2β UseFX,FY, etc.: yes Β· UseVELDATdata: no Β· Use input args: yes3β UseFX,FY, etc.: yes Β· UseVELDATdata: yes Β· Use input args: no4β UseFX,FY, etc.: yes Β· UseVELDATdata: no Β· Use input args: no
() *Old meansEZVEC,VELVEC,VELVCTentry point; new meansVVINIT/VVECTR. Only the first column applies to theVVINIT/VVECTRinterface. See thevelvctman page for more detailed emulation information. π
π CTV β Color Threshold Value Control β Integer
In conjunction with NLV, this parameter controls vector coloring and the setting of threshold values. The vectors may be colored based on the vector magnitude or on the contents of a scalar array (the VVINIT/VVECTR input argument, P). A table of supported options follows: π
-2β Color vector arrows based on scalar array data values; the user is responsible for setting up threshold level array,TVL-1β Color vector arrows based on vector magnitude; the user is responsible for setting up values of threshold level array.0(default) β Color all vectors according to the current GKS polyline color index value. Threshold level array,TVLand GKS color index array,CLRare not used.1β Color vector arrows based on vector magnitude;VVINITassigns values to the firstNLVelements of the threshold level array,TVL.2β Color vector arrows based on scalar array data values;VVINITassigns values to the firstNLVelements of the threshold level array,TVL.
If you make CTV positive, you must initialize Vectors with a call to VVINIT after the modification. don't forget, bestie, it will simply not work otherwise π
π DMN β NDC Minimum Vector Size β Real, Read-Only
This parameter is read-only and has a useful value only following a call to VVECTR (directly or through the compatibility version of VELVCT). You may retrieve it in order to determine the length in NDC space of the smallest vector actually drawn β in other words, the smallest vector within the boundary of the user coordinate space that is greater than or equal in magnitude to the value of the VLC parameter. It is initially set to a value of 0.0. πΈ
π DMX β NDC Maximum Vector Size β Real, Read-Only
Unlike DMN, this read-only parameter has a potentially useful value between calls to VVINIT and VVECTR. However, the value it reports may be different before and after the call to VVECTR. π¦
- Before the
VVECTRcall it contains the length in NDC space that would be used to render the maximum size vector, assuming the user-settable parameter, VRL is set to its default value of0.0. - After the
VVECTRcall it contains the NDC length used to render the largest vector actually drawn β in other words, the largest vector within the boundary of the user coordinate space that is less than or equal in magnitude to the value of the VHC parameter.
See the section on the VRL parameter for information on using the value of DMX after the VVINIT call in order to adjust proportionally the lengths of all the vectors in the plot. It is initially set to a value of 0.0. β¨
π’ DPF β Vector Label Decimal Point Control Flag β Integer
If DPF is set to a non-zero value, and the optional vector magnitude labels are enabled, the magnitude values are scaled to fit in the range 1 to 999. The labels will contain 1 to 3 digits and no decimal point. Otherwise, the labels will consist of a number up to six characters long, including a decimal point. By default DPF is set to the value 1. π
π LBC β Vector Label Color β Integer
This parameter specifies the color to use for the optional vector magnitude labels, as follows:
< -1β Draw labels using the current GKS text color index-1(default) β Draw labels using the same color as the corresponding vector arrow>=0β Draw labels using the LBC value as the GKS text color index
π·οΈ LBL β Vector Label Flag β Integer
If set non-zero, Vectors draws labels representing the vector magnitude next to each arrow in the field plot. The vector labels are primarily intended as a debugging aid, since in order to avoid excessive overlap, you must typically set the label text size too small to be readable without magnification. π
For this reason, as well as for efficiency, unlike the other graphical text elements supported by the Vectors utility, the vector labels are rendered using low quality text. it's giving "good enough for debugging, not for your presentation" energy π
π LBS β Vector Label Character Size β Real
This parameter specifies the size of the characters used for the vector magnitude labels as a fraction of the viewport width. The default value is 0.007. tiny little guys. β¨
ποΈ LWD β Vector Linewidth β Real
LWD controls the linewidth used to draw the lines that form vector arrows and wind barbs. Here's the breakdown, no skipping:
- When the arrows are filled (AST is set to
1), LWD controls the width of the arrow's outline. If the fill is drawn over the outline (AFO set to1) then LWD must be set to a value greater than1.0in order for the outline to appear properly. β οΈ - When AST has the value
2, LWD controls the width of the line elements of wind barbs. - When AST is set to
0, specifying line-drawn vector arrows, the linewidth applies equally to the body of the vector and the arrowhead. Overly thick lines may cause the arrow heads to appear smudged. This was part of the motivation for developing the option of filled vector arrows. π
Note that since linewidth in NCAR Graphics is always calculated relative to a unit linewidth that is dependent on the output device, you may need to adjust the linewidth value depending on the intended output device to obtain a pleasing plot. π
The default is 1.0, specifying a device-dependent minimum linewidth.
πΊοΈ MAP β Map Transformation Code β Integer
MAP defines the transformation between the data and user coordinate space. Three MAP parameter codes are reserved for pre-defined transformations, as follows:
0(default) β Identity transformation between data and user coordinates: array indices ofU,V, andPare linearly related to data coordinates.
...and bestie, the rest of this table is right around the corner, so hold that thought π
- Ezmap transformation: the first dimension indices of
U,V, andPare linearly related to longitude; the second dimension indices are linearly related to latitude. π - Polar to rectangular transformation: the first dimension indices of
U,V, andPare linearly related to the radius; the second dimension indices are linearly related to the angle in degrees. π―
If MAP has literally any other value, Vectors calls up the user-modifiable subroutine VVUMXY to do the mapping for you. The default version of VVUMXY just does an identity transformation β no thoughts, head empty, maps nothing. π«
β οΈ Okay bestie, important: the Vectors utility technically does not prohibit you from using negative integers for user-defined mappings, but you're advised not to, because other utilities in the NCAR Graphics toolkit attach a special meaning to negative mapping codes. So likeβ¦ don't. π
For all the predefined mappings, the linear relationship between the grid array indices and the data coordinate system gets set up using four parameters: XC1, XCM, YC1, and YCN. The X parameters define a mapping for the first and last indices of the first dimension of the data arrays, and the Y parameters do the exact same thing for the second dimension. β¨
If MAP is set to a value of one, be careful to make sure that the SET parameter is given a value of zero, since the Ezmap routines require a specific user coordinate space for each projection type, and internally call the SET routine to define the user to NDC mapping. Otherwise, you get to choose whether or not to issue a SET call prior to calling VVINIT, modifying the value of SET as required. See the description of the parameter TRT, and the vvumxy man page, for more info. π
π¨ MNC β Minimum Vector Text Block Color (Integer)
MNC specifies the color of the minimum vector graphical text output block, like so:
<-2β Both the vector arrow and the text are colored using the current text color index.-2β If the vectors are colored by magnitude, both the vector arrow and the text use the GKS color index associated with the minimum vector magnitude. Otherwise, the vector arrow uses the current polyline color index and the text uses the current text color index.-1(default) β If the vectors are colored by magnitude, the vector arrow uses the GKS color index associated with the minimum vector magnitude. Otherwise the vector arrow uses the current polyline color index. The text is colored using the current text color index in either case.>= 0β The value ofMNCis used as the color index for both the text and the vector arrow.
See the description of MNT for more info about the minimum vector text block. π
π MNP β Minimum Vector Text Block Positioning Mode (Integer)
This parameter lets you justify the minimum vector text block, taken as a single unit, relative to the text block position established by the parameters MNX and MNY. Nine positioning modes are available, bestie:
-4β The lower left corner of the text block is positioned atMNX,MNY.-3β The center of the bottom edge is positioned atMNX,MNY.-2β The lower right corner is positioned atMNX,MNY.-1β The center of the left edge is positioned atMNX,MNY.0β The text block is centered along both axes atMNX,MNY.1β The center of the right edge is positioned atMNX,MNY.2β The top left corner is positioned atMNX,MNY.3β The center of the top edge is positioned atMNX,MNY.4(default) β The top right corner is positioned atMNX,MNY.
See the description of MNT for more info about the minimum vector text block. π
π€ MNS β Minimum Vector Text Block Character Size (Real)
MNS specifies the size of the characters used in the minimum vector graphics text block, as a fraction of the viewport width. See the description of MNT for more info about the minimum vector text block. The default value of MNS is 0.0075. π
π¬ MNT β Minimum Vector Text String (Character*36)
The minimum vector graphics text block is made of a user-definable text string centered underneath a horizontal arrow. If the parameter VLC is set negative, the arrow is rendered at the size of the reference minimum magnitude vector (which, lowkey, may be smaller than any vector that actually shows up in the plot). Otherwise, the arrow is the size of the smallest vector in the plot. Directly above the arrow sits a numeric string in exponential format that represents the vector's magnitude. π’
Use MNT to modify the text appearing below the vector in the minimum vector graphics text block. Currently the string length is limited to 36 characters. Set MNT to a single space (Β΄ Β΄) to remove the text block entirely β including the vector arrow and the numeric magnitude string β from the plot. The default value is Β΄Minimum VectorΒ΄. π«Ά
π MNX β Minimum Vector Text Block X Coordinate (Real)
MNX establishes the X coordinate of the minimum vector graphics text block as a fraction of the viewport width. Values less than 0.0 or greater than 1.0 are permissible, and respectively represent regions to the left or right of the viewport. The actual position of the block relative to MNX depends on the value assigned to MNP. See the descriptions of MNT and MNP for more info about the minimum vector text block. The default value of MNX is 0.475. β¨
π MNY β Minimum Vector Text Block Y Coordinate (Real)
MNY establishes the Y coordinate of the minimum vector graphics text block as a fraction of the viewport height. Values less than 0.0 or greater than 1.0 are permissible, and respectively represent regions below or above the viewport. The actual position of the block relative to MNY depends on the value assigned to MNP. See the descriptions of MNT and MNP for more info about the minimum vector text block. The default value of MNY is -0.01. β¨
π MSK β Mask To Area Map Flag (Integer)
Use this parameter to control masking of vectors to an existing area map created by routines in the Areas utility. When MSK is greater than 0, masking is enabled and the area map must be set up prior to the call to VVECTR. The area map array and, in addition, the name of a user-definable masked drawing routine, must be passed as input parameters to VVECTR. Various values of the MSK parameter have the following effects:
<= 0(default) β No masking of vectors.1β The subroutineARDRLNis called internally to decompose the vectors into segments contained entirely within a single area.ARDRLNcalls the user-definable masked drawing subroutine.>1β Low precision masking.ARGTAIis called internally to get the area identifiers for the vector base position point. Then the user-definable masked drawing subroutine is called to draw the vector. Vectors with nearby base points may encroach into the intended mask area. π
See the man page vvudmv for further explanation of masked drawing of vectors. π
π¨ MXC β Maximum Vector Text Block Color (Integer)
MXC specifies the color of the maximum vector graphical text output block, like so:
<-2β Both the vector arrow and the text are colored using the current text color index.-2β If the vectors are colored by magnitude, both the vector arrow and the text use the GKS color index associated with the minimum vector magnitude. Otherwise, the vector arrow uses the current polyline color index and the text uses the current text color index.-1(default) β If the vectors are colored by magnitude, the vector arrow uses the GKS color index associated with the minimum vector magnitude. Otherwise the vector arrow uses the current polyline color index. The text is colored using the current text color index in either case.>= 0β The value ofMXCis used as the color index for both the text and the vector arrow.
See the description of MXT for more info about the maximum vector text block. π
π MXP β Maximum Vector Text Block Positioning Mode (Integer)
This parameter lets you justify the maximum vector text block, taken as a single unit, relative to the text block position established by the parameters MXX and MXY. Nine positioning modes are available, as follows:
-4β The lower left corner of the text block is positioned atMXX,MXY.-3β The center of the bottom edge is positioned atMXX,MXY.-2β The lower right corner is positioned atMXX,MXY.-1β The center of the left edge is positioned atMXX,MXY.0β The text block is centered along both axes atMXX,MXY.1β The center of the right edge is positioned atMXX,MXY.2β The top left corner is positioned atMXX,MXY.3β The center of the top edge is positioned atMXX,MXY.4β the top right corner is positioned atMXX,MXY.
Peep the description of MXT for more tea about the maximum vector text block. π
MXSβ Maximum Vector Text Block Character Size β Real
MXS sets the size of the characters used in the maximum vector graphics text block as a fraction of the viewport width. Wanna know more about the maximum vector text block? Go read MXT. The default is 0.0075. β¨
MXTβ Maximum Vector Text String β Character* 36
The maximum vector graphics text block is literally a user-definable text string centered underneath a horizontal arrow. If the parameter VHC is set negative, the arrow is rendered at the size of the reference maximum magnitude vector (which may be larger than any vector that actually appears in the plot). Otherwise, the arrow is the size of the largest vector in the plot. Directly above the arrow is a numeric string in exponential format that represents the magnitude of this vector.
Use MXT to modify the text appearing below the vector in the maximum vector graphics text block. Currently the string length is limited to 36 characters. Set MXT to a single space (Β΄ Β΄) to completely remove the text block β including the vector arrow and the numeric magnitude string β from the plot. Note that the name "Maximum Vector Text Block" is no longer accurate, since using the parameter VRM it is now possible to establish a reference magnitude that is smaller than the maximum magnitude in the data set. A more accurate name would be "Reference Vector Text Block". The default value of MXT is Β΄Maximum VectorΒ΄. π¦
MXXβ Maximum Vector Text Block X Coordinate β Real
MXX establishes the X coordinate of the maximum vector graphics text block as a fraction of the viewport width. Values less than 0.0 or greater than 1.0 are permissible and respectively represent regions below or above of the viewport. The actual position of the block relative to MXX depends on the value assigned to MXP. See the descriptions of MXT and MXP for more information about the maximum vector text block. The default value is 0.525. π
MXYβ Maximum Vector Text Block Y Coordinate β Real
MXY establishes the Y coordinate of the maximum vector graphics text block as a fraction of the viewport width. Values less than 0.0 or greater than 1.0 are permissible and respectively represent regions below or above the viewport. The actual position of the block relative to MXY depends on the value assigned to MXP. See the descriptions of MXT and MXP for more information about the maximum vector text block. The default value is -0.01. π
NLVβ Number of Colors Levels β Integer
NLV specifies the number of color levels to use when coloring the vectors according to data in a scalar array or by vector magnitude. Anytime CTV has a non-zero value, you must set up the first NLV elements of the color index array CLR. Give each element the value of a GKS color index that must be defined by a call to the GKS subroutine GSCR prior to calling VVECTR. If CTV is less than 0, in addition to setting up the CLR array, you are also responsible for setting the first NLV elements of the threshold values array TVL to appropriate values. NLV is constrained to a maximum value of 255. The default value of NLV is 0, specifying that vectors are colored according to the value of the GKS polyline color index currently in effect, regardless of the value of CTV. If CTV is greater than 0, you must initialize Vectors with a call to VVINIT after modifying this parameter. π₯
PAIβ Parameter Array Index β Integer
The value of PAI must be set before calling VVGETC, VVGETI, VVGETR, VVSETC, VVSETI, or VVSETR to access any parameter which is an array; it acts as a subscript to identify the intended array element. For example, to set the 10th color threshold array element to 7, use code like this:
CALL VVSETI (Β΄PAI - PARAMETER ARRAY INDEXΒ΄,10)
CALL VVSETI (Β΄CLR - Color IndexΒ΄,7)
The default value of PAI is one.
PLRβ Polar Input Mode β Integer
When PLR is greater than zero, the vector component arrays are considered to contain the field data in polar coordinate form: the U array is treated as containing the vector magnitude and the V array as containing the vector angle. Be careful not to confuse the PLR parameter with the MAP parameter set to polar coordinate mode (2). The MAP parameter relates to the location of the vector, not its value. Here is a table of values for PLR:
0(default) βUandVarrays contain data in cartesian component form.1βUarray contains vector magnitudes;Varray contains vector angles in degrees.2βUarray contain vector magnitudes;Varray contains vector angles in radians.
You must initialize Vectors with a call to VVINIT after modifying this parameter.
PMNβ Minimum Scalar Array Value β Real, Read-Only
You may retrieve the value specified by PMN at any time after a call to VVINIT. It will contain a copy of the minimum value encountered in the scalar data array. If no scalar data array has been passed into VVINIT it will have a value of 0.0. π
PMXβ Maximum Scalar Array Value β Real
You may retrieve the value specified by PMX at any time after a call to VVINIT. It contains a copy of the maximum value encountered in the scalar data array. If no scalar data array has been passed into VVINIT it will have a value of 0.0. πΈ
PSVβ P Array Special Value β Real
Use PSV to indicate the special value that flags an unknown data value in the P scalar data array. This value will not be considered in the determination of the data set maximum and minimum values. Also, depending on the setting of the SPC parameter, the vector may be specially colored to flag the unknown data point, or even eliminated from the plot. You must initialize Vectors with a call to VVINIT after modifying this parameter. π«Ά
SETβ SET Call Flag β Integer
Give SET the value 0 to inhibit the SET call VVINIT performs by default. Arguments 5-8 of a SET call made by the user must be consistent with the ranges of the user coordinates expected by Vectors. This is determined by the mapping from grid to data coordinates as specified by the values of the parameters XC1, XCM, YC1, YCN, and also by the mapping from data to user coordinates established by the MAP parameter. You must initialize Vectors with a call to VVINIT after modifying this parameter. The default value of SET is 1. β
SPCβ Special Color β Integer
SPC controls special value processing for the optional scalar data array used to color the vectors, as follows:
< 0(default) β ThePscalar data array is not examined for special values.0β Vectors atPscalar array special value locations are not drawn.> 0β Vectors atPscalar array special value locations are drawn using color indexSPC.
You must initialize Vectors with a call to VVINIT after modifying this parameter.
SVFβ Special Value Flag β Integer
The special value flag controls special value processing for the U and V vector component data arrays. Special values may appear in either the U or V array or in both of them. Five different options are available (although the usefulness of some of the choices is debatable):
0(default) β Neither theUnor theVarray is examined for special values1β Vectors with special values in theUarray are not drawn2β Vectors with special values in theVarray are not drawn3β Vectors with special values in either theUorVarray are not drawn4β Vectors with special values in both theUandVarrays are not drawn
The U and V special values are defined by setting parameters USV and VSV. You must initialize Vectors with a call to VVINIT after modifying this parameter. π
TRTβ Transformation Type β Integer
As currently implemented, TRT further qualifies the mapping transformation specified by the MAP parameter, as follows:
-1β Direction, magnitude, and location are all transformed. This option is not currently supported by any of the pre-defined coordinate system mappings.0β Only location is transformed1(default) β Direction and location are transformed
This parameter allows you to distinguish between a system that provides a mapping of location only into an essentially cartesian space, and one in which the space itself mapped. To understand the difference, using polar coordinates as an example, imagine a set of wind speed monitoring units located on a radial grid around some central point such as an airport control tower. Each unitΒ΄s position is defined in terms of its distance from the tower and its angular direction from due east. However, the data collected by each monitoring unit is represented as conventional eastward and northward wind components. Assuming the towersΒ΄s location is at a moderate latitude, and the monitoring units are reasonably Β΄localΒ΄, this is an example of mapping a radially defined location into a nearly cartesian space (i.e. the eastward components taken alone all point in a single direction on the plot, outlining a series of parallel straight lines). One would set MAP to two (for the polar transformation) and TRT to zero to model this data on a plot generated by the Vectors utility. π
On the other hand, bestie, picture a set of wind data β again given as eastward and northward wind components β but this time the center of the polar map is actually the south pole. π In this case, the eastward components do not point in a single direction; instead they outline a series of circles around the pole. This is a space mapping transformation: one would again set MAP to two, but TRT would be set to one to transform both direction and location. β¨
Changing the setting of this parameter affects the end results only when a non-uniform non-linear mapping occurs at some point in the transformation pipeline. For this discussion a uniform linear transformation is defined as one which satisfies the following equations:
x_out = x_offset + scale_constant * x_in
y_out = y_offset + scale_constant * y_in
If scale_constant is not the same for both the X axis and the Y axis then the mapping is non-uniform. π
This option is currently implemented only for the pre-defined MAP parameter codes, 0 and 2, the identity mapping and the polar coordinate mapping. However, it operates on a different stage of the transformation pipeline in each case. The polar mapping is non-linear from data to user coordinates. The identity mapping, even though necessarily linear over the data to user space mapping, can have a non-uniform mapping from user to NDC space, depending on the values given to the input parameters of the SET call. This will be the case whenever the LL input parameter is other than one, or when LL equals one, but the viewport and the user coordinate boundaries do not have the same aspect ratio. Thus for a MAP value of 2, TRT affects the mapping between data and user space, whereas for MAP set to 0, TRT influences the mapping between user and NDC space. π
TVLβ Array of Threshold Values - Real Array
TVL is an array of threshold values that is used to determine the individual vector color, when CTV and NLV are both non-zero. For each vector the TVL array is searched for the smallest value greater than or equal to the scalar value associated with the vector. The array subscript of this element is used as an index into the CLR array. Vectors uses the GKS color index found at this element of the CLR array to set the color for the vector. Note that Vectors assumes that the threshold values are monotonically increasing. π
When CTV is less than 0, you are responsible for assigning values to the elements of TVL yourself. To do this, first set the PAI parameter to the index of the threshold level element you want to define, then call VVSETR to set TVL to the appropriate threshold value for this element. Assuming the desired values have previously been stored in a array named TVALS, you could assign the threshold values for a fourteen level color palette using the following loop:
DO 100 I=1,14,1
CALL VVSETI(PAI -- Parameter Array Index, I)
CALL VVSETR(TVL -- Threshold Value, TVALS(I))
100 CONTINUE
When CTV is greater than 0, Vectors assigns values into TVL itself. Each succeeding element value is greater than the preceding value by the value of the expression:
(maximum_data_value - minimum_data_value) / NLV
where the data values are either from the scalar data array or are the magnitudes of the vectors in the vector component arrays. The first value is equal to the minimum value plus the expression; the final value (indexed by the value of NLV) is equal to the maximum value. If Vectors encounters a value greater than the maximum value in the TVL array while processing the field data, it gives the affected vector the color associated with the maximum TVL value. π¨
USVβ U Array Special Value - Real
USV is the U vector component array special value. It is a value outside the range of the normal data used to indicate that there is no valid data for this grid location. When SVF is set to 1 or 3, Vectors will not draw a vector whose U component has the special value. You must initialize Vectors with a call to VVINIT after modifying this parameter. It has a default value of 1.0 E12. π«
VFRβ Minimum Vector Fractional Length - Real
Use this parameter to adjust the realized size of the reference minimum magnitude vector relative to the reference maximum magnitude vector in order to improve the appearance or perhaps the information content of the plot. Specify VFR as a value between 0.0 and 1.0, where 0.0 represents an unmodified linear scaling of the realized vector length, in proportion to magnitude, and 1.0 specifies that the smallest vector be represented at 1.0 times the length of the largest vector, resulting in all vectors, regardless of magnitude, having the same length on the plot. A value of 0.5 means that the smallest magnitude vector appears half as long as the largest magnitude vector; intermediate sizes are proportionally scaled to lengths between these extremes. Where there is a wide variation in magnitude within the vector field, you can use this parameter to increase the size of the smallest vectors to a usefully visible level. Where the variation is small, you can use the parameter to exaggerate the differences that do exist. See also the descriptions of VRL, VLC, VHC, and VRM. The default value is 0.0. π
VHCβ Vector High Cutoff Value - Real
If the parameter VRM is set to a value greater than 0.0, it supercedes the use of VHC to specify the reference magnitude. VRM allows greater flexibility in that it can be used to specify an arbitrary reference magnitude that need not be the maximum magnitude contained in the data set. VHC can still be used to set a high cutoff value -- no vectors with magnitude greater than the cutoff value will be displayed in the plot. βοΈ
If VRM has its default value, 0.0, VHC specifies the reference maximum magnitude represented by an arrow of length VRL (as a fraction of the viewport width). The realized length of each individual vector in the plot is based on its magnitude relative to the reference maximum magnitude and, if VFR is non-zero, the reference minimum magnitude (as specified by VLC). Note that the reference maximum magnitude may be greater than the magnitude of any vector in the dataset. The effect of this parameter varies depending on its value, as follows:
< 0.0β The absolute value ofVHCunconditionally determines the reference maximum magnitude. Vectors in the dataset with magnitude greater thanVHCare not displayed.0.0 (default)β The vector with the greatest magnitude in the dataset determines the reference maximum magnitude.> 0.0β The minimum ofVHCand the vector with the greatest magnitude in the data set determines the reference maximum magnitude. Vectors in the dataset with magnitude greater thanVHCare not displayed.
Typically, for direct comparison of the output of a series of plots, you would set VHC to a negative number, the absolute value of which is greater than any expected vector magnitude in the series. You can turn on Vectors statistics reporting using the parameter VST in order to see if any vectors in the datasets do exceed the maximum magnitude you have specified. See also the descriptions of the parameters VRM, VRL, DMX, VLC, and VFR. π
VLCβ Vector Low Cutoff Value - Real
Use this parameter to prevent vectors smaller than the specified magnitude from appearing in the output plot. VLC also specifies the reference minimum magnitude that is rendered at the size specified by the product of VRL and VFR (as a fraction of the viewport width), when VFR is greater than 0.0. Note that the reference minimum magnitude may be smaller than the magnitude of any vector in the dataset. The effect of this parameter varies depending on its value, as follows:
< 0.0β The absolute value ofVLCunconditionally determines the reference minimum magnitude. Vectors in the dataset with magnitude less thanVLCdo not appear.0.0 (default)β The vector with the minimum magnitude in the dataset determines the reference minimum magnitude.> 0.0β The maximum ofVLCand the vector with the least magnitude in the data set determines the reference minimum magnitude. Vectors in the dataset with magnitude less thanVLCdo not appear.
The initialization subroutine, VVINIT, calculates the magnitude of all the vectors in the vector field, and stores the maximum and minimum values. You may access these values by retrieving the read-only parameters, VMX and VMN. Thus it is possible to remove the small vectors without prior knowledge of the data domain. The following code fragment illustrates how the smallest 10% of the vectors could be removed:
CALL VVINIT(...
CALL VVGETR(Β΄VMX - Vector Maximum MagnitudeΒ΄, VMX)
CALL VVGETR(Β΄VMN - Vector Minimum MagnitudeΒ΄, VMN)
CALL VVSETR(Β΄VLC - Vector Low Cutoff ValueΒ΄,
+ VMN+0.1*(VMX-VMN))
CALL VVECTR(...
So basically, when you're making a whole series of plots that you wanna compare side-by-side, and you're using VFR to set a minimum realized size for the vectors? You can make sure every vector of a particular length means the same magnitude on every single plot by setting both VHC and VLC to negative values. π―
And if you don't actually want to yeet any vectors off the plot, just make VLC smaller in absolute value than any magnitude you're expecting. You can also turn on Vectors statistics reporting with the VST parameter to peek at whether any vectors in your datasets are less than the minimum magnitude you specified. Slay. Also go read the descriptions of parameters VFR, VRL, VHC, DMN, and VRM β they're all besties here.
VMDβ Vector Minimum Distance β Real π¦
If VMD is set to a value greater than 0.0, it specifies β as a fraction of the viewport width β a minimum distance between adjacent vector arrows in the plot. The distribution of vectors gets analyzed, and then vectors are selectively removed so the ones left standing are separated by at least the distance you specified. The thinning algorithm needs you to hand Vectors a work array that's twice the size of the VVINIT arguments N and M multiplied together. Using this capability adds some processing time to Vectors' execution. And heads up: if VMD is greater than 0.0 and you did not provide a work array, you get an error condition. π
If the data grid gets transformed so adjacent grid cells become super close in NDC space β like, say, in lots of map projections near the poles β you can use this parameter to tone down the otherwise cluttered look of those regions. The default value of VMD is 0.0.
VMNβ Minimum Vector Magnitude β Real, Read-Only π
After a call to VVINIT, VMN holds the value of the minimum vector magnitude in the U and V vector component arrays. Later, after VVECTR is called, it gets modified to hold the magnitude of the smallest vector actually displayed in the plot. That's the vector with the smallest magnitude greater than or equal to the value specified by VLC, the vector low cutoff parameter (0.0 if VLC has its default value), that falls within the user coordinate window boundaries. The value in VMN is the same one reported as the 'Minimum plotted vector magnitude' when Vectors statistics reporting is enabled. It may be larger than the reference minimum magnitude reported by the minimum vector text block if you specify the VLC parameter as a negative value. VMN starts out at 0.0.
VMXβ Maximum Vector Magnitude β Real, Read-Only π
After a call to VVINIT, VMX holds the value of the maximum vector magnitude in the U and V vector component arrays. Later, after VVECTR is called, it gets modified to hold the magnitude of the largest vector actually displayed in the plot. That's the vector with the largest magnitude less than or equal to the value specified by VHC, the vector high cutoff parameter (the largest floating point value available on the machine if VHC has its default value, 0.0), that falls within the user coordinate window boundaries. The value in VMX is the same one reported as the 'Maximum plotted vector magnitude' when Vectors statistics reporting is enabled. It may be smaller than the reference maximum magnitude reported by the maximum vector text block if you specify the VHC parameter as a negative value. VMX starts out at 0.0.
VPBβ Viewport Bottom β Real πΈ
The parameter VPB only does anything when SET is non-zero, i.e. when it's specifying that Vectors should do the call to SET. It specifies a minimum boundary value for the bottom edge of the viewport in NDC space, and it's constrained to a value between 0.0 and 1.0. It must be less than the value of the Viewport Top parameter, VPT. The actual value of the viewport bottom edge used in the plot may be greater than the value of VPB, depending on the setting of the Viewport Shape parameter, VPS. You must initialize Vectors with a call to VVINIT after modifying this parameter. The default value of VPB is 0.05.
VPLβ Viewport Left β Real π«Ά
The parameter VPL only does anything when SET is non-zero, i.e. when it's specifying that Vectors should do the call to SET. It specifies a minimum boundary value for the left edge of the viewport in NDC space, and it's constrained to a value between 0.0 and 1.0. It must be less than the value of the Viewport Right parameter, VPR. The actual value of the viewport left edge used in the plot may be greater than the value of VPL, depending on the setting of the Viewport Shape parameter, VPS. You must initialize Vectors with a call to VVINIT after modifying this parameter. The default value of VPL is 0.05.
VPOβ Vector Positioning Mode β Integer π
VPO specifies where the vector arrow sits in relation to the grid point location of the vector component data. Three settings, bestie:
<0β the head of the vector arrow is placed at the grid point location0(default) β the center of the vector arrow is placed at the grid point location>0β the tail of the vector arrow is placed at the grid point location
VPRβ Viewport Right β Real β¨
The parameter VPR only does anything when SET is non-zero, i.e. when it's specifying that Vectors should do the call to SET. It specifies a maximum boundary value for the right edge of the viewport in NDC space, and it's constrained to a value between 0.0 and 1.0. It must be greater than the value of the Viewport Left parameter, VPL. The actual value of the viewport right edge used in the plot may be less than the value of VPR, depending on the setting of the Viewport Shape parameter, VPS. You must initialize Vectors with a call to VVINIT after modifying this parameter. The default value of VPR is 0.95.
VPSβ Viewport Shape β Real π
The parameter VPS only does anything when SET is non-zero, i.e. when it's specifying that Vectors should do the call to SET; it specifies the desired viewport shape, like this:
<0.0β the absolute value ofVPSspecifies the shape to use for the viewport, as the ratio of the viewport width to its height0.0β the viewport completely fills the area defined by the boundary specifiers,VPL,VPR,VPB,VPT>0.0,<1.0(0.25, default) β useR = (XCM-XC1)/(YCN-YC1)as the viewport shape ifMIN(R, 1.0/R)is greater thanVPS. Otherwise determine the shape as whenVPSis equal to0.0.>= 1.0β useR = (XCM-XC1)/(YCN-YC1)as the viewport shape ifMAX(R, 1.0/R)is less thanVPS. Otherwise make the viewport a square.
The viewport, whatever its final shape ends up being, is centered in β and made as large as possible in β the area specified by the parameters VPB, VPL, VPR, and VPT. You must initialize Vectors with a call to VVINIT after modifying this parameter. The default value of VPS is 25.
VPTβ Viewport Top β Real π
The parameter VPT only does anything when SET is non-zero, i.e. when it's specifying that Vectors should do the call to SET. It specifies a maximum boundary value for the top edge of the viewport in NDC space, and it's constrained to a value between 0.0 and 1.0. It must be greater than the value of the Viewport Bottom parameter, VPB. The actual value of the viewport top edge used in the plot may be less than the value of VPT, depending on the setting of the Viewport Shape parameter, VPS. You must initialize Vectors with a call to VVINIT after modifying this parameter. The default value of VPT is 0.95.
VRLβ Vector Reference Length β Real π₯
Use this parameter to specify the realized length of the reference magnitude vector as a fraction of the viewport width. Based on this value, a reference length in NDC units gets established, and from that, the length of all vectors in the plot is derived. The relationship between magnitude and length also depends on the setting of the minimum vector magnitude fraction parameter, VFR, but β given the default value of VFR (0.0) β the length of each vector is simply proportional to its relative magnitude. Also note that the arrow size parameters, AMN and AMX, let you independently control the minimum and maximum size of the vector arrowheads. π―
Given a reference length, Vectors calculates a maximum length based on the ratio of the reference magnitude to the larger of the maximum magnitude in the data set and the reference magnitude itself. That length is accessible in units of NDC via the read-only parameter, DMX. If VRL is set less than or equal to 0.0, VVINIT calculates a default value for DMX, based on the size of a grid box assuming a linear mapping from grid coordinates to NDC space. The value it picks is one half the diagonal length of a grid box. By retrieving the value of DMX and calling GETSET to retrieve the viewport boundaries after the call to VVINIT, you can make relative adjustments to the vector length β like in this example, where the maximum vector length is set to 1.5 times its default value:
CALL VVINIT(...
CALL VVGETR(Β΄DMX - NDC Maximum Vector SizeΒ΄, DMX)
CALL GETSET(VL,VR,VB,VT,UL,UR,UB,UT,LL)
VRL = 1.5 * DMX / (VR - VL)
CALL VVSETR(Β΄VRL - Vector Realized LengthΒ΄, VRL)
CALL VVECTR(...
No cap, that VVINIT re-init requirement after tweaking the viewport params is not optional. Skip it and your plot's gonna be giving chaos. π
okay so when VVECTR sees that VRL is greater than 0.0, it's gonna calculate a brand-new value for DMX. If VRL is never set, the initially calculated value of DMX is used as the reference length. Do not rely on the internal parameters used for setting the viewport, VPL, VPR, VPB and VPT to retrieve information about viewport in lieu of using the GETSET call. These values are ignored entirely if the SET parameter is zero, and even if used, the viewport may be adjusted from the specified values depending on the setting of the viewport shape parameter, VPS. See also the descriptions of VFR, VRM, and VHC. The default value of VRL is 0.0. π
VRMβ Vector Reference Magnitude β Real: The introduction of the parameterVRMmeans that it is now possible to specify an arbitrary vector magnitude as the reference magnitude appearing in the "Maximum Vector Text Block" annotation. The reference magnitude no longer needs to be greater or equal to the largest magnitude in the data set. WhenVRMhas a value greater than0.0, it specifies the magnitude of the vector arrow drawn at the reference length. SeeVRLfor an explanation of how the reference length is determined. IfVRMis less than or equal to0.0, the reference magnitude is determined by the value ofVHC, the vector high cutoff value. If, in turn,VHCis equal to0.0the maximum magnitude in the vector field data set becomes the reference magnitude. The default value ofVRMis0.0. β¨VSTβ Vector Statistics Output Flag β Integer: IfVSTis set to one,VVECTRwrites a summary of its operation to the default logical output unit, including the number of vectors plotted, number of vectors rejected, minimum and maximum vector magnitudes, and if coloring the vectors according to data in the scalar array, the maximum and minimum scalar array values encountered. Here is a sample of the output:
VVECTR Statistics
Vectors plotted: 906
Vectors rejected by mapping routine: 0
Vectors under minimum magnitude: 121
Vectors over maximum magnitude: 0
Other zero length vectors: 0
Rejected special values: 62
Minimum plotted vector magnitude: 9.94109E-02
Maximum plotted vector magnitude: 1.96367
Minimum scalar value: -1.00000
Maximum scalar value: 1.00000
VSVβ V Array Special Value β Real:VSVis the V vector component array special value. It is a value outside the range of the normal data used to indicate that there is no valid data for this grid location. WhenSVFis set to 2 or 3, Vectors will not draw a vector whose V component has the special value. You must initialize Vectors with a call toVVINITafter modifying this parameter. It has a default value of1.0 E12. π¦WBAβ Wind Barb Angle β Real:WBAsets the angle of the wind barb ticks in degrees as measured clockwise from the vector direction. It also sets the angle between the hypotenuse of the triangle defining the pennant polygon and the vector direction. You can render southern hemisphere wind barbs, which by convention, have their ticks and pennants on the other side of the shaft, by settingWBAto a negative value.WBAhas an effect only whenASThas the value 2. πWBCβ Wind Barb Calm Circle Size β Real:WBCsets the diameter of the circle used to represent small vector magnitudes (less than2.5) as a fraction of the overall wind barb length (the value of theVRLparameter).WBChas an effect only whenASThas the value 2. πWBDβ Wind Barb Distance Between Ticks β Real:WBDsets the distance between adjacent wind barbs ticks along the wind barb shaft as a fraction of the overall wind barb length (the value of theVRLparameter). Half this distance is used as the spacing between adjacent wind barb pennants. Note that there is nothing to prevent ticks and/or pennants from continuing off the end of the shaft if a vector of high enough magnitude is encountered. You are responsible for adjusting the parameters appropriately for the range of magnitudes you need to handle.WBDhas an effect only whenASThas the value 2. πWBSβ Wind Barb Scale Factor β Real:WBSspecifies a factor by which magnitudes passed to the wind barb drawing routines are to be scaled. It can be used to convert vector data given in other units into the conventional units used with wind barbs, which is knots. For instance, if the data are in meters per second, you could setWBSto1.8974to create a plot with conventional knot-based wind barbs. Note that settingWBSdoes not currently have any effect on the magnitude values written into the maximum or minimum vector legends.WBShas an effect only whenASThas the value 2. πΈWBTβ Wind Barb Tick Size β Real:WBTthe length of the wind barb ticks as a fraction of the overall length of a wind barb (the value of theVRLparameter). The wind barb length is defined as the length of the wind barb shaft plus the projection of a full wind barb tick along the axis of the shaft. Therefore, increasing the value ofWBT, for a given value ofVRLhas the effect of reducing the length of the shaft itself somewhat. You may need to increaseVRLitself to compensate.WBTalso sets the hypotenuse length of the triangle defining the pennant polygon.WBThas an effect only whenASThas the value 2. πWDBβ Window Bottom β Real: WhenVVINITdoes the call toSET, the parameterWDBis used to determine argument number 7, the user Y coordinate at the bottom of the window. IfWDBis not equal toWDT,WDBis used. IfWDBis equal toWDT, butYC1is not equal toYCN, thenYC1is used. Otherwise, the value1.0is used. You must initialize Vectors with a call toVVINITafter modifying this parameter. The default value ofWDBis0.0. β¨WDLβ Window Left β Real: WhenVVINITdoes the call toSET, the parameterWDLis used to determine argument number 5, the user X coordinate at the left edge of the window. IfWDLis not equal toWDR,WDLis used. IfWDLis equal toWDR, butXC1is not equal toXCM, thenXC1is used. Otherwise, the value1.0is used. You must initialize Vectors with a call toVVINITafter modifying this parameter. The default value ofWDLis0.0. πWDRβ Window Right β Real: WhenVVINITdoes the call toSET, the parameterWDRis used to determine argument number 6, the user X coordinate at the right edge of the window. IfWDRis not equal toWDL,WDRis used. IfWDRis equal toWDL, butXCMis not equal toXC1, thenXCMis used. Otherwise, the value of theVVINITinput parameter,M, converted to a real, is used. You must initialize Vectors with a call toVVINITafter modifying this parameter. The default value ofWDRis0.0. π¦WDTβ Window Top β Real: WhenVVINITdoes the call toSET, the parameterWDBis used to determine argument number 8, the user Y coordinate at the top of the window. IfWDTis not equal toWDB,WDTis used. IfWDTis equal toWDB, butYCNis not equal toYC1thenYCNis used. Otherwise, the value of theVVINITinput parameter,N, converted to a real, is used. You must initialize Vectors with a call toVVINITafter modifying this parameter. The default value ofWDTis0.0. πXC1β X Coordinate at Index 1 β Real: The parameterXC1specifies the X coordinate value that corresponds to a value of 1 for the first subscript of theU,V, vector component arrays as well as for thePscalar data array, if used. Together withXCM,YC1, andYCNit establishes the mapping from grid coordinate space to data coordinate space. IfXC1is equal toXCM,1.0will be used. You must initialize Vectors with a call toVVINITafter modifying this parameter. The default value ofXC1is0.0. πΈXCMβ X Coordinate at Index M β Real: The parameterXCMspecifies the X coordinate value that corresponds to the value of theVVINITinput parameter,M, for the first subscript of theUandVvector component arrays as well as for thePscalar data array, if used. Together withXC1,YC1, andYCNit establishes the mapping from grid coordinate space to data coordinate space. IfXC1is equal toXCM, the value ofM, converted to a real, will be used. You must initialize Vectors with a call toVVINITafter modifying this parameter. The default value ofXCMis0.0. πXINβ X Axis Array Increment (Grid) β Integer:XINcontrols the step size through first dimensional subscripts of theU,Vvector component arrays and also through thePscalar data array if it is used. For dense arrays plotted at a small scale, you could set this parameter to a value greater than one to reduce the crowding of the vectors and hopefully improve the intelligibility of the plot. The grid point with subscripts(1,1)is always included in the plot, so ifXINhas a value of three, for example, only grid points with first dimension subscripts 1, 4, 7... (and so on) will be plotted. See alsoYIN. You must initialize Vectors with a call toVVINITafter modifying this parameter. The default value ofXINis1. β¨YC1β Y Coordinate at Index 1 β Real: The parameterYC1specifies the Y coordinate value that corresponds to a value of 1 for the first subscript of theU,V, vector component arrays as well as for thePscalar data array, if used. Together withYCN,XC1, andXCMit establishes the mapping from grid coordinate space to data coordinate space. IfYC1is equal toYCN,1.0will be used. You must initialize Vectors with a call toVVINITafter modifying this parameter. The default value ofYC1is0.0. π
YCN - Y Coordinate at Index N - Real
Ok so YCN is the Y coordinate value that matches the VVINIT input parameter N for the second subscript of the U and V vector component arrays, and also for the P scalar data array if you're using it. Together with YC1, XC1, and XCM, it sets up the mapping from grid coordinate space to data coordinate space. If YC1 equals YCN, then the value of N (converted to a real) gets used. You must call VVINIT after you change this, bestie! Default is 0.0. π
YIN - Y Axis Array Increment (Grid) - Integer
YIN controls the step size through the second dimension subscripts of the U and V vector component arrays, and also through the P scalar data array if you're using it. For dense arrays plotted at a small scale, you can set this to something greater than one to reduce the crowding of the vectors and hopefully make the plot more intelligible. The grid point at (1,1) is always included, so if YIN is 3, for example, only grid points with second dimension subscripts 1, 4, 7... (and so on) get plotted. See also XIN. You must call VVINIT after changing this. Default is 1. β¨
ZFC - Zero Field Text Block Color - Integer
If ZFC is greater than or equal to zero, it's the GKS color index used to color the Zero Field text block. Otherwise, the Zero Field text block gets colored with the current GKS text color index. Default is -1. π¨
ZFP - Zero Field Text Block Positioning Mode - Integer
The ZFP parameter lets you justify the Zero Field text block using any of the 9 standard justification modes, relative to the position set by ZFX and ZFY. Here are the modes:
-4β The lower left corner of the text block is positioned atZFX,ZFY.-3β The center of the bottom edge is positioned atZFX,ZFY.-2β The lower right corner is positioned atZFX,ZFY.-1β The center of the left edge is positioned atZFX,ZFY.0(default) β The text block is centered along both axes atZFX,ZFY.1β The center of the right edge is positioned atZFX,ZFY.2β The top left corner is positioned atZFX,ZFY.3β The center of the top edge is positioned atZFX,ZFY.4β The top right corner is positioned atZFX,ZFY.
ZFS - Zero Field Text Block Character Size - Real
ZFS sets the size of the characters in the Zero Field graphics text block as a fraction of the viewport width. Default is 0.033. π
ZFT - Zero Field Text String - Character* 36
Use ZFT to change the text of the Zero Field text block. This block can show up whenever the U and V vector component arrays contain data such that all the grid points that would otherwise be eligible for plotting have zero-magnitude vectors. Currently the string length is limited to 36 characters. Set ZFT to a single space (Β΄ Β΄) to stop the text from being displayed. Default text is Β΄Zero FieldΒ΄. π
ZFX - Zero Field Text Block X Coordinate - Real
ZFX sets the X coordinate of the Zero Field graphics text block as a fraction of the viewport width. Values less than 0.0 or greater than 1.0 are allowed and mean regions to the left or right of the viewport, respectively. The actual position of the block relative to ZFX depends on the value you gave to the Zero Field Positioning Mode parameter, ZFP. Default is 0.5. π
ZFY - Zero Field Text Block Y Coordinate - Real
ZFY sets the Y coordinate of the minimum vector graphics text block as a fraction of the viewport height. Values less than 0.0 or greater than 1.0 are allowed and mean regions below and above the viewport, respectively. The actual position of the block relative to ZFY depends on the value you gave to the Zero Field Positioning Mode parameter, ZFP. Default is 0.5. π¦
β¨ SEE ALSO β¨
Online: vectors, vvectr, vvgetc, vvgeti, vvgetr, vvinit, vvrset, vvsetc, vvseti, vvsetr, vvudmv, vvumxy, ncarg_cbind.
Hardcopy: NCAR Graphics Fundamentals, UNIX Version
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
That's the vibe, bestie! π This page is from the UNIX manual, April 1993, for Vectors_params(3NCARG). Stay iconic! β¨π
π¦ where this page comes from
- epel 9: ncl-devel 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-devel 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-devel 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms