[Scilab-users] Request for information - Release of Scilab for version 6.1

2020-02-13 Thread Perrichon
Hello,

 

I actually work with Scilab 5.5.2

 

For the next version 6.1.0, I have to plan my interventions and warn
customers. 

I plan at least 2 months of work for my part at least.
Can I announce July 2020? Or more?
Could we know more?

 

Here is my basic scheme, with 30 algos per machine (10 machines). Big work I
suppose.

 



 

 

 

Sincerely

Pierre P.

 

 

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


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 :




___
users mailing list 
users@lists.scilab.org 
http://lists.scilab.org/mailman/listinfo/users 
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 return empty string.



on the other hand, file in single column of data working
  fine. 



// OK

a = ones(1,30); 

b = string(a);

mputl(b,'test.txt');

c = mgetl('test.txt');



thanks.



rgds,
 CL


 On Wed, 12 Feb 2020 23:40:45 +0800 arctica1963 
mailto:arctica1...@gmail.com wrote 


PI250KDP.TXT  
 PI500KDP.TXT  
 
 clear 
 // path to the txt file 
 path = 'PI250KDP.txt' 
 // read the file as string 
 piAsString = csvRead(path, [],[],'string') 
 // split the string at '' (use no token) 
 [piAsString] = strsplit(piAsString,''); 
 // convert string to double 
 piDigits = strtod(piAsString); 
 // search: how often appears a certain value in a specific
  range within the 
 digits 
 searchRange = 1; 
 searchVal = 1; 
 // adapt the range, to search only places behind the
  decimal sign 
 [locations] = find(piDigits(1:searchRange+1) ==
  searchVal); // small tweak 
 here 
 printf("The number %d appears %d times in the first %d
  digits of 
 Pi\n",searchVal,length(locations),searchRange) ; 
 printf("The number %d appears at following locations: \n",
  searchVal); 
 disp(locations'); 
 
 The 250K file works; the 500k file fails 
 
 
 
 -- 
 Sent from: 
http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
 
 ___ 
 users mailing list 
 mailto:users@lists.scilab.org 
 http://lists.scilab.org/mailman/listinfo/users 








___
users mailing list
mailto:users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


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

2020-02-13 Thread Antoine Monmayrant

Well, that sounds like a bug!

Could you report it?

Cheers,

Antoine

Le 12/02/2020 à 17:02, Chin Luh Tan a écrit :
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 return empty string.


on the other hand, file in single column of data working fine.

// OK
a = ones(1,30);
b = string(a);
mputl(b,'test.txt');
c = mgetl('test.txt');

thanks.

rgds,
CL


 On Wed, 12 Feb 2020 23:40:45 +0800 *arctica1963 
* wrote 


PI250KDP.TXT

PI500KDP.TXT


clear
// path to the txt file
path = 'PI250KDP.txt'
// read the file as string
piAsString = csvRead(path, [],[],'string')
// split the string at '' (use no token)
[piAsString] = strsplit(piAsString,'');
// convert string to double
piDigits = strtod(piAsString);
// search: how often appears a certain value in a specific range
within the
digits
searchRange = 1;
searchVal = 1;
// adapt the range, to search only places behind the decimal sign
[locations] = find(piDigits(1:searchRange+1) == searchVal); //
small tweak
here
printf("The number %d appears %d times in the first %d digits of
Pi\n",searchVal,length(locations),searchRange) ;
printf("The number %d appears at following locations: \n",
searchVal);
disp(locations');

The 250K file works; the 500k file fails



-- 
Sent from:


http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html

___
users mailing list
users@lists.scilab.org 
http://lists.scilab.org/mailman/listinfo/users




___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] 2D Density plot

2020-02-13 Thread Stéphane Mottelet

Hello,

You could estimate your density by using kernels

https://en.wikipedia.org/wiki/Kernel_density_estimation

and then sample the continuous density to assign a value to each point.

S.

Le 13/02/2020 à 12:31, arctica1963 a écrit :

Hello all,

I was wondering if it is possible to generate a 2D density plot from
scattered data to highlight areas with a higher concentration of points
compared to others?



The image shows a subsidence plot with theoretical curves and real data
overlaid. It would be nice to have a way to colour the density of points,
but leave areas with zero density blank.

In GIS software (e.g. ArcMap or QGIS) this would be defined using a
"Heatmap" based on a search radius around each data point.

Any ideas?
Thanks




--
Sent from: 
https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
___
users mailing list
users@lists.scilab.org
https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users


--
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 Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] 2D Density plot

2020-02-13 Thread arctica1963
Hello all,

I was wondering if it is possible to generate a 2D density plot from
scattered data to highlight areas with a higher concentration of points
compared to others?

 

The image shows a subsidence plot with theoretical curves and real data
overlaid. It would be nice to have a way to colour the density of points,
but leave areas with zero density blank. 

In GIS software (e.g. ArcMap or QGIS) this would be defined using a
"Heatmap" based on a search radius around each data point.

Any ideas?
Thanks




--
Sent from: 
http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


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

2020-02-13 Thread Clément DAVID
Hi all,

Nice challenge, I have a simple answer to display an histogram (with 10
classes) of the PI digits stored in a pi.txt file (without any dot
separator):

F="pi.txt";
fd = mopen(F, 'r');
histplot(ascii(strcat(string(0:9))), mget(fileinfo(F)(1), "c", fd));
mclose(fd);

The idea is to read the file using mget() and store each ascii value into a
vector. These data are plot as a histogram of "0" to "9" ascii value.

--
Clément



--
Sent from: 
http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users