ListVectorPlot

ListVectorPlot[varr]

generates a vector plot from an array varr of vectors.

ListVectorPlot[{{{x1,y1},{vx1,vy1}},}]

generates a vector plot from vectors {vxi,vyi} given at specified points {xi,yi}.

ListVectorPlot[{data1,data2,}]

plots data for several vector fields.

Details and Options

Examples

open allclose all

Basic Examples  (4)

Plot the vector field interpolated from a specified set of vectors:

Include a legend showing the vector magnitudes:

Use a drop-shaped marker to represent the vectors:

Use a multi-panel layout to show multiple vector fields at the same time:

Scope  (16)

Sampling  (6)

Plot vectors 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:

Specify a list of points for showing field vectors:

Plot a vector field with vectors placed with specified densities:

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

Plot vectors over a specified region:

Presentation  (10)

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:

Plot a vector field with arrows colored according to the magnitude of the field:

Set the style for multiple vector fields:

Apply vector style:

Use a named appearance to draw the vectors:

Style the vectors as well:

Use a theme with more detail:

Combine the theme with a specific style for the vectors:

Show multiple vector fields in separate panels:

Use a column instead of a row:

Use a log scale in the y direction:

Options  (95)

AspectRatio  (3)

By default, ListVectorPlot uses the same width and height:

Use numerical value to specify the height to width ratio:

AspectRatioAutomatic determines the ratio from the plot ranges:

Axes  (4)

By default, ListVectorPlot uses a frame instead of axes:

Use axes instead of a frame:

Use AxesOrigin to specify where the axes intersect:

Turn each axis on individually:

AxesLabel  (3)

No axes labels are drawn by default:

Place a label on the axis:

Specify axes labels:

AxesOrigin  (2)

The position of the axes is determined automatically:

Specify an explicit origin for the axes:

AxesStyle  (4)

Change the style for the axes:

Specify the style of each axis:

Use different styles for the ticks and the axes:

Use different styles for the labels and the axes:

Background  (1)

Use colored backgrounds:

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:

ImageSize  (5)

Use named sizes such as Tiny, Small, Medium and Large:

Specify the width of the plot:

Specify the height of the plot:

Allow the width and height to be up to a certain size:

Specify the width and height for a graphic, padding with space if necessary:

Setting AspectRatioFull will fill the available space:

Use maximum sizes for the width and height:

PerformanceGoal  (2)

Generate a higher-quality plot:

Emphasize performance, possibly at the cost of quality:

PlotLayout  (3)

Place each field in a separate panel using shared axes:

Use a row instead of a column:

Use multiple columns or rows:

Prefer full columns or rows:

PlotLegends  (2)

No legends are included by default:

Include a legend to show the color range of vector norms:

Add legends with placeholder text:

Specify labels for the legend:

Place the legend below the plot:

Control the appearance of the legend:

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  (1)

Use a theme with gridlines, dark background and bold colors:

Change the VectorColorFunction:

RegionBoundaryStyle  (5)

Show the region defined by a region function:

The boundaries of full rectangular regions are not shown:

Use None to not show the boundary:

Omit the interior filling as well:

Specify a style for the boundary:

Specify a style for full rectangular regions:

RegionFillingStyle  (5)

Show the region defined by a region function:

The interior of full rectangular regions are not shown:

Use None to not show the interior filling:

Omit the boundary curve as well:

Specify a style for the interior filling:

Specify a style for full rectangular region:

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:

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  (9)

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:

Arrow vector markers:

Circular vector markers:

Dart vector markers:

Vector markers with dots:

Pointer vector markers:

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 regular grid of field vectors with the same number of arrows for and :

Create a regular 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:

VectorRange  (4)

The clipping of vectors with very small or very large magnitudes is done automatically:

Specify the range of vector norms:

Suppress the clipped vectors:

Show all the vectors:

VectorScaling  (2)

Use automatically determined vector scales:

With the vector scaling function set to None, all vectors have the same size:

VectorSizes  (2)

The size of the displayed vector is determined automatically:

Specify the range of arrow lengths:

VectorStyle  (7)

VectorColorFunction has precedence over VectorStyle for colors:

Use VectorColorFunctionNone to style the displayed vectors with VectorStyle:

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 VectorSizes:

Change the scaling using the VectorSizes option:

Applications  (3)

Hamiltonian vector field of :

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

Combine the vertical and horizontal Gaussian derivatives:

Characterize linear planar systems interactively:

Properties & Relations  (15)

Use VectorPlot to plot functions:

Use StreamPlot to plot streams instead of vectors:

Use ListStreamPlot to plot data with streamlines instead of vectors:

Use VectorDensityPlot to add a density plot of a scalar field:

Use StreamDensityPlot to use streams instead of vectors:

Use ListVectorDensityPlot for plotting data with a density plot of the scalar field:

Use ListStreamDensityPlot to plot streams instead of vectors:

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

Use VectorDisplacementPlot to visualize the effect of a displacement vector field on a specified region:

Use ListVectorDisplacementPlot to visualize the effect of displacement field data on a region:

Use VectorPlot3D and StreamPlot3D to visualize 3D vector fields:

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

Plot vectors on surfaces with SliceVectorPlot3D:

Plot data vectors on surfaces with ListSliceVectorPlot3D:

Plot complex functions as a vector field with ComplexVectorPlot:

Plot streams instead of vectors with ComplexStreamPlot:

Use VectorDisplacementPlot3D to visualize the effect of a displacement vector field on a specified 3D region:

Use ListVectorDisplacementPlot3D to visualize the effect of a 3D displacement vector field based on data:

Use GeoVectorPlot to plot vectors on a map:

Use GeoStreamPlot to use streams instead of vectors:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_listvectorplot, organization={Wolfram Research}, title={ListVectorPlot}, year={2022}, url={https://reference.wolfram.com/language/ref/ListVectorPlot.html}, note=[Accessed: 21-November-2024 ]}