[Scilab-users] simple plot function
Lamy Alain
Alain.Lamy at cnes.fr
Mon Apr 3 11:15:00 CEST 2017
You could use xstring or xnumb:
x=0:0.1:1;
y=exp((x.^4+x.^2-x+(5).^(0.5))/5)+sinh((x.^3+21*x+9)./(21*x+6))-3.0;
scf();
plot(x,y);
num = 1 : size(x, "*");
xnumb(x, y, num);
// or:
xstring(x, y, string(num));
// plus optionally:
a = gca();
a.data_bounds = [-0.1, -0.1; 1.1, 0.75];
a.tight_limits = "on";
Alain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170403/b6ce73c3/attachment.htm>
More information about the users
mailing list