<html style="scrollbar-base-color: ; scrollbar-face-color: ; scrollbar-shadow-color: ; scrollbar-highlight-color: ; scrollbar-3dlight-color: ; scrollbar-darkshadow-color: ; scrollbar-track-color: ; scrollbar-arrow-color: " tabindex="-1" jQuery1364477750235="414">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta content="IE=10" http-equiv="X-UA-Compatible">
<meta name="GENERATOR" content="MSHTML 8.00.7601.18035">
<style style="DISPLAY: none" id="owaParaStyle">P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
</head>
<body style="OUTLINE-STYLE: none; OUTLINE-COLOR: invert; OUTLINE-WIDTH: medium" dir="ltr" tabindex="113" aria-label="Corps du message" jQuery1364477750235="413" fPStyle="1">
<div style="font-family: Tahoma;font-size: 10pt;color: #000000;margin: 0;">
<p> </p>
<p>Thanks Serge for your reply, but I'm not sure it answered my problem. In fact I want to know how to calculate the appropriate coordinates to place the ttext at the relevant poisiton of my plot... </p>
<p> </p>
<p>Stéphane</p>
<p></p>
<hr tabindex="-1">
<div id="divRplyFwdMsg"><font style="FONT-SIZE: 11pt" color="#000000" face="Calibri, sans-serif"><b>De :</b> users-bounces@lists.scilab.org de la part de Serge Steer<br>
<b>Envoyé :</b> mercredi 27 mars 2013 18:58<br>
<b>À :</b> International users mailing list for Scilab.<br>
<b>Objet :</b> Re: [Scilab-users] X Y coordinates in a scilab plot<br>
</font><br>
</div>
<div></div>
<div>
<div class="moz-cite-prefix">Le 27/03/2013 14:38, Stephane BECU a écrit :<br>
</div>
<blockquote type="cite"><style id="owaParaStyle">P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
<div style="MARGIN: 0px; FONT-FAMILY: Tahoma; COLOR: #000000; FONT-SIZE: 10pt">
<p>Hello,</p>
<p> </p>
<p>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?</p>
<p> </p>
</div>
</blockquote>
The string is supposed enclosed into a rectangle. The coordinates required for xstring are the coordinates of the top left corner of the rectangle<br>
If you want to know the actual dimension of the minimal rectangle containing a string you may use the xstringl function.<br>
Serge Steer<br>
<blockquote type="cite">
<div style="MARGIN: 0px; FONT-FAMILY: Tahoma; COLOR: #000000; FONT-SIZE: 10pt">
<p>Thanks for help,</p>
<p> </p>
<p>Stéphane</p>
</div>
<div>
<table style="FONT-FAMILY: verdana,default sans serif; FONT-SIZE: 11px">
<tbody>
<tr valign="bottom">
<td width="210"><img style="PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 10px; FLOAT: left; PADDING-TOP: 0px" alt="Maya Technologies" src="http://mail4.maya-technologies.com/logo.png">
</td>
<td width="230"><b><font color="#59594d">Stephane BECU</font></b><font color="#59594d"><br>
</font><br>
<font color="#a1d406">Tel:</font><font color="#59594d"> +33 4 38 49 59 01</font> <br>
<font color="#a1d406">Mobile:</font><font color="#59594d"> </font><br>
<font color="#a1d406"><a href="http://www.maya-technologies.com">www.maya-technologies.com</a></font><br>
<br>
</td>
<td width="210"><b>Maya technologies</b><br>
La Petite Halle<br>
ZAC Bouchayer Viallet<br>
31, rue Gustave Eiffel<br>
38 000 Grenoble<br>
<br>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre>_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</div>
</body>
</html>