VectorColorFunction

VectorColorFunction

is an option for VectorPlot and related functions which specifies a function to apply to determine colors of field vectors drawn.

Details

Examples

Basic Examples  (2)

Color the vectors according to their norm:

In[1]:=
Click for copyable input
Out[1]=

Use any color gradient from ColorData:

In[1]:=
Click for copyable input
Out[1]=

See Also

VectorColorFunctionScaling  StreamColorFunction  ColorFunction  MeshShading  PlotStyle  NormalsFunction  Blend  ColorData

Tutorials

Introduced in 2008
(7.0)