1
xarrows Scilab Group Scilab Function xarrows
3
xarrows - draw a set of arrows
6
xarrows(nx,ny,[arsize,style])
8
nx,ny : real vectors or matrices of same size.
10
arsize : real scalar, size of the arrow head. The default value can be
11
obtained by setting arsize to -1.
13
style : matrix or scalar. If style is a positive scalar it gives the
14
dash style to use for all arrows. If it is a negative scalar
15
then the current dash style is used. If it is a vector style(i)
16
gives the style to use for arrow i.
19
xarrows draws a set of arrows given by nx and ny. If nx and ny are
20
vectors, the ith arrow is defined by (nx(i),ny(i))-->(nx(i+1),ny(i+1)).
21
If nx and ny are matrices:
23
nx=[xi_1 x1_2 ...; xf_1 xf_2 ...]
24
ny=[yi_1 y1_2 ...; yf_1 yf_2 ...]
25
the k th arrow is defined by (xi_k,yi_k)-->(xf_k,yf_k).
27
xarrows uses the current graphics scale which can be set by calling a
28
high level drawing function such as plot2d.
34
plot2d([-10,10],[-10,10],[-1,-1],"022")