# data vector create command

Syntax

data vector create v <keyword ...>

Primary keywords:

Create a vector. Vectors are an internal list of user-defined objects that have the position v and a vector value, assigned via either the value keyword or the dip, dip-direction and magnitude keyword combination, associated with them. Vectors may also have groups and extra variables assigned to them upon creation.

Vector fields can be visualized with the user interface. Vectors can be used to track events in the model, or to compare model results against external data.

azimuth f

Specify the azimuth of the vector in degrees. Not to be used with the value, dip, or dip-direction keywords.

dip f

Specify the dip of the vector in degrees. Not to be used with the value, azimuth, or plunge keywords.

dip-direction f

Specify the dip direction of the vector in degrees. Not to be used with the value, azimuth, or plunge keywords.

extra i a

Optionally assign the extra variable a to index i.

group s <slot s2 >

Optionally assign the group name s to slot s2. By default, s2 = Default. Use of the group logic is described in Groups.

magnitude f

Specify the magnitude of the vector. Not to be used with the value keyword.

plunge f

Specify the plunge of the vector. Not to be used with the value, dip, or dip-direction keywords.

value v <magnitude f >

Assign v to be the value associated with the vector. One can optionally specify the magnitude separately with the magnitude keyword immediately following, in which case v is used only to provide the direction.