StreamPoints

StreamPoints
is an option to StreamPlot, ListStreamPlot, and related functions that determines how many streamlines to draw.

DetailsDetails

  • The following settings can be given for StreamPoints:
  • Nonedraw no streamlines
    ndraw at most n streamlines
    Automaticautomatically chosen streamlines
    Coarseautomatically chosen coarse set of streamlines
    Fineautomatically chosen fine set of streamlines
    {p1,p2,...}draw streamlines through the points , , ...
    {{p1,g1},...}draw streamlines through using graphics directive
    {spec,d}specify a minimum distance between streamlines
    {spec,{dstart,dend}}specify minimum distances at start and end
    {spec,dspec,len}specify a maximum length for any streamline
  • When explicit initial points are given in the form , StreamPlot and related functions effectively follow the flow of the vector field forward and backward from each point.
  • In the form , the minimum distance d between streamlines is given in ordinary coordinates, and applies in all directions.
  • In the form , len gives the total length of the streamlines to generate forward and backward from each explicit initial point specified. The length len is measured in ordinary coordinates.
  • The parameters d and len can be specified in the form Scaled[s], representing a fraction of the diagonal of the whole plot.

ExamplesExamplesopen allclose all

Basic Examples (2)Basic Examples (2)

Use different numbers of streamlines:

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

Specify streamlines that go through a set of seed points:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
New in 7
New to Mathematica? Find your learning path »
Have a question? Ask support »