StreamDensityPlot

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

generates a stream plot of the vector field {vx,vy} as a function of x and y, superimposed on a background density plot of the scalar field s.

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

takes the scalar field to be the norm of the vector field.

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

generates plots of several vector fields.

StreamDensityPlot[,{x,y}reg]

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

Details and Options

Examples

open allclose all

Basic Examples  (3)

Plot the streamlines for a vector field with background based on field magnitude:

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

Plot the streamlines for a vector field with background based on a logarithm of field magnitude:

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

Plot the streamlines for two fields with a background based on the first field's magnitude:

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

Scope  (23)

Options  (121)

Applications  (16)

Properties & Relations  (9)

Neat Examples  (3)

See Also

StreamPlot  VectorPlot  ListStreamPlot  LineIntegralConvolutionPlot  DensityPlot  ParametricPlot  ContourPlot  Plot3D  VectorPlot3D  SliceVectorPlot3D  DensityPlot3D  SliceDensityPlot3D

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