WOLFRAM

generates a vector plot from a 3D array varr of vector field values over the slice surface surf.

ListSliceVectorPlot3D[,{surf1,surf2,}]

generates a slice vector plot over several surfaces surf1, surf2, .

Details and Options

Examples

open allclose all

Basic Examples  (2)Summary of the most common use cases

Plot a vector field over a surface:

Out[2]=2

Use a general slice surface:

Out[2]=2

Scope  (21)Survey of the scope of standard use cases

Surfaces  (9)

Generate a plot over standard slice surfaces:

Out[2]=2

Standard axis-aligned stacked slice surfaces:

Out[2]=2

Standard boundary surfaces:

Out[2]=2

Plot over any surface region:

Out[2]=2

A volume slice region is equivalent to plotting over RegionBoundary[reg]:

Out[2]=2

Plot over the surface :

Out[2]=2

Plot over multiple slice surfaces:

Out[2]=2

Specify the number of stacked planes:

Out[2]=2

Specify the cutting angle for a center-cut sphere slice:

Out[2]=2

Data  (4)

For regular data consisting of vectors, the , , and data reflects its positions in the array:

Out[2]=2

Provide explicit , , and data ranges by using DataRange:

Out[3]=3

Use VectorPoints to specify the number of arrows:

Out[2]=2

Plot a vector field given by QuantityArray:

Out[2]=2

Use RegionFunction to expose obscured slices:

Out[2]=2

Presentation  (8)

Use PlotTheme to immediately get overall styling:

Out[2]=2

Control the display of axes with Axes:

Out[2]=2

Label axes using AxesLabel and the whole plot using PlotLabel:

Out[2]=2

Color the vectors by their magnitude with VectorColorFunction:

Out[2]=2

Use VectorStyle to control the shape of the vectors:

Out[2]=2

Scale to reflect vector magnitudes:

Out[2]=2

Style the slice surface boundaries with BoundaryStyle:

Out[2]=2

TargetUnits specifies which units to use in the visualization:

Out[2]=2

Options  (48)Common values & functionality for each option

BoundaryStyle  (1)

Style the surface boundaries:

Out[2]=2

BoxRatios  (3)

By default, the edges of the bounding box have the same length:

Out[2]=2

Use BoxRatios-> Automatic to show the natural scale of the 3D coordinate values:

Out[2]=2

Use custom length ratios for each side of the bounding box:

Out[2]=2

ClippingStyle  (4)

By default, clipped vectors are given a constant color that is consistent with the minimum or maximum vector lengths given by VectorRange:

Out[2]=2

Suppress the clipped vectors:

Out[2]=2

Style the clipped vectors:

Out[2]=2

Style the short and long clipped vectors differently:

Out[2]=2

DataRange  (2)

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

Out[2]=2

Explicitly specify the data range:

Out[2]=2

PerformanceGoal  (2)

Generate a higher-quality plot:

Out[2]=2

Emphasize performance, possibly at the cost of quality:

Out[2]=2

PlotLegends  (1)

Use a legend to indicate vector magnitudes:

Out[2]=2

PlotRange  (2)

Show All vectors by default:

Out[2]=2

Show a select range:

Out[2]=2

PlotRangePadding  (5)

Padding is computed automatically by default:

Out[2]=2

Specify no padding for all , , and ranges:

Out[2]=2

Specify an explicit padding for all , , and ranges:

Out[2]=2

Add 10% padding to all , , and ranges:

Out[2]=2

Specify padding for and ranges:

Out[2]=2

PlotTheme  (3)

Use a theme:

Out[2]=2

Regular options override PlotTheme settings, in this case turning off FaceGrids:

Out[2]=2

Compare different plot themes:

Out[2]=2

RegionFunction  (2)

Use RegionFunction to specify what regions of the slice surfaces to include:

Out[2]=2

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

Out[2]=2

VectorColorFunction  (5)

By default, vectors are colored according to their norm:

Out[2]=2

Change the color function:

Out[2]=2

Use any named color gradient from ColorData:

Out[2]=2

Color the vectors according to their value:

Out[2]=2

Use VectorColorFunctionScalingFalse to get unscaled values:

Out[2]=2

VectorColorFunctionScaling  (3)

By default, scaled values are used:

Out[2]=2

Use VectorColorFunctionScaling->False to get unscaled values:

Out[2]=2

Explicitly specify the scaling for each color function argument:

Out[2]=2

VectorMarkers  (2)

The default vector marker is "Arrow3D":

Out[2]=2

Use other named markers:

