Re: [Scilab-users] Changes on ATOMS to post toolboxes for Scilab 6

2016-10-30 Thread Samuel Gougeon
the discussion. This was reported more than one month ago, but nothing has been repaired: http://bugzilla.scilab.org/14786 Samuel Gougeon ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] Changes on ATOMS to post toolboxes for Scilab 6

2016-10-30 Thread Samuel Gougeon
tml>, let's go on with this. It is blocking: I tried with Firefox and with Chrome. Both give the same display with no way to set the required Scilab version. Hence the binary can't be posted. Hope reading you asap Samuel Gougeon ___ users mailin

Re: [Scilab-users] grayplot

2016-10-28 Thread Samuel Gougeon
Le 28/10/2016 14:12, Rafael Guerra a écrit : Hi Samuel, Fyi, on my Scilab 5.5.2 (64-bit) Win 7 configuration, the code here below still fails for one xfarcs() call. Uncommenting the second xfarcs() call does fix the plot (attached). It looks like a bug. Or could it be only an issue with my

Re: [Scilab-users] grayplot

2016-10-27 Thread Samuel Gougeon
Le 28/10/2016 03:15, Samuel Gougeon a écrit : Le 28/10/2016 02:54, Rafael Guerra a écrit : Samuel, The proposed grid looks much better than Scilab's default. Regarding the tip to move the colorbar command to the end of the code, code still behaves in unstable way... Please see revised code

Re: [Scilab-users] grayplot

2016-10-27 Thread Samuel Gougeon
Le 28/10/2016 02:54, Rafael Guerra a écrit : Samuel, The proposed grid looks much better than Scilab's default. Regarding the tip to move the colorbar command to the end of the code, code still behaves in unstable way... Please see revised code here below where the issue strikes back: . With

Re: [Scilab-users] grayplot

2016-10-27 Thread Samuel Gougeon
Le 27/10/2016 21:56, Rafael Guerra a écrit : Hi again, After tidying up Nec's code a bit further and applying Samuel's xfarcs receipe for colored scatter plots in Scilab 5x, I encountered the following strange behavior. For some reason, in the code here below, xfarcs has to be called twice

Re: [Scilab-users] grayplot

2016-10-27 Thread Samuel Gougeon
Le 27/10/2016 18:50, Rafael Guerra a écrit : Hi Samuel, Scilab-6 'scatter' plot function seems indeed quite adequate for these data. Would it be possible to produce such scatter plots with dots color coded (as attached) in Scilab 5? . yes it is, for instance using xfarcs() as below. Regards

Re: [Scilab-users] grayplot

2016-10-27 Thread Samuel Gougeon
Le 27/10/2016 16:47, Samuel Gougeon a écrit : Le 27/10/2016 05:01, Necati Gulunay a écrit : I am trying to use scilab grayplot to plot a number of signed values which are distributed in the x,y plane. But I am getting an orange color backround in the plot even if most of the data points

Re: [Scilab-users] grayplot

2016-10-27 Thread Samuel Gougeon
Le 27/10/2016 05:01, Necati Gulunay a écrit : I am trying to use scilab grayplot to plot a number of signed values which are distributed in the x,y plane. But I am getting an orange color backround in the plot even if most of the data points in the plane are zero which need to be white color

Re: [Scilab-users] grayplot

2016-10-27 Thread Samuel Gougeon
() family sets the color index of a rectangle as the /average/ Z value of its vertices. This is likely why you get this "bias". To get rectangular cells colored with the given color indices without averaging them, you may use Matplot() or Matplot1() instead. HTH Samu

Re: [Scilab-users] ">" operation error in a some case

2016-10-27 Thread Samuel Gougeon
Hello Le 27/10/2016 02:09, fujimoto2005 a écrit : I am using the scilab 6.0 beta 2. Please load the attached file 'val.dat' which contains two variable x and y. Operation 'x>y' returns the error message 'Undefined operation for the given operands. check or define function %s_2_s for

[Scilab-users] Unpublished valid messages

2016-10-26 Thread Samuel Gougeon
this would be welcome. Best regards Samuel Gougeon ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] Converting string months to month numbers

2016-10-21 Thread Samuel Gougeon
Le 20/10/2016 11:32, Jens Simon Strom a écrit : Hallo, Given the string vector M=['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'] which implicitly maps the string representation of the months to their number representataion I would like to map any string matrix

Re: [Scilab-users] Converting string months to month numbers

2016-10-21 Thread Samuel Gougeon
Hello, Le 20/10/2016 13:31, Mike Page a écrit : Hi Jens, grep does something like what you want. -->[r,w]=grep(Ms,M); -->matrix(w,size(Ms)) ans = 12.4. 2. 12. 6. 7. Not sure why grep produces a vector when searching for a matrix, but it seems that way. . Because

