[Scilab-users] How to replicate what "load" does (aka creating variable in the current workspace from inside a function)?

2016-02-22 Thread Antoine Monmayrant
Hi all, I need to create variables dynamically depending on what I parse from a text file. For testing, I just made a simple script that parses the file and generates a string array that defines some variables: txt=["a=1";"b=2"]; I then execstr(txt);; to create the variables needed (her

Re: [Scilab-users] Scilab 6.0.0 Beta crashed by input()

2016-02-19 Thread Antoine Monmayrant
Le 02/19/2016 08:52 AM, Dang Ngoc Chan, Christophe a écrit : Hello, De Antoine Monmayrant Envoyé : jeudi 18 février 2016 08:47 Le 02/17/2016 05:10 PM, JLan a écrit : Is this just on my machine? a=input('How can this line cause Scilab 6.0.0 Beta to crash when pressing enter?:');

Re: [Scilab-users] Scilab 6.0.0 Beta crashed by input()

2016-02-17 Thread Antoine Monmayrant
Le 02/17/2016 05:10 PM, JLan a écrit : Is this just on my machine? Saddly, no! I just tried it on my machine (linux ubuntu 14.04 64bits) and bye bye scilab. Could you report a bug ? Antoine a=input('How can this line cause Scilab 6.0.0 Beta to crash when pressing enter?:'); Result in e

Re: [Scilab-users] disp(a,b,c) => display a, b, and finally c ; not c, b and then a <= Re: News: Scilab 6 Beta, VISA Toolbox, Embedded World 2016

2016-02-17 Thread Antoine Monmayrant
_ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -- +++++++ Antoine Monmayrant LAAS - CNRS 7 avenue du Colonel Roche BP 54200 31031 TOULOUSE Cedex 4 FRANCE Tel:+33 5 61 33 64 59 email : an

Re: [Scilab-users] What is the future of Scilab?

2016-02-17 Thread Antoine Monmayrant
users mailing list users@lists.scilab.org <mailto:users@lists.scilab.org> http://lists.scilab.org/mailman/listinfo/users -- There we have the salad. -- +++ Antoine Monmayrant LAAS - CNRS 7 avenue du Colonel Ro

Re: [Scilab-users] News: Scilab 6 Beta, VISA Toolbox, Embedded World 2016

2016-02-16 Thread Antoine Monmayrant
hat it's useless, obsolete and should not be used in new code. Antoine Jan Å ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -- +++++++++++ Antoine

Re: [Scilab-users] ?==?utf-8?q? ?==?utf-8?q? News: Scilab 6 Beta, VISA Toolbox, Embedded World 2016

2016-02-16 Thread Antoine Monmayrant
Hi again, I also tried to install 'visa' module in scilab 5.5.0 and it also failed. Antoine Le Lundi 15 Février 2016 16:35 CET, Yann DEBRAY a écrit: > Hello Scilab user, > > It has been a while since we last shared news with you. Here are some > recent updates we hope you will like. >

Re: [Scilab-users] ?==?utf-8?q? ?==?utf-8?q? News: Scilab 6 Beta, VISA Toolbox, Embedded World 2016

2016-02-15 Thread Antoine Monmayrant
Hi all, I just installed the 6.0 beta and tried to install the visa module, without success: --> atomsInstall('visa') atomsInstallList: The package visa is not available. Any idea what's wrong? Antoine Le Lundi 15 Février 2016 16:35 CET, Yann DEBRAY a écrit: > Hello Scilab user, > > I

Re: [Scilab-users] ?==?utf-8?q? uicontrol style layer

2016-02-12 Thread Antoine Monmayrant
Le Vendredi 12 Février 2016 09:21 CET, Philipp Mühlmann a écrit: > Can anyone please explain in more detail - than given in the help - the > purpose of the uicontrol layer-style? > > How would one use this? > > Could one put several layer one over each other? Short answer: I don't think s

Re: [Scilab-users] ?==?utf-8?q? ?==?utf-8?q? ?= Put an image as the background of an axi

2016-02-11 Thread Antoine Monmayrant
Le Jeudi 11 Février 2016 10:00 CET, Jan-Åge Langeland a écrit: > > >> The only added bonus with the uicontrol is that you have access to a > >> callback function to react to the user's action. > > Not even: as for the text style (http://bugzilla.scilab.org/7111), the > > callback is not i

Re: [Scilab-users] ?==?utf-8?q? Put an image as the background of an axis

2016-02-10 Thread Antoine Monmayrant
Le 02/10/2016 10:52 AM, Jan Åge Langeland a écrit : On 10.02.2016 09:19, Antoine Monmayrant wrote: f = gcf(); imageWidth = 181; imageHeight = 144; f.axes_size=[imageWidth,imageHeight]; //here image parent can be set to something else than the figure f (like a frame, ...) h = uicontrol

Re: [Scilab-users] ?==?utf-8?q? Put an image as the background of an axis

2016-02-10 Thread Antoine Monmayrant
Le Mardi 9 Février 2016 22:54 CET, Jan Åge Langeland a écrit: > > > On 09.02.2016 20:27, Samuel Gougeon wrote: > > > > You may use the z coordinate of your flat curves to manage overlays, > > as in: > > clf > > x = linspace(0,20,200); > > plot(x,sin(x)) > > e = gce(); > > c = e.child

Re: [Scilab-users] ?==?utf-8?q? ?==?utf-8?q? ?= Put an image as the background of an axi

2016-02-09 Thread Antoine Monmayrant
Le Mardi 9 Février 2016 10:26 CET, Jan Åge Langeland a écrit: > > > On 09.02.2016 09:09, Antoine Monmayrant wrote: > > > > Le Mardi 9 Février 2016 08:34 CET, Philipp Mühlmann > > a écrit: > > > >> Well, the base function behind "Sh

Re: [Scilab-users] ?==?utf-8?q? ?==?utf-8?q? ?= Put an image as the background of an axi

2016-02-09 Thread Antoine Monmayrant
encv libs, but it crashes scilab. Antoine > > You can use a search engine of your choice to find ShowImage.sci. > > "ShowColorImage" than is using "ShowImage" to create a colored Image. > > Hope that helps, > > Philipp > > > > &g

Re: [Scilab-users] ?==?utf-8?q? Put an image as the background of an axis

2016-02-08 Thread Antoine Monmayrant
Le Mardi 9 Février 2016 00:04 CET, Philipp Mühlmann a écrit: > Well, as I understand you want to plot a function over an background image. > > In the case the image pixel number fits the X-Y range of your graph it's > rather simple. Well, it is, unless IPD does not work on your system, whi

Re: [Scilab-users] ?==?utf-8?q? Put an image as the background of an axis

2016-02-08 Thread Antoine Monmayrant
Le Lundi 8 Février 2016 17:49 CET, Jan Åge Langeland a écrit: > > > On 08.02.2016 11:47, antoine.monmayr...@laas.fr wrote: > > Hi everyone, > > > > I just failed at placing an image behind a plot. > > I thought that would be easy: > > - create a figure > > - create an image uicontro

[Scilab-users] Put an image as the background of an axis

2016-02-08 Thread antoine . monmayrant
Hi everyone, I just failed at placing an image behind a plot. I thought that would be easy: - create a figure - create an image uicontrol - create an axis - plot in the axis - set axis.filled="off" Apparently I was wrong. I did not find a way to overlap a plot with transparen

Re: [Scilab-users] Problem installing modules manually (atomsInstall)

2016-01-15 Thread Antoine Monmayrant
Université de Technologie de Compiègne - CS 60319 60203 Compiègne cedex ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ___ users mailing list use

Re: [Scilab-users] Problem installing modules manually (atomsInstall)

2016-01-15 Thread Antoine Monmayrant
Will have to follow the same procedure for v5.5.2 when I update. Thanks Lester ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -- Thanks & Regards, Lavitha M. Pereira ___ users mailing list users@lists.scil

Re: [Scilab-users] An Image processing toolbox that *works*

2016-01-14 Thread Antoine Monmayrant
s@lists.scilab.org> http://lists.scilab.org/mailman/listinfo/users -- There we have the salad. _______ users mailing list users@lists.scilab.org <mailto:users@lists.scilab.org> http://lists.scilab.org/

[Scilab-users] An Image processing toolbox that *works*

2016-01-12 Thread antoine . monmayrant
Hi everyone, This message is not a rant (but it could). I am truly looking for an image processing toolbox that works with current versions of Scilab and a decently modern OS. I tried every toolbox I've found but without success: SIVP: requires an outdated version of libtiff that I don't know

Re: [Scilab-users] Atoms fail and changing SCIHOME

2015-12-04 Thread Antoine Monmayrant
worth a try. Cheers, Antoine We daily use such a configuration now for years, with Scilab installed on a shared place on our internal network, and it works. HTH Samuel -- +++ Antoine Monmayrant LAAS - CNRS 7 avenue du Colonel

Re: [Scilab-users] How to install modules manually

2015-11-30 Thread Antoine Monmayrant
Le 11/30/2015 04:41 PM, Lester Anderson a écrit : Hello, Is there a simple way to install modules for use in Scilab 5 when no direct Internet access. Having dowloaded a module zip file - what is the procedure to install? atomsInstall('very/long/path/to/the/atom/zipfile.zip'); If you are under

Re: [Scilab-users] Title positioning on log-scale plots

2015-11-25 Thread Antoine Monmayrant
Le 11/25/2015 12:45 PM, Rafael Guerra a écrit : Dear Scilaber’s, Does anybody know how to [x,y]-position titles on log-scale plots? See examples below which plot ok only if the x-scale is linear: _clf_; x=1:100;y=x.^0.2; _subplot_(2,1,1) plot2d(x,y,5,logflag="ln")/// changing to "nn" or "n

Re: [Scilab-users] varialble and string

2015-10-30 Thread Antoine Monmayrant
Le 10/30/2015 01:03 PM, jbaud...@insa-rennes.fr a écrit : Hello, I use multiple variables with names given in a matrix, or vector > x=["a","b","c","d","e"]; I can easily use the variable with the function eval in math expression > 2*eval(x(1))+1 But if I want > a=1; How can I do this using

Re: [Scilab-users] interactive graphical window

2015-10-30 Thread Antoine Monmayrant
Le 10/30/2015 08:21 AM, Clément David a écrit : [1]:http://docs.oracle.com/javase/tutorial/uiswing/layout/visual.html Can't these illustrations/examples be reproduced in the uicontrols or uiconstraints help page? A small picture and the corresponding code would help a lot understanding which

Re: [Scilab-users] interactive graphical window

2015-10-30 Thread Antoine Monmayrant
ed features yet > :) ). > > [1]: http://docs.oracle.com/javase/tutorial/uiswing/layout/visual.html > [2]: https://netbeans.org/features/java/swing.html > [3]: http://www.eclipse.org/windowbuilder/ > > -- > Clément > > Le vendredi 30 octobre 2015 à 07:56 +0100, Antoine Monmayra

