ListVectorDensityPlot

ListVectorDensityPlot[varr]

generates a vector density plot from an array varr of vector and scalar field values {{vxij,vyij},rij}.

ListVectorDensityPlot[{{{x1,y1},{{vx1,vy1},r1}},}]

generates a vector density plot from vector and scalar field values {{vxi,vyi},ri} given at specified points {xi,yi}.

ListVectorDensityPlot[{data1,data2,}]

plots data for several vector and scalar fields.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Plot the vector field with its norm as a background interpolated from a specified set of vectors:

Plot the vector field from data specifying coordinates and vectors:

Scope  (20)

Sampling  (9)

Plot streamlines for a regular collection of vectors, and give a data range for the domain:

Plot an irregular collection of vectors:

Show all of the specified field vectors:

Explicitly set the number of vectors in each direction:

Use an explicit scalar field:

Use an explicit scalar field on an irregular collection of vectors:

Plot two vector fields with background based on the norm of the first:

Specify a list of points for showing field vectors:

Plot a vector field with specified vector densities:

Plot the vectors that go through a set of seed points:

Plot vectors over a specified region:

Presentation  (11)

Plot a vector field with arrows scaled according to their magnitudes:

Use a single color for the arrows:

Plot a vector field with arrows of specified size:

Vary the arrowhead size:

Plot a vector field with the background and vectors colored according to the field magnitude:

Set the style for multiple vector fields:

Apply a vector style:

Use a named appearance to draw the vectors:

Style the vectors as well:

Use a legend for the color gradients:

Use a theme with detailed frame ticks and grid lines:

Use a theme with a high-contrast color scheme and edge-fading rectangles:

Reverse the direction of the y axis:

Options  (87)

Background  (1)

Use colored backgrounds:

BoundaryStyle  (2)

By default, region boundaries have no style:

Change the style of the boundary:

ColorFunction  (6)

Color the field magnitude using Hue:

Color using Hue based on :

Use any named color gradient from ColorData:

Use ColorData for predefined color gradients:

Specify a color function that blends two colors by the coordinate:

Use ColorFunctionScaling->False to get unscaled values:

ColorFunctionScaling  (4)

By default, scaled values are used:

Use ColorFunctionScaling->False to get unscaled values:

Use unscaled coordinates in the direction and scaled coordinates in the direction:

Explicitly specify the scaling for each color function argument:

DataRange  (1)

By default, the data range is taken to be the index range of the data array:

Specify the data range for the domain:

EvaluationMonitor  (1)

Count the number of times the vector field function is evaluated:

MaxRecursion  (1)

Refine the plot where it changes quickly:

Mesh  (5)

By default, no mesh lines are displayed:

Show the initial and final sampling meshes:

Use a specific number of mesh lines:

Specify mesh lines:

Use different styles for different mesh lines:

MeshFunctions  (3)

By default, mesh lines correspond to the magnitude of the field:

Use the value as the mesh function:

Use mesh lines corresponding to fixed distances from the origin:

MeshShading  (3)

Use None to remove regions:

Styles are used cyclically:

Use indexed colors from ColorData cyclically:

MeshStyle  (1)

Apply a variety of styles to the mesh lines:

PerformanceGoal  (2)

Generate a higher-quality plot:

Emphasize performance, possibly at the cost of quality:

PlotLegends  (2)

Use legends for vector color gradients:

Use Placed to put legends above the plot:

PlotRange  (7)

The full plot range is used by default:

Specify an explicit limit for both and ranges:

Specify an explicit range:

Specify an explicit minimum range:

Specify an explicit range:

Specify an explicit maximum range:

Specify different and ranges:

PlotTheme  (2)

Use a theme with simple ticks and grid lines in a high-contrast color scheme:

Change the color scheme:

RegionBoundaryStyle  (4)

The boundaries of full rectangular regions are not shown:

Show the region being plotted:

Specify a style for the boundary:

Specify a style for full rectangular regions:

RegionFunction  (3)

Plot vectors only over certain quadrants:

Plot vectors only over regions where the field magnitude is above a given threshold:

Use any logical combination of conditions:

ScalingFunctions  (3)

By default, linear scales are used:

Use a log scale in the y direction:

Reverse the direction of the y direction:

