Re: [Scilab-users] Plot issues.

2024-03-29 Thread Samuel Gougeon
Hello Rafael, The data are recorded as 2 vectors A and B of single precision real numbers. Unfortunately loadmatfile() is still reported (currently for 9 years) as unable to correctly load single precision numbers: https://gitlab.com/scilab/scilab/-/issues/13789 By the way, using loadmatfile()

Re: [Scilab-users] how do I plot 9 curves with automatic colour sequencing?

2023-06-04 Thread Samuel Gougeon
Le 03/06/2023 à 18:17, Heinz Nabielek a écrit : Colleagues: [sorry, has been asked before but forgot]: how do I plot 9 curves with automatic colour sequencing? o Problem #1: colour 8 is white and I cannot see my curve o Problem #2: colours >= 9 become rather non distinct Is there

Re: [Scilab-users] how do I plot 9 curves with automatic colour sequencing?

2023-06-03 Thread Samuel Gougeon
Le 03/06/2023 à 18:17, Heinz Nabielek a écrit : Colleagues: [sorry, has been asked before but forgot]: how do I plot 9 curves with automatic colour sequencing? x = 0:.05:1; clf, plot(x, sin(x'*(1:10))) legend(msprintf("Curve #%d\n",(1:10)'), "in_lower_left"); [cid:part1.eVriBsLU.bcQMxwT6@fre

Re: [Scilab-users] Plotting on left and right y axes

2023-04-28 Thread Samuel Gougeon
Hello, You may have a look to examples in --> help plot_multiscaled https://help.scilab.org/docs/2023.0.0/en_US/plot_multiscaled.html##L280 Best regards Le 28/04/2023 à 18:32, Samuel Enibe a écrit : How can I plot two graphs on the same window, with graph 1 on the left y axis, and graph 2

[Scilab-users] Catching events from keyboard arrows: xclick?

2023-04-19 Thread Samuel Gougeon
Hello, Does anyone know if it's possible to catch events from the keyboard arrows? Apparently xclick() does not detect them: clf plot2d while %t disp(xclick(%t)); end // press keyboard arrows => nothing is displayed By the way, according to the xclick documentation, here-above one could expe

Re: [Scilab-users] animaGIF does not work. Why?

2023-04-14 Thread Samuel Gougeon
Le 14/04/2023 à 01:00, Heinz Nabielek a écrit : On 13.04.2023, at 20:35, Samuel Gougeon wrote: .../... Installing is not loading (that's intentional). Just after installing, without restarting Scilab, you need to load the module, either with atomsLoad(..), or interactively thanks t

Re: [Scilab-users] x/y labels formatting

2023-04-13 Thread Samuel Gougeon
Le 08/04/2023 à 16:24, Lester Anderson a écrit : Hello, A quick query, how can I make the 's' in (Rs) a subscript? Without TeX, the subscript-s has a unicode version. But it is very (too) small: --> %chars.subsupscript ans = "₀₁₂₃₄₅₆₇₈₉₊₋₌₍ₐₕₖₗₘₙₒₚₛₜₓ₎ ⁰¹²³⁴⁵⁶⁷⁸⁹⁺⁻⁼⁽ªⁱⁿº⁾" --> // Rₛ xlabel

Re: [Scilab-users] Scilab 2023.0.0, Win10

2023-04-13 Thread Samuel Gougeon
Hello, Le 13/04/2023 à 14:19, SCHULZ Wolfgang a écrit : Hello, I just tested a Scilab script what I’m using for a long time. It contains the input function and it seems it is not working anymore. Yes, it suffers from a new bug in 2023.0.0: the me

Re: [Scilab-users] animaGIF does not work. Why?

2023-04-13 Thread Samuel Gougeon
Le 13/04/2023 à 04:59, Heinz Nabielek a écrit : Colleagues: animaGIF is loaded --> atomsInstall('animaGIF'); animaGIF (1.0) is already installed in the 'allusers' section and up-to-date but does not work --> idGif = animaGIF(gcf(), outgif, 1,2); Undefined variable: animaGIF Why? He

Re: [Scilab-users] Random polyline colours and polyline segments

2023-03-29 Thread Samuel Gougeon
Le 28/03/2023 à 14:17, Lester Anderson a écrit : Hello, I am revisiting the Collatz plots still very nice :-) and wondered how one can (a) randomise the polyline colours and (b) colour the polyline segments from first to last segment given a range of start-to-end colours? For b), xsegs() d

[Scilab-users] uman 3.2 is released

2023-03-28 Thread Samuel Gougeon
an() still goes beyond. Best regards Samuel Gougeon -- CHANGES : https://atoms.scilab.org/toolboxes/uman/3.2/files/changelog.txt USER MANUAL (PDF) - English : https://atoms.scilab.org/toolboxes/uman/3.2/files/uman_3.2_en.pdf Français: https://atoms.

Re: [Scilab-users] robust boxplot within scilab

2023-03-20 Thread Samuel Gougeon
Le 07/10/2014 à 07:33, A Khorshidi a écrit : .../... Hello; Did you try nan_boxplot() which comes with the NaN toolbox: https://atoms.scilab.org/toolboxes/nan Also there is another function named boxplot() form CASCI toolbox but this toolbox should be modified to run correctly with newer versio

