>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  VECFLD






      Plot a 2-d vector field.


Calling Sequence

      vecfld, u, v, [l]


      u = 2-d array of vector x components. in
        If this array is complex then u and v
        will be taken as the real and imaginary
        parts. v is then not needed and will be ignored.
      v = 2-d array of vector y components. in
      l = Optional max length of vectors. in
          Can give this value using keyword VSCALE.

Keyword Parameters


        /ISO for isotropic plot scale.
        /MAGNITUDES indicate magnitudes, else direction only.
        /MARK mark head of vector by a colored symbol.
        PSYM=psym Symbol for head (def=square).
        SYMCOLOR=sclr Symbol color (def=white).
        SYMSIZE=ssz Symbol size (def=0.3).
        VSCALE=vsc Scale factor for vectors (def=1).
          This keyword is used instead of giving l above.
          Use this keyword when viewing a complex array.
        X0=x0 Optional x index of lower left corner (def=0).
        Y0=y0 Optional y index of lower left corner (def=0).


Common Blocks


      Note: Plot keywords may be given (like title, xtitle, ...).

Modification History

      R. Sterner, 8 Sep, 1989.
      R. Sterner, 27 Jan, 1993 --- dropped reference to array.
      R. Sterner, 2004 Feb 27 --- Upgrades. Complex option.
      R. Sterner, 2004 Mar 01 --- Added x0,y0 keywords.
      R. Sterner, 2004 Mar 10 --- Changed a few defaults.
      R. Sterner, 2004 Mar 23 --- Added _extra.
  Copyright (C) 1989, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.

© 2020 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us