Re: [Scilab-users] using csvRead

2016-10-15 Thread Samuel Gougeon
Le 15/10/2016 21:16, Samuel Gougeon a écrit : Hello Philipp, Le 14/10/2016 00:08, Philipp Mühlmann a écrit : Dear Scilab users, having a data file (*.cvs) containg following format: HEADER-Line dd.mm., HH:MM:SS.MS <http://SS.MS>, value01, value02 dd = day mm = month = ye

Re: [Scilab-users] using csvRead vs mfscanf and fscanfMat

2016-10-15 Thread Samuel Gougeon
Hello Rafael, Le 15/10/2016 20:49, Rafael Guerra a écrit : .../... The results for a 50,000-lines input ASCII file are: time1= 0.686404 // mfscanf time2= 0.499203 // fscanfMat time3= 35.3966// csvRead . Thanks for these very convincing results. I thought that evstr() is

Re: [Scilab-users] using csvRead

2016-10-15 Thread Samuel Gougeon
Hello Philipp, Le 14/10/2016 00:08, Philipp Mühlmann a écrit : Dear Scilab users, having a data file (*.cvs) containg following format: HEADER-Line dd.mm., HH:MM:SS.MS , value01, value02 dd = day mm = month = year HH = hour MM = minute SS = second Ms = milli second

Re: [Scilab-users] using csvRead

2016-10-15 Thread Samuel Gougeon
Le 15/10/2016 19:32, Rafael Guerra a écrit : Thanks Samuel, but I could not see where does it say how can we convert a mlist of ctype to a regular matrix, so that we can use all usual matrix operations. Could you please advise. You are right, the *cblock* type is nowhere documented.

Re: [Scilab-users] using csvRead

2016-10-15 Thread Samuel Gougeon
Le 15/10/2016 19:16, Rafael Guerra a écrit : Hi Samuel, As the data is loaded by csvRead as strings in the example below (if loading as doubles then we get NaN’s), it will require further processing to convert it to numeric (using evstr, tokens or other). For very large data files, this

Re: [Scilab-users] using csvRead

2016-10-15 Thread Samuel Gougeon
Le 15/10/2016 18:58, Rafael Guerra a écrit : Hi Serge, One question: For some strange reason, the variable ‘r’ is in this case a mlist of type cblock and not a matrix of type constant. To convert it to constant, it seems that we need a further instruction, such as:r=r( : , : ); Any

Re: [Scilab-users] Fwd: Re: Fwd: plotxxyyy

2016-10-15 Thread Samuel Gougeon
Le 13/10/2016 14:05, Frieder Nikolaisen a écrit : Dear community, thank you for you support. I get now wonderful plots. There is still a feature missing: Plot two has not x grid. *How to add a grid without a axis?* (I tried a bit with newaxis... no success) Aaaarr.. I have forgotten this

Re: [Scilab-users] using csvRead

2016-10-15 Thread Samuel Gougeon
Le 15/10/2016 15:45, Samuel Gougeon a écrit : Hello Le 14/10/2016 00:08, Philipp Mühlmann a écrit : Dear Scilab users, having a data file (*.cvs) containg following format: HEADER-Line dd.mm., HH:MM:SS.MS <http://SS.MS>, value01, value02 dd = day mm = month = year HH = h

Re: [Scilab-users] using csvRead

2016-10-15 Thread Samuel Gougeon
Le 14/10/2016 00:08, Philipp Mühlmann a écrit : Dear Scilab users, having a data file (*.cvs) containg following format: HEADER-Line dd.mm., HH:MM:SS.MS , value01, value02 .../... Is it possible to use cvsRead in such a way to define the separator beeing ',' and ':' at the

Re: [Scilab-users] Creation of a library with macros located in various folders

2016-10-15 Thread Samuel Gougeon
Hello Pierre, Scilab 6.0 will propose a new function *tbx_make*(..) that will be able to do exactly what you want: https://codereview.scilab.org/#/c/18071/ By the way, it will greatly simplify compilation of modules, and will no longer require many cooky-files .sce like buildmacros.sce

Re: [Scilab-users] using csvRead

2016-10-15 Thread Samuel Gougeon
;,"] value? I didn't, but would be interested by results. I am wondering whether the substitution is done before splitting the line with the separator (then "substitute" will work), or after. This detail would deserve being documented. Read you soon Samuel Gougeon

Re: [Scilab-users] Fwd: plotxxyyy

2016-10-12 Thread Samuel Gougeon
/axes_properties.html BR Samuel Gougeon ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] Fwd: plotxxyyy

2016-10-11 Thread Samuel Gougeon
drawaxis(). By the way, IMO, a drawing of what exactly is required would be clearer than hundred of lines of description, with schematic curves, axes, arrows linking curves to their multiple axes in x and y. BR Samuel Gougeon ___ users mailing list users

