1
locate Scilab Group Scilab Function locate
3
locate - mouse selection of a set of points
8
x : matrix of size (2,n1). n1=n if the parameter n is given.
10
n,flag : integer values.
13
locate is used to get the coordinates of one or more points selected
14
with the mouse in a graphics window. The coordinates are given using the
15
current graphics scale. If n>0, n points are selected and their
16
coordinates are returned in the matrix x. If n<=0, points are selected
17
until the user clicks with the left button of the mouse which stands for
18
stop. The last point (clicked with the left button) is not returned.
19
x=locate() is the same as x=locate(-1).
21
If flag=1 a cross is drawn at the points where the mouse is clicked.