StreamColorFunction

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

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (2)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]=
Introduced in 2008
(7.0)