<< circle Graphical grid >>

Scilab Scholar module for schools >> Graphical > click

click

returns the coordinate position for the point clicked on in the graphics window

Calling sequence

pos = click()

Arguments

pos

vector of two numbers

Description

click() returns the vector [x,y] of coordinates for the point clicked on with the mouse in the graphics window.

Note this command enables Scilab idle mode : when a mouse button is not clicked Scilab waits idly.

<< circle Graphical grid >>