[scilab-Users] Color with a LaTeX string
Samuel Gougeon
sgougeon at free.fr
Wed Nov 30 03:55:14 CET 2011
Le 29/11/2011 23:16, Orbeman a écrit :
> Hello,
>
> Could you help me to use properly the following command
> '$\textcolor[rgb]{r,g,b}{Hello}$' in a xstring or xtitle where r, g and b
> are given by a *colormap* (eg : ens_color=floor(255*jetcolormar(100));
> r=ens_color(10,1); g=ens_color(10,1); b=ens_color(10,1)).
>
This is a LaTeX question. r,g,b must be between 0 and 1, not 0 and 255.
Samuel
More information about the users
mailing list