Re: [Scilab-users] Plot format changes

2016-10-09 Thread Samuel Gougeon
Le 06/10/2016 21:57, Tim Wescott a écrit : So, I have some code that works all right, it works all right but not exactly quite*: errbar(time(ixg) / sampleRate, .. demodulator.eqData.idealPulse(ix), pv, pv); gfig.children(1).children(1).clip_state = 'on'; . You must

Re: [Scilab-users] Plot format changes

2016-10-09 Thread Samuel Gougeon
Le 09/10/2016 10:49, Samuel Gougeon a écrit : However, with Scilab 6.0, the assignment segs.clip_state = 'on'; does not work: "clipgrf" is assigned instead. It is a bug, but i don't think it can explain the error you are reporting. . Actually, it is not a bug: assigning .

Re: [Scilab-users] Plot format changes

2016-10-09 Thread Samuel Gougeon
Le 07/10/2016 00:11, Tim Wescott a écrit : I should add that even here it works through about a dozen iterations before it fails -- it's definitely data dependant somehow. . Even if we had access to data and to the full explicit context, a transient error would be difficult to track and fix.

Re: [Scilab-users] Building macros

2016-10-08 Thread Samuel Gougeon
Le 08/10/2016 07:01, shamikam a écrit : When I run toolbox builder, this is the message I get now- -->mode(-1); Building macros... -- Creation of [Imagelib] (Macros) -- genlib: Processing file: imhmin.sci No error is raised. Please note imhmin.sci is the 129th function. I know 128 functions

Re: [Scilab-users] Building macros

2016-10-07 Thread Samuel Gougeon
the previous compilation are recompiled, and then the related .bin files are updated. For other ones, the existing .bin files are kept, so their former creation date is unchanged. Regards Samuel Gougeon ___ users mailing list users@lists.scilab.org http://lis

Re: [Scilab-users] Plot format changes

2016-10-06 Thread Samuel Gougeon
Le 06/10/2016 21:57, Tim Wescott a écrit : So, I have some code that works all right, it works all right but not exactly quite*: errbar(time(ixg) / sampleRate, .. demodulator.eqData.idealPulse(ix), pv, pv); gfig.children(1).children(1).clip_state = 'on';

Re: [Scilab-users] Scilab control after an impossible calculation

2016-10-06 Thread Samuel Gougeon
Le 06/10/2016 12:31, paul.carr...@free.fr a écrit : thanks for the advice well I tried but it does not work as expected ; errcatch seems to be obsolete so I'm testing it with execstr: the warning is not displayed ... why Try / catch / end was very buggy in Scilab 5. Scilab 6 efficiently

Re: [Scilab-users] Forum dedicated to Scilab developments

2016-10-05 Thread Samuel Gougeon
Le 05/10/2016 19:47, Rafael Guerra a écrit : /(correction to PS: in previous email)/ What looked like a Mobius strip finally isn’t one. For the record, here below the correct equation: Do you still promise a donut against one character change from this new code ? A 2-cent donut, it is

Re: [Scilab-users] Forum dedicated to Scilab developments

2016-10-04 Thread Samuel Gougeon
skills or ask for support(s) in specific topics/tasks? . Isn't it what we do here? See also http://mailinglists.scilab.org/ In my mind a way to share codes and so on! We may do it here as well, and there: https://fileexchange.scilab.org/ Samuel Gougeon

Re: [Scilab-users] Scilab 6 notes on upgrading Scilab 5 code

2016-09-28 Thread Samuel Gougeon
Le 28/09/2016 18:30, clement.da...@scilab-enterprises.com a écrit : Hello Rafael, Currently there is a only the detailed CHANGES.md file with key modifications described in a specific section. I guess it might also be good to have something like a wiki page describing the modifications

Re: [Scilab-users] is vectorization possible

2016-09-27 Thread Samuel Gougeon
Le 27/09/2016 09:17, Tim Wescott a écrit : .../... Or sum(..., 'r'). I can't remember which is which. One makes a row, the other makes a column, but I can never remember if it's "sum all columns" or "sum into a column". :) Never did i, until i realized that operating *across* Rows yields a

Re: [Scilab-users] System Identification for First order delay and dead time

2016-09-24 Thread Samuel Gougeon
Le 25/09/2016 01:02, Fukashiimo a écrit : Thank you for your advice. y and u have some correration. X in your equation is the Laplace operator, In this case, how I can use datafit? . AFAIK, there is no way in Scilab to perform a formal fit. This is why i asked about known values of u, s or

Re: [Scilab-users] fourier series and fft

