StreamColorFunction

StreamColorFunction

is an option for StreamPlot and related functions that specifies a function to apply to determine colors along streamlines.

Details

Examples

Basic Examples  (2)

Color streamlines according to the norm of the vector field:

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

Use any color gradient from ColorData:

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

See Also

StreamColorFunctionScaling  VectorColorFunction  ColorFunction  MeshShading  PlotStyle  NormalsFunction  Blend  ColorData

Tutorials

Introduced in 2008
(7.0)