Chris Beaumont's IDL Library

Download source code

single page | use frames     summary     class     fields     routine details     file attributes

./

plotvec.pro

topplotvec

display utilities

plotvec, x, y, xvec, yvec [, linecolor=linecolor] [, over=over] [, _extra=_extra] [, veclinestyle=veclinestyle] [, linethick=linethick]

This procedure creates plots of vector fields. It is a wrapper procedure for PLOT and OPLOT, and accepts all of their keywords

Parameters

x in required

The x coordinate of each vector tail

y in required

The y coordinate of each vector tail

xvec in required

The x component of the vector length

yvec in required

The y component of the vector length

Keywords

linecolor in optional

The what color to paint the vectors. Used analagously to the COLOR keyword in plot. In addition, any extra kewyords are passed to plot

over in optional

overplot on a pre-existing graphics window

_extra in optional

Extra plot keywords to pass through to PLOT.

veclinestyle in optional

The LINESTYLE keyword value to use when drawing the vector lines.

linethick in optional

The line thickness to use when drawing the vectors.

File attributes

Modifcation date: Mon Mar 22 16:17:13 2010
Lines: 58