StreamPlot

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

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

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

generates plots of several vector fields.

StreamPlot[,{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 streamlines with arrows for the field :

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

Plot the streamlines with arrows for two fields:

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

Scope  (20)

Options  (108)

Applications  (17)

Properties & Relations  (6)

See Also

StreamDensityPlot  VectorPlot  ListStreamPlot  LineIntegralConvolutionPlot  ParametricPlot  ContourPlot  DensityPlot  Plot3D  VectorPlot3D  SliceVectorPlot3D

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