VectorStyle
✖
VectorStyle
is an option to VectorPlot, ListVectorPlot, and related functions that determines the style to use for drawing field vectors.
Details

- The setting for VectorStyle can include any color, thickness, dashing, arrowhead, or other graphics directive.
- VectorStyle->g specifies that a graphics directive g should be used to draw vectors in a plot.
- VectorStyle->{g1,g2,…} specifies that successive directives gi should be used cyclically for successive vector fields.
- The directives that can be given include:
-
Arrowheads[spec] arrowheads Dashing[{w1,…}] dashing specification Directive[g1,g2,…] composite graphics directive Glow[c] glow color GrayLevel[i] intensity Hue[h] hue Opacity[a] opacity Red, Blue, etc. named colors RGBColor[r,g,b] RGB color Specularity[s] surface specularity Opacity[a] opacity Thickness[w] line thickness - If an explicit setting is given for VectorColorFunction, it is used in preference to the setting for VectorStyle.
Examples
open allclose allBasic Examples (4)Summary of the most common use cases
Vector fields are colored to indicate magnitude:

https://wolfram.com/xid/0tz9k756-pz5hr

Modify the style of the vectors:

https://wolfram.com/xid/0tz9k756-llijk4

Set VectorColorFunctionNone to modify the color of the vectors:

https://wolfram.com/xid/0tz9k756-bjjxy7

Set the style for multiple vector fields:

https://wolfram.com/xid/0tz9k756-csmqbc

Scope (5)Survey of the scope of standard use cases
Combine vector styles with vector markers:

https://wolfram.com/xid/0tz9k756-hltqgp

Control the size of the arrowheads:

https://wolfram.com/xid/0tz9k756-hud1zx

Use an arbitrary graphic as the arrowheads for vectors:

https://wolfram.com/xid/0tz9k756-djyz4h

Plot a vector field using 3D arrows:

https://wolfram.com/xid/0tz9k756-zx5cw

Use Graphics3D as a style for the 3D arrows:

https://wolfram.com/xid/0tz9k756-safww

Use Arrowheads to specify the style of the arrowheads:

https://wolfram.com/xid/0tz9k756-dbxw5f

Change the scaling using the VectorScaling option:

https://wolfram.com/xid/0tz9k756-f2cmm7

Wolfram Research (2008), VectorStyle, Wolfram Language function, https://reference.wolfram.com/language/ref/VectorStyle.html (updated 2018).
Text
Wolfram Research (2008), VectorStyle, Wolfram Language function, https://reference.wolfram.com/language/ref/VectorStyle.html (updated 2018).
Wolfram Research (2008), VectorStyle, Wolfram Language function, https://reference.wolfram.com/language/ref/VectorStyle.html (updated 2018).
CMS
Wolfram Language. 2008. "VectorStyle." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2018. https://reference.wolfram.com/language/ref/VectorStyle.html.
Wolfram Language. 2008. "VectorStyle." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2018. https://reference.wolfram.com/language/ref/VectorStyle.html.
APA
Wolfram Language. (2008). VectorStyle. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/VectorStyle.html
Wolfram Language. (2008). VectorStyle. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/VectorStyle.html
BibTeX
@misc{reference.wolfram_2025_vectorstyle, author="Wolfram Research", title="{VectorStyle}", year="2018", howpublished="\url{https://reference.wolfram.com/language/ref/VectorStyle.html}", note=[Accessed: 26-April-2025
]}
BibLaTeX
@online{reference.wolfram_2025_vectorstyle, organization={Wolfram Research}, title={VectorStyle}, year={2018}, url={https://reference.wolfram.com/language/ref/VectorStyle.html}, note=[Accessed: 26-April-2025
]}