Re: [Scilab-users] 1. Re: cdfchi=cumulative distribution function chi-square distribution (Dang Ngoc Chan, Christophe)

2023-03-20 Thread Samuel Gougeon
Hello Heinz, Le 10/02/2023 à 13:08, Heinz Nabielek a écrit : On 10.02.2023, at 09:22, Dang Ngoc Chan, Christophe wrote: .../.. But: why does it have to be so difficult for an experimental physicist when trying to assess the uncertainties of low numbers? Th

[Scilab-users] Statistics & probability CASCI module is back in ATOMS

2023-03-20 Thread Samuel Gougeon
Dear all, CASCI is an external package gathering 178 functions for statistics and probability computing. The Table of contents of its documentation (complete although only in PDF) can be seen on its ATOMS page.

Re: [Scilab-users] Generic plot command draws automatically _which_ coloured curves

2023-03-20 Thread Samuel Gougeon
Le 20/03/2023 à 13:13, Heinz Nabielek a écrit : size(E4)= 81. 1. size(D) =81. 7. plot (E4,D,'-') This generic plot command draws automatically coloured curves in blue, green, red, etcetera What are the following colours? I know that 8 is white getcolor() tells it to you, in the

Re: [Scilab-users] Arrow on line from (x1, y1) to (x2, y2)

2023-03-06 Thread Samuel Gougeon
Hello, Do you mean that the arrow links (x1,y1) to (x2,y2), or that you draw a segment from (x1,y1) to (x2,y2) and then plug an arrow starting on it (where (x3,y3)?) and going outside (where (x4,y4)?) ? Le 06/03/2023 à 18:53, Samuel Enibe a écrit : I need to attach an arrow to a line pointing

Re: [Scilab-users] plot and subplot bug for low values?

2023-03-03 Thread Samuel Gougeon
Hello Jean-Yves, Le 03/03/2023 à 16:19, Jean-Yves Baudais a écrit : Hello, The following code gives strange results (Scilab version "6.1.1.1626343451", on Ubuntu 22.04) subplot(212),plot(1e-8*rand(1,5)) the y-axis and the y_ticks are not only limited to the subplot! The same appends with full

Re: [Scilab-users] Can I program a table into a diagram?

2023-02-27 Thread Samuel Gougeon
Hello Heinz, Le 25/02/2023 à 00:13, Heinz Nabielek a écrit : Colleagues: can I program a table like below into a Scilab generated diagram? Sending some HTML-ized code to xstring() would have been the more versatile and tunable way to proceed, to get a styled table, with colored backgrounds, et

[Scilab-users] unexpected syntax errors

2023-02-27 Thread Samuel Gougeon
Hello, In Scilab 6.1.1 --> uman netcdf @ --> uman netcdf & work as expected, while in the nightly built version scilab-branch-6.1-7fc2e691 some syntax errors are yielded : --> uman netcdf @ uman netcdf @ ^^ Error : syntax error, unexpected ~ or @, expecting end of file --> uman netc

Re: [Scilab-users] Scilab releases schedule / End of Windows 32-bit support

2023-02-24 Thread Samuel Gougeon
Hello, Le 16/02/2023 à 16:42, COUVERT Vincent a écrit : Hi all, Scilab operational team and contributors are working hard on next release of Scilab that will be available in the next weeks. In the future, we will follow a new 6-month release schedule and use a new release numbering system X.Y

Re: [Scilab-users] how to convert a scilab 2.5.5 into a 2.6.x script

2023-02-21 Thread Samuel Gougeon
Le 20/02/2023 à 19:41, Wolfgang Engelmann a écrit : Am 20.02.23 um 19:31 schrieb Wolfgang Engelmann: .../... ps *** not in the left upper part, but at the right. The text "gain 1" was below the clock symbol which contains "text" instead of "gain 1" Aaarr. I see it as well. But when i open your

Re: [Scilab-users] how to convert a scilab 2.5.5 into a 2.6.x script

2023-02-21 Thread Samuel Gougeon
Hello Wolfgang Le 20/02/2023 à 19:31, Wolfgang Engelmann a écrit : Hallo, Samuel, sorry, I was talking about 5.5.2 and 6.1.0 I did not receive the previous answer, but was told that I was not subscribed to the list. Thanks to whoever managed to get me into the list. I include a zcos file which

Re: [Scilab-users] Scilab releases schedule / End of Windows 32-bit support

2023-02-21 Thread Samuel Gougeon
Hello Vincent, Le 16/02/2023 à 16:42, COUVERT Vincent a écrit : Hi all, Scilab operational team and contributors are working hard on next release of Scilab that will be available in the next weeks. In the future, we will follow a new 6-month release schedule and use a new release numbering sy

Re: [Scilab-users] how to convert a scilab 2.5.5 into a 2.6.x script

2023-02-20 Thread Samuel Gougeon
Hello Wolfgang, Didn't you receive this previous answer: https://www.mail-archive.com/users@lists.scilab.org/msg11008.html ? I am taking the opportunity of your reminder to ask for more details about this unusual request: You write that you are using Scilab 6.1.0, but that you run your 2.5.5 s

