ComplexVectorPlot
ComplexVectorPlot[f,{z,zmin,zmax}]
generates a vector plot of the vector field {Re[f],Im[f]} over the complex rectangle with corners zmin and zmax.
ComplexVectorPlot[{f1,f2,…},{z,zmin,zmax}]
plots several vector fields.
Details and Options
- ComplexVectorPlot is also known as field plot and direction plot.
- ComplexVectorPlot displays a vector field by drawing arrows. By default, the direction of the vector is indicated by the direction of the arrow, and the magnitude is indicated by its color.
- ComplexVectorPlot omits any arrows for which f does not evaluate to a complex number.
- ComplexVectorPlot[f,{z,n}] is equivalent to ComplexVectorPlot[f,{z,-n-n I,n+n I}].
- ComplexVectorPlot treats the variable z as local, effectively using Block.
- ComplexVectorPlot has attribute HoldAll and evaluates f only after assigning specific numerical values to z. In some cases, it may be more efficient to use Evaluate to evaluate f symbolically first.
- ComplexVectorPlot has the same options as Graphics, with the following additions and changes: [List of all options]
-
AspectRatio 1 ratio of height to width ClippingStyle Automatic how to display arrows outside the vector range EvaluationMonitor None expression to evaluate at every function evaluation Frame True whether to draw a frame around the plot FrameTicks Automatic frame tick marks Method Automatic methods to use for the plot PerformanceGoal $PerformanceGoal aspects of performance to try to optimize PlotLegends None legends to include PlotRange {Full,Full} range of x, y values to include PlotRangePadding Automatic how much to pad the range of values PlotTheme $PlotTheme overall theme for the plot RegionFunction (True&) determine what region to include RegionBoundaryStyle Automatic how to style plot region boundaries RegionFillingStyle Automatic how to style plot region interiors VectorAspectRatio Automatic width to length ratio for arrows VectorColorFunction Automatic how to color arrows VectorColorFunctionScaling True whether to scale the argument to VectorColorFunction VectorMarkers Automatic shape to use for arrows VectorPoints Automatic the number or placement of arrows VectorRange Automatic range of vector lengths to show VectorScaling None how to scale the sizes of arrows VectorSizes Automatic sizes of displayed arrows VectorStyle Automatic how to style arrows WorkingPrecision MachinePrecision precision to use in internal computations - The individual arrows are scaled to fit inside bounding circles around each point.
- VectorPoints{c1,c2,…} uses the complex numbers c1, c2, etc.… as the points at which to draw the arrows.
- VectorScaling scales the magnitudes of the vectors into the range of arrow sizes smin to smax given by VectorSizes.
- VectorScaling->Automatic will scale the arrow lengths depending on the vector magnitudes:
- The arrow markers given by VectorMarkers are drawn inside a box whose width and length are in the proportion specified by VectorAspectRatio.
- Common markers include:
-
"Segment" line segment aligned in the field direction "PinDart" pin dart aligned along the field "Dart" dart-shaped marker "Drop" drop-shaped marker - VectorColorFunction->None will draw the arrows with the style specified by VectorStyle.
- The arguments supplied to functions in RegionFunction and VectorColorFunction are z and f.
-
AlignmentPoint Center the default point in the graphic to align with AspectRatio 1 ratio of height to width Axes False whether to draw axes AxesLabel None axes labels AxesOrigin Automatic where axes should cross AxesStyle {} style specifications for the axes Background None background color for the plot BaselinePosition Automatic how to align with a surrounding text baseline BaseStyle {} base style specifications for the graphic ClippingStyle Automatic how to display arrows outside the vector range ContentSelectable Automatic whether to allow contents to be selected CoordinatesToolOptions Automatic detailed behavior of the coordinates tool Epilog {} primitives rendered after the main plot EvaluationMonitor None expression to evaluate at every function evaluation FormatType TraditionalForm the default format type for text Frame True whether to draw a frame around the plot FrameLabel None frame labels FrameStyle {} style specifications for the frame FrameTicks Automatic frame tick marks FrameTicksStyle {} style specifications for frame ticks GridLines None grid lines to draw GridLinesStyle {} style specifications for grid lines ImageMargins 0. the margins to leave around the graphic ImagePadding All what extra padding to allow for labels etc. ImageSize Automatic the absolute size at which to render the graphic LabelStyle {} style specifications for labels Method Automatic methods to use for the plot PerformanceGoal $PerformanceGoal aspects of performance to try to optimize PlotLabel None an overall label for the plot PlotLegends None legends to include PlotRange {Full,Full} range of x, y values to include PlotRangeClipping False whether to clip at the plot range PlotRangePadding Automatic how much to pad the range of values PlotRegion Automatic the final display region to be filled PlotTheme $PlotTheme overall theme for the plot PreserveImageOptions Automatic whether to preserve image options when displaying new versions of the same graphic Prolog {} primitives rendered before the main plot RegionBoundaryStyle Automatic how to style plot region boundaries RegionFillingStyle Automatic how to style plot region interiors RegionFunction (True&) determine what region to include RotateLabel True whether to rotate y labels on the frame Ticks Automatic axes ticks TicksStyle {} style specifications for axes ticks VectorAspectRatio Automatic width to length ratio for arrows VectorColorFunction Automatic how to color arrows VectorColorFunctionScaling True whether to scale the argument to VectorColorFunction VectorMarkers Automatic shape to use for arrows VectorPoints Automatic the number or placement of arrows VectorRange Automatic range of vector lengths to show VectorScaling None how to scale the sizes of arrows VectorSizes Automatic sizes of displayed arrows VectorStyle Automatic how to style arrows WorkingPrecision MachinePrecision precision to use in internal computations
List of all options
Examples
open allclose allBasic Examples (3)
Scope (19)
Sampling (7)
Plot a vector field with vectors placed with specified densities:
Sample the vector field on a regular grid of points:
Sample the vector field on an irregular mesh:
Specify how many vector points to use in each direction:
Plot the vectors that go through a set of seed points:
Plot vectors over a specified region:
Plot the fields for a function and its conjugate:
Use Evaluate to evaluate the vector field symbolically before numeric assignment:
Presentation (12)
Plot a vector field with automatically scaled arrows:
Plot a vector field with arrows of specified size:
Draw the arrows starting from the sample points:
Draw the arrows without the arrowheads:
Use drop-like shapes instead of arrows:
Change the overall shape of the markers:
Change the default color function:
Vary the arrow sizes instead of the colors:
Set the style for multiple vector fields:
Options (65)
ClippingStyle (4)
By default, extremely short and extremely long vectors are displayed:
Use ClippingStyleNone to remove extreme vectors from the plot:
EvaluationMonitor (2)
PlotLegends (5)
PlotRange (5)
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:
RegionFillingStyle (5)
Show the region defined by a region function:
The interiors of full rectangular regions are not shown:
Use None to not show the interior filling:
Omit the boundary curve as well:
VectorAspectRatio (2)
VectorColorFunction (5)
Vectors are colored according to their norms by default:
Choose the color scheme for coloring vectors by their norms:
Use any named color gradient from ColorData:
Color the vectors according to the real part of its location:
Color the vectors according to the real part of the function:
VectorColorFunctionScaling (2)
VectorMarkers (4)
VectorPoints (5)
Use automatically determined vector points:
Use symbolic names to specify the set of field vectors:
Create a hexagonal grid of field vectors with the same number of arrows in the real and imaginary directions:
Create a hexagonal grid of field vectors with a different number of arrows in the real and imaginary directions:
VectorRange (6)
VectorScaling (2)
VectorSizes (2)
VectorStyle (6)
Set the style for the displayed vectors:
Set the style for multiple functions:
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:
Change the scaling using the VectorScaling option:
Applications (7)
For a complex function f, plot {Re[f],Im[f]}:
The vector length increases with Abs[f] and the orientation is determined by Arg[f]:
Identify poles and zeros. Poles are visible at and :
The zeros at and are more readily visible if the vectors are scaled:
Vectors in the field rotate twice along the unit circle surrounding the zero of the function at the origin, which implies that has a double zero at the origin:
The function has a pole of order 2 at since has a double zero:
Specify a direction field and several solutions for the complex initial value problem , :
The Pólya field of an analytic function is both divergence and curl free:
Properties & Relations (15)
ComplexVectorPlot is a special case of VectorPlot:
ComplexStreamPlot plots complex numbers as streamlines:
ComplexStreamPlot is a special case of StreamPlot:
Use VectorDisplacementPlot to visualize the effect of a complex function on a specified region:
Use VectorPlot3D and StreamPlot3D to visualize 3D vector fields:
ComplexContourPlot plots curves over the complexes:
ComplexRegionPlot plots regions over the complexes:
ComplexPlot shows the argument and magnitude of a function using color:
Use ComplexPlot3D to use the axis for the magnitude:
Use ComplexArrayPlot for arrays of complex numbers:
Use ReImPlot and AbsArgPlot to plot complex values over the real numbers:
Use ComplexListPlot to show the location of complex numbers in the plane:
Use ListVectorPlot for plotting data:
Use ListStreamPlot to plot streams instead of vectors:
Use VectorDensityPlot to add a density plot of a scalar field:
Use StreamDensityPlot to use streams instead of vectors:
Use ListVectorDensityPlot to generate a density plot of a scalar field based on data:
Use ListStreamDensityPlot to plot streams instead of vectors:
Use LineIntegralConvolutionPlot to plot the line integral convolution of a vector field:
Text
Wolfram Research (2020), ComplexVectorPlot, Wolfram Language function, https://reference.wolfram.com/language/ref/ComplexVectorPlot.html.
CMS
Wolfram Language. 2020. "ComplexVectorPlot." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ComplexVectorPlot.html.
APA
Wolfram Language. (2020). ComplexVectorPlot. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ComplexVectorPlot.html