2016-09-24 Thread Samuel Gougeon
Le 22/09/2016 23:09, paul.carr...@free.fr a écrit : dear all I'm novice in Fourier series and other and my question is probably naive (sorry for this) => I'm wondering if scilab can directly calculate the Fourier coefficient a0, a_k and b_k ? I'm currently doing it "by hand" is order to

Re: [Scilab-users] System Identification for First order delay and dead time

2016-09-24 Thread Samuel Gougeon
Le 24/09/2016 15:59, Fukashiimo a écrit : Hello, I am looking for a Scilab software which is similar to Matlab System ID tool box. I would like to obtain values of parameters, Tau, K and Td for following first order delay + Dead time model from time series data. ymodel =

Re: [Scilab-users] System Identification for First order delay and dead time

2016-09-24 Thread Samuel Gougeon
Hello, Le 24/09/2016 15:59, Fukashiimo a écrit : Hello, I am looking for a Scilab software which is similar to Matlab System ID tool box. I would like to obtain values of parameters, Tau, K and Td for following first order delay + Dead time model from time series data. ymodel =

Re: [Scilab-users] {EXT} Re: Functions lib

2016-09-23 Thread Samuel Gougeon
aring a function loaded with exec(). Its reference is then lost. Samuel Gougeon ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] Functions lib

2016-09-22 Thread Samuel Gougeon
= lib(path_to_the_lib_directory); Then for each new Scilab session, the functions of your library with be available from anywhere in the session. HTH Samuel Gougeon ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo

Re: [Scilab-users] Scilab - Arduino

2016-09-05 Thread Samuel Gougeon
Hello, Le 05/09/2016 21:22, Claus Futtrup a écrit : Hi Paul It's not necessary to download and install offline. When you look at the website for the module, it says: Category Instruments Control This means, open ATOMS, go to

Re: [Scilab-users] titlepage() <= LateX support and verbatim

2016-08-30 Thread Samuel Gougeon
Le 30/08/2016 14:11, Samuel Gougeon a écrit : .../... This can be proposed as is to upgrade the present titlepage(), even if it would be better to implement ASAP an "as_is" value for xstring.alignment. Another advantage of this version is that it takes into account void or blank

Re: [Scilab-users] titlepage() <= LateX support and verbatim

2016-08-30 Thread Samuel Gougeon
// comes back to the default titlepage() *Results*: This can be proposed as is to upgrade the present titlepage(), even if it would be better to implement ASAP an "as_is" value for xstring.alignment. Cheers Samuel // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab // C

Re: [Scilab-users] How to print int64 or uint64 integers at full accuracy?

2016-08-29 Thread Samuel Gougeon
Le 29/08/2016 09:46, Jan Åge Langeland a écrit : On 29.08.2016 02:09, Tim Wescott wrote: A kludge would be to make it into two integers. Each case may not be so complex to work around, but in total it seems like Scilab 6 is not yet well prepared for int64 and uint64. For instance %x and

Re: [Scilab-users] How to print int64 or uint64 integers at full accuracy?

2016-08-28 Thread Samuel Gougeon
000; if (A_1 == 0) mprintf("A = %d\n", A); else mprintf("A = %d%09d\n", A_1, A_0); end // if Woo hoo! Eight lines and an if statement where you wanted something embedded in mprintf. What could be better? On Mon, 2016-08-29 at 00:05 +0200, Samuel Gougeon wrote: Hello a

[Scilab-users] How to print int64 or uint64 integers at full accuracy?

2016-08-28 Thread Samuel Gougeon
Hello all, I am wondering how it is possible to print (in a file, in a string) new 64 bit integers, at full accuracy. Their relative accuracy is better than for decimal numbers (1/2^63 instead of %eps=1/2^52). In Scilab 5, digits lower than 1/%eps -- that are somewhat randomly set -- can be

Re: [Scilab-users] Using the Function fsolve

2016-08-28 Thread Samuel Gougeon
Le 28/08/2016 22:48, Robert Sherry a écrit : Samuel, Thanks for the response. While the example, I showed is linear, the equations I want to solve are not. I am thinking I need a third function which returns a vector. Am I on the right track? . Then it would have been great to post a

Re: [Scilab-users] Using the Function fsolve

2016-08-28 Thread Samuel Gougeon
Le 28/08/2016 22:03, Robert Sherry a écrit : I defined the following two functions: function [z]=f(x,y) z = x + y - 8 endfunction function [z]=g(x,y) z = 2*x + y - 8 endfunction I then wanted to find the roots of the two functions (equations). That is, I want a pair of numbers (a,b) such

Re: [Scilab-users] Number to string with padding of leading blanks by a set of characters

