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.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Plot streamlines and background computed from the interpolation of a specified set of vectors:

Plot the streamlines and background from data specifying coordinates and vectors:

Scope  (23)

Sampling  (11)

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

Plot streamlines for an irregular collection of vectors:

Use an explicit scalar field on a regular collection of vectors:

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

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

Plot a vector field with streamlines placed with specified densities:

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

Use both automatic and explicit seeding with styles for explicitly seeded streamlines:

Plot streamlines over a specified region:

Use a specific number of mesh lines:

Specify specific mesh lines:

Presentation  (12)

Give a data range for the domain:

Use a different set of colors for the scalar field:

Specify different dashings and arrowheads by setting to StreamScale:

Plot the streamlines with arrows colored according to the magnitude of the field:

Apply a variety of streamline markers:

Use a theme with simpler ticks and brighter colors:

Use a named appearance to draw the streamlines:

Style the streamlines as well:

Style streamlines for multiple vector fields:

Specify mesh lines with different styles:

Specify global mesh line styles:

Shade mesh regions cyclically:

Apply a variety of styles to region boundaries:

Options  (80)

AspectRatio  (2)

By default, the aspect ratio is 1:

Set the aspect ratio:

Background  (1)

Use colored backgrounds:

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:

FrameLabel  (1)

Label the frame:

MaxRecursion  (1)

Refine the plot where it changes quickly:

Mesh  (5)

By default, no mesh lines are displayed:

Show the final sampling mesh:

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

Include a legend for the scalar field:

Place the legend below the plot:

PlotRange  (5)

The full plot range is used by default:

Specify an explicit limit for both and ranges:

Specify an explicit range:

Specify an explicit range:

Specify different and ranges:

PlotTheme  (1)

Plot a vector field using monochrome colors:

Use white streamlines instead of black:

RegionBoundaryStyle  (2)

Show the region being plotted:

Style the boundary:

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:

StreamColorFunction  (5)

Color streamlines according to the norm of the vector field:

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 StreamColorFunctionScaling->False to get unscaled values:

StreamColorFunctionScaling  (4)

By default, scaled values are used:

Use StreamColorFunctionScaling->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:

StreamMarkers  (8)

Streamlines are drawn as arrows by default:

Use a named appearance to draw the streamlines:

Use different markers for different vector fields:

Use named styles:

Named arrow styles:

Named dot styles:

Named pointer styles:

Named dart styles:

StreamPoints  (6)

Specify a maximum number of streamlines:

Use symbolic names to specify the number of streamlines:

Use both automatic and explicit seeding with styles for explicitly seeded streamlines:

Specify the minimum distance between streamlines:

Specify the minimum distance between streamlines at the start and end of a streamline:

Control the maximum length that each streamline can have:

StreamScale  (9)

Create full streamlines without segmentation:

Use curves for streamlines:

Use symbolic names to control the lengths of streamlines:

Specify segment lengths:

Specify an explicit dashing pattern for streamlines:

Specify the number of points rendered on each streamline segment:

Specify absolute aspect ratios relative to the longest line segment:

Specify relative aspect ratios relative to each line segment:

Scale the length of the arrows by the coordinate:

StreamStyle  (5)

StreamColorFunction has precedence over colors in StreamStyle:

Set StreamColorFunctionNone to specify colors with StreamStyle:

Apply a variety of styles to the streamlines:

Specify a custom arrowhead:

Set the style for multiple vector fields:

Applications  (3)

Characterize linear planar systems interactively:

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

Combine the vertical and horizontal Gaussian derivatives:

Compute wind velocity from given coordinates:

Filter unavailable data:

Outline of the United States:

Wind velocity and pressure over the United States:

Properties & Relations  (10)

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

Use ListStreamPlot for plotting data without a density plot:

Use ListVectorDensityPlot to plot with vectors instead of streamlines:

Use StreamPlot for plotting functions without a density plot of the scalar field:

Use ListVectorPlot3D to visualize 3D vector field data:

Use ListSliceVectorPlot3D to visualize 3D vector field data along a surface:

ListStreamDensityPlot samples more points where it needs to:

Scalar fields can be plotted by themselves with ListDensityPlot:

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

Use GeoVectorPlot to plot vectors on a map:

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

Text

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

BibTeX

@misc{reference.wolfram_2020_liststreamdensityplot, author="Wolfram Research", title="{ListStreamDensityPlot}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/ListStreamDensityPlot.html}", note=[Accessed: 14-May-2021 ]}

BibLaTeX

@online{reference.wolfram_2020_liststreamdensityplot, organization={Wolfram Research}, title={ListStreamDensityPlot}, year={2020}, url={https://reference.wolfram.com/language/ref/ListStreamDensityPlot.html}, note=[Accessed: 14-May-2021 ]}

CMS

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

APA

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