1
.TH locate 2 "April 1993" "Scilab Group" "Scilab Function"
4
locate - mouse selection of a set of points
12
: matrix of size (2,n1). n1=n if the parameter n is given.
18
\fVlocate\fR is used to get the coordinates of one or more
19
points selected with the mouse in a graphics window. The coordinates
20
are given using the current graphics scale.
22
If n>0, n points are selected and their coordinates are returned in
25
If n<=0, points are selected until the user clicks with the left button
26
of the mouse which stands for stop. The last point (clicked with the left
27
button) is not returned.
29
x=locate() is the same as \fVx=locate(-1)\fR.
31
If \fVflag=1\fR a cross is drawn at the points where the mouse is clicked.