Mathematica >

VectorStyle

VectorStyle
is an option to VectorPlot, ListVectorPlot, and related functions that determines the style to use for drawing field vectors.
  • The setting for VectorStyle can include any color, thickness, dashing, arrowhead, or other graphics directive.
  • Possible named settings for VectorStyle in 2D include: , , , , , , , , , , , , , , , , .
  • Possible named settings for VectorStyle in 3D include: , .
Set the style for the displayed vectors:
Set the style for multiple vector fields:
Set the style for the displayed vectors:
In[1]:=
Click for copyable input
Out[1]=
 
Set the style for multiple vector fields:
In[1]:=
Click for copyable input
Out[1]=
Plot the vector fields without arrowheads:
Plot the vector field with line segments:
Use Arrowheads to specify an explicit style of the arrowheads:
Specify both arrow tail and head:
Graphics primitives without the option Arrowheads are scaled based on the vector scale:
Change the scaling using the VectorScale option:
Plot a vector field using 3D arrows:
Use Graphics3D as a style for the 3D arrows:
Use Arrowheads to specify the style of the arrowheads:
3D graphics primitives without the option Arrowheads are scaled based on the vector scale:
Change the scaling using the VectorScale option:
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF