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

2019-04-10 Thread Federico Miyara
Samuel, I would like to contribute somehow, but for the moment I don't know anything about Java and very little about C or C++. I could test code if it is in a version ready to install (I don't know how to compile) and if there is some protocol or guidelines to how to perform tests. I find

Re: [Scilab-users] An error occurred during export: Unable to create export file, not enough memory. Decreasing the number of elements or the size of the figure should fix this error

2019-04-10 Thread Federico Miyara
Heinz, The first thing I would consider is if really it is relavant to plot 155 000 data points, taking into account that neither the screen nor any printing system can present such a resolution. If you have 155 000 points they aremost likelycontaminated with noise. You could approximate them w

Re: [Scilab-users] An error occurred during export: Unable to create export file, not enough memory. Decreasing the number of elements or the size of the figure should fix this error

2019-04-10 Thread Heinz Nabielek
On 10.04.2019, at 21:17, Heinz Nabielek wrote: > > On 10.04.2019, at 20:21, Stéphane Mottelet wrote: >> >> >> >>> Le 10 avr. 2019 à 20:07, Heinz Nabielek a écrit : >>> >>> Scilab created graphs can be quickly imported into documents via the >>> Clipboard, but their quality is poor with jag

Re: [Scilab-users] An error occurred during export: Unable to create export file, not enough memory. Decreasing the number of elements or the size of the figure should fix this error

2019-04-10 Thread Heinz Nabielek
On 10.04.2019, at 20:21, Stéphane Mottelet wrote: > > > >> Le 10 avr. 2019 à 20:07, Heinz Nabielek a écrit : >> >> Scilab created graphs can be quickly imported into documents via the >> Clipboard, but their quality is poor with jagged lines and wobbly fonts. >> >> High quality graphs can b

Re: [Scilab-users] An error occurred during export: Unable to create export file, not enough memory. Decreasing the number of elements or the size of the figure should fix this error

2019-04-10 Thread Stéphane Mottelet
> Le 10 avr. 2019 à 20:07, Heinz Nabielek a écrit : > > Scilab created graphs can be quickly imported into documents via the > Clipboard, but their quality is poor with jagged lines and wobbly fonts. > > High quality graphs can be created when exporting to pdf. However, with my > 155,000 dat

Re: [Scilab-users] An error occurred during export: Unable to create export file, not enough memory. Decreasing the number of elements or the size of the figure should fix this error

2019-04-10 Thread Samuel Gougeon
Le 10/04/2019 à 20:07, Heinz Nabielek a écrit : Scilab created graphs can be quickly imported into documents via the Clipboard, but their quality is poor with jagged lines and wobbly fonts. High quality graphs can be created when exporting to pdf. However, with my 155,000 data points, I end up

[Scilab-users] An error occurred during export: Unable to create export file, not enough memory. Decreasing the number of elements or the size of the figure should fix this error

2019-04-10 Thread Heinz Nabielek
Scilab created graphs can be quickly imported into documents via the Clipboard, but their quality is poor with jagged lines and wobbly fonts. High quality graphs can be created when exporting to pdf. However, with my 155,000 data points, I end up with an error message: "An error occurred during

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

2019-04-10 Thread Samuel Gougeon
Le 10/04/2019 à 18:05, Federico Miyara a écrit : Stéphane, Thank you for your insight. I think I've found a possible explanation fromthe user's point of view: If several entities are successively added and some of their properties need to be modified on the fly, it is easier to use a single

Re: [Scilab-users] Nested function definition

2019-04-10 Thread Izabela Wójcik-Grząba
No, it's not such a serious issue. They are connected with catenary cables selfweight. Iza W dniu 10.04.2019 17:44, Perrichon napisał(a): Are these functions coming from hydraulic simulator for power plants? Best regards Before printing, think about ENVIRONMENTAL responsabity -Messa

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

2019-04-10 Thread Federico Miyara
Stéphane, Thank you for your insight. I think I've found a possible explanation fromthe user's point of view: If several entities are successively added and some of their properties need to be modified on the fly, it is easier to use a single instruction that affects the newly added entity i

Re: [Scilab-users] Nested function definition

2019-04-10 Thread Perrichon
Are these functions coming from hydraulic simulator for power plants? Best regards Before printing, think about ENVIRONMENTAL responsabity -Message d'origine- De : users De la part de Izabela Wójcik-Grzaba Envoyé : mercredi 10 avril 2019 17:31 À : Users mailing list for Scilab Objet :

Re: [Scilab-users] Nested function definition

2019-04-10 Thread Izabela Wójcik-Grząba
Ok, sorry. It's my mistake connected with using math terms not properly. Now I understand that nested function is more general term in Scilab help. The help example is similar to mine and this is the whole misunderstanding. I appreciate your comprehensive explanation. Now I am happy because the

Re: [Scilab-users] Nested function definition

2019-04-10 Thread Samuel Gougeon
Izabela, I have not clearly understood why you are speaking about "nested functions" in your example. A nested function is a function that is /defined/ in another one. About the example in the function help page: It is right, but with Scilab 6, it looks a bit outdated to me. Indeed, let's con

Re: [Scilab-users] Nested function definition

2019-04-10 Thread Rafael Guerra
I think the simple examples serve to show the syntax only, and do not explain its utility. The nested function definition will be useful if called many times within a lengthy function, or just for sake of code clarity. Regards, Rafael -Original Message- From: users On Behalf Of Izabela

Re: [Scilab-users] Nested function definition

2019-04-10 Thread Izabela Wójcik-Grząba
Ok, so why nested function in help is so complicated: //nested functions definition function y=foo(x) a=sin(x) function y=sq(x), y=x^2,endfunction y=sq(a)+1 endfunction foo(%pi/3) Couldn't it be formulated like below: function y1=foo1(x) a=sin(x); y1=a^2+1; endfunction foo1(%pi

Re: [Scilab-users] Nested function definition

2019-04-10 Thread Rafael Guerra
In your example, why not using a simpler URQ function definition into fsolve? For example: mg = 0.1; h=0.1; l=0.1; L0=0.1; function y=URQ(q) e = mg./(2*q); z= asinh(mg.*h./(2*q.*l.*sinh(e)))+e; y= mg.*L0./(q.*l)-sinh(2*e-z)-sinh(z) endfunction q=1; y=URQ(q) Rgds Rafael -Original

Re: [Scilab-users] Nested function definition

2019-04-10 Thread Izabela Wójcik-Grząba
Thank you. Is there a way to use this formulation as an input function to fsolve? I don't know how to do it. In my another example I also had a nested function but I managed to define it in a form like in help page about function. It means that everything was inside one function. This formulat

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

2019-04-10 Thread Stéphane Mottelet
It works (after the modification in GraphicObject.java) t=linspace(0,2*%pi,4); plot(t,sin(t)) plot(t,cos(t),'r') legend('sin','cos') --> gca().children(1).children.data  ans  =    0.  0.    2.0943951   0.8660254    4.1887902  -0.8660254    6.2831853  -2.449D-16 --> gca().children(2).c