[Scilab-users] Problem with ticks

Jens Simon Strom j.s.strom at hslmg.de
Thu Jul 28 23:06:58 CEST 2022


Hi,
The code below works in version 6.1.0. But after replacing the ticks 
configuration by the commented one it fails. What is wrong there?

Regards
Jens

T=15:200;
P=9600../T;
xdel()
plot(T,P)
ca=gca();
ca.grid=[1  1];
xtitle('$P=\frac{9600}{T}$');  t=ca.title;  t.font_size=5;

ca.x_ticks.locations=[0:20:200]';
ca.x_ticks.labels=string(ca.x_ticks.locations)
ca.y_ticks.locations=[0:100:700]';
ca.y_ticks.labels=string(ca.y_ticks.locations)

//ca.x_ticks.locations=[0:10:200]';
//ca.x_ticks.labels=string(ca.x_ticks.locations)
//ca.y_ticks.locations=[0:50:700]';
//ca.y_ticks.labels=string(ca.y_ticks.locations)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20220728/00024507/attachment.htm>


More information about the users mailing list