This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

StreamColorFunction

StreamColorFunction
is an option for StreamPlot and related functions that specifies a function to apply to determine colors along streamlines.
  • The setting for StreamColorFunction is applied at each point along each streamline to determine the color to use to render the streamline.
  • The list of possible color function names is given by ColorData.
  • Combinations of directives can be specified using Directive.
Color streamlines according to the norm of the vector field:
Use any color gradient from ColorData:
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]=
New in 7