Re: [Scilab-users] [Users-fr] plot avec scilab 5.4.1 ss ubuntu 13.04

2013-09-16 Thread Stéphane Mottelet
Le 16 sept. 2013 à 20:50, Antoine Monmayrant antoine.monmayr...@laas.fr a écrit : Le 16/09/13 17:57, Calixte a écrit : On 16/09/2013 15:18, Antoine Monmayrant wrote: On 09/16/2013 02:05 PM, quantpa...@numericable.fr wrote: j'ai executé x=[0:0.1:2*%pi];plot(x,sin(x)); sur 5.4.1 cela

Re: [Scilab-users] how to get list of object that are present in scilab script file

2013-09-03 Thread Stéphane Mottelet
Le 03/09/13 17:27, Serge Steer a écrit : Le 03/09/2013 12:20, hilife5 a écrit : I want to know is there exist any way to get the list of objects like variable names, matrices, plots that are present in scilab script file. for script file, no but it is possible for functions using the macrovar

Re: [Scilab-users] how to get list of object that are present in scilab script file

2013-09-03 Thread Stéphane Mottelet
Le 03/09/13 17:27, Serge Steer a écrit : Le 03/09/2013 12:20, hilife5 a écrit : I want to know is there exist any way to get the list of objects like variable names, matrices, plots that are present in scilab script file. for script file, no but it is possible for functions using the macrovar

Re: [Scilab-users] 4D gridding and interpolation of scattered data points

2013-06-03 Thread Stéphane Mottelet
Hello, try splin3d or linear_interpn. S. Le 03/06/13 16:21, Ariel a écrit : Do you mean that he V values you have are not placed on a 3d grid, but on randomly scattered (x, y, z) points? Exactly.I have randomly scattered (x,y,z) points with corresponding value V and I want to map those

Re: [Scilab-users] Name of function's input arguments

2013-05-29 Thread Stéphane Mottelet
You can do it with the macrovar primitive. S. Le 29/05/13 22:56, Adrien Vogt-Schilb a écrit : you cannot. But you can provide the function directly with the name of your variable, and transform te name of the variable into the variable by evaluating it... function

Re: [Scilab-users] Subplot question