2016-08-28 Thread Samuel Gougeon
Le 28/08/2016 16:17, Jens Simon Strom a écrit : Hello, I try to transform the number colum N containing integer elements from 1 to 999, e. g. N=[1;11;111] into T=["1";"11";"111"]. I tried with commands like justify, repmat, string, size, length - but without success. Do I miss one or

Re: [Scilab-users] Regex problem

2016-08-27 Thread Samuel Gougeon
Hello, Here is another (fast) implementation. You get directly all the binary blocs of a file in an output list. Cheers Samuel function [res, bytes]=getBinaryBlocs(data, startstr, endstr) fid = mopen(data, 'rb') data = mgeti(1e6, 'uc', fid) mclose(fid) bytes = data s =

[Scilab-users] ATOMS web : display issue for statistics categories

2016-08-23 Thread Samuel Gougeon
in the "You are here: home |." path. It's OK for all other categories, but displaying this one looks bugged. Do you get the same? Regards Samuel Gougeon ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] plot2d problem

2016-08-21 Thread Samuel Gougeon
Le 21/08/2016 08:27, Gerhard Kreuzer a écrit : Hi, here my two attepts one working, one failed, but why? plot2d(x,[y z]); . try plot2d(x,[y' z']) instead First line fails. X, y, z were vectores 1 x 1500, so as the commented lines were working I guess that there is nothing wrong with x, y,

Re: [Scilab-users] Regex problem

2016-08-19 Thread Samuel Gougeon
Le 19/08/2016 18:04, Samuel Gougeon a écrit : Le 19/08/2016 17:20, Samuel Gougeon a écrit : Le 19/08/2016 13:26, Gerhard Kreuzer a écrit : .../... Any idea how I can parse my file and get the binary data blocks into variables, or at least get pointers to the starting points, so I am able

Re: [Scilab-users] Regex problem

2016-08-19 Thread Samuel Gougeon
Le 19/08/2016 17:20, Samuel Gougeon a écrit : Le 19/08/2016 13:26, Gerhard Kreuzer a écrit : .../... Any idea how I can parse my file and get the binary data blocks into variables, or at least get pointers to the starting points, so I am able to read the binary data with some file read

Re: [Scilab-users] Regex problem

2016-08-19 Thread Samuel Gougeon
Le 19/08/2016 17:20, Samuel Gougeon a écrit : Le 19/08/2016 13:26, Gerhard Kreuzer a écrit : .../ Any idea how I can parse my file and get the binary data blocks into variables, or at least get pointers to the starting points, so I am able to read the binary data with some file read

Re: [Scilab-users] Regex problem

2016-08-19 Thread Samuel Gougeon
s, "/#data#(.*?)#EOC#)*/ms*"); May be the hardest thing will be to get your binary content as a string. I don't think that Scilab's regexp() will accept anything else than a string. May be there are some Scilab regexp features in reading binary files. To be investigated. HTH Samuel Gougeon __

Re: [Scilab-users] ?==?utf-8?q? help for RS232 programming

2016-08-16 Thread Samuel Gougeon
Hello Philipp, Thanks for the device pointer: very helpful to help you. Le 16/08/2016 16:27, Philipp Mühlmann a écrit : OK, it seems I need stopbit = 2; // at leas a working C-code has this setting so: h = openserial(1," 9600,n,8,2"); . Beware about the leading space: ," 9600,n,8,2" or

Re: [Scilab-users] 2016.07.02 - Double click on zcos ou sce files open Scilab GUI but not Xcos or Scinotes

2016-07-02 Thread Samuel Gougeon
Hello Pierre, Le 02/07/2016 18:50, Perrichon a écrit : Dear, When I click a zcos file or sce file, . Where from? The OS File browser, or the Scilab File browser? the Scilab GUI opens, but not Xcos for zcos ou Scinotes for sce files. . From the Windows File browser, Scilab never did

Re: [Scilab-users] color question

2016-06-29 Thread Samuel Gougeon
Le 29/06/2016 09:40, Offe rPade a écrit : I am using “getcolor”. But I do not know how to get rgb from the color id. Is it possible? with f = gcf(); rgb = f.color_map(cid,:) // or with Scilab 6, directly rgb = gcf().color_map(cid,:) You may use as well uigetcolor():

Re: [Scilab-users] color

2016-06-25 Thread Samuel Gougeon
Le 25/06/2016 08:13, Offe rPade a écrit : Does anyone knows if there is a parallel command to matlab’s uisetcolor, in scilab? c = getcolor() as stated in the color management subsection: https://help.scilab.org/docs/6.0.0/en_US/section_24561ed5de75e2e87211eb9170bb8903.html SG

Re: [Scilab-users] 2016.06.22 - Dysfunction Graphics Menu with Scilab 5.5.2 x64 W10

