Re: [Scilab-users] question on graphic children order

2019-04-09 Thread Federico Miyara
Antoine, Thank you for your suggestion. It's a good one, but I still don't know the reason why the index of the current entity is 1 (my question was not really about workarounds but reasons). Stéphane said it was a stack, but as far as I could find, there is no stack structure in Scilab 6.

Re: [Scilab-users] Nested function definition

2019-04-09 Thread Stéphane Mottelet
Hello, Le 09/04/2019 à 20:17, Rafael Guerra a écrit : globalmg h l L0; The above line is useless no ? mg= 0.1; h=0.1; l=0.1; L0=0.1; function*e*=_eta_(*q*) *e*= mg./(2**q*) endfunction function*z*=_zeta_(*q*) *z*= asinh(mg.*h./(2**q*.*l.*sinh(_eta_(*q*+_eta_(*q*); endfunction

Re: [Scilab-users] Nested function definition

2019-04-09 Thread Rafael Guerra
global mg h l L0; mg = 0.1; h=0.1; l=0.1; L0=0.1; function e=eta(q) e= mg./(2*q) endfunction function z=zeta(q) z= asinh(mg.*h./(2*q.*l.*sinh(eta(q+eta(q); endfunction function y=URQ(q, e, z) y= mg.*L0./(q.*l)-sinh(2*e-z)-sinh(z) endfunction q=1; y=URQ(q,eta(q),zeta(q)) Rgds,

[Scilab-users] Nested function definition

2019-04-09 Thread Izabela Wójcik-Grząba
Hello, I would like some help with defining a nested function like below: URQ=urq(q,eta(q),zeta(q,eta(q))) The definitions are: eta=mg./(2*q) zeta=asinh(mg.*h./(2*q.*l.*sinh(eta)))+eta URQ=mg.*L0./(q.*l)-sinh(2*eta-zeta)-sinh(zeta) Values of mg, h, l, L0 are given. I would be very grateful

Re: [Scilab-users] Saving

2019-04-09 Thread Clément David
Hello and welcome, Scilab support a wide range of format (from the scripting language) but from my understanding you are asking for an autosave feature within Scinotes (the text editor) ? Yes, the text editor autosave each few minutes and this is configurable within the Preferences. Thanks,

[Scilab-users] Saving

2019-04-09 Thread Tshego Masemola
(Exercise 1.7) In what format does Scilab save? Does it need to be saved continuously or is there an autosave option? Regards, Sana Sent from Mail for Windows 10 Disclaimer - University of Cape Town This email is subject to UCT policies and

Re: [Scilab-users] Where is the Scilab source code and how one can contribute?

2019-04-09 Thread Clément David
Hi, The Github repository is in read-only mode as our current infrastructure (git, gerrit, Bugzilla) provide similar services but cannot be synchronized easily with github issue and pull request services. Currently there is no plan to migrate to Github. If you prefer the Github flow, you could

Re: [Scilab-users] question on graphic children order

2019-04-09 Thread Antoine Monmayrant
Hello, As Stéphane said, using a tag and findobj is a possibility that I use for complex layouts. Here is another one: build your own vector of handles that you order the way you want: as=[]; subplot(221) plot(1,2) as=[as,gca()] subplot(222) plot(1:2,2:3) as=[as,gca()] subplot(223)

Re: [Scilab-users] question on graphic children order

2019-04-09 Thread P M
Federico...thanks for asking the question. I was wondering about it myself for quite some time. Once recognizing the fact, I just accepted that new entities are placed at the first position. However, it might be interesting to get some insight of why it is like thisfor now I guessed it has to