VectorAspectRatio  (1)

Specify arrowhead size relative to the length of the arrow with VectorAspectRatio:

VectorColorFunction  (4)

Color the vectors according to their norms:

Use any named color gradient from ColorData:

Color the vectors according to their values:

Use VectorColorFunctionScaling->False to get unscaled values:

VectorColorFunctionScaling  (4)

By default, scaled values are used:

Use VectorColorFunctionScaling->False to get unscaled values:

Use unscaled coordinates in the direction and scaled coordinates in the direction:

Explicitly specify the scaling for each color function argument:

VectorMarkers  (10)

Vectors are drawn as arrows by default:

Use a named appearance to draw the vectors:

Use different markers for different vector fields:

By default, markers are centered on vector points:

Start the vectors at the points:

End the vectors at the points:

Plot the vector field without arrowheads:

Arrow vector styles:

Circular vector styles:

Dart vector styles:

Vector styles with dots:

Pointer vector styles:

VectorPoints  (8)

Use automatically determined vector points:

Show all of the specified field vectors:

Use symbolic names to specify the set of field vectors:

Create a hexagonal grid of field vectors with the same number of arrows for and :

Create a hexagonal grid of field vectors with a different number of arrows for and :

Specify a list of points for showing field vectors:

Use a different number of field vectors on a hexagonal grid:

The location for vectors is given in the middle of the drawn vector:

VectorScaling  (2)

Vectors by default are not scaled and have uniform length:

Use an automatically determined vector scale:

VectorSizes  (2)

Specify the size of vectors:

Use symbolic names to control the size of vectors:

VectorStyle  (5)

Set the style for the displayed vectors:

Set the style for multiple vector fields:

Use Arrowheads to specify an explicit style of the arrowheads:

Specify both arrow tail and head:

Graphics primitives without Arrowheads are scaled based on the vector scale:

Applications  (2)

Visualize a sampled vector field with the background based on the field's divergence:

Visualize the first horizontal and vertical Gaussian derivatives of an image:

Combine the vertical and horizontal Gaussian derivatives:

Properties & Relations  (10)

Use VectorDensityPlot to plot functions with a density plot of the scalar field:

Use StreamDensityPlot to plot streamlines instead of vectors:

Use ListVectorPlot for plotting data without a density plot:

Use ListStreamPlot to plot streamlines instead of vectors:

Use ListStreamDensityPlot to plot with streamlines instead of vectors:

Use VectorPlot to plot functions without a density plot:

Use ListVectorDisplacementPlot to visualize the deformation of a region associated with a displacement vector field:

Use ListVectorDisplacementPlot3D to visualize a deformation in 3D:

Scalar fields can be plotted by themselves with ListDensityPlot:

Use ListLineIntegralConvolutionPlot to plot the line integral convolution of vector field data:

Use ListVectorPlot3D and ListStreamPlot3D to visualize 3D vector field data:

Plot vectors on surfaces with ListSliceVectorPlot3D:

Use GeoVectorPlot to plot vectors on a map:

Use GeoStreamPlot to plot streamlines instead of vectors:

Wolfram Research (2008), ListVectorDensityPlot, Wolfram Language function, https://reference.wolfram.com/language/ref/ListVectorDensityPlot.html (updated 2022).

Text

Wolfram Research (2008), ListVectorDensityPlot, Wolfram Language function, https://reference.wolfram.com/language/ref/ListVectorDensityPlot.html (updated 2022).

CMS

Wolfram Language. 2008. "ListVectorDensityPlot." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2022. https://reference.wolfram.com/language/ref/ListVectorDensityPlot.html.

APA

Wolfram Language. (2008). ListVectorDensityPlot. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ListVectorDensityPlot.html

BibTeX

@misc{reference.wolfram_2024_listvectordensityplot, author="Wolfram Research", title="{ListVectorDensityPlot}", year="2022", howpublished="\url{https://reference.wolfram.com/language/ref/ListVectorDensityPlot.html}", note=[Accessed: 12-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_listvectordensityplot, organization={Wolfram Research}, title={ListVectorDensityPlot}, year={2022}, url={https://reference.wolfram.com/language/ref/ListVectorDensityPlot.html}, note=[Accessed: 12-December-2024 ]}