Hi all,

I've known and used for a long time the possibility of including LaTeX in scilab plots, like:

   scf();
   plot(1:10,1:10)
   a=gca()
   xt=a.x_ticks
   nxt=xt;
   nxt.labels(5)="$\lambda$";
   a.x_ticks=nxt;

in order to get x ticks that read "1 2 3 4 λ 6 7 8 9 10".

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?
I could not get "$\the\paperwidth$" to work, it produces an error :

   scf();
   plot(1:10,1:10)
   a=gca()
   xt=a.x_ticks
   nxt=xt;
   nxt.labels(5)="$\the\paperwidth$";
   a.x_ticks=nxt;

    org.scilab.forge.jlatexmath.ParseException: Unknown symbol or command or predefined TeXFormula: 'the'

I suppose the "\the" construct is not supported by jlatexmath...

Any idea?


Cheers,


Antoine

--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 Antoine Monmayrant LAAS - CNRS
 7 avenue du Colonel Roche
 BP 54200
 31031 TOULOUSE Cedex 4
 FRANCE

 Tel:+33 5 61 33 64 59
email : [email protected]
 permanent email : [email protected]

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to