Re: [Scilab-users] The trajectory of a vector sequence

2023-02-20 Thread Samuel Gougeon
Hello, Could you check the param3d() function ? https://help.scilab.org/docs/6.1.1/en_US/param3d.html x = 0:0.1:4; y = (x-2).^2; clf param3d(x',y',y') gca().rotation_angles = [60 -60]; set(gce(), "fill_mode","on", "background",color("cyan")) [cid:part1.KrHaYv5t.sL7d7RpE@free.fr] Samuel Le 1

Re: [Scilab-users] LATEX in Scilab

2023-02-19 Thread Samuel Gougeon
Le 19/02/2023 à 20:49, Heinz Nabielek a écrit : [cid:part1.hrz1sFOc.8Gza9hCA@free.fr] In a sophisticated Scilab diagram, I would like to position this formula in the middle. I can manage xstring just fine, but can someone help me with LATEX? Something like this might help: "$\Phi = 1 - \exp \

Re: [Scilab-users] how to convert a scilab 2.5.5 into a 2.6.x script

2023-02-13 Thread Samuel Gougeon
Hello Wolfgang, You may use the so-called removed external module. To install it (the first time), and load it: --> atomsInstall removed --> atomsLoad removed Then to enter its help: --> help removed It starts with Scilab 4.1.2 > 2.5.5, but it should already help you. I don't know how to retri

Re: [Scilab-users] Problems with Scilab routine "conv"

2023-02-03 Thread Samuel Gougeon
Le 03/02/2023 à 21:25, Samuel Gougeon a écrit : Le 03/02/2023 à 20:57, Samuel Gougeon a écrit : .../... Here is a draft proposal: 1) build the (let's say row) vector A = (dPHI/dt) of sampled data at sampled values t 2) build the row vector B = f(-t) of sample data at t values 3) build the m

Re: [Scilab-users] Problems with Scilab routine "conv"

2023-02-03 Thread Samuel Gougeon
Le 03/02/2023 à 20:57, Samuel Gougeon a écrit : .../... Here is a draft proposal: 1) build the (let's say row) vector A = (dPHI/dt) of sampled data at sampled values t 2) build the row vector B = f(-t) of sample data at t values 3) build the matrix C of (padded) A and the matrix D of (shi

Re: [Scilab-users] Problems with Scilab routine "conv"

2023-02-03 Thread Samuel Gougeon
Le 03/02/2023 à 11:24, Heinz Nabielek a écrit : On 03.02.2023, at 11:13, Stéphane Mottelet wrote: Thanks for the code. Just a remark on the notations, you should write : F(T) = Int_{0}^{T} PHI(t) . f(T-t) . dt i.e. not F(t) since t is mute. However, you should pay attention to the delay n

Re: [Scilab-users] command longer than 4096 => get_blockcomment()

2023-02-01 Thread Samuel Gougeon
e any questions related to personal data protection, please contact 3DS Data Protection Officer https://www.3ds.com/privacy-policy/contact/ // = // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab

Re: [Scilab-users] command longer than 4096

2023-02-01 Thread Samuel Gougeon
is part of Scilab // Copyright (C) 2023 - Le Mans Université - Samuel GOUGEON // // This file is distributed under the same license as the Scilab package. // = // <-- CLI SHELL MODE --> // <-- NO CHECK REF

Re: [Scilab-users] Basic query - mprintf

2023-01-14 Thread Samuel Gougeon
[Let's try to answer without technical reply. Hope to not break or shift the thread] On 2023-01-11 22:33:10, Stefan Du Rietz wrote: Too print all elements, the argument must be a column vector: fac' And to avoid repeating the first wording, you can print it separately: --> mprintf("Factors of

Re: [Scilab-users] Basic query - mprintf

2023-01-10 Thread Samuel Gougeon
Le 07/04/2022 à 09:50, Lester Anderson a écrit : Hello all, Very basic query but how do you print all the values from a result via mprintf? e.g. fac = factor(1729) 7 13 19 mprintf('Factors of 1729 are: %d\n', fac) just prints 'Factors of 1729 are: 7 You may also use a Fortran syntax -- tha

Re: [Scilab-users] Messagebox - button pre-selection

2023-01-07 Thread Samuel Gougeon
Le 22/10/2021 à 12:56, P M a écrit : Dear, in a messagebox: Is it possible to have a button other than the first one pre-selected? e.g.: I'd like to have "No" pre-selected in the example below? In my application the buttons must stay in their order as they are...so simply changing the order

Re: [Scilab-users] Uniform distribution of non equidistant integers

2022-08-29 Thread Samuel Gougeon
Le 29/08/2022 à 20:46, Jens Simon Strom a écrit : Hallo, to get a random number from an uniform distribution of e.g. 1, 5 and 9 I can use x=grand(1,1, "uin", 1, 3); if x==2; x=5; elseif x==3 x=9; end xI there a more straightforward way? or, faster, [1 5 9](grand(1,1,"uin",1,3)) ___

Re: [Scilab-users] Uniform distribution of non equidistant integers

2022-08-29 Thread Samuel Gougeon
Le 29/08/2022 à 20:46, Jens Simon Strom a écrit : Hallo, to get a random number from an uniform distribution of e.g. 1, 5 and 9 I can use x=grand(1,1, "uin", 1, 3); if x==2; x=5; elseif x==3 x=9; end xI there a more straightforward way? sample(1, [1 5 9]) _

Re: [Scilab-users] Unexpected result using horner

2022-07-25 Thread Samuel Gougeon
Le 25/07/2022 à 02:44, Federico Miyara a écrit : Samuel, Sorry, but nothing is clear to me about your statements: 1) what shows you that iir() is correct while the analpf + horner way is not? There are several reasons: a) The result of using iir() is consistent with the expected frequency

Re: [Scilab-users] Unexpected result using horner

2022-07-24 Thread Samuel Gougeon
Le 24/07/2022 à 13:34, Samuel Gougeon a écrit : Sorry, but nothing is clear to me about your statements: 1) what shows you that iir() is correct while the analpf + horner way is not? 2) With the analpf + horner method, assuming that it is not correct, what shows you that horner is not

