refl option=value option=value
A plot option for the refl plot. See table below.
A value associated with the matching option . See table below.
The x index of the starting location for the reference line. When this value, iy1 , ix2 , and iy2 are set to -1 and logical is on , then you can specify via coordinates ( x1 , y1 , x2 , y2 ) and the code will calculate the appropriate indices. |
|||
The x index of the ending location for the reference line. When this value, ix1 , iy1 , and iy2 are set to -1 and logical is on , then you can specify via coordinates ( x1 , y1 , x2 , y2 ) and the code will calculate the appropriate indices. |
|||
The y index of the starting location for the reference line. When this value, ix1 , ix2 , and iy2 are set to -1 and logical is on , then you can specify via coordinates ( x1 , y1 , x2 , y2 ) and the code will calculate the appropriate indices. |
|||
The y index of the ending location for the reference line. When this value, ix1 , iy1 , and ix2 are set to -1 and logical is on , then you can specify via coordinates ( x1 , y1 , x2 , y2 ) and the code will calculate the appropriate indices. |
|||
Line color. Color Names off means the line color will cycle through the MeshTV standard color table. A color index may be used in place of a color name. |
|||
When on , the reference line will be created using locical index values, else it is created using coordinate values. |
|||
Line style. Line Styles |
|||
Number to indicate thickness. 1 is the most thin, and 4 is the thickest. |
|||
The x coordinate of the starting endpoint for the reference line. |
|||
The x coordinate of the ending endpoint for the reference line. |
|||
The y coordinate of the starting endpoint for the reference line. |
|||
The y coordinate of the ending endpoint for the reference line. |
A reference plot (see the ref command) is the curve generated from data found in a reference line plot. A reference line plot consists of a line drawn on a 2D data set. This line "selects" the nodes/zones used when a corresponding reference plot is done. For example, of you type "refl x1=1.0 y1=1.0 x2=2.0 y2=4.4" and then "plot refl", a reference line will draw to the specified window. If you then type "winnew; winset 2; plot ref", a reference plot will draw to the newly created (via winnew ) and selected (via winset ) window 2. This plot will display the value of "d", the default for the var option, along the reference line created when you typed "plot refl". As you can see, the two plot types, ref and refl , are inseparable.
Another example shows the value of the two shortcut commands, dist and distline . In this example, the data are plotted in window 1, and you have already created window 2. The goal is to draw a reference line in window 1, and see the results (a reference plot) in window 2. To accomplish this by using ref and refl commands, you would type the following:
refl x1=1.0 y1=1.0 x2=2.0 y2=2.0 name= "my_refl"
The equivalent results typed via the dist and distline commands would be:
You might wonder why we even have ref and refl since dist and distline seem much easier. They are easier, but they are also much less flexible, so for those users who want more control (including the ability to specify the reference line's endpoint via logical mesh indices rather than via coordinates), ref and refl are the commands to use.