[Scilab-users] X Y coordinates in a scilab plot

Serge Steer Serge.Steer at inria.fr
Wed Mar 27 18:58:24 CET 2013


Le 27/03/2013 14:38, Stephane BECU a écrit :
>
> Hello,
>
> I'd like to add a characters string in a scilab plot. Using the 
> "xstring()" function , I have to fix the positon of the text giving 
> the X Y coordinates of the left bottom point of the box containing the 
> text. I was wondring where was the origin position and how to know 
> which distance should be considered?
>
The string is supposed enclosed into a rectangle. The coordinates 
required for xstring are the coordinates of the top left corner of the 
rectangle
If you want to know the actual dimension of the minimal rectangle 
containing a string you may use the xstringl function.
Serge Steer
>
> Thanks for help,
>
> Stéphane
>
> Maya Technologies 	*Stephane BECU*
>
> Tel:+33 4 38 49 59 01
> Mobile:
> www.maya-technologies.com <http://www.maya-technologies.com>
>
> 	*Maya technologies*
> La Petite Halle
> ZAC Bouchayer Viallet
> 31, rue Gustave Eiffel
> 38 000 Grenoble
>
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20130327/b3dae8b8/attachment.htm>


More information about the users mailing list