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

ListVectorDensityPlot

ListVectorDensityPlot[array]
generates a vector plot from a 2D array of vector and scalar field values {{vxij, vyij}, sij}.
ListVectorDensityPlot[{{{x1, y1}, {{vx1, vy1}, s1}}, ...}]
generates a vector plot from vector and scalar field values {{vxi, vyi}, si} given at specified points {xi, yi}.
ListVectorDensityPlot[{data1, data2, ...}]
plots data for several vector and scalar fields.
  • ListVectorDensityPlot generates a vector 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.
  • ListVectorDensityPlot[array] arranges successive rows of array up the page, and successive columns across.
  • ListVectorDensityPlot by default interpolates the data given, and plots vectors for the vector field at a regular grid of positions.
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
VectorColorFunctionNonehow to color vectors
VectorColorFunctionScalingTruewhether to scale the arguments to VectorColorFunction
VectorPointsAutomaticthe number or placement of vectors to plot
VectorScaleAutomaticthe scale and size of vectors to plot
VectorStyleAutomatichow to draw vectors
WorkingPrecisionMachinePrecisionprecision to use in internal computations
  • The default setting MeshFunctions->{#5&} draws mesh lines for the scalar field s.
Plot the vector field with its norm as a background interpolated from a specified set of vectors:
In[1]:=
Click for copyable input
Out[1]=
 
Plot the vector field 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