Re: [Scilab-users] Code optimization by avoiding Xcos recompilation and others

2021-05-02 Thread AnaCastro
Hi!

I've been trying the methods you used for your simulations and the tic()
toc() functions and it helped a lot. Now I understand all much better. 

Thank you so much.




--
Sent from: 
http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] plot2d3()

2021-05-02 Thread Federico Miyara


Christophe:

Thank you for making me aware of xpolys(), a new addition to my bag of
tools.

A good alternative workaround.

Regards,

Federico Miyara



On 26/04/2021 04:42, Dang Ngoc Chan, Christophe wrote:

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.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users





--
El software de antivirus Avast ha analizado este correo electrónico en busca de 
virus.
https://www.avast.com/antivirus
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users