Re: [Scilab-users] interactive graphical window

2015-10-29 Thread Antoine Monmayrant
I just started playing with guis and interactive plots for a set of lectures I am giving. I can send you the (terrible) things I've made. BTW, I think the Scilab community could do with a set of recent and clear tutorials on how to use uicontrols to do interactive plots. For example, the new con

Re: [Scilab-users] How to produce a filled staircase plot

2015-10-07 Thread Antoine Monmayrant
iginal Message- From: users [mailto:users-boun...@lists.scilab.org] On Behalf Of Antoine Monmayrant Sent: Tuesday, October 06, 2015 10:57 AM To: Users mailing list for Scilab Subject: Re: [Scilab-users] How to produce a filled staircase plot Thank you Serge for this solution, but it does no

Re: [Scilab-users] How to produce a filled staircase plot

2015-10-06 Thread Antoine Monmayrant
it: > Le 06/10/2015 00:01, Antoine Monmayrant a écrit : > > Hi everyone, > > > > I'm trying to do a filled staircase plot (ie a staircase where the area > > between the staircase and the x axis is filled with a solid color). > > Is there a given combination o

[Scilab-users] How to produce a filled staircase plot

2015-10-05 Thread Antoine Monmayrant
Hi everyone, I'm trying to do a filled staircase plot (ie a staircase where the area between the staircase and the x axis is filled with a solid color). Is there a given combination of polyline_style and fill_mode, etc ... that can do this? Or should I resort to building a polygon by hand? Than

