[Scilab-users] plot2d3()
Dang Ngoc Chan, Christophe
Christophe.Dang at sidel.com
Mon Apr 26 09:42:57 CEST 2021
Hello,
> De : fmiyara
> I'm trying to get a plot like this:
[...]
Maybe you should try with xpolys(), e.g.
----------
[n, ybase] = (10, -12);
y = ybase + 9*grand(1,n,"def");
x=1:n;
Y=[y ; ybase*ones(y)];
X=[x ; x]
scf(0);
clf();
xpolys(X, Y, ones(y));
plot(x, y, "o");
gcf().children.data_bounds(1, 2) = ybase;
----------
But it mays have some drawbacks.
HTH
--
Christophe Dang Ngoc Chan
Mechanical calculation engineer
General
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.
More information about the users
mailing list