champ1 — 2D vector field plot with colored arrows
champ1(x,y,fx,fy,[arfact,rect,strf])
two vectors which define the grid.
a matrix which describes the x component of the vector field.
fx(i,j)
is the x component of the vector field at point
(x(i),y(j))
.
a matrix which describes the y component of the vector field.
fy(i,j)
is the y component of the vector field at point
(x(i),y(j))
.
an optional argument of type real which gives a scale factor for the display of the arrow heads on the plot (default value is 1.0).
a vector rect=[xmin,ymin,xmax,ymax]
which gives
the boundaries of the graphics frame to use.
controls the computation of the actual coordinate ranges from the minimal requested values. The associated value should be an integer ranging from 0 to 8.
specifies how the axes are drawn. The associated value should be an integer ranging from 0 to 5.
a string of length 3 "xyz" which has the same meaning as the
strf
parameter of plot2d
. The first
character x has no effect with champ1
.