The VELOVECT procedure produces a two-dimensional velocity field plot. A directed arrow is drawn at each point showing the direction and magnitude of the field.
This routine is written in the IDL language. Its source code can be found in the file
velovect.pro
in the
lib
subdirectory of the IDL distribution.
NOTE: Keywords not described here are passed directly to the PLOT procedure and may be used to set options such as TITLE, POSITION, NOERASE, etc.
Set this keyword to 1 to place a dot at each missing point. Set this keyword to 0 or omit it to draw nothing for missing points. Has effect only if MISSING is specified.
In addition to the keywords described above, all other keywords accepted by the PLOT procedure are accepted by VELOVECT. See PLOT .
U = RANDOMN(S, 20, 20) ; Create some random data.
VELOVECT, U, V ; Plot the vector field.
VELOVECT, U, V, MISSING=18, /DOTS ; Plot the field, using dots to represent vectors with values greater than 18.
VELOVECT, U, V, MISSING=18, /DOTS, XTITLE='Random Vectors'
;
Plot with a title. Note that the XTITLE keyword is passed directly to the PLOT procedure.
FLOW3 , PLOT , PLOT_FIELD , VEL