Keywords
ARROWSIZE
Size of arrowheads (default = 0.05).
BLOB
Set this keyword to draw a blob at the beginning of each flow line and suppress the arrows.
LEN
Length of each step used to follow flow lines (default = 2.0). Expressed in units of largest field vector (i.e., the length of the longest step is set to len times the grid spacing.
NSTEPS
Number of steps used to follow the flow lines (default = largest dimension of
Vx
/ 5).
NVECS
Number of random flow lines to draw (default = 200). Only used if Sx, Sy, Sz are not present.
SX,
SY,
SZ
Optional vectors containing the starting coordinates of the flow lines. If omitted random starting points are chosen.
Example
Create a set of random three-dimensional arrays to represent the field:
vx = RANDOMU(seed, 5, 5, 5)
vy = RANDOMU(seed, 5, 5, 5)
vz = RANDOMU(seed, 5, 5, 5)
Set up the 3D scaling system:
SCALE3, xr=[0,4], yr=[0,4], zr = [0,4]
Plot the vector field:
FLOW3, vx, vy, vz