[scilab-Users] Re: tics

sgougeon at free.fr sgougeon at free.fr
Mon Feb 27 16:49:06 CET 2012



----- Mail original -----
De: "grivet" <grivet at cnrs-orleans.fr>
À: users at lists.scilab.org
Envoyé: Lundi 27 Février 2012 15:34:10
Objet: [scilab-Users] Re: tics

Thank you Adrien, your hint is just what was needed:

ticx = 0:1:5; ticxl = string(ticx);
.....
temp = a.x_ticks;
temp.locations=ticx;
temp.labels=ticxl;
a.x_ticks = temp;

> works like a charm; 

Only when the number of tics does not change. Else, the transient
mismatch between the number of tics and the number of labels yields 
an error. AFAIK, it can be overcome only by defining a tlist() 
(with separators ;-))

Samuel



More information about the users mailing list