Re: [Scilab-users] scicv toolbox

2022-03-08 Thread Chin Luh Tan
Hi Scilabers, It has been quite awhile since my last active development on IPCV, and also since my "final statement" on it. :) Working on mainly Scilab for more than 10 years, from consortium to ESI, I witnessed a lot of transition and also met a lot of great ppl in Scilab. However, things

Re: [Scilab-users] turn scilab theme into dark

2021-11-18 Thread Chin Luh Tan
It has been a while since I was away from the Scilab mailing list, in fact, I am of the opinion that the Scilab Developer Community seems to be reducing over time... I was a half-cooked developer (maybe not even half-cooked) who had been playing around with Scilab for quite some time. I have to

[Scilab-users] Atoms Modules

2020-12-13 Thread Chin Luh Tan
Sometimes it is hard to decide whether to continue maintaining an atoms module or not So I did "snapshots" of downloads on 9/11/2020 21:44 and 14/12/2020 12:20 respectively to see which modules are in the actual top downloads. Still, this is not a fair result, such as IPCV having some

Re: [Scilab-users] ipcv vs scicv

2020-12-04 Thread Chin Luh Tan
, Samuel Gougeon wrote: > Hello Chin Luh, > > Le 04/12/2020 à 01:57, Chin Luh Tan a écrit : > > Hi all, > > Stephane, Thanks for the quick examples to illustrate this. > > Claus, as shown by Stephane, this could be now by ourselves now from our > own modules. Stephan

Re: [Scilab-users] ipcv vs scicv

2020-12-03 Thread Chin Luh Tan
Hi all, Stephane, Thanks for the quick examples to illustrate this. Claus, as shown by Stephane, this could be now by ourselves now from our own modules. Stephane has illustrated a quick demo on this, while the one I was testing with is the copy of toolbox skeleton inside the Scilab contrib,

Re: [Scilab-users] IPCV imread

2020-11-12 Thread Chin Luh Tan
Hi,  These was a part in the code to check if the image read into Scilab only consist of 2 values, min and max, and it will be automatically converted to binary image.  If you're using Windows, consider to download version 4.1.2.3 from  https://github.com/tanchinluh/IPCV/tags and use the

Re: [Scilab-users] Hybrid simulation in Scilab/Xcos

2020-09-14 Thread Chin Luh Tan
Hi,  you might want to use the discrete block "DLR" instead.  first you could convert the PID in s-domain into z domain using the dscr function in the Scilab, and then use the value in DLR block for hybrid simulation. make sure the clock u use for the block is same as the sampling rate in

Re: [Scilab-users] Image Processing and Computer Vision module IPCV

2020-08-09 Thread Chin Luh Tan
dim. 9 août 2020 à 17:15, Chin Luh Tan <mailto:chinluh@bytecode-asia.com> a écrit : Hi,  For Ubuntu 20.04, you would need to recompile the OPENCV Lib. I would release the pre-compile lib for Ubuntu 20.04 in a month time if you could wait. Thanks. Regards, Ch

Re: [Scilab-users] Image Processing and Computer Vision module IPCV

2020-08-09 Thread Chin Luh Tan
Hi,  For Ubuntu 20.04, you would need to recompile the OPENCV Lib. I would release the pre-compile lib for Ubuntu 20.04 in a month time if you could wait. Thanks. Regards, Chin Luh On Sun, 09 Aug 2020 19:21:25 +0800 Rene Djack wrote Hello, Have done

Re: [Scilab-users] Fwd: Re: scilab and tif-files

2020-07-14 Thread Chin Luh Tan
Hi Antoine,  Great to hear that your function works well so quite some case, if you don't mind, could I put into coming IPCV release? Thanks. rgds, CL On Tue, 14 Jul 2020 17:52:13 +0800 P M wrote Hi Antoine, This does help indeed... with    tiff_get_image_prop()   

Re: [Scilab-users] saving an image as b/w image

2020-07-12 Thread Chin Luh Tan
Hi, I have not dive into different image formats but base on previous experience, i believe Stephane was right about this. So far when dealing with different bits per pixel, tif could be the way to go. The tif created by imwrite would be able to read by imread without any issue.  ps: In

Re: [Scilab-users] scilab and tif-files

2020-07-12 Thread Chin Luh Tan
Hi,  I remembered I was having some issue on reading the tiff file which was trying to read in different bits per pixels such as 12 bits (for a type of CCD camera) , that's why created the tifread for reference as I believe it there would be much more different standard of images/data which

Re: [Scilab-users] Calling Function from Structure Field

2020-07-01 Thread Chin Luh Tan
Thanks Stephane and Samuel for the prompt reply, so I could move forward with the functional programming method instead of keep trying to emulate the OOP way.  Best Regards, Chin Luh___ users mailing list users@lists.scilab.org

[Scilab-users] Calling Function from Structure Field

2020-06-30 Thread Chin Luh Tan
Hi,   I am wondering if this is possible:  I've a structure with data and function pointer, for example: mystruct.data = 5; mystruct.func =%myfun calling mystruct.func() will call myfun with the input of mystruct.data.  To put it in example, this is what I tried: //  define an

Re: [Scilab-users] data augmentation with scilab for neural networks

2020-06-24 Thread Chin Luh Tan
Hi Philipp, >From your description the "labelled" image sound like the mask image which >indicate the ROI of the original image for training the NN. Is this is the case, I think the labelled image must be going through the same transform with the original image as well. However, you

Re: [Scilab-users] imrotate

2020-06-24 Thread Chin Luh Tan
Hi, the 3rd argument was actually for an older version of imrotate which the function is in pure Scilab script, however, it has not been used when we move to opencv implementation.  please make a report here : https://github.com/tanchinluh/IPCV so that we could put it into our future

Re: [Scilab-users] C compiler with Scilab 6.1.0.

2020-06-12 Thread Chin Luh Tan
i notice there might be some issue on the compiler detection function in Scilab, a quick solution is to use VS 2017 community version. CL On Tue, 09 Jun 2020 11:26:57 +0800 imazu wrote Hello. I want to run a C compiler with Scilab 6.1.0. The operating environment is

Re: [Scilab-users] Auto adjust level of a color image

2020-06-10 Thread Chin Luh Tan
Hi Mat,  First of all, thanks Philipp for the example.  Infact you might be able to get the similar result with Image Arithmetic function - imadd, which will perform the proper int clipping. I attached the file with added lines to compare the results which should be identical. On the

Re: [Scilab-users] Corona modelling

2020-05-20 Thread Chin Luh Tan
I can confirm this, this also happened in Scilab 6.1 Windows 10, however, it runs smooth in Scilab 6.0.2 same machine.  rgds, CL On Wed, 20 May 2020 21:50:04 +0800 Samuel Gougeon wrote Hello, Thank you Stéphane for this nice example of applied GUI. The screenshot of

Re: [Scilab-users] Scilab Atoms Issue

2020-05-20 Thread Chin Luh Tan
g as a bug.  Will keep you posted on this. Regards, Chin Luh On Wed, 20 May 2020 23:11:59 +0800 Samuel Gougeon <mailto:sgoug...@free.fr> wrote Hello Chin Luh, Le 20/03/2020 à 15:36, Chin Luh Tan a écrit : Hi,  There is a little issue always bugg

Re: [Scilab-users] Issue on Scilab Compilation on Raspbery Pi

2020-05-06 Thread Chin Luh Tan
or Pi 18.04 , same issue.  4. Applied jogl 2.3.2 patch. Thanks. Rgds, CL On Thu, 07 May 2020 00:45:23 +0800 Chin Luh Tan wrote Hi,  I tried to compile scilab 6.1 under raspberry pi 4, and the compilation completed with scilab lauched with

[Scilab-users] Issue on Scilab Compilation on Raspbery Pi

2020-05-06 Thread Chin Luh Tan
Hi,  I tried to compile scilab 6.1 under raspberry pi 4, and the compilation completed with scilab lauched with following messages:___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] Fwd: Re: Corona modelling

2020-05-01 Thread Chin Luh Tan
not satisfactory results. My two cents... S. Le 30/04/2020 à 18:44, Chin Luh Tan a écrit : -- Stéphane Mottelet Ingénieur de recherche EA 4297 Transformations Intégrées de la Matière Renouvelable Département Génie des Procédés Industriels Sorbonne Universités - Université de

