VectorPoints

VectorPoints
is an option to VectorPlot, ListVectorPlot, and related functions that determines how many field vectors to draw.

DetailsDetails

  • The following settings can be given for VectorPoints:
  • Nonedraw no field vectors
    ndraw a regular n×n grid of field vectors
    {m,n}draw a regular m×n grid of field vectors
    Coarseautomatically chosen coarse set of field vectors
    Fineautomatically chosen fine set of field vectors
    {p1,p2,...}draw field vectors at the points , , ...
    {{p1,g1},...}draw the field vector at using graphics directive

ExamplesExamplesopen allclose all

Basic Examples (2)Basic Examples (2)

Plot a vector field with arrows on a regular grid:

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

Specify a list of points for showing field vectors:

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