Out[2]=2

VectorPoints  (3)

Use automatically determined vector points:

Out[2]=2

Use symbolic names to specify the set of field vectors:

Out[2]=2

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

Out[2]=2

VectorRange  (3)

Specify the range of vector norms that are displayed with varying color:

Out[2]=2

Combine with ClippingStyle to remove the clipped vectors:

Out[2]=2

Or specify a different style for clipped vectors:

Out[2]=2

VectorScaling  (3)

By default, arrows are displayed with a constant length:

Out[2]=2

Use Automatic to scale arrows proportionally to the corresponding vector norm:

Out[2]=2

Use VectorSizes to specify the range of relative lengths of the arrows:

Out[2]=2

VectorSizes  (2)

Make the vectors half of the default size:

Out[2]=2

With VectorScaling, VectorSizes controls the range of the lengths of the arrows relative to the default size:

Out[2]=2

VectorStyle  (1)

VectorColorFunction has precedence over VectorStyle:

Out[2]=2
Out[3]=3

TargetUnits  (1)

Specify which units to use in the visualization:

Out[2]=2

Applications  (7)Sample problems that can be solved with this function

Basic Vector Fields  (3)

Constant vector fields from data:

Out[3]=3
Out[4]=4

A circulating flow from data:

Out[2]=2

Divergent flow:

Out[1]=1

Convergent flow:

Out[2]=2

Image Processing  (1)

Visualize the gradient vectors of a 3D image:

Compute the vector orientations:

Convert to vector data:

Show the vectors with the image:

Out[5]=5
Out[6]=6

Fluid Dynamics  (2)

Visualize Hill's spherical vortex, with vortex radius and velocity :

Compute velocity vectors:

Visualize the vortex by coloring based on the flow speed:

Out[4]=4

Visualize the divergence-free field of a scalar function :

Visualize the vortices formed by these fields:

Out[4]=4
Out[5]=5

Gradient Fields  (1)

Observe the gradient field superimposed on a density plot of a function:

Out[4]=4

Properties & Relations  (8)Properties of the function, and connections to other functions

Use ListVectorPlot3D for a full volume visualization of the vector field:

Out[2]=2

Use SliceVectorPlot3D for functions:

Out[2]=2

Use ListVectorPlot for vector plots in 2D:

Out[3]=3

Use ListVectorDisplacementPlot or ListVectorDisplacementPlot3D to visualize displacement fields in 2D or 3D:

Out[3]=3

Use ListStreamPlot or ListLineIntegralConvolutionPlot for vector fields in 2D:

Out[2]=2

Use ListVectorDensityPlot or ListStreamDensityPlot to include a scalar field in 2D:

Out[2]=2

Use ListStreamPlot3D to visualize 3D vector field data as streamlines:

Out[1]=1

Use GeoVectorPlot to plot vectors on a map:

Out[1]=1

Use GeoStreamPlot to plot streams instead of vectors:

Out[2]=2
Wolfram Research (2015), ListSliceVectorPlot3D, Wolfram Language function, https://reference.wolfram.com/language/ref/ListSliceVectorPlot3D.html (updated 2022).
Wolfram Research (2015), ListSliceVectorPlot3D, Wolfram Language function, https://reference.wolfram.com/language/ref/ListSliceVectorPlot3D.html (updated 2022).

Text

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

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

CMS

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

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

APA

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

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

BibTeX

@misc{reference.wolfram_2025_listslicevectorplot3d, author="Wolfram Research", title="{ListSliceVectorPlot3D}", year="2022", howpublished="\url{https://reference.wolfram.com/language/ref/ListSliceVectorPlot3D.html}", note=[Accessed: 28-April-2025 ]}

@misc{reference.wolfram_2025_listslicevectorplot3d, author="Wolfram Research", title="{ListSliceVectorPlot3D}", year="2022", howpublished="\url{https://reference.wolfram.com/language/ref/ListSliceVectorPlot3D.html}", note=[Accessed: 28-April-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_listslicevectorplot3d, organization={Wolfram Research}, title={ListSliceVectorPlot3D}, year={2022}, url={https://reference.wolfram.com/language/ref/ListSliceVectorPlot3D.html}, note=[Accessed: 28-April-2025 ]}

@online{reference.wolfram_2025_listslicevectorplot3d, organization={Wolfram Research}, title={ListSliceVectorPlot3D}, year={2022}, url={https://reference.wolfram.com/language/ref/ListSliceVectorPlot3D.html}, note=[Accessed: 28-April-2025 ]}