Re: [Scilab-users] absolute size of figure

2015-10-02 Thread Antoine Monmayrant
Hi, You want to specify hf.axes_size = [1000,400]. figure_size sets the size of the inner part of the graphical window, including border and titlebar (hence the missing 1 pixel left and right and 58 at the top), Hope it helps, Antoine Le Vendredi 2 Octobre 2015 12:28 CEST, grivet a écrit:

Re: [Scilab-users] Cannot understand scilex behavior when piping

2015-10-01 Thread Antoine Monmayrant
that would be very nice of you! Thanks for your interest in my predicament! Laurent Le 01/10/2015 16:26, Antoine Monmayrant a écrit : Hi, I'm not sure I'll be of any help, as I'm using Scilab on a linux machine. Is there an equivalent of scilex.exe on linux? (Is it scilab-adv-c

Re: [Scilab-users] Cannot understand scilex behavior when piping

2015-10-01 Thread Antoine Monmayrant
Hi, I'm not sure I'll be of any help, as I'm using Scilab on a linux machine. Is there an equivalent of scilex.exe on linux? (Is it scilab-adv-cli or scilab-cli?) If yes, I can try to run a test case under Linux using the corresponding equivalent to see if it's a problem with pipes or pipes on W

[Scilab-users] Sound acquisition with Scilab under Linux

2015-09-28 Thread Antoine Monmayrant
Hi all, Well, everything is in the title: how can I acquire sound in Scilab under Linux? The only package I've found so far is only working under Windows? Cheers, Antoine ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/li

Re: [Scilab-users] Reintroducing stacksize on Scilab 6 ? was (Re: multiple element by element between large matrix and vector)

2015-09-28 Thread Antoine Monmayrant
1154 What do you think? Antoine -Message d'origine- De : users [mailto:users-boun...@lists.scilab.org] De la part de Antoine Monmayrant Envoyé : lundi 28 septembre 2015 14:02 À : users@lists.scilab.org Objet : Re: [Scilab-users] Reintroducing stacksize on Scilab 6 ? was (Re: mul

