[scilab-Users] Drawing on the Graphic window for analysis

Mathieu Dubois mathieu.dubois at limsi.fr
Thu Dec 8 12:14:57 CET 2011


Hello,

I'm not sure to get what you want to do but if you use
points=locate(2, 1);
you will get the coordinates of the points selected by the user.

To draw a line, use:
xsegs(points(1, :), points(2, :))

HTH,
Mathieu

On 12/07/2011 01:13 PM, HH wrote:
> Hi, I would like to draw a line for analysis on my result shown in thw
> graphic window. I understand i have to use locate to locate the two points
> on my grahic window and use a line to connect them together. Afterwhich
> codes have to be type to get a histogram of the analusis on the line i drew.
> May I know how to I use locate function and use a line to connect them in
> scilab??
>
> Thanks for the help...
>
> --
> View this message in context: http://mailinglists.scilab.org/Drawing-on-the-Graphic-window-for-analysis-tp3567183p3567183.html
> Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.




More information about the users mailing list