[Scilab-users] Fwd: Re: Corona modelling

2020-04-30 Thread Chin Luh Tan
Just notice that this email was stuck due to the image attached was too large, and notice the new post by Claus with the SEIR model from Matlab, perhaps Scilabers could make the model more realistic together. CL Forwarded message From: Chin Luh Tan <mailto:chin

Re: [Scilab-users] [Scilab-Dev] Scilab 6.1 for OSX is out !

2020-04-21 Thread Chin Luh Tan
Thanks Stephane! I tested to launch on Catalina and HS, no problem in launching, some basics functions testing, plots, and xcos.  Regards, Chin Luh On Wed, 22 Apr 2020 01:21:30 +0800 Stéphane Mottelet wrote Hi all, Finally I managed to package a branch-6.1 version.

Re: [Scilab-users] Compiling Scilab for macOS

2020-04-17 Thread Chin Luh Tan
7 Apr 2020 21:38:54 +0800 [CLT] == Chin Luh Tan <mailto:chinluh@bytecode-asia.com> has written: [...] CLT> Do count me in, 2.5 of us compiling this now, as I am not so CLT> familiar with CLT> MacOS actually so just count me as 0.5. CLT> I did the compila

Re: [Scilab-users] Compiling Scilab for macOS

2020-04-17 Thread Chin Luh Tan
Hi Samuel,  Thanks for your reply. Yes, there are 2 version of Java, another is 13, but in fact, i already use the export JAVA_HOME before "make": Kenneths-MacBook-Air-2:scilab kennethkoh$ java -version openjdk version "1.8.0_242" OpenJDK Runtime Environment (AdoptOpenJDK)(build

Re: [Scilab-users] Compiling Scilab for macOS

2020-04-17 Thread Chin Luh Tan
Hi Stéphane, Arvid,  Do count me in, 2.5 of us compiling this now, as I am not so familiar with MacOS actually so just count me as 0.5.  I did the compilation using the third parties installed with brew, including the adoptopenjdk 8 with brew cask install.  I pass the configure without

[Scilab-users] Scilab Atoms Issue

2020-03-20 Thread Chin Luh Tan
Hi,  There is a little issue always bugging me, whenever an atoms module has been installed, it will be kept in "archives" folder, either in SCI or SCIHOME respective folder.  Under some circumstances if the developer update some patch in the portal and and remain the same version,

Re: [Scilab-users] ?= Which module to use for hassle-free image processing with scilab

2020-03-09 Thread Chin Luh Tan
tHi,  Just a little bit correction, the module currently I am working on is IPCV, not SIVP. I overlooked the scicv in comparison previously as I was "intoxicated" in telling history of the modules related to IPCV. In fact I was trying to work on scicv as well, as it is almost a

Re: [Scilab-users] ?= =?utf-8?q? Re : problem with matrix of polynomials

2020-03-09 Thread Chin Luh Tan
taken into account. Am I missing something? Antoine Le Lundi, Mars 09, 2020 15:11 CET, Chin Luh Tan <mailto:chinluh@bytecode-asia.com> a écrit:     initially I thought could it be possible the number is too small (or too large) to be handled  by double?    after trying

Re: [Scilab-users] Re : problem with matrix of polynomials

2020-03-09 Thread Chin Luh Tan
+0800 Chin Luh Tan wrote initially I thought could it be possible the number is too small (or too large) to be handled  by double?  after trying scaling down the problem, I notice that in Scilab 6.0.2 onwards: --> 2e-20*%i ans  =    0.  in Scilab 5.5.2 -->2e-20*%i

Re: [Scilab-users] Re : problem with matrix of polynomials

2020-03-09 Thread Chin Luh Tan
initially I thought could it be possible the number is too small (or too large) to be handled  by double?  after trying scaling down the problem, I notice that in Scilab 6.0.2 onwards: --> 2e-20*%i ans  =    0.  in Scilab 5.5.2 -->2e-20*%i ans  =     2.000D-20i  Could

Re: [Scilab-users] Which module to use for hassle-free image processing with scilab ?

2020-03-08 Thread Chin Luh Tan
Hi Antoine, This is a very valid point and I afraid to say that there will not be any absolute answer for this question. I encounter the very same issue with you 10 years back when I need to replace Matlab with Scilab especially in Image Processing and Neural Network domain. I came

Re: [Scilab-users] Context error in Xcos Scilab 6.1.0

2020-03-03 Thread Chin Luh Tan
hi, sorry to interrupt half way to just give some idea, have you tried to right click on the Scilab and run it as administrator?  I was facing similar issue on write access even I am the admin for win10, local acc, but still I need to run Scilab as admin by  above mentioned method to write

Re: [Scilab-users] Scilab 6.1 - Possible GUI Bug

2020-02-25 Thread Chin Luh Tan
sorry, the workaround does not work, the dockable value can only set during creation.  On Wed, 26 Feb 2020 12:56:37 +0800 Chin Luh Tan wrote Hi,  When trying to update guibuilder for Scilab 6.1, I notice that the figure menu is not able to be remove with "delmenu&

[Scilab-users] Scilab 6.1 - Possible GUI Bug

2020-02-25 Thread Chin Luh Tan
Hi,  When trying to update guibuilder for Scilab 6.1, I notice that the figure menu is not able to be remove with "delmenu" when the "dockable" is set to "off". How to reproduce: Scenario 1: Menu "File" will not be removed --> f1 = figure("dockable", "off") --> delmenu(f1.figure_id,

Re: [Scilab-users] 3D ?=3D=3D?utf-8?q? e?=

2020-02-13 Thread Chin Luh Tan
sure, here it is: http://bugzilla.scilab.org/show_bug.cgi?id=16325 rgds, CL On Thu, 13 Feb 2020 20:15:05 +0800 Antoine Monmayrant wrote Well, that sounds like a bug! Could you report it? Cheers, Antoine Le 12/02/2020 à 17:02, Chin Luh Tan a écrit

Re: [Scilab-users] ?= ?==?utf-8?q? e

2020-02-12 Thread Chin Luh Tan
to add on, it might not just affect csvRead, but also others file IO functions as well: how to reproduce: // Not OK a = ones(1,30); b = strcat(string(a)); mputl(b,'test.txt'); c = mgetl('test.txt'); then a is 250,000 mgetl get the string correctly, but when a is 300,000, it

Re: [Scilab-users] [EXTERNAL] Count specific values in text file

2020-02-12 Thread Chin Luh Tan
Hi, tabul function might help. sample data download from https://thestarman.pcministry.com/math/pi/picalcs.htm unzip the https://thestarman.pcministry.com/math/pi/df/pimultdp.zip following lines do the "counting" job.  have not tried the millions decimal places, good luck. -->

Re: [Scilab-users]   correctly applying A-weighting onto sound (dB-to-dBA)

2020-01-07 Thread Chin Luh Tan
Your current audio is frequency modulated signal, and applying weighting similar to amplitude modulation.  Theoretically  you could try having a same size vector with your current file, and fill it with the weighting value according to your scaling you want,  and just multiply them, y = a.*b

Re: [Scilab-users] ?= SCILAB 6.0.2 Not running on UBUNTU 18.04 LT

2019-12-27 Thread Chin Luh Tan
Hi,  Similar issue was faced by another linux distro a couple of weeks ago, try the below: 1. Try to locate the libjava.so to see whether java is install. if you, u could try to temporary set the JAVA_HOME and try to run scilab again e.g.: $ locate libjava.so or $

Re: [Scilab-users] Scilab API sciprint to print on the same line

2019-12-17 Thread Chin Luh Tan
Hi,  Looks like the last command followed by the clc(1) would be ignore : example 1:  --> for i=1:10 mprintf("%d\n",i) end; 1 2 3 4 5 6 7 8 9 10 --> clc(1) 1 2 3 4 5 6 7 8 9 10  <-- cleared       <--cleared example 2:   --> for i=1:10 mprintf("%d\n",i)

Re: [Scilab-users] Scilab API sciprint to print on the same line

2019-12-12 Thread Chin Luh Tan
I will get back to you on this, thanks again. rgds, CL On Thu, 12 Dec 2019 04:09:25 +0800 Samuel Gougeon <mailto:sgoug...@free.fr> wrote Le 11/12/2019 à 14:31, Chin Luh Tan a écrit : In the C API i don't know, but in Scilab language, http://bugzilla.scilab.org/show_

[Scilab-users] Scilab API sciprint to print on the same line

2019-12-11 Thread Chin Luh Tan
Hi, I am trying to print some progress of a for loop in C api which will print the output in scilab console using the sciprint. Is there anyway to print the output to a same line as normal C printf could be achieved using '\r' ?  e.g.: currently my out out showing: Train Epoch: 10

Re: [Scilab-users] Run Scilab 6.0.2 on OSX Catalina

2019-12-04 Thread Chin Luh Tan
9 à 06:43, Chin Luh Tan a écrit : Hi Stephane,  Just to add-on, this script also works on previous version of MacOS, tested for High Sierra, it make Scilab works with latest version of Java. On top of that, I notice that it also fix the issue of the hdf5 depe

Re: [Scilab-users] Run Scilab 6.0.2 on OSX Catalina

2019-12-01 Thread Chin Luh Tan
the fixes implemented? Thanks for the nice patch! rgds, CL On Fri, 29 Nov 2019 00:54:03 +0800 Chin Luh Tan wrote Hi,  Java SE 13.0.1 Thanks Rgds, CL On Fri, 29 Nov 2019 00:52:15 +0800 mailto:stephane.motte...@utc.fr wrote

Re: [Scilab-users] Run Scilab 6.0.2 on OSX Catalina

2019-11-28 Thread Chin Luh Tan
Hi,  Java SE 13.0.1 Thanks Rgds, CL On Fri, 29 Nov 2019 00:52:15 +0800 stephane.motte...@utc.fr wrote Le 28/11/2019 à 17:15, Chin Luh Tan a écrit : Hi Stephane,  I tested the latest jdk what is the version ? from the web, with your patch, it works! Thanks. rgds

Re: [Scilab-users] Run Scilab 6.0.2 on OSX Catalina

2019-11-28 Thread Chin Luh Tan
Hi Stephane,  I tested the latest jdk from the web, with your patch, it works! Thanks. rgds, CL On Thu, 28 Nov 2019 23:27:09 +0800 Stéphane Mottelet wrote Sorry, there was a typo error (wrong tilda) in the URL, the valid one is

Re: [Scilab-users] How to convert the ~ input placeholder <= Re: convert matlab code to scilab

2019-11-26 Thread Chin Luh Tan
Hi Samuel, "But then, even if such a global default value exists, assigned to and reachable from what, since ~ can't be a variable name? Think we need some x-matlaber to confirm which case. Right, but case #2 looks quite improbable." --> i keep mixing up with built-in functions for this

Re: [Scilab-users] How to convert the ~ input placeholder <= Re: convert matlab code to scilab

2019-11-26 Thread Chin Luh Tan
improbable variable name like "%unused" or "%kwzxq", and that should do it. Please, correct me if someone understands something else. Best regards Samuel Le 26/11/2019 à 03:33, Chin Luh Tan a écrit : ___ use

Re: [Scilab-users] 2019.11.24 - Strange Bug open file Windows

2019-11-25 Thread Chin Luh Tan
oh yes, since you are using Scilab 5.5.2, while checking on the below suggestion, you might want to look into increasing the stacksize?  rgds, CL On Tue, 26 Nov 2019 10:50:41 +0800 Chin Luh Tan wrote Hi,  I am not sure how big the data you're trying to import into Scilab

Re: [Scilab-users] 2019.11.24 - Strange Bug open file Windows

2019-11-25 Thread Chin Luh Tan
Hi,  I am not sure how big the data you're trying to import into Scilab, it sould to me that this "one over 100" case might be something to do with memory management. A few thing you could trouble shoot: 1. Is there any loop, or repeated tasks that import the data into Scilab.  2. Use

Re: [Scilab-users] sparse() to build a block-diagonal matrix?

2019-11-25 Thread Chin Luh Tan
Hi,  from the first glance on the documentation you show: "Beside this function, you can also use sparse() primitive to build a block diagonal sparse matrix." it sound to me that this statement said the sparse could be used to create block diagonal matrix with the similar inputs to

Re: [Scilab-users] How to convert the ~ input placeholder <= Re: convert matlab code to scilab

2019-11-25 Thread Chin Luh Tan
Hi Samuel,  I think your assumption likely correct on the input and the output using ~ https://www.mathworks.com/matlabcentral/answers/288016-tilde-doesn-t-work-for-ignoring-my-inputs " You can use tilde to ignore input arguments when you define the function. You cannot use tilde to

Re: [Scilab-users] Scilab cannot work on macOS 10.15 Catalina: Any progress in sight?

2019-11-12 Thread Chin Luh Tan
Hi, We have move the MacOS discussion to this new thread, please reply to this thread in the future for this discussion. I will answer the modification on the atomsExtract.sci first.  Once you have edit the function, you need to run the sci file above in order to use the updated code.

Re: [Scilab-users] How to create transparent polygon

2019-11-11 Thread Chin Luh Tan
) = 0; obj2(41:80,41:80,2) = 1; obj2(:,:,[1,3]) = 0; Matplot(obj1+obj2) On Tue, 12 Nov 2019 11:39:38 +0800 Chin Luh Tan wrote Hi, If it is not necessary to have real transparent color mixing, but just want to have the transparent effect, you could try to play

Re: [Scilab-users] How to create transparent polygon

2019-11-11 Thread Chin Luh Tan
Hi, If it is not necessary to have real transparent color mixing, but just want to have the transparent effect, you could try to play with the "pixel_drawing_mode".  f = figure("background", 1,"pixel_drawing_mode", "or"); plot2d(0,0,-1,"010"," ",[-2,-2,2,2]); x=sin(2*%pi*(0:4)/5);

[Scilab-users] Good Practices for Sending to Scilab Mailer

2019-11-11 Thread Chin Luh Tan
Hi,  Just some opinions after Samuel bringing out the issue of maintaining nice threads in Scilab mailer, perhaps a few simple guideline for our own reminder will keep the Scilab Mailer clean and useful for others to search. 1. When posting a new topic, never use any other existing email

Re: [Scilab-users] Scilab cannot work on macOS 10.15 Catalina: Any progress in sight?

2019-11-11 Thread Chin Luh Tan
ject again. :) rgds, CL On Tue, 12 Nov 2019 03:39:01 +0800 Samuel Gougeon wrote Le 11/11/2019 à 18:01, Chin Luh Tan a écrit : Hi,  I just aware that Samuel has pointed out about the "hijacking" a thread, in fact, this topic was hijacked from