Re: [Scilab-users] Unexpected result using horner

2022-07-24 Thread Samuel Gougeon
Hello Federico, Le 20/07/2022 à 22:47, Federico Miyara a écrit : Dear All, I have problems with this script: Fs = 44100; fo = 500; B = 2^(1/6)-2^(-1/6); // Low-pass Butterworth hLPs = analpf(3,"butt",[],1); // Band-pass Butterworth centered at fo hBPs = horner(hLPs, (2*%pi*fo/%s

Re: [Scilab-users] output buffer

2022-06-20 Thread Samuel Gougeon
Le 20/06/2022 à 12:04, Jean-Yves Baudais a écrit : Hello, Le 17/06/2022 à 23:45, Stephane Mottelet a écrit : The buffer size is not set by Scilab and hence is always the default for a given platform (it can be different for macOS, Linux, Windows). I suppose you need to increase or decrease it

Re: [Scilab-users] Undefined variable: vers?

2022-06-17 Thread Samuel Gougeon
Hello Heinz, The call stack shows that the error occurs when calling haveacompiler() to see if a compiler is installed, and then run the actual demo or skip it. If there is no compiler, haveacompiler() should return %F without yielding any error. So it's a bug. It is not yet reported on scilab

Re: [Scilab-users] Graphics: Highlighted Entity

2022-06-07 Thread Samuel Gougeon
Le 07/06/2022 à 11:08, CRETE Denis a écrit : Hello, In several occasions, I considered that it would be useful to get a handle on a highlighted entity. Does a function which might be called “get_hilited_entity” exist ? I did not find either in the properties of basic entities like “Polylin

Re: [Scilab-users] Graphics: Current figure and current entity

2022-06-07 Thread Samuel Gougeon
Le 07/06/2022 à 11:39, CRETE Denis a écrit : Hello, I have several graphic windows and in some of them, there are several “Axes” (and several curves for each “Axes”). I can’t find in “Scilab Help” if the “current axes” is always in the hierarchy of the “current entity”, and similarly if the

Re: [Scilab-users] unloader.sci & module.quit

2022-02-15 Thread Samuel Gougeon
Le 15/02/2022 à 20:24, Samuel Gougeon a écrit : .../... * If the module to unload is an autoloaded ATOMS module, its library is protected. Then trying to clear it yields an expected error. The default unloader.sce does not take this into account. Yet, it should avoid or handle the

Re: [Scilab-users] unloader.sci & module.quit

2022-02-15 Thread Samuel Gougeon
Le 15/02/2022 à 19:03, Jean-Yves Baudais a écrit : --> clear(string(mylib)(2:$)) Thanks! It does what I expected. Should we actually clear also macros belonging to the library, in the default unloaded.sce script? There is currently an explicit warning in comment: " This does not unregister its

Re: [Scilab-users] clearing macros of a library

2022-02-15 Thread Samuel Gougeon
Hello Jean-Yves, Le 15/02/2022 à 17:27, Jean-Yves Baudais a écrit : Bonjour, Is there a simple way to clear all the used functions of a given library, because unloader.sce only remove the library from the "who" list, but not the functions that have already been used and that stay in memory, u

Re: [Scilab-users] [question] xcos yielding different result than SIMULINK

2022-02-10 Thread Samuel Gougeon
Le 10/02/2022 à 11:06, Samuel Gougeon a écrit : Hello, Le 10/02/2022 à 10:35, Foad Sojoodi Farimani a écrit : I had initially asked the question here <https://discordapp.com/channels/384316553497280512/384325768685027328/941093238436134912> on xcos Discord channel <https://discord.g

Re: [Scilab-users] [question] xcos yielding different result than SIMULINK

2022-02-10 Thread Samuel Gougeon
Le 10/02/2022 à 11:06, Samuel Gougeon a écrit : Hello, Le 10/02/2022 à 10:35, Foad Sojoodi Farimani a écrit : I had initially asked the question here <https://discordapp.com/channels/384316553497280512/384325768685027328/941093238436134912> on xcos Discord channel <https://discord.g

