StreamColorFunction

StreamColorFunction

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

Details

Examples

open all close all

Basic Examples  (3)

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]=

Color streamlines according to the norm of the vector field:

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

Scope  (6)

Introduced in 2008
(7.0)