<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi all,</p>
<p><br>
</p>
<p>I've known and used for a long time the possibility of including
LaTeX in scilab plots, like:</p>
<blockquote>
<p>scf();<br>
plot(1:10,1:10)<br>
a=gca()<br>
xt=a.x_ticks<br>
nxt=xt;<br>
nxt.labels(5)="$\lambda$";<br>
a.x_ticks=nxt;</p>
</blockquote>
<p>in order to get x ticks that read "1 2 3 4 λ 6 7 8 9 10".</p>
<p>I've just started to play with the ability to use
"\includegraphics[]{}" in these LaTeX strings and this brings a
question: what are \textwidth,\paperwidth,\textheight lengths set
to?<br>
I could not get "$\the\paperwidth$" to work, it produces an error
:</p>
<blockquote>
<p>scf();<br>
plot(1:10,1:10)<br>
a=gca()<br>
xt=a.x_ticks<br>
nxt=xt;<br>
nxt.labels(5)="$\the\paperwidth$";<br>
a.x_ticks=nxt;</p>
</blockquote>
<p>Â Â Â org.scilab.forge.jlatexmath.ParseException: Unknown symbol or
command or predefined TeXFormula: 'the'</p>
<p>I suppose the "\the" construct is not supported by jlatexmath...</p>
<p>Any idea?</p>
<p><br>
</p>
<p>Cheers,</p>
<p><br>
</p>
<p>Antoine<br>
</p>
<pre class="moz-signature" cols="72">--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Antoine Monmayrant LAAS - CNRS
7 avenue du Colonel Roche
BP 54200
31031 TOULOUSE Cedex 4
FRANCE
Tel:+33 5 61 33 64 59
email : <a class="moz-txt-link-abbreviated" href="mailto:antoine.monmayrant@laas.fr">antoine.monmayrant@laas.fr</a>
permanent email : <a class="moz-txt-link-abbreviated" href="mailto:antoine.monmayrant@polytechnique.org">antoine.monmayrant@polytechnique.org</a>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
</pre>
</body>
</html>