Re: [Scilab-users] Reintroducing stacksize on Scilab 6 ? was (Re: multiple element by element between large matrix and vector)

2015-09-28 Thread Antoine Monmayrant
I second this proposal, I think it's not a good thing for scilab to allow "by default" to bring someone's computer to a crawl. It's a good way to turn users away. For me, this proposal fits in the same category of improvements than any solution to the forgotten ";" of death (if M is a huge matri

Re: [Scilab-users] Yeppp

2015-09-19 Thread Antoine Monmayrant
I see there are Java and C interfaces, has anyone tried to call ones of the base functions (log, exp, ...) to see how ti compares to scilab builtin's? Antoine Le Samedi 19 Septembre 2015 13:56 CEST, Claus Futtrup a écrit: > Hi there > > Interesting math library: > > http://www.phoronix.

Re: [Scilab-users] sometime fail to save a file

2015-09-17 Thread Antoine Monmayrant
As suggested by Jasper, you should not access the same file that fast without a bit of caution. Can you try the following script: for i=1 :100 y=i^3 save('test_'+string(i)+'.dat','y');//new name for each file to avoid accessing the same file over and over end ? Do you still have your p

Re: [Scilab-users] sometime fail to save a file

2015-09-17 Thread Antoine Monmayrant
Le 09/17/2015 04:04 PM, fujimoto2005 a écrit : for i=1 :100 y=i^3 save('test.dat','y') end It works fine here. Antoine ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] animation of multiple plots

2015-09-16 Thread Antoine Monmayrant
Le 09/16/2015 03:22 PM, grivet a écrit : Hi, Many thanks to all who responded to my post. Your help is all the more commendable that my problem had (as Serge pointed out) nothing to do with Scilab. Special thanks to Antoine Monmayrant who discovered my error. When creating an animation with

Re: [Scilab-users] animation of multiple plots

2015-09-15 Thread Antoine Monmayrant
Le 09/15/2015 03:57 PM, grivet a écrit : Hi, I am trying to animate multiple plots. For instance, when modeling the motion of a planet around the sun, I wish to plot, in one window, the planet's position and, in another window, the tip of the velocity vector, both plots evolving with time. I

Re: [Scilab-users] HDF5 file : how to access HDF5 compound elements

2015-09-03 Thread Antoine Monmayrant
tever without success... Any clue? Cheers, Antoine PS: I can give you an example hdf5 file if needed, but it's quite big! ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -- +++++

Re: [Scilab-users] eigs calculation

