Mathematica > Visualization and Graphics > Data Visualization > Vector Visualization >
Mathematica > Visualization and Graphics > Function Visualization > Vector Visualization >

ListStreamDensityPlot

ListStreamDensityPlot[array]
generates a stream density plot from a 2D array of vector and scalar field values {{vxij, vyij}, sij}.
ListStreamDensityPlot[{{{x1, y1}, {{vx1, vy1}, s1}}, ...}]
generates a stream density plot from vector and scalar field values {{vxi, vyi}, si} given at specified points {xi, yi}.
ListStreamDensityPlot[{data1, data2, ...}]
plots data for several vector and scalar fields.
  • ListStreamDensityPlot generates a stream plot of the vector field, superimposed on a background density plot of the scalar field.
  • If no scalar field values are given, they are taken to be the norm of the vector field.
  • ListStreamDensityPlot plots streamlines that show the local direction of the vector field at every point.
  • ListStreamDensityPlot[array] arranges successive rows of array up the page, and successive columns across.
  • ListStreamDensityPlot by default interpolates the data given, and shows enough streamlines to achieve a roughly uniform density throughout the plot.
AspectRatio1ratio of height to width
BoundaryStyleNonehow to draw RegionFunction boundaries
BoxRatiosAutomaticeffective 3D box ratios for simulated lighting
ColorFunctionAutomatichow to color background densities
ColorFunctionScalingTruewhether to scale arguments to ColorFunction
DataRangeAutomaticthe range of x and y values to assume for data
EvaluationMonitorNoneexpression to evaluate at every function evaluation
FrameTruewhether to draw a frame around the plot
FrameTicksAutomaticframe tick marks
LightingAngleNoneeffective angle for simulated lighting
MaxRecursionAutomaticthe maximum number of recursive subdivisions allowed for the scalar field
MeshNonehow many mesh lines to draw in the background
MeshFunctions{#5&}how to determine the placement of mesh lines
MeshShadingNonehow to shade regions between mesh lines
MeshStyleAutomaticthe style of mesh lines
MethodAutomaticmethods to use for the plot
PerformanceGoal$PerformanceGoalaspects of performance to try to optimize
PlotRange{Full,Full}range of x, y values to include
PlotRangePaddingAutomatichow much to pad the range of values
RegionFunctionTrue&determine what region to include
StreamColorFunctionNonehow to color streamlines
StreamColorFunctionScalingTruewhether to scale the argument to StreamColorFunction
StreamPointsAutomaticdetermine number, placement and closeness of streamlines
StreamScaleAutomaticdetermine sizes and segmenting of individual streamlines
StreamStyleAutomatichow to draw streamlines
WorkingPrecisionMachinePrecisionprecision to use in internal computations
  • The default setting MeshFunctions->{#5&} draws mesh lines for the scalar field s.
Plot streamlines and background computed from the interpolation of a specified set of vectors:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
 
Plot the streamlines and background from data specifying coordinates and vectors:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team