2016-06-25 Thread Samuel Gougeon
Hello Pierre, Le 25/06/2016 12:28, Perrichon a écrit : Hello Samuel, Thanks you very much for your code. Effectively, it eradicates the problem. So bug #14600 can be marked as « Resolved » . The report's author is the first and most appropriate person being able to do it. See the Status

Re: [Scilab-users] 2016.06.22 - Dysfunction Graphics Menu with Scilab 5.5.2 x64 W10

2016-06-23 Thread Samuel Gougeon
Hello, Have you tried without autoloading nor loading plotlib? atomsAutoloadDel plotlib exit(0) // Restart Scilab plot3d() The Graphic editor ged() is based on TCL. So, if a TCL error is triggered by -- say -- an external module, then is makes ged() unworking. See also

Re: [Scilab-users] scinotes question

2016-06-19 Thread Samuel Gougeon
Le 19/06/2016 09:29, Offe rPade a écrit : When I open scinotes, there is a line in the 80^th column. I had this problem in matlab, but there it can be changed using preferences. I did not find this option in scilab. Is it possible at all? It is not. Keeping lines length below 80 characters

Re: [Scilab-users] no "%" in xml:id of help pages <= Re: unit tests and help generation for overloaded unary/binary operators

2016-06-18 Thread Samuel Gougeon
Le 18/06/2016 16:55, Samuel Gougeon a écrit : .../... I don't know why exactly the "%" is avoided or even excluded in any xml:id (so just in the entry/attribute). The contents of XML files may include some "%" without any problem, but not the xml:id. It could be due

Re: [Scilab-users] "scilex.exe" renamed "scilab.exe" for Scilab 6? <== Re: a beginner question

