color of a string

grivet grivet at cnrs-orleans.fr
Tue Apr 3 17:47:19 CEST 2012


Hello,
How can I change the color of a string using Scilab5.3.2?
For instance, I wish to plot two vectors using 
plot2d(u,[a,b],style=[2,14]) and then write a
label next to each curve with xstring(xa,ya,string_a), 
xstring(xb,yb,string_b); this works.
Now, I would like to match the color of the text to that of the curves. 
I tried xset("color",2)
and xset("color",14); this changes the color of the axes (in an 
unpredictable manner) but not
that of the text.
Thanks for your help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20120403/c8b9dc84/attachment.htm>


More information about the users mailing list