2015-06-26 Thread Antoine Monmayrant
f(""(eigenvalues) Max delta u%d - u1 = %g\n"",k,abs(max(u" + > string(k) + " - u1))) , ... > printf(""(eigenvectors) Max delta v%d - v1 = %g\n"",k,abs(max(v" + > string(k) + " - v1))) , ... > printf(""(input matrix) Max delta K%d - K1 = %g\n"",k,abs(max(K" + > string(k) + " - K1))) , ... > printf(""

Re: [Scilab-users] eigs calculation

2015-06-26 Thread Antoine Monmayrant
Hi Paul, I don't really like a function that gives different answers for the very same input. That sounds like a bug to me. That being said, from the data you showed, it is not clear that your eigenvector are really different. If what you show is just a difference in the norm of the difference b

Re: [Scilab-users] eigs calculation

2015-06-18 Thread Antoine Monmayrant
-qHM8NQ&e= EXPORT CONTROL : Cet email ne contient pas de données techniques This email does not contain technical data ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users --

Re: [Scilab-users] Re : Re: opposite to 'diag' keyword

2015-06-17 Thread Antoine Monmayrant
Le 06/17/2015 09:22 AM, paul.carr...@free.fr a écrit : No A basic example: -->A = [1 0 0 0 ; 0 6 0 0 ; 0 0 -5 0 ; 0 0 0 31] A = 1.0.0.0. 0.6.0.0. 0.0. - 5.0. 0.0.0.31. -->B = diag(A) B = 1. 6. - 5.

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

2015-06-09 Thread Antoine Monmayrant
I just started to play with it and it looks good! It provides a feature that scilab is lacking: a decent command line documentation. Thanks, Antoine Le 06/08/2015 09:45 PM, Samuel Gougeon a écrit : Hello, *uman* is a *U*nified display command of the Scilab User *MAN*ual. It is a general pu

Re: [Scilab-users] Re : for-loop does't work

2015-06-05 Thread Antoine Monmayrant
Hi, I think Pierre Aimé is right about a possible issue with encoding: your ";" looks like a semi-colon but seems to be a completely different beast on my computer: ... ascii("A(1,:)=x(i);") // Text copied from your original mail and ascii("A(1,:)=x(i);") // Text copied from my console ...

Re: [Scilab-users] New computer, graphics(?) crashes

2015-05-27 Thread Antoine Monmayrant
Le Jeudi 28 Mai 2015 06:54 CEST, Tim Wescott a écrit: > Strike that, I'm running 12.04. Dang. Time to upgrade, I guess. Yep, first thing to do. And keep on digging on the videocard driver side if you still have troubles. Scilab tends to be a good way to detect buggy video drivers! Getting

Re: [Scilab-users] Accidentally displaying huge matrices

2015-05-26 Thread Antoine Monmayrant
Le Mardi 26 Mai 2015 19:03 CEST, Tim Wescott a écrit: > On Mon, 2015-05-25 at 15:29 +0200, Antoine Monmayrant wrote: > > Le Samedi 23 Mai 2015 00:05 CEST, Samuel Gougeon a > > écrit: > > > > > Hello Tim, > > > > &g

Re: [Scilab-users] Accidentally displaying huge matrices

2015-05-26 Thread Antoine Monmayrant
Le 05/26/2015 11:34 AM, Serge Steer a écrit : Le 25/05/2015 15:29, Antoine Monmayrant a écrit : Le Samedi 23 Mai 2015 00:05 CEST, Samuel Gougeon a écrit: Hello Tim, Le 21/05/2015 17:48, Tim Wescott a écrit : .../... First, is there a way to get it to stop? ctrl-C does not do the job

Re: [Scilab-users] Accidentally displaying huge matrices

2015-05-25 Thread Antoine Monmayrant
Le Samedi 23 Mai 2015 00:05 CEST, Samuel Gougeon a écrit: > Hello Tim, > > Le 21/05/2015 17:48, Tim Wescott a écrit : > > .../... > > First, is there a way to get it to stop? ctrl-C does not do the job. > In your startup file .scilab or scilab.ini, you may add the instruction > lines(1000)

Re: [Scilab-users] Accidentally displaying huge matrices

2015-05-21 Thread Antoine Monmayrant
Le Jeudi 21 Mai 2015 17:48 CEST, Tim Wescott a écrit: > If you're working with something humongous and you do some operation > that displays, it takes forever before your mistake is done displaying. > > E.g., if x is 10 elements long and you type > > y = exp(x) > > instead of > > y =

Re: [Scilab-users] Scilab slowing down computer heavilly

2015-05-21 Thread Antoine Monmayrant
Hi Rafael, Did you try to dock your laptop, without plugging the screens? Is the problem still there? It might be some graphic driver issues. Is your laptop equipped with an hybrid graphic card (ie integrated small one for the main screen and a discrete one for the external screens)? Could you g

Re: [Scilab-users] Command lauch using a string

2015-05-15 Thread Antoine Monmayrant
Le 05/14/2015 10:51 PM, paul.carr...@free.fr a écrit : Dear All, I've been thinking in creating a string in order to run specific instructions afterward (I'm under Windows OS for the moement); An example of my code: # A =

Re: [Scilab-users] Outputting a "continuous" sound with Scilab

2015-05-04 Thread Antoine Monmayrant
Le 04/29/2015 10:35 PM, Samuel Gougeon a écrit : Le 29/04/2015 22:19, Samuel Gougeon a écrit : Hello Antoine, Le 24/04/2015 16:31, Antoine Monmayrant a écrit : Hi everyone, I'm trying to use Scilab to generate a soundwave with a given frequency and output it continuously. .../... I

[Scilab-users] Outputting a "continuous" sound with Scilab

2015-04-24 Thread Antoine Monmayrant
Hi everyone, I'm trying to use Scilab to generate a soundwave with a given frequency and output it continuously. Basically, I'd like to get a simple "software-based" function generator: a slider to set the frequency and the sound being played continuously in the background. Is this possible i

Re: [Scilab-users] Ways to speed up simple things in Scilab ?

2015-04-24 Thread Antoine Monmayrant
Le 04/24/2015 03:19 PM, Brian Bouterse a écrit : I don't know much about scilab optimizations, but trying to hand-optimize auto-generated code almost certainly will result in correctness problems. It's likely better to make your improvements in the software that is generating the scilab code. I

Re: [Scilab-users] Ways to speed up simple things in Scilab ?

2015-04-24 Thread Antoine Monmayrant
Hi again, Another way you might improve your code: can you write it as a matrix-vector product? Like M1_v=A*v; Where A is a matrix of size (839,172) that corresponds to your weird combination of v(i) to build M1_v. It seems to me that you should be able to write it that way, which would save

Re: [Scilab-users] Ways to speed up simple things in Scilab ?

