[Scilab-users] LaTeX strings in scilab plot : \includegraphics & paperwidth

philippe rouxph.22 at gmail.com
Tue Apr 16 16:02:14 CEST 2019


Le 04/04/2019 à 13:10, Antoine Monmayrant a écrit :
> 
> 
> I suppose the "\the" construct is not supported by jlatexmath...

no it's not supported, LaTeX rendering is generated so that the result
correspond to a certain font_size, this property  can be set somewhere
in scilab handle hierarchy .

> Any idea?

you can change the font_size of all strings appearing in the current
axes by adding "a.font_size=..." at the end of your example.

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

Cheers,
Philippe




More information about the users mailing list