Re: [Scilab-users] [question] xcos yielding different result than SIMULINK

2022-02-10 Thread Samuel Gougeon
Hello, Le 10/02/2022 à 10:35, Foad Sojoodi Farimani a écrit : I had initially asked the question here on xcos Discord channel . Basically, I want to replicate this SIMULINK tut

Re: [Scilab-users] please help, I have just a mental blockade

2022-02-07 Thread Samuel Gougeon
Le 07/02/2022 à 20:28, Claus Futtrup a écrit : Hi Samuel, and all Scilabers Entertaining response from Samuel! It's about knowing that the cumsum function exist. :-) I googled Scilab cumsum and found old docs that it was part of elementary matrix operations (https://help.scilab.org/doc/6.0.0

Re: [Scilab-users] please help, I have just a mental blockade

2022-02-07 Thread Samuel Gougeon
Hello Heinz, Le 07/02/2022 à 18:35, Heinz Nabielek a écrit : Sorry, colleagues - please help, I have just a mental blockade. Given vector EE= [3 5 8] I want to create a stepwise increasing vector E= [0 0 1 1 2 2 2 3 3 3 3] And would need a system that works for much larger numbers Pro

Re: [Scilab-users] xdel replaced by close()

2022-01-21 Thread Samuel Gougeon
Hello Claus, Le 21/01/2022 à 20:58, Claus Futtrup a écrit : Hi Scilabers Today I tried to replace xdel(winsid()) in one of my scripts with close(winsid()) because Scilab shows a warning in the console: Warning: Feature xdel(...) is obsolete and will be permanently removed in Scilab 6.2 Wa

[Scilab-users] Direct file access with write(fid,a,k,fm) ?

2022-01-15 Thread Samuel Gougeon
Dear co-Scilabers, In the help page of the write() function @ https://help.scilab.org/docs/6.1.1/en_US/write.html, an enigmatic sentence somewhat describes a interesting writing mode: " /Direct access files : x = write(file_desc, a, k, format). Here k is the vector of records (one record// //

Re: [Scilab-users] question to surf()

2022-01-04 Thread Samuel Gougeon
Le 04/01/2022 à 14:29, P M a écrit : ...indeed..no problems with Scilab 6.1.1 Likely because this example needs a bigger Java heap used for graphics. The default Java heap size has been increased from 256 to 512 MB in 6.1.1, for this kind of example. If you still work with Scilab < 6.1.1, you

Re: [Scilab-users] Bernoulli numbers calculation

2021-12-30 Thread Samuel Gougeon
Hello Lester, Le 30/12/2021 à 08:59, Lester Anderson a écrit : Hello Samuel, Thanks for the solution. As pointed out it is best to show the equation being assessed (from www.bernoulli.org ). The one I looked at was the following: Explicit_formula.PNG Using nchoose

Re: [Scilab-users] Bernoulli numbers calculation

2021-12-29 Thread Samuel Gougeon
Hello Lester, Le 29/12/2021 à 09:00, Lester Anderson a écrit : Hello, A quick query. Have adapted existing Matlab code for Scilan to calculate Bernoulli numbers using an explicit formula (www.bernoulli.org ). Not so explicit. Could you please provide the formula,

Re: [Scilab-users] partial fractions

2021-12-29 Thread Samuel Gougeon
Hello Federico, Le 16/07/2021 à 21:11, Federico Miyara a écrit : Dear All, I'm wonderig whether there is a standard method to obtain the partial fraction expansion of a rational function. Searching, I've found the function pfss(), which purportedly is meant for that, but I find it doesn't

[Scilab-users] uman 3.1 is released

2021-12-22 Thread Samuel Gougeon
uman 3.1 is released. User manual in console. Advanced multimodal and multilingual Scilab documentation * https://atoms.scilab.org/toolboxes/uman/3.1 https://atoms.scilab.org/toolboxes/uman/3.1#leave_a_comment * Changes: https://atoms.scilab.org/toolboxes/uman/3.1/files/changelog.txt *

[Scilab-users] Gridding uiframes. subplot and xsetech

2021-12-21 Thread Samuel Gougeon
figures) looks (very) complicated to me. Does it aim to "group" several interactive components? There are a lot of pages about this in the Scilab documentation... It's easy to get lost. While using subplot will still be very simple. Thanks for any hints or comments about this top

Re: [Scilab-users] console: instruction moving the scrollbar to the top

2021-12-16 Thread Samuel Gougeon
Hello, Le 02/03/2015 à 23:18, Samuel Gougeon a écrit : Hello, Are there any instructions to move the console's vertical scrollbar up to the top? I mean, not the caret (tohome() does it), but the scrollbar. Even a hack through java/JIMS would be welcome. Well, this is still a very n

Re: [Scilab-users] Is http://mailinglists.scilab.org over?

2021-12-15 Thread Samuel Gougeon
Hello Clément, Le 21/07/2021 à 15:37, Clément David a écrit : Hello Samuel, hello all, Indeed we noticed that but where in a hurry delivering the 6.1.1 release. The Nabble maintainers stopped the development [1] and started some action to stop the service [2]. IMHO we need to switch to anothe