Re: [Scilab-users] Bug scilab-6 libjava.so

2019-11-11 Thread Chin Luh Tan
Hi,  A few suggestion to try out: 1. Try to locate the libjava.so to see whether java is install. if you, u could try to temporary set the JAVA_HOME and try to run scilab again e.g.: $ locate libjava.so  or $ update-java-alternatives -l and then $ export

Re: [Scilab-users] Scilab cannot work on macOS 10.15 Catalina: Any progress in sight?

2019-11-11 Thread Chin Luh Tan
+0800 Chin Luh Tan <mailto:chinluh@bytecode-asia.com> wrote Hi,  I just aware that Samuel has pointed out about the "hijacking" a thread, in fact, this topic was hijacked from the original topic "[Scilab-users] lincos instruction : example file pendulum_anim4

[Scilab-users] Scilab cannot work on macOS 10.15 Catalina: Any progress in sight?

2019-11-11 Thread Chin Luh Tan
Hi,  I just aware that Samuel has pointed out about the "hijacking" a thread, in fact, this topic was hijacked from the original topic "[Scilab-users] lincos instruction : example file pendulum_anim45.zcos is corrupted - Buggzilla 16221" . Look at this link:

Re: [Scilab-users] How to zoom in correctly

2019-11-09 Thread Chin Luh Tan
Hi, Thanks samuel for pointing out the ALT key.  Another way of zooming in with certain point as the center is to point your mouse cursor to the location you want to show all time, (for e.g ur case, the peak), and only then you scroll the mouse wheel. rgds, CL On Sat, 09