2015-04-24 Thread Antoine Monmayrant
Le 04/24/2015 10:20 AM, Stéphane Mottelet a écrit : Hello, Ok, I will try dynamic link since I want the project to stay into the Scilab world, but another alternative is Julia (http://julialang.org/). I have made some tests this night and got a speedup of 25, the explanation is JIT compilatio

Re: [Scilab-users] Display problem

2015-04-21 Thread Antoine Monmayrant
On 04/22/2015 08:07 AM, SCHULZ Wolfgang wrote: stacksize('max') Maximum=8e6 dt=1/Maximum; t=0:dt:1; y=sin(2*%pi*50*t); plot(t,y); Hi, I just tried it under Linux (ubuntu 14.04 64bits) and got no problem. I have a 1024MB Java heap. Cheers, Antoine __

Re: [Scilab-users] installing latest scilab (5.5.1) version on udoo

2015-01-09 Thread Antoine Monmayrant
On 01/06/2015 11:44 PM, Tim Wescott wrote: Hey Patrick: What you want to do is uninstall Scilab from Ubuntu, and hand install it. This can be very easy, if you don't mind not having a shortcut in your start menu. I use Lubuntu, so the following directions should work for you, more or less (wit

Re: [Scilab-users] Colour information for Scilab plots

2014-12-08 Thread Antoine Monmayrant
On 12/05/2014 05:30 PM, Elweas wrote: From which file(s) do Scilab fetch information on how to generate colours in a Win 7 environment? When I got my computer running again after its crash, I found that Scilab is no longer capable of generating the full set of colours in plots (blue and green a

Re: [Scilab-users] xpoly()

2014-11-20 Thread Antoine Monmayrant
On 11/19/2014 06:39 PM, Stefan Du Rietz wrote: Hello, I have made quite an effort to write commands in numerous sci-files with the low level function xpoly() to avoid changes to the axes. But (surprise, surprise!), suddenly the low level function make those changes, and there is no way of av

Re: [Scilab-users] plotting crashes all over java

2014-10-27 Thread Antoine Monmayrant
On 10/24/2014 04:51 PM, Carlos Carvalho wrote: I've just installed scilab 5.5.1-1 on a Debian linux sid (unstable) machine, fully updated. When trying the following x=0:0.001:10; y=sin(x); plot(x,y) I get this flurry of errors: java.lang.reflect.InvocationTargetException at java.awt.Ev

Re: [Scilab-users] Saving and Loading big data

2014-10-24 Thread Antoine Monmayrant
e Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -- +++ Antoine Monmayra

Re: [Scilab-users] Saving and Loading big data

2014-10-23 Thread Antoine Monmayrant
For information, I filled a bug about 'load' crashing scilab when trying to load a big matrix from a sod file: http://bugzilla.scilab.org/show_bug.cgi?id=13641 Cheers, Antoine ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mail

Re: [Scilab-users] Saving and Loading big data

2014-10-23 Thread Antoine Monmayrant
On 10/22/2014 04:02 PM, Matiasb wrote: Hi, Just yesterday I solved some issues I was experiencing with the save function by upgrading to scilab 5.5.1 as suggested by Samuel in this thread . Now, being able to save all the env

Re: [Scilab-users] save : save a list of variable don't work

2014-10-14 Thread Antoine Monmayrant
On 10/14/2014 02:50 PM, Quentin Mazué wrote: hello, Antoine Monmayrant wrote This is what you want to do I think: save(pwd()+"\saveInSodFormat.sod",'a','b','c','d'); Yes it is. However in my script, the variable var2save could contain 1,2,

Re: [Scilab-users] save : save a list of variable don't work

2014-10-14 Thread Antoine Monmayrant
On 10/14/2014 02:50 PM, Quentin Mazué wrote: hello, Antoine Monmayrant wrote This is what you want to do I think: save(pwd()+"\saveInSodFormat.sod",'a','b','c','d'); Yes it is. However in my script, the variable var2save could contain 1,2,

Re: [Scilab-users] save : save a list of variable don't work

2014-10-14 Thread Antoine Monmayrant
___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -- +++ Antoine Monmayrant LAAS - CNRS 7 avenue du Colonel Roche BP 54200 31031 TOULOUSE Cedex 4 FRANCE Tel:+33 5 61 3

Re: [Scilab-users] Nightmare with double quotes.

2014-09-29 Thread Antoine Monmayrant
On 09/28/2014 11:08 PM, amorales wrote: Hi: Both commands were written on the same scilab window. Do you see the difference? -->write(6,string(”Variable x:”)) !--error 2 Invalid factor. -->write(6,string("Variable x:")) Variable x: This can be a nightmare if you don't know

Re: [Scilab-users] Refresh plot from Slider

2014-09-08 Thread Antoine Monmayrant
On 09/07/2014 08:58 AM, Tan Chin Luh wrote: Hi, first of all, the handles to the sliders are wrong, you were using the text handles instead of the sliders handles in both pushbutton and slider callback. secondly you need to be careful on the sampling, with 0.01, u could only plot sine wave

Re: [Scilab-users] Double Summation in Scilab

2014-08-27 Thread Antoine Monmayrant
Le 28/08/14 03:05, tanthiamhuat a écrit : the formuation is as below: http://postimg.org/image/cg25hlzvh/ -- View this message in context: http://mailinglists.scilab.org/Double-Summation-in-Scilab-tp4031100p4031102.html Sent from the Scilab users - Mailing Lists Archives mailing list archive

Re: [Scilab-users] Scilab leastsq exponential fitting

2014-07-28 Thread Antoine Monmayrant
Le 28/07/14 17:44, chloe.kykam a écrit : Yes, I did check the dimensions of x, ri, r and wr before, which all came back to be 1024x1. OK, Next culprit: your fit function is not defined for every values of a(1) and a(2). While optimizing and calculating the numeric derivative, leastsq can try

Re: [Scilab-users] Scilab leastsq exponential fitting

2014-07-28 Thread Antoine Monmayrant
On 07/28/2014 03:59 PM, chloe.kykam wrote: Thanks Antoine, it does work after I restart Scilab. However, my actual code consists of more than 1 data set, and I would have to normalise them according the their respective areas under the curve. The code only works without the normalisation part (r

Re: [Scilab-users] scilab does not start any more

2014-07-27 Thread Antoine Monmayrant
On 07/25/2014 04:10 PM, haasejos wrote: hello, scilab 5.0.0 does not start any more (window 7 64bit). For errormessages see "Bild_1.jpg" and "Bild_2.jpg". Even deinstallation - new

Re: [Scilab-users] Scilab leastsq exponential fitting

2014-07-23 Thread Antoine Monmayrant
On 07/23/2014 01:36 PM, chloe.kykam wrote: I have added the dot to the division but I am still getting errors, !--error 21 Invalid index. at line 118 of function numderivative called by : at line 2 of function Dfun called by : at line 2 of function %opt called by : at line

Re: [Scilab-users] Save hypermatrix in matlab format

2014-07-17 Thread Antoine Monmayrant
- Mailing Lists Archives mailing list archive at Nabble.com. ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -- +++++++ Antoine Monmayrant LAAS - CNR

Re: [Scilab-users] Save hypermatrix in matlab format

2014-07-16 Thread Antoine Monmayrant
On 07/15/2014 03:44 PM, Quentin Mazué wrote: Hi, I tried to saved an hypermatrix of dimension 3 with the command : savematfile("myMatrix.mat",'MyMatrix','-v7'); MyMatrix is full of Integer, no string. However Scilab returns the following error : (in french sorry) -error 999 GetMlistVariable :

Re: [Scilab-users] scilab 5.5.0 binary 64 bits not working on mageia-4

2014-07-10 Thread Antoine Monmayrant
___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -- +++ Antoine Monmayrant LAAS - CNRS 7 avenue du Colonel Roche BP 54200 31031 TOULOUSE Cedex 4 FRANCE Tel:+33 5 61 33 64 59

Re: [Scilab-users] Problem with xarrows() 3d (or with me...)

2014-07-07 Thread Antoine Monmayrant
Antoine -- +++ Antoine Monmayrant LAAS - CNRS 7 avenue du Colonel Roche BP 54200 31031 TOULOUSE Cedex 4 FRANCE Tel:+33 5 61 33 64 59 email : antoine.monmayr...@laas.fr permanent email : antoine.monmayr...@polytec

Re: [Scilab-users] SciLab installation to HP Z400

2014-07-07 Thread Antoine Monmayrant
On 07/06/2014 05:24 AM, Akira Umeda wrote: Dear members of Scilab members I have tried to install SciLab 5.5.0 to HP Z 400 workstation with 4GB memory 32bit Windows 7 and Display adapter ATI FirePro V3800. Installation is over without difficutlies. But Scilab does not start. Something like a con

Re: [Scilab-users] Multiple files of functions with the same name

2014-07-03 Thread Antoine Monmayrant
On 07/03/2014 04:14 AM, Llelan D. wrote: A common task I've coded is to run multiple implementations of the same function head-to-head to profile their effectiveness. An example would be a competition in which each of two implementations provide a response for each match. The usual way in other

[Scilab-users] Writing & reading sod file from another software (Labview)

2014-06-26 Thread Antoine Monmayrant
, but it would be faster and more convenient using Scilab native file format... Antoine -- +++ Antoine Monmayrant LAAS - CNRS 7 avenue du Colonel Roche BP 54200 31031 TOULOUSE Cedex 4 FRANCE Tel:+33 5 61 33 64 59 email : antoine.monmayr

Re: [Scilab-users] orientation of encapsulated postscript

2014-06-26 Thread Antoine Monmayrant
On 06/26/2014 11:52 AM, grivet wrote: x = 0:200; y = sin(2*%pi*x/50); plot(x,y) it works for me: I got two different orientations. (under linux ubuntu 12.04 64bits) ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo

Re: [Scilab-users] interp implementation

2014-06-10 Thread Antoine Monmayrant
g/master/d7/d3b/sci__interp_8c.html Hope it helps, Antoine Best regards, Luis ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -- +++++++ Antoine Monmayrant LAAS -

Re: [Scilab-users] 5.5.0 axes data_bounds

2014-06-05 Thread Antoine Monmayrant
Le Jeudi 5 Juin 2014 19:58 CEST, Stefan Du Rietz a écrit: > Hello, > it seems like there is a new bug in Scilab 5.5.0. > > If I set a.data_bounds and then plot something, even with xpoly(), they > are changed, despite that a.auto_scale=="off" and a.tight_limits=="on". > It worked in 5.4.1.

Re: [Scilab-users] createWindow and uicontrol

2014-06-02 Thread Antoine Monmayrant
On 06/02/2014 07:16 PM, Claus Futtrup wrote: Hi there My prevoius email didn't get a really good answer, so I try again - to get partially a good answer: f = createWindow(); The new method probably has its advantages, but the Scilab manual doesn't really explain... can anybody explain to me

[Scilab-users] GUI: can we make a graduated slider (aka slider with ticks)?

2014-05-05 Thread Antoine Monmayrant
Hi everyone, I just started to play again with GUI in scilab to experiment with the new layout system and I re-discovered my old frustration with sliders: there are no graduations on them making them difficult to use in practice. Example: slider value goes from 830 to 895: where should I move th

Re: [Scilab-users] New uicontrol layout: what bout axes?

2014-05-05 Thread Antoine Monmayrant
On 05/05/2014 11:47 AM, Pierre-Aimé Agnel wrote: On 05/05/2014 11:42 AM, Antoine Monmayrant wrote: On 05/05/2014 09:17 AM, Vincent COUVERT wrote: Hi Antoine, What you can do is creating axes inside "frame" uicontrols (using newaxes) and use a layout for the frames. Thanks! I had

Re: [Scilab-users] New uicontrol layout: what bout axes?

2014-05-05 Thread Antoine Monmayrant
, c); a1=newaxes(); a1 is attached to f, not ui1 and placed relative to the figure, not the frame... I'm confused... Antoine Regards, Le 02/05/2014 18:05, Antoine Monmayrant a écrit : I am a bit disappointed by the newly introduced "layout" properties. I was expecting these p

[Scilab-users] New uicontrol layout: what bout axes?

2014-05-02 Thread Antoine Monmayrant
I am a bit disappointed by the newly introduced "layout" properties. I was expecting these properties to be available for axes in addition to figures and uicontrols. This could have saved me a lot of time when generating multiple plots for scientific articles. A the moment, it's a true pain in t

Re: [Scilab-users] Release of Scilab 5.5.0.

2014-04-17 Thread Antoine Monmayrant
Hi all, I've seen the mpi support in the source tree. Why is it disables by default, are there some issues? What does it take to give it a try with mpi? Any hint at how to take advantage of mpi in your scilab code? Antoine > Dear Scilab Users, > > Scilab Enterprises is glad to announce the rel

Re: [Scilab-users] Books

2014-04-07 Thread Antoine Monmayrant
On 04/07/2014 04:57 PM, Claus Futtrup wrote: Hi Christophe, et al. Thank you very much for this information (to the email list). I personally do not speak french, so cannot translate, but I know that some of the authors of the books at E-BookeR do speak English. Since they took the time to w

Re: [Scilab-users] scilab got stuck

2014-03-12 Thread Antoine Monmayrant
On 03/12/2014 12:10 PM, Calixte Denizet wrote: Hi all, please report a bug: http://bugzilla.scilab.org/ Done: http://bugzilla.scilab.org/show_bug.cgi?id=13271 Thanks Calixte On 12/03/2014 11:21, Antoine Monmayrant wrote: On 03/12/2014 11:03 AM, Iai Masafumi ax wrote: figure(1);plot2d

Re: [Scilab-users] scilab got stuck

2014-03-12 Thread Antoine Monmayrant
On 03/12/2014 11:03 AM, Iai Masafumi ax wrote: Could anyone confirm this is a bug of Scilab? Is it a known bug? Scilab got stuck on my PC after I entered the command below: figure(1);plot2d("nl", [1:2], [%nan; 1]+%eps); I had to kill the process on the windows task manager. I tested it multipl

Re: [Scilab-users] scilab got stuck

2014-03-12 Thread Antoine Monmayrant
On 03/12/2014 11:03 AM, Iai Masafumi ax wrote: figure(1);plot2d("nl", [1:2], [%nan; 1]+%eps); Hi, Same issue with scilab 5.5.0 beta1, ubuntu 64bits. It definitely looks like a bug to me. Could you fill it on bugzilla.scilab.org ? Antoine ___ users m

Re: [Scilab-users] Bug?

2014-02-26 Thread Antoine Monmayrant
On 02/26/2014 04:07 PM, Calixte Denizet wrote: Hi Wolfgang, It is probably a bug. Could you report it on bugzilla.scilab.org with a little test case please ? And if you post the test case here, I'll try to reproduce it on linux... Antoine Thanks Best regards Calixte On 26/02/2014 15:56,

<    1   2   3   4   5   >