VectorPlot

VectorPlot[{vx,vy},{x,xmin,xmax},{y,ymin,ymax}]

generates a vector plot of the vector field {vx,vy} as a function of x and y.

VectorPlot[{{vx,vy},{wx,wy},},{x,xmin,xmax},{y,ymin,ymax}]

plots several vector fields.

VectorPlot[,{x,y}reg]

takes the variables {x,y} to be in the geometric region reg.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Plot the vector field :

In[1]:=
Click for copyable input
Out[1]=

Plot multiple vector fields:

In[1]:=
Click for copyable input
Out[1]=

Scope  (18)

Options  (92)

Applications  (6)

Properties & Relations  (6)

See Also

VectorDensityPlot  StreamPlot  ListVectorPlot  LineIntegralConvolutionPlot  ParametricPlot  ContourPlot  DensityPlot  Plot3D  VectorPlot3D  SliceVectorPlot3D

Introduced in 2008
(7.0)
| Updated in 2014
(10.0)