Re: [Scilab-users] Is http://mailinglists.scilab.org over?

2021-12-15 Thread Samuel Gougeon
Hello, Le 07/09/2021 à 15:13, Stéphane Mottelet a écrit : Hi, is https://www.mail-archive.com/users@lists.scilab.org/ the new place to look for the list archives ? Yes, for users@ and dev@ lists. This archives interface is poorer than the Nabble  interface, but it exists: that's already a

Re: [Scilab-users] Getting the variable name used for a function input argument

2021-12-06 Thread Samuel Gougeon
Hello Jens, Le 06/12/2021 à 10:40, Jens Simon Strom a écrit : Hi Samuel, Your solution is quite sophisticated. On the opposite, it aims to be simpler. To me it was confusing to call a function without the input being bracketed. And on top of this, that a variable of type /constant/ is ac

Re: [Scilab-users] Getting the variable name used for a function input argument

2021-12-05 Thread Samuel Gougeon
Le 04/12/2021 à 20:59, Samuel Gougeon a écrit : So, /unless you need to know the name *inside* printc() for some unsaid purpose/, what would be the difference between in one hand [name, mag, arg] = printc(myvar, "myvar") and on the other hand name = "myvar"; [mag,

Re: [Scilab-users] Getting the variable name used for a function input argument

2021-12-04 Thread Samuel Gougeon
Hello Jens, Le 04/12/2021 à 20:39, Jens Simon Strom a écrit : Hi, Thanks for all the responses and sorry for not beeing able to answer before now. The background of my question was to write a function for formatted output of complex variables in polar form with mprintf like function printc(

Re: [Scilab-users] Atoms toolbox : iodelay toolbox by S.steer

2021-11-29 Thread Samuel Gougeon
Le 05/10/2021 à 17:24, Lucien Povy a écrit : Hello all, With new version of Scilab >6.1? we cannot use iodelay toolbox : problem with %rd_string. Hello Lucien, Thanks for reporting this issue. It is now fixed, and the iodelay toolbox can now be installed and used with Scilab 6.1.x --> a

Re: [Scilab-users] Getting the variable name used for a function input argument

2021-11-27 Thread Samuel Gougeon
Le 23/11/2021 à 21:18, Jens Simon Strom a écrit : Hi Scilab friends, Given a numeric variable like xNum as an input argument of a function call, how can I produce the variable name string "xNum" within the function? That is requested and commented as the still open report #5840

Re: [Scilab-users] mesh2d - finding identical points

2021-11-27 Thread Samuel Gougeon
Le 20/11/2020 à 11:46, Stéphane Mottelet a écrit : Hi again, Le 20/11/2020 à 11:30, P M a écrit : OK, some more background: I actually want to perform a delaunay triangulation on a set of X-Y-Z-coordinates. I suppose you mean a triangulation of scattered X-Y-Z but you call mesh2d with X-Y o

Re: [Scilab-users] Getting the variable name used for a function input argument

2021-11-27 Thread Samuel Gougeon
Le 24/11/2021 à 19:34, Stéphane Mottelet a écrit : Hi, Le 24/11/2021 à 18:07, Samuel Gougeon a écrit : Le 24/11/2021 à 09:51, Stéphane Mottelet a écrit : Hi, Le 24/11/2021 à 01:42, Federico Miyara a écrit : I'm not completely sure, but I think this is not possible since what is p

Re: [Scilab-users] Getting the variable name used for a function input argument

2021-11-24 Thread Samuel Gougeon
Le 24/11/2021 à 09:51, Stéphane Mottelet a écrit : Hi, Le 24/11/2021 à 01:42, Federico Miyara a écrit : I'm not completely sure, but I think this is not possible since what is passed to the function isn't a variable but the value contained in the variable. No. Internally, input arguments ar

Re: [Scilab-users] jetcolormap in param3d1

2021-11-16 Thread Samuel Gougeon
Hello Izabela, The current colormap is always stored as a figure's property, as shown for instance in the examples at https://help.scilab.org/docs/6.1.1/en_US/colormap.html Here is a possible implementation (without the gsort stuff): X = [0.5 1.5 1.5 ; 1.5 2.5 1.5]; Y = [0.5 1 1

Re: [Scilab-users] 6.1.1 startup error

2021-10-18 Thread Samuel Gougeon
Le 22/09/2021 à 17:10, Samuel Gougeon a écrit : Hello Stefan, This kind of error might arise when the content of the SCIHOME directory of a previous scilab version is copied into the SCIHOME of the current 6.1.1 version, for instance to avoid respecifying all users preferences. Unfortunately

Re: [Scilab-users] 6.1.1 startup error

2021-09-22 Thread Samuel Gougeon
Le 22/09/2021 à 18:03, Samuel Gougeon a écrit : Le 22/09/2021 à 17:35, Clément David a écrit : Hi Stéphane, hi Samuel, hi all, The idea behind SCIHOME is to have a version specific directory to avoid any issues when upgrading from Scilab versions to Scilab versions ; IMHO implementing an

Re: [Scilab-users] 6.1.1 startup error

2021-09-22 Thread Samuel Gougeon
Le 22/09/2021 à 17:35, Clément David a écrit : Hi Stéphane, hi Samuel, hi all, The idea behind SCIHOME is to have a version specific directory to avoid any issues when upgrading from Scilab versions to Scilab versions ; IMHO implementing an upgrade for files stored into this directory is for

Re: [Scilab-users] 6.1.1 startup error

2021-09-22 Thread Samuel Gougeon
Hello Stefan, This kind of error might arise when the content of the SCIHOME directory of a previous scilab version is copied into the SCIHOME of the current 6.1.1 version, for instance to avoid respecifying all users preferences. Unfortunately, when the template of some configuration file is c

Re: [Scilab-users] how to get scilab running on mac mini

2021-09-05 Thread Samuel Gougeon
Le 25/08/2021 à 12:27, Mikhail Urusov a écrit : I have the same problem. Posted it yesterday with a thorough explanation and screenshots. But it does not seem even to be posted (200 kbytes due to screenshots). I am wondering if we can get any help? Kind regards, Mikhail Urusov Am Mi., 25. Aug.

Re: [Scilab-users] Redrawing a maximized figure changes its original size and other problem

2021-09-05 Thread Samuel Gougeon
Le 02/09/2021 à 02:22, Federico Miyara a écrit : Dear All, I've noticed that when clearing the contents of a maximized figure using clf() and redrawingthe figurefrom scratch,the maximized statuschanges status to normal with a size slightly larger than the available height of the screen. I

Re: [Scilab-users] disable grid in 3d plot

2021-08-30 Thread Samuel Gougeon
Le 29/08/2021 à 05:40, Federico Miyara a écrit : Dear All, Is there any way to disable the grid on a surface generated using plot3d() or similar? Sometimes it is useful, but when the grid where the data to plot are defined is too tight the black lines on the surface are way too invasive an

Re: [Scilab-users] Loop query

2021-08-15 Thread Samuel Gougeon
Le 15/08/2021 à 11:28, Lester Anderson a écrit : Hello Samuel, The size of ns (number of steps) and seq (sequence of values) are variable depending on the integer input, and this seems to be one issue. For this reason, seq must be a list, leading to function [ns, seq] = collatz(p) seq

Re: [Scilab-users] Loop query

2021-08-15 Thread Samuel Gougeon
Le 15/08/2021 à 09:00, Lester Anderson a écrit : Hello, Basic query. I have a simple code that applies the Collatz conjecture equation (3n+1) by running a function and then runs a loop over the values stored in prime (the first 8 Prime numbers): clear exec('collatz.sci',-1); prime = prime

[Scilab-users] fullpath * crashes 6.1.1

2021-07-23 Thread Samuel Gougeon
Hello, Le 10/07/2021 à 23:37, Samuel Gougeon a écrit : Le 10/07/2021 à 16:11, Samuel Gougeon a écrit : Hello Federico, I confirm this issue. It appeared in Scilab 6.1.0 and  occurs only when pwd() and the filename are on the same disk. It comes from a change of behavior of mopen(), and so

Re: [Scilab-users] indexing array of rationals

2021-07-22 Thread Samuel Gougeon
Hello Le 22/07/2021 à 22:08, Stéphane Mottelet a écrit : Hi all, I thought indexing an array of rationals was possible. Likely this is no possible and this is a pity --> pi  pi  =   θ +2θ²     --     1 +4θ +3θ²     0.333θ       0.333 +θ     0.333θ    -

[Scilab-users] Is http://mailinglists.scilab.org over?

2021-07-21 Thread Samuel Gougeon
Le 19/07/2021 à 09:56, Dang Ngoc Chan, Christophe a écrit : Hello Samuel, De : users De la part de Samuel Gougeon Envoyé : jeudi 8 juillet 2021 08:01 That's strange : do you confirm that this thread and following ones (*) look no longer archived @ http://mailinglists.scilab.org/Scilab-

Re: [Scilab-users] Scilab 6.1.1 release

2021-07-21 Thread Samuel Gougeon
Hello, While the help is complete in the Scilab help browser, 38 help chapters over 55 are missing in the online version of the help @ https://help.scilab.org/docs/6.1.1/en_US/index.html and for other languages. Are missing * all chapters from the modules Linear algebra  to Signal processing

Re: [Scilab-users] spectrogram

2021-07-12 Thread Samuel Gougeon
Hello Federico, As reported at http://bugzilla.scilab.org/16530 , mapsound() could not really be used. It has been rewritten in Scilab 6.1.1. It's help page in PDF is available at http://bugzilla.scilab.org/attachment.cgi?id=5178 To be compared to the last 6.1.0 former version https://help.sc

Re: [Scilab-users] Question on saving with wavwrite()

2021-07-10 Thread Samuel Gougeon
Le 10/07/2021 à 16:11, Samuel Gougeon a écrit : Hello Federico, I confirm this issue. It appeared in Scilab 6.1.0 and  occurs only when pwd() and the filename are on the same disk. It comes from a change of behavior of mopen(), and so may occurs for many other functions using mopen

Re: [Scilab-users] Fwd: avoid auto-zoom when rotating a 3D graphic

2021-07-10 Thread Samuel Gougeon
Hello, Le 07/07/2021 à 10:09, Stéphane Mottelet a écrit : Hello Philipp, The feature did exist until Scilab 5 family but was removed. I have never seen this in Scilab 4, 5 or 6. 3D rotations have always been prone to some stretching of the axes in order to fill the more as possible the axes

Re: [Scilab-users] Question on saving with wavwrite()

2021-07-10 Thread Samuel Gougeon
Hello Federico, I confirm this issue. It appeared in Scilab 6.1.0 and  occurs only when pwd() and the filename are on the same disk. It comes from a change of behavior of mopen(), and so may occurs for many other functions using mopen(). Regards Samuel Le 16/06/2021 à 00:32, Federico Miyara

Re: [Scilab-users] Native arm64 build for Mac M1

2021-07-07 Thread Samuel Gougeon
That's strange : do you confirm that this thread and following ones (*) look no longer archived @ http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html ? They do not appear amongs most recent topics: (*)  At the current time, * Fwd: avoid auto-zoom when rotating

Re: [Scilab-users] Undocking windows

2021-06-18 Thread Samuel Gougeon
Hello, Le 18/06/2021 à 18:28, Stefan Du Rietz a écrit : Hello, how can I make all my Scilab windows not dockable? And how can I get rid of the toolbars? I can do both with figure windows. Fine. So,  with "all your Scilab windows" are you addressing the console, the help browser, the file bro

Re: [Scilab-users] Variable scope in Scilab

2021-05-10 Thread Samuel Gougeon
ragile all native macros and builtin symbols... A very inconsistent and impacting roadmap. Putting Scilab in students hands is much more prone to errors due to this unprotection, than due to external initializations.. Samuel Le 10/05/2021 à 21:41, Samuel Gougeon a écrit : Hello, Le 26/02/20

Re: [Scilab-users] Variable scope in Scilab

2021-05-10 Thread Samuel Gougeon
Hello, Le 26/02/2021 à 14:38, Stéphane Mottelet a écrit : Hi all, In Scilab the scope of variables is quite permissive but even in Julia (really strict rules) we can have the following behavior: function y=f(x)  y=x+a; end a=1; f(2) a=2; f(3) -> a=1; --> f(2)  ans  =    3. --> a=2; -->

Re: [Scilab-users] Curing scf() & figure() slowliness: a good target for Scilab 6.0.1

2021-05-10 Thread Samuel Gougeon
Le 25/02/2017 à 18:05, Samuel Gougeon a écrit : Hello, Opening a new empty figure (without drawing anything) is a so common elementary task and it has become so long that i have built a short benchmark about it from Scilab 4.1.2 to Scilab 6.0. Detailed results are here-below. The main

Re: [Scilab-users] Problem with ascii()

2021-05-07 Thread Samuel Gougeon
Hello, Le 07/05/2021 à 08:57, Federico Miyara a écrit : Dear all, If I run this simple code ascii([ascii("hello"), 13,10, ascii("world")]) Scilab crashes. Do you get a crash if you prevent displaying the result with a final semi-colon? Le 07/05/2021 à 09:26, Jean-Yves Baudais a écrit :

Re: [Scilab-users] How to list the content of the recursion stack?

2021-05-06 Thread Samuel Gougeon
Hello Jean-Yves, Le 06/05/2021 à 11:13, Jean-Yves Baudais a écrit : .../... test_ll improves a bit test_l because it uses tail call, but the max without seg.fault is far from 1000. Where does this limit of 1000 come from? from --> currentMaxDepth = recursionlimit()  currentMaxDepth  =    100

Re: [Scilab-users] spec can crash scilab

2021-05-04 Thread Samuel Gougeon
Le 04/05/2021 à 16:38, Antoine Monmayrant a écrit : Yes, it does the same So this bug is still a problem, at least on Ubuntu. Can you guys try to run spec.tst on his machine and comment on https://bugzilla.scilab.org/show_bug.cgi?id=15330 ? Besides, how confusing and messy the notations on

Re: [Scilab-users] Java String.format(format, value) within Scilab

2021-05-04 Thread Samuel Gougeon
Le 04/05/2021 à 16:13, Stéphane Mottelet a écrit : Hi, format() is a  class method, not an instance method. Thanks for the tip. However, distinguishing both types of methods in the java documentation (list of methods) is not trivial to me.. However, the following does not work either: -->

[Scilab-users] Java String.format(format, value) within Scilab

2021-05-04 Thread Samuel Gougeon
Dear all, May be the question is only about Java, or may be about how Scilab implements it. In order to do some tests to fix the regression brought by Scilab 6 and reported as the major bug 16376 about how datatips display (big or) small values (all display

[Scilab-users] How to list the content of the recursion stack?

2021-05-04 Thread Samuel Gougeon
Dear all, When we get a Recursion limit reached (1000) message, does anyone know how to know more about which recursive calls are filling and overflowing the recursion stack? Noticeably, the message does not tell anything about the last instruction that yielded the error. This makes debuggi

  1   2   3   4   5   6   7   8   9   10   >