2013-05-16 Thread Stéphane Mottelet
Hello, Le 13/05/13 16:38, Adrien Vogt-Schilb a écrit : Hi It is possible, just use subplot(321) subplot(322) subplot(323) subplot(324) and then subplot(313) then you get margins that are not homogeneous (this is ugly), as you can see it in the attached file scilab_subplot.png (although

Re: [Scilab-users] Subplot question

2013-05-13 Thread Stéphane Mottelet
Le 13/05/13 16:38, Adrien Vogt-Schilb a écrit : Hi It is possible, just use subplot(321) subplot(322) subplot(323) subplot(324) and then subplot(313) On 13/05/2013 16:30, SCHULZ Wolfgang wrote: Hello, I want plot data and divided the plot region with the subplot command in 6 regions

Re: [Scilab-users] Data Extraction Issue in Scilab

2013-03-14 Thread Stéphane Mottelet
Hello, this small script solves your problem : fd=mopen('engine.in','r'); s=mgetl(fd); mclose(fd); data1=[]; for i=1:size(s,1) w=strsplit(s(i),'/\s+/'); for j=1:size(w,1) data1(i,j)=w(j); end end [r,c]=find(data=='bore');

Re: [Scilab-users] Data Extraction Issue in Scilab

2013-03-14 Thread Stéphane Mottelet
Sorry for the small typing errors ("data" instead of "data1") : fd=mopen('engine.in','r'); s=mgetl(fd); mclose(fd); data1=[]; for i=1:size(s,1) w=strsplit(s(i),'/\s+/'); for j=1:size(w,1) data1(i,j)=w(j); end end [r,c]=find(data1=='bore');

Re: [Scilab-users] declaration of uint8 matrix

2013-03-13 Thread Stéphane Mottelet
Le 13/03/13 18:57, sgoug...@free.fr a écrit : Hello Stéphane, De: Stéphane Mottelet stephane.motte...@utc.fr Is it possible to declare a uint8 matrix without first declaring it as a double ? ../.. Yes, you can do: --ui = resize_matrix(uint8(0),5,3) ui = 0 0 0 0 0 0 0 0

Re: [Scilab-users] parallel_run under OSX

2013-03-08 Thread Stéphane Mottelet
Le 06/03/13 18:27, Sylvestre Ledru a écrit : Le 06/03/2013 15:43, Stéphane Mottelet a écrit : Le 06/03/13 15:30, Stéphane Mottelet a écrit : Hello, is parallel_run supposed to work under MacOS X (tested here with Scilab 5.4.0) ? There seems to be ideas about a fix for Darwin : http

[Scilab-users] parallel_run under OSX

2013-03-06 Thread Stéphane Mottelet
Hello, is parallel_run supposed to work under MacOS X (tested here with Scilab 5.4.0) ? --function a=g(arg1) -- a=arg1*arg1 --endfunction -- --res=parallel_run(1:10, g); A previous error has been detected while loading libsciparallel.dylib: !--error 999 Impossible

Re: [Scilab-users] parallel_run under OSX

2013-03-06 Thread Stéphane Mottelet
Le 06/03/13 15:30, Stéphane Mottelet a écrit : Hello, is parallel_run supposed to work under MacOS X (tested here with Scilab 5.4.0) ? --function a=g(arg1) -- a=arg1*arg1 --endfunction -- --res=parallel_run(1:10, g); A previous error has been detected while loading libsciparallel.dylib

Re: [Scilab-users] parallel_run under OSX

2013-03-06 Thread Stéphane Mottelet
Le 06/03/13 15:30, Stéphane Mottelet a écrit : Hello, is parallel_run supposed to work under MacOS X (tested here with Scilab 5.4.0) ? --function a=g(arg1) -- a=arg1*arg1 --endfunction -- --res=parallel_run(1:10, g); A previous error has been detected while loading libsciparallel.dylib

Re: [Scilab-users] Surface smoothing in Scilab, immune to outliers

2013-03-04 Thread Stéphane Mottelet
Hello, Replacing the squared L2 norm by the L1 norm in the linear regression gives a good robustness to outliers (cf. Donoho and al. papers). The problem is then non differentiable but you can implement it by iteratively reweighting the classical L2 method (IRLS method), or by writing an

Re: [Scilab-users] Surface smoothing in Scilab, immune to outliers

2013-03-04 Thread Stéphane Mottelet
, to be the most effective method to remove them. Regards, Rafael -Original Message- From: users-boun...@lists.scilab.org [mailto:users-boun...@lists.scilab.org] On Behalf Of Stéphane Mottelet Sent: Monday, March 04, 2013 10:14 AM To: users@lists.scilab.org Subject: Re: [Scilab-users] Surface

Re: [Scilab-users] Scilab is not a pipe

2013-02-27 Thread Stéphane Mottelet
Le 26/02/13 17:45, Adrien Vogt-Schilb a écrit : hi is there any reasons why I can't type from a console: scilab myfile.sce and expect scilab to execute myfile.sce and redirect output to the standard output? I can almost to that with scilab-cli -f and scilab-cli -e but i still have to exit

Re: [Scilab-users] Problem with ATOMS

2013-01-28 Thread Stéphane Mottelet
Hello, this problem is fixed in the current developpement version of the plotlib, a new version will be released this week. S. Le 28/01/13 08:52, Vincent COUVERT a écrit : Hello, It seems that this error is due to plotlib since the error message indicates that the error occurred at line

Re: [Scilab-users] u .^ k ?

2012-12-19 Thread Stéphane Mottelet
Le 19/12/12 11:17, Lamy Alain a écrit : Hi, Does anyone know how to perform efficiently an operation like : u .^k with: u = [u1, u2, ..., un] // ui : real numbers and: k = [k1; k2; kp] // ki : positive integers The result being : [ u1^k1, u2^k1, ..., un^k1; u1^k2, u2^k2, ..., un^k2;

Re: [Scilab-users] How to plot 3d implicit surface

2012-11-23 Thread Stéphane Mottelet
Le 23/11/12 09:14, Orbeman a écrit : Hello, I would like to plot a 3d implicit surface defines with an equation like f(x, y, z)=0. There's no parametric transformation and is not possible to express for example z=g(x, y). Does anyone have an idea ? Thank a lot. -- View this message in

Re: [Scilab-users] root calculation

2012-11-05 Thread Stéphane Mottelet
Le 05/11/12 14:53, Adrien Vogt-Schilb a écrit : On 05/11/2012 14:45, Paul Carrico wrote: All, Thanks for the feedback ... ... a basic plot shows the curve is monotonic (see attachment) ; I should plot a 3D curve in order to study the influence of the exponents for example to verify there's

<    2   3   4   5   6   7