2016-06-18 Thread Samuel Gougeon
Le 18/06/2016 16:36, Samuel Gougeon a écrit : .../... BTW, for Windows users (80 % of scilabers), the right windows binary running Scilab in CLI mode is scilex: scilex -e "cd(""C:\users\myprofile\Desktop"")" Could it be renamed "scilab" (and "wsc

[Scilab-users] no "%" in xml:id of help pages <= Re: unit tests and help generation for overloaded unary/binary operators

2016-06-18 Thread Samuel Gougeon
Le 18/06/2016 11:53, philippe a écrit : Le 16/06/2016 19:46, Samuel Gougeon a écrit : Hello Philippe, AFAIR, XML filenames must not have the "%" character. Moreover, xml ids must exclude it as well. Ok, so I've added to my build_help.sce file

[Scilab-users] "scilex.exe" renamed "scilab.exe" for Scilab 6? <== Re: a beginner question

2016-06-18 Thread Samuel Gougeon
Le 18/06/2016 16:32, Samuel Gougeon a écrit : Le 18/06/2016 14:04, philippe a écrit : .../... - if you start scilab from the command-line use the -e option and 'cd' , for example scilab -e 'cd SCI' this is equivalent to start scilab and then use "cd SCI" in the console.

[Scilab-users] scilex -e instructions with quotes and filesep <== Re: a beginner question

2016-06-18 Thread Samuel Gougeon
Le 18/06/2016 14:04, philippe a écrit : .../... - if you start scilab from the command-line use the -e option and 'cd' , for example scilab -e 'cd SCI' this is equivalent to start scilab and then use "cd SCI" in the console. be careful to quotes to handle correctly strings representing

Re: [Scilab-users] unit tests and help generation for overloaded unary/binary operators

2016-06-16 Thread Samuel Gougeon
Hello Philippe, AFAIR, XML filenames must not have the "%" character. Moreover, xml ids must exclude it as well. So, if the xml id of the page is currently "%bigint_o_bigint", you should rather choose something like "bigint_equal_bigint" instead. help generation and unit tests are completely

Re: [Scilab-users] create random values between [-1,1]

2016-06-10 Thread Samuel Gougeon
Le 10/06/2016 15:21, Carrico, Paul a écrit : Hi In order to simulate dimensional tolerances in +/-, I’m using the following workaround : n = 100; a = rand(n,1) – rand(n,1); Of course I need to increase the N value to the domain … is there a more “clever” way ? grand(n,1,"unf",-1,1)

Re: [Scilab-users] matrix of combinations

2016-06-09 Thread Samuel Gougeon
Hello Paul, Le 09/06/2016 17:28, Carrico, Paul a écrit : Dear all (not sure to really master the topic but …) In my current study, I’ve 16 variables that I would like to perturbate 10 times ; of course each variable is different from the others. A1 = 10 + 2*rand(10,1,”uniform”) A2 = 5 +

Re: [Scilab-users] Help us define what Scilab can do in control system

2016-04-18 Thread Samuel Gougeon
Hello Yann, Why not starting from Serge Steer's proposal and discussing it: http://bugzilla.scilab.org/14239 Actual proposal: http://bugzilla.scilab.org/attachment.cgi?id=4184 In a general case, the only thing i would say about it (as about any other one), is that no subsection should have

Re: [Scilab-users] Executing scripts with functions from GUI

2016-04-18 Thread Samuel Gougeon
Le 18/04/2016 12:14, JLan a écrit : I wonder if someone can give me a hint here. I am trying to make a menu GUI that can start different scripts. This does not work properly when the scripts contain functions. A simple example. I have a script called aaa.sce : //---

Re: [Scilab-users] uman 2.0 is released <= Re: uman : help in the console, with language switch, automatic redirections, related online pages.

2016-04-14 Thread Samuel Gougeon
Hi Rafael, Le 14/04/2016 23:31, Rafael Guerra a écrit : Hi Samuel, Thanks for sharing the new uman version but could please advise about its installation on Scilab 5.5.2. Uman’s“readme.txt” recommends using ATOMS but then, only the older 1.3 uman version seems to be available and to get

[Scilab-users] uman 2.0 is released <= Re: uman : help in the console, with language switch, automatic redirections, related online pages.

2016-04-14 Thread Samuel Gougeon
Hello, I am glad to announce the release of /uman 2.0/ on ATOMS, for Scilab 5 as well as for Scilab 6.0. uman 2.0 is available through the ATOMS manager. https://atoms.scilab.org/toolboxes/uman After installing uman 2.0, users formerly using a previous uman version must do the following

Re: [Scilab-users] [a, ,c] = ... : skipping a recipient

2016-04-11 Thread Samuel Gougeon
Le 11/04/2016 15:10, Jan-Åge Langeland a écrit : On 11.04.2016 07:27, Samuel Gougeon wrote: Hello, With Scilab 6, [a, ,c] = (%pi, %z, "Text") sets c = %z instead of c = "Text". Is it expected, or is it a bug? Is there a way to skip a recipient with respect to its sou

Re: [Scilab-users] Get the module name a built-in function belongs to

2016-04-10 Thread Samuel Gougeon
Le 06/04/2016 17:08, Samuel Gougeon a écrit : Hello, Is there a way to get the module name a built-in function belongs to? A somewhat equivalence of whereis(), but for built-in? With Scilab 5, readgateway() was available and with getmodules() it was somewhat possible to comb modules

[Scilab-users] [a, ,c] = ... : skipping a recipient

2016-04-10 Thread Samuel Gougeon
Hello, With Scilab 6, [a, ,c] = (%pi, %z, "Text") sets c = %z instead of c = "Text". Is it expected, or is it a bug? Is there a way to skip a recipient with respect to its source? Samuel ___ users mailing list users@lists.scilab.org

Re: [Scilab-users] porting an atom module from 5.5.x?==?utf-8?q? -> 6.0

2016-04-09 Thread Samuel Gougeon
Hi Antoine, Le 09/04/2016 16:34, Antoine Monmayrant a écrit : Hi everyone, I just tried to install in 6.0 an atom module developed by one of my colleagues for 5.5.X, without success. Which problem have you met? I tough naively that just bumping the version requirement from 5.X wih X>=2 to

Re: [Scilab-users] xsetech, plot and background

2016-04-06 Thread Samuel Gougeon
Le 22/03/2016 15:50, anna78 a écrit : Hi all, I'm making the attached figure using the following code. Can you help me to take out the bad white background appearing in the last (other time in both) the subplots? thanks! Anna clf(1); //f=gcf(); // macro shortcut <=> f=get("current_figure")

Re: [Scilab-users] xsetech, plot and background

2016-04-06 Thread Samuel Gougeon
Hello, Le 22/03/2016 15:50, anna78 a écrit : Hi all, I'm making the attached figure using the following code. Can you help me to take out the bad white background appearing in the last (other time in both) the subplots? thanks! Anna clf(1); //f=gcf(); // macro shortcut <=>

[Scilab-users] Get the module name a built-in function belongs to

2016-04-06 Thread Samuel Gougeon
Hello, Is there a way to get the module name a built-in function belongs to? A somewhat equivalence of whereis(), but for built-in? With Scilab 5, readgateway() was available and with getmodules() it was somewhat possible to comb modules and finally find the one having the built-in. But

Re: [Scilab-users] Unwanted announcments?

2016-04-05 Thread Samuel Gougeon
Le 05/04/2016 23:43, scilab.20.browse...@xoxy.net a écrit : .../... Sorry Samuel, I guess I didn't word my question clearly. This is not when the packages are autoloaded (which I already had turned off); but when they are explicitly loaded by the script I'm runnng from the command line, using

Re: [Scilab-users] Unwanted announcments?

2016-04-05 Thread Samuel Gougeon
Le 05/04/2016 22:48, scilab.20.browse...@xoxy.net a écrit : One last question before I leave y'all in peace: Is there a way to stop atomsLoad('CWA'); Announcing stuff on the command line console: C:\Motor>loessGraph TN HB1M_Core25_No_Field_No_Epoxy_800Am.initial.rdat Start

Re: [Scilab-users] Converting the result of strchr() to a boolean (scilab: to exclusive) test?

2016-04-02 Thread Samuel Gougeon
Le 02/04/2016 16:05, scilab.20.browse...@xoxy.net a écrit : .../... What I think would be a better selection criteria is to consider the points in successive pairs and set the cut-off whenever either coordinate ceases to be strictly increasing. . Yes, i would do this as well, in that way: i

Re: [Scilab-users] Running an .sce from the command line. message 9 of 20)

