GMS:Vectors: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
 
No edit summary
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
If the Vectors item in the [[GMS:Display Options|Display Options]] dialog is selected for an object (TIN, Grid, or Mesh), vector plots can be generated using the active vector data set for the object. One vector is placed at each node, cell, or vertex.
[[File:VectorOptions.jpg|thumb|390 px|The ''Vector Options'' dialog]]
If the ''Vectors'' item in the [[GMS:Display Options|''Display Options'']] dialog is selected for an object (TIN, Grid, or Mesh), vector plots can be generated using the active vector dataset for the object. One vector is placed at each node, cell, or vertex.


Vectors can be generated from a MODFLOW *.ccf file.  This is accomplished by locating the *.ccf file in the [[GMS:Project Explorer|Project Explorer]].  This file would be listed in the MODFLOW solution folder.  Having located the *.ccf file, right-click on the file and select the Generate Vectors command. Two new entries appear in the [[GMS:Project Explorer|Project Explorer]]: a vector and magnitude file.
To open this dialog, click the '''Options''' button to the right of ''Vectors'' on any ''Display Options'' tab with a ''Vectors'' option. The options in this dialog determine the settings for vector display for every geometry that might use vectors. The dialog options are as follows:
 
The display of vectors can be controlled using the Vector Options dialog accessed through the Vector Options command in the Data menu or from a button in the Display Options dialog. The dialog options are as follows:


== Dimensions ==
== Dimensions ==


The Auto compute length toggle is on then GMS will compute the length of the vectors. If this toggle is off then the Length can be edited. The edit fields labeled Length, Head width, Head length, and Stem width control the size and shape of the vectors. The Head width, Head length, and Stem width are expressed as a percentage of the Length of the vector.
When the ''Auto compute length'' option is on, GMS computes the length of the vectors. When it is off, the ''Length'' can be edited. The edit fields labeled ''Length'', ''Head width'', ''Head length'', and ''Stem width'' control the size and shape of the vectors. The ''Head width'', ''Head length'', and ''Stem width'' are expressed as a percentage of the length of the vector.


== Vary Length and/or Color ==
== Vary Length and/or Color ==


Often it is desirable to vary the display of the vectors according to the magnitude of the vector function at a current point. This can be done with the Vary length according to magnitude and Vary color according to magnitude. If the Vary length according to magnitude option is selected each vector is displayed with a length equal to the magnitude of the vector multiplied by the Scaling ratio. If the Vary color according to magnitude option is selected, the vectors with the smallest and largest magnitude are draw in the color of the lowest and highest colors on the current [[GMS:Color Ramp|color ramp]]. All other vectors are drawn in a color which corresponds to its magnitude from the current color ramp.
Often it is desirable to vary the display of the vectors according to the magnitude of the vector function at a current point. This can be done with the ''Vary length according to magnitude'' and ''Vary color according to magnitude''. If the ''Vary length according to magnitude'' option is selected, each vector is displayed with a length equal to the magnitude of the vector multiplied by the ''Scaling'' ratio. If the ''Vary color according to magnitude'' option is selected, the vectors with the smallest and largest magnitude are drawn in the color of the lowest and highest colors on the current [[GMS:Color Ramp|color ramp]]. All other vectors are drawn in a color which corresponds to its magnitude from the current color ramp.


== Display Every Nth Vector ==
== Display Every Nth Vector ==


If the Display every _nth vector is selected, only every nth vector is drawn. This is useful when the model is so large that drawing every vector clutters the display.
If the ''Display every _nth vector'' is selected, only every nth vector is drawn. This is useful when the model is so large that drawing every vector clutters the display.


== Color Specified Range ==
== Color Specified Range ==


It is possible to have the current color ramp vary over a specified range of the active vector data set. This is done by selecting the Color specified range option and editing the Min magnitude and Max magnitude edit fields.
“Use each timestep’s max and min” applies when vectors are [[GMS:Vectors#Vary_Length_and/or_Color|colored]] according to a color ramp and the active vector dataset has more than one time step. It displays the maximum and minimum magnitude for the active time step as the highest and lowest colors on the color ramp. When it is off, the maximum and minimum magnitudes for the entire dataset display as the highest and lowest colors on the color ramp. It is also possible to have the current color ramp vary over a specified range of the active vector dataset. This is done by selecting the ''Color specified range'' option and editing the ''Min magnitude'' and ''Max magnitude'' edit fields.


== 2D vs. 3D Vectors ==
== 2D vs. 3D Vectors ==


If you are in one of the orthogonal views (xy plane, xz plane, yz plane) the vectors will be displayed as 2D vectors. If you are in oblique view then the vectors are displayed a 3D vectors.
If in one of the orthogonal views (xy plane, xz plane, yz plane), the vectors display as 2D vectors. If in oblique view, the vectors display as 3D vectors.
 


==See also==
==See also==


*[[GMS:Data Sets|Data Sets]]
*[[GMS:Datasets|Datasets]]


*[[GMS:Display Options|Display Options]]
*[[GMS:Display Options|Display Options]]
Line 35: Line 33:


{{Navbox GMS}}
{{Navbox GMS}}
[[Category:GMS Dialogs|V]]
[[Category:GMS Display Options]]

Latest revision as of 16:36, 7 June 2022

The Vector Options dialog

If the Vectors item in the Display Options dialog is selected for an object (TIN, Grid, or Mesh), vector plots can be generated using the active vector dataset for the object. One vector is placed at each node, cell, or vertex.

To open this dialog, click the Options button to the right of Vectors on any Display Options tab with a Vectors option. The options in this dialog determine the settings for vector display for every geometry that might use vectors. The dialog options are as follows:

Dimensions

When the Auto compute length option is on, GMS computes the length of the vectors. When it is off, the Length can be edited. The edit fields labeled Length, Head width, Head length, and Stem width control the size and shape of the vectors. The Head width, Head length, and Stem width are expressed as a percentage of the length of the vector.

Vary Length and/or Color

Often it is desirable to vary the display of the vectors according to the magnitude of the vector function at a current point. This can be done with the Vary length according to magnitude and Vary color according to magnitude. If the Vary length according to magnitude option is selected, each vector is displayed with a length equal to the magnitude of the vector multiplied by the Scaling ratio. If the Vary color according to magnitude option is selected, the vectors with the smallest and largest magnitude are drawn in the color of the lowest and highest colors on the current color ramp. All other vectors are drawn in a color which corresponds to its magnitude from the current color ramp.

Display Every Nth Vector

If the Display every _nth vector is selected, only every nth vector is drawn. This is useful when the model is so large that drawing every vector clutters the display.

Color Specified Range

“Use each timestep’s max and min” applies when vectors are colored according to a color ramp and the active vector dataset has more than one time step. It displays the maximum and minimum magnitude for the active time step as the highest and lowest colors on the color ramp. When it is off, the maximum and minimum magnitudes for the entire dataset display as the highest and lowest colors on the color ramp. It is also possible to have the current color ramp vary over a specified range of the active vector dataset. This is done by selecting the Color specified range option and editing the Min magnitude and Max magnitude edit fields.

2D vs. 3D Vectors

If in one of the orthogonal views (xy plane, xz plane, yz plane), the vectors display as 2D vectors. If in oblique view, the vectors display as 3D vectors.

See also