Re: [Scilab-users] How to zoom in correctly

2019-11-09 Thread Chin Luh Tan
have u tried "pan down"? hold left mouse button and move the mouse. rgds, CL On Sat, 09 Nov 2019 20:59:35 +0800 jaipur wrote I'm looking forward to your suggestion. After drawing 3D image, you can zoom in by using mouse wheel. When I draw plot3d and want to zoom in at the

Re: [Scilab-users] Accessing sound device using java api from scilab

2019-11-06 Thread Chin Luh Tan
"help audio_getLine" or other functions). Antoine Le 06/11/2019 à 02:54, Chin Luh Tan a écrit : ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users Hi all,  We are pleased t

Re: [Scilab-users] Accessing sound device using java api from scilab

2019-11-05 Thread Chin Luh Tan
Hi all,  We are pleased to announce the release of Scilab Audio module for non blocking recording.  https://atoms.scilab.org/toolboxes/bytecode_audio/1.0 atomsInstall("bytecode_audio") Hi Samuel,  the source code hosted in github as stated in the atoms page, feel free to have a

Re: [Scilab-users] Scilab cannot work on macOS 10.15 Catalina: Any progress in sight?

2019-11-05 Thread Chin Luh Tan
flexible,  but also lacking of standardization? Just my thought Thanks Rgds, CL On Tue, 05 Nov 2019 17:52:42 +0800 stephane.motte...@utc.fr wrote Le 05/11/2019 à 08:18, Stéphane Mottelet a écrit : Great analysis ! Le 5 nov. 2019 à 07:16, Chin Luh Tan a écrit :  Hi

