[Scilab-users] Problem with ticks

Dang Ngoc Chan, Christophe Christophe.Dang at sidel.com
Thu Aug 4 09:30:11 CEST 2022


Hello,

You have to keep consistant the size of the locations and labels. Try :

foo = [0:10:200]';

ca.x_ticks=tlist(ca.x_ticks(1), foo, string(foo))

Kind regards

De : users <users-bounces at lists.scilab.org> De la part de Jens Simon Strom
Envoyé : jeudi 28 juillet 2022 23:07


General

ca.x_ticks.locations=[0:20:200]';

ca.x_ticks.labels=string(ca.x_ticks.locations)





[...]



//ca.x_ticks.locations=[0:10:200]';

//ca.x_ticks.labels=string(ca.x_ticks.locations)

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20220804/ad6fb3f3/attachment.htm>


More information about the users mailing list