This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.

# StreamColorFunction

 StreamColorFunctionis an option for StreamPlot and related functions which 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.
 VectorPlot,ListVectorPlot,StreamPlot,ListStreamPlot,LineIntegralConvolutionPlot,ListLineIntegralConvolutionPlot x,y,vx,vy,Norm[{vx, vy}] VectorDensityPlot,ListVectorDensityPlot,StreamDensityPlot,ListStreamDensityPlot x,y,vx,vy,s VectorPlot3D,ListVectorPlot3D x,y,z,vx,vy,vz,Norm[{vx, vy, vz}]
• With the usual default setting , the arguments supplied to func are scaled to lie in the range 0 to 1.
• With original unscaled values are used.
• The list of possible color function names is given by ColorData["Gradients"].
• Combinations of directives can be specified using Directive[g1, g2, ...].
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:
 Out[1]=

Use any color gradient from ColorData:
 Out[1]=
 Applications   (1)
Define a one-dimensional color function:
Use predefined color gradients from ColorData:
New in 7