2016-04-01 Thread Samuel Gougeon
Hello, Le 01/04/2016 01:38, scilab.20.browse...@xoxy.net a écrit : Samuel, Thanks. I had to do it in two steps: f = gcf(); f.closerequestfcn="exit(0)"; . Yes, this works with Scilab 5 and Scilab 6. otherwise I get: gcf().closerequestfcn="exit(0)"; !--error 2

Re: [Scilab-users] Running an .sce from the command line.

2016-03-31 Thread Samuel Gougeon
Hello, Le 31/03/2016 20:35, scilab.20.browse...@xoxy.net a écrit : Hi, I can run my .sce file which produces a graph from a file of data from the (windows) command line using: scilex -f myscript.sce filename.rdat and that works except: Once the plot() executes and the graphic window

Re: [Scilab-users] getf()?

2016-03-25 Thread Samuel Gougeon
Hi, What are you expecting from "getf()"? What is it supposed to do? ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] leastsq question : what is 'gopt' useful for?

2016-03-22 Thread Samuel Gougeon
Hi, Le 22/03/2016 10:55, Stéphane Mottelet a écrit : Hello, Le 22/03/2016 10:41, antoine.monmayr...@laas.fr a écrit : Hi everyone, I have a very general and naive question concerning leastsq: what am I to do with "gopt", the "gradient of f at xopt"? Is there a way to link it to the

Re: [Scilab-users] Plot: Back Ground Color

2016-03-22 Thread Samuel Gougeon
Le 22/03/2016 10:52, noguchi a écrit : To HTH https://www.techopedia.com/definition/31483/hope-this-helps-hth ;) Thanks. I am using Scilab 5.5.2. Whe I insert following command after the plot command, back ground color except lower figure becomes black. If I change tjhe value from 1 to

Re: [Scilab-users] Plot: Back Ground Color

2016-03-22 Thread Samuel Gougeon
Le 22/03/2016 08:16, noguchi a écrit : To HTH Thanks for your advise. I read the help but I tottally confused. I added following command after plot command, but it doesn't work. gcf().background = 1; With Scilab 6, it does, due to the new feature called "Recursive extraction". With scilab <

Re: [Scilab-users] the name of a script

2016-03-19 Thread Samuel Gougeon
Hello, Le 16/03/2016 07:35, fujimoto2005 a écrit : Hi, all Is there any ways to get the name of script when I am executing it ? I want to write a code to get the name of the script containing that code. For example , suppose I execute a script named with 'abc.sce' and I want to have a line

Re: [Scilab-users] Do I have the C compiler?

2016-03-12 Thread Samuel Gougeon
Le 12/03/2016 21:08, Vittorio Comino a écrit : .../... Can anybody please help me to get a C compiler working in Scilab? . You may add a comment here:Add a way to declare explicitly the path to a C compiler SG

Re: [Scilab-users] ?= creating ROI from mouse click

2016-03-11 Thread Samuel Gougeon
Le 12/03/2016 00:42, Samuel Gougeon a écrit : .../... This ends the selection part. After that, identifying points of your grayplot area being in the curve may be done with point_in_polygon: https://fileexchange.scilab.org/toolboxes/121000 However, this script is not vectorized. So, if your

Re: [Scilab-users] ?= creating ROI from mouse click

2016-03-11 Thread Samuel Gougeon
Le 12/03/2016 00:42, Samuel Gougeon a écrit : * run useditor(gcf().figure_id) . Sorry, please read: useeditor(gcf().figure_id) It is not documented. So right spelling matters. ___ users mailing list users@lists.scilab.org http://lists.scilab.org

Re: [Scilab-users] ?= creating ROI from mouse click

2016-03-11 Thread Samuel Gougeon
Hello, For selecting a ROI of any shape, after displaying the grayplot: * plot(x,y) at least a segment around the middle of the grayplot. Choose an appropriate line color. * run useditor(gcf().figure_id) * interact with the initial segment : o click on a link to insert a point

<    5   6   7   8   9   10   11   12   13   >