Re: [Scilab-users] Scilab cannot work on macOS 10.15 Catalina: Any progress in sight?

2019-11-04 Thread Chin Luh Tan
due to a similar problem (locale, encoding, ...) S. Chin Luh Tan <mailto:chinluh@bytecode-asia.com> a écrit : ok, i did:   1. Del both previous scilab and the scilab from your link installed just now to make it clean 2. Totally remove the .Scilab folder under home folder by us

Re: [Scilab-users] Scilab cannot work on macOS 10.15 Catalina: Any progress in sight?

2019-11-04 Thread Chin Luh Tan
that was shipped in lib/thirdparty folder. Best, S. Chin Luh Tan <mailto:chinluh@bytecode-asia.com> a écrit : Hi,    from my end:   1. The warning for the 10.15 gone.  2. First launch from the app still give the regexp error when running atomsList, but after running one tim

Re: [Scilab-users] Scilab cannot work on macOS 10.15 Catalina: Any progress in sight?

2019-11-04 Thread Chin Luh Tan
Hi,  from my end: 1. The warning for the 10.15 gone.  2. First launch from the app still give the regexp error when running atomsList, but after running one time from terminal and get it run successfully, I could run it from the app as after all.  3. atomsInstall for the module with

Re: [Scilab-users] Scilab cannot work on macOS 10.15 Catalina: Any progress in sight?

2019-11-03 Thread Chin Luh Tan
Hi Perrichon, Apologize in advance but I think the this conversation is actually solving quite some issues in MacOS and I felt that it could be helpful to continue in mailing list. However, I've no objection to bring it private as well, please keep me in the loop if it goes private. :)

Re: [Scilab-users] Scilab cannot work on macOS 10.15 Catalina: Any progress in sight?

2019-11-03 Thread Chin Luh Tan
One more thing, the macos compilation guide which is using fink might be a bit outdated, anyone having any idea, should we use homebrew, mac_port, instead? thanks again. rgds, CL On Mon, 04 Nov 2019 00:20:29 +0800 Chin Luh Tan wrote Hi Stéphane, Willi, First of all

Re: [Scilab-users] Scilab cannot work on macOS 10.15 Catalina: Any progress in sight?

2019-11-03 Thread Chin Luh Tan
Hi Stéphane, Willi, First of all, thanks for the fix on the java issues and the Scilab could be launch in Catalina! Secondly, Willi, I was facing the same atoms issue with you when first launching the Scilab from the app, then I switch to the terminal and get it running. After the first

Re: [Scilab-users] How to know which is the system's font?

2019-11-03 Thread Chin Luh Tan
/2019 à 03:17, Chin Luh Tan a écrit : .../... --> my_font = xmlGetValues("//fonts/body/fonts", ["font-face", "font-name", "font-size", "item", "latex", "system"]) my_font  = !plain

Re: [Scilab-users] unix_w(WSCI+"\bin\scilex --help") returns nothing

2019-10-30 Thread Chin Luh Tan
fantastic, thanks for pointing this out! rgds, Chin Luh On Thu, 31 Oct 2019 04:16:04 +0800 Samuel Gougeon wrote Le 30/10/2019 à 02:33, Chin Luh Tan a écrit : Hi Samuel,  I think we could use this instead: unix_w("Scilex --help  2>&1")

Re: [Scilab-users] unix_w(WSCI+"\bin\scilex --help") returns nothing

2019-10-30 Thread Chin Luh Tan
Hi Samuel,  try unix_w('chcp 0>&1') i don't know why, 0 is the stdin, I am not sure why this works. perhaps some one can explain? Thanks. Regards, Chin Luh On Wed, 30 Oct 2019 18:48:22 +0800 Samuel Gougeon wrote Hello Chin Luh, Le 30/10/2019 à 02:33, Chin

Re: [Scilab-users] Accessing sound device using java api from scilab

2019-10-30 Thread Chin Luh Tan
Hi  Samuel, I agreed that porting the portaudio might not be priority as from what i understand,  it is quite hard to make it non blocking recording.  Infact we just made a module base on java for non blocking recording,  and it was planned to released in a week or 2. There are more room

Re: [Scilab-users] How to know which is the system's font?

2019-10-29 Thread Chin Luh Tan
Hi Samuel,  I am not sure whether the information from the preference tab are the one you need, if so, perhaps it could be retrieved by: --> my_font = xmlGetValues("//fonts/body/fonts", ["font-face", "font-name", "font-size", "item", "latex", "system"]) my_font  = !plain  Monospaced 

Re: [Scilab-users] unix_w(WSCI+"\bin\scilex --help") returns nothing

2019-10-29 Thread Chin Luh Tan
Hi Samuel,  I think we could use this instead: unix_w("Scilex --help  2>&1") As you mentioned, the "--help" is Scilab 6 dedicated "hardcoded" function, I am yet to look for where is it located from the source, if anyone find out, please share here :). For some reason, the output

Re: [Scilab-users] TR: {EXT} Curves color when plotting

2019-10-23 Thread Chin Luh Tan
conversation and exchange       Pierre P.     De : users <mailto:users-boun...@lists.scilab.org> De la part de Chin Luh Tan Envoyé : mercredi 23 octobre 2019 02:02 À : Users mailing list for Scilab <mailto:users@lists.scilab.org> Objet : Re: [Scilab-users] {EXT} Curves color w

Re: [Scilab-users] how to faster EVSTR?

2019-10-23 Thread Chin Luh Tan
welcome and great it works for you. CL On Tue, 22 Oct 2019 19:34:17 +0800 anna78 wrote it works perfectly! many thanks! Anna -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html

Re: [Scilab-users] {EXT} Curves color when plotting

2019-10-22 Thread Chin Luh Tan
egards Pierre P.   De : users <mailto:users-boun...@lists.scilab.org> De la part de Chin Luh Tan Envoyé : mardi 22 octobre 2019 04:48 À : Users mailing list for Scilab <mailto:users@lists.scilab.org> Cc : Users mailing list for Scilab <mailto:users@lists.scilab.org> Objet : Re: [Scil

Re: [Scilab-users] how to faster EVSTR?

2019-10-21 Thread Chin Luh Tan
For the sub-question, it is not true that userdata can only have string data. It could be any datatype of Scilab (at least the common one, :)) the reason you could not set the numeric data likely due to you're trying to mix string and number: [spectrum_unit_x,

Re: [Scilab-users] {EXT} Curves color when plotting

2019-10-21 Thread Chin Luh Tan
Hi, from my understanding, easiest way to get the color you wanted is by specifying it during the plot function. --> plot(x,sin(x),'b') --> plot(x,cos(x),'b') will gives u 2 blue lines. By default, scilab figure will following the sequence as stated in "help plot" "A default