Re: [Scilab-users] example for xstringl fontId argument with latex-rendered strings

2014-05-22 Thread Adrien Vogt-Schilb
,str,2,5) Adrien On 22/05/2014 17:33, Philipp Mühlmann wrote: I just checked the help page http://help.scilab.org/docs/5.3.3/en_US/xstringl.html The last example deals with strings in LaTeX format. Does this help? Cheers, Phil 2014-05-22 17:54 GMT+02:00 Adrien Vogt-Schilb : Hi Does an

Re: [Scilab-users] move a string after display

2014-05-22 Thread Adrien Vogt-Schilb
Thanks that works On 22/05/2014 10:25, Paul Bignier wrote: Hello Adrien, You may use the "data field :) xstring(1,1,"Hello") the_string = gce(); the_string.data = [1,2] // new position Regards, Paul On 05/22/2014 04:11 PM, Adrien Vogt-Schilb wrote: Dear al Can i move

[Scilab-users] example for xstringl fontId argument with latex-rendered strings

2014-05-22 Thread Adrien Vogt-Schilb
Hi Does anyone have an example fo using xstringl with Latex-rendered strings? Thanks Adrien ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] Equivalent of matlab area plot

2014-05-22 Thread Adrien Vogt-Schilb
On 22/05/2014 11:36, Adrien Vogt-Schilb wrote: On 21/05/2014 18:07, Samuel Gougeon wrote: Le 21/05/2014 23:52, Adrien Vogt-Schilb a écrit : On 21/05/2014 17:27, Adrien Vogt-Schilb wrote: Samuel, all is there a way to display the axes and the ticks in the top of the shaded areas? Sorry I

Re: [Scilab-users] Equivalent of matlab area plot

2014-05-22 Thread Adrien Vogt-Schilb
On 21/05/2014 18:07, Samuel Gougeon wrote: Le 21/05/2014 23:52, Adrien Vogt-Schilb a écrit : On 21/05/2014 17:27, Adrien Vogt-Schilb wrote: Samuel, all is there a way to display the axes and the ticks in the top of the shaded areas? Sorry I was reacting to the following code: Do you

[Scilab-users] move a string after display

2014-05-22 Thread Adrien Vogt-Schilb
Dear al Can i move a string once i have displayed it? I 'd like to do something like xstring(1,1,"Hello") the_string = gce(); ... the_string.position = [1,2] //new position Best Adrien ___ users mailing list users@lists.scilab.org http://lists.

Re: [Scilab-users] Equivalent of matlab area plot

2014-05-21 Thread Adrien Vogt-Schilb
On 21/05/2014 17:27, Adrien Vogt-Schilb wrote: Samuel, all is there a way to display the axes and the ticks in the top of the shaded areas? Sorry I was reacting to the following code: Herebelow is an example with any number of curves. Cheers Samuel -- // area() y = [1 5 3

Re: [Scilab-users] Equivalent of matlab area plot

2014-05-21 Thread Adrien Vogt-Schilb
Samuel, all is there a way to display the axes and the ticks in the top of the shaded areas? -- View this message in context: http://mailinglists.scilab.org/Equivalent-of-matlab-area-plot-tp2618761p4030553.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble

Re: [Scilab-users] Why so slow?

2014-05-20 Thread Adrien Vogt-Schilb
is appreciated. Thanks! Richard ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -- Adrien Vogt-Schilb Consultant (World Bank) and PhD Candidate (Cired) 1 202 473 7980 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] Displaying large amount of text outside the Scilab console

2014-05-12 Thread Adrien Vogt-Schilb
possible to issue Scilab command to display the text variable in one of Scinotes or Scipad tabs? Thanks and regards, Rafael G. ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -- Adrien Vogt-Schilb Consultant

Re: [Scilab-users] plot histogram from weighted data

2014-05-12 Thread Adrien Vogt-Schilb
On 12/05/2014 03:25, Dang, Christophe wrote: Hello, De la part de Adrien Vogt-Schilb Envoyé : jeudi 8 mai 2014 23:44 I've got weighted data and i'd like to plot an histogram You are a talented scilaber so I guess you already digged in the usual sources. Maybe you can cheat on you

Re: [Scilab-users] How can I solve simultaneous eqs with "dynamic" boundaries ?

2014-05-12 Thread Adrien Vogt-Schilb
-simultaneous-eqs-with-dynamic-boundaries-tp4030445.html Sent from the 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 -- Adrien Vogt

Re: [Scilab-users] How can I solve simultaneous eqs with "dynamic" boundaries ?

2014-05-12 Thread Adrien Vogt-Schilb
boundaries-tp4030445.html Sent from the 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 -- Adrien Vogt-Schilb Consultant (World Bank) a

[Scilab-users] plot histogram from weighted data

2014-05-08 Thread Adrien Vogt-Schilb
Dear all, I've got weighted data and i'd like to plot an histogram For instance, income distribution from people within revenue segments. Any idea? -- Adrien Vogt-Schilb Consultant (World Bank) and PhD Candidate (Cired) 1 202 473 7980 ___

Re: [Scilab-users] 3D animated plot

2014-04-01 Thread Adrien Vogt-Schilb
ha instead produces a figure in my computer, not sure if it is the figure you want for j = 1:npt drawlater(); ha.children(1).data = [sin(t(1:j));cos(t(1:j)); t(1:j)]'; drawnow(); end; -- Adrien Vogt-Schilb PhD Student (Cired) ___ u

Re: [Scilab-users] Rounding error or precision setting?

2014-02-19 Thread Adrien Vogt-Schilb
zero). Is there a way to tell Scilab if this gets beyond a limit to round off at zero say? Sure this is an easy one! Cheers Lester ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/

Re: [Scilab-users] Strange list error

2014-01-28 Thread Adrien Vogt-Schilb
On 28/01/2014 16:43, Stefan Du Rietz wrote: On 2014-01-28 09:54, Adrien Vogt-Schilb wrote: On 28/01/2014 09:41, Stefan Du Rietz wrote: On 2014-01-27 22:43, Serge Steer wrote: Le 27/01/2014 19:05, Stefan Du Rietz a écrit : Under pause, you cannot

[Scilab-users] bug report on http://wiki.scilab.org/howto/global%20and%20local%20variables

2014-01-28 Thread Adrien Vogt-Schilb
The page does not mention "pause" http://wiki.scilab.org/howto/global%20and%20local%20variables sorry, o busy to file a bug -- Adrien Vogt-Schilb PhD Student (Cired) ___ users mailing list users@lists.scilab.org http://lists.scilab.o

Re: [Scilab-users] Strange list error

2014-01-28 Thread Adrien Vogt-Schilb
age explains what Serge means i believe. Adrien ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -- Adrien Vogt-Schilb PhD Student (Cired) ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] higher resolution

2014-01-25 Thread Adrien Vogt-Schilb
list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users have you tried exporting the plots in a vectorial format? you can use driver or xs2pdf, xs2eps and other functions. You can also resize your plots before exporting them in png. Hope this helps -- Adrien Vogt-Schilb PhD

Re: [Scilab-users] Bar graphs in Scilab

2014-01-23 Thread Adrien Vogt-Schilb
OK, for the record, the bar function does that... more info here: http://mailinglists.scilab.org/fine-bar-graph-formatting-td3787340.html On 23/01/2014 11:32, Adrien Vogt-Schilb wrote: Hi Do you know how to mak

[Scilab-users] Bar graphs in Scilab

2014-01-23 Thread Adrien Vogt-Schilb
Hi Do you know how to mak bar grahps in scilab ? Like this one. Does anybody have a function ready, maybe based on rectangles or something? Best regards -- Adrien Vogt-Schilb PhD Student (Cired

Re: [Scilab-users] null space and nullity of a matrix

2014-01-22 Thread Adrien Vogt-Schilb
oops On 21/01/2014 13:50, jasper van baten wrote: The null space is returned by the function kernel, Best wishes, Jasper. On 1/21/2014 13:38, A Khorshidi wrote: Hi; Is there an equivalent for the Matlab function "null" in Scilab? Thank you Mehran _ ___

Re: [Scilab-users] null space and nullity of a matrix

2014-01-21 Thread Adrien Vogt-Schilb
le of your messgae,I guess you might want ot have a look at the function isempty A=[]; if isempty(A) disp("kowabunga") end -- Adrien Vogt-Schilb PhD Student (Cired) ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] null space and nullity of a matrix

2014-01-21 Thread Adrien Vogt-Schilb
sing empty matrices [] foo= 2*(1:3); foo(2) = [] foo = 2.6. -- Adrien Vogt-Schilb PhD Student (Cired) ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

[Scilab-users] Export Scilab matrices to latex

2014-01-17 Thread Adrien Vogt-Schilb
/document them, contribute your own better functions. Cheers Adrien -- Adrien Vogt-Schilb PhD Student (Cired) ___ users mailing list users@lists.scilab.org http://lists.scilab.org

Re: [Scilab-users] Building a f(P, T) matrix from P and T line vectors

2013-12-19 Thread Adrien Vogt-Schilb
On 19/12/2013 15:17, Adrien Vogt-Schilb wrote: function y = map_fun(P,T,f) sP = size(P, "c") sT = size(T, "c") P_= P'*ones(1, sT) T_ = ones(sP, 1)*T y = f(P_,T_) endfunction function y=somme(a,b) y=a+b endfunction function y=power(a,b)

Re: [Scilab-users] Building a f(P, T) matrix from P and T line vectors

2013-12-19 Thread Adrien Vogt-Schilb
Same thing without formating: function y = map_fun(P,T,f) sP = size(P, "c") sT = size(T, "c") P_= P'*ones(1, sT) T_ = ones(sP, 1)*T y = f(P_,T_) endfunction function y=somme(a,b) y=a+b endfunction function y=power(a,b) y=a.^b endfunction P = linspace(3,30,7) T = li

Re: [Scilab-users] Building a f(P, T) matrix from P and T line vectors

2013-12-19 Thread Adrien Vogt-Schilb
! ! !5 1 498.83063 248832 1.241D+08 6.192D+10 3.089D+13 1.541D+16 ! ! ! !7.5 1 1105.8847 1222981 1.352D+09 1.496D+12 1.654D+15 1.829D+18 ! ! ! !10 1 2020.9159 4084101 8.254D+09 1.668D+13 3.371D+16 6.812D+19 ! ! ! !12.5 1 3283.6015 10782039 3.540D+10 1.163D+14 3.817D+17 1.253D+21 ! ! ! !15 1 492

Re: [Scilab-users] WScilex.exe does not start anymore

2013-12-15 Thread Adrien Vogt-Schilb
Hi Maybe the config file is broken. Try deleting the content of C:\Users\[USERNAME]\AppData\Roaming\Scilab\scilab-5.4.1 (or similar) and run scilab again On 15/12/2013 14:04, brunjak wrote: Hello I've been working with scilab 5.4.1 64 Bit and Windows 7 professional for several moths with no

Re: [Scilab-users] Matrix of characters conversion

2013-10-21 Thread Adrien Vogt-Schilb
is email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. ___________ users mailing list users@lists.scilab.org http://

Re: [Scilab-users] Matrix of characters conversion

2013-10-21 Thread Adrien Vogt-Schilb
d addressee you should not disseminate, distribute or copy this email. ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -- Adrien Vogt-Schilb PhD Student (Cired) and Consultant (The World Bank) 1 202 473 79 80 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] Is there any way to supress th plot() output.

2013-10-18 Thread Adrien Vogt-Schilb
lab.org/Is-there-any-way-to-supress-th-plot-output-tp4027647.html Sent from the 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 -- Ad

Re: [Scilab-users] ode malfunction

2013-10-16 Thread Adrien Vogt-Schilb
s, Peter ___ 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 -- Adrien Vogt-Schilb PhD Student (Cired) and

Re: [Scilab-users] clear current line in the console

2013-08-29 Thread Adrien Vogt-Schilb
For the record, the following page: http://bugzilla.scilab.org/show_bug.cgi?id=12228 explains how to configure Scilab such that [ESC] clears the current line in the console. On 29/08/2013 09:20, Adrien Vogt-Schilb wrote: Ctrl+U Works. Thank you very much! On 29/08/2013 07:15, jasper van

Re: [Scilab-users] clear current line in the console

2013-08-29 Thread Adrien Vogt-Schilb
Ctrl+U Works. Thank you very much! On 29/08/2013 07:15, jasper van baten wrote: Ctrl+U Best wishes, Jasper. On 8/28/2013 18:44, Adrien Vogt-Schilb wrote: Hi everyone Is there a way to clear the crrent line in th console? In most consoloes, [ESC] does that, but not in scilab

[Scilab-users] clear current line in the console

2013-08-29 Thread Adrien Vogt-Schilb
Hi everyone Is there a way to clear the crrent line in th console? In most consoloes, [ESC] does that, but not in scilab ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

[Scilab-users] (no subject)

2013-08-28 Thread Adrien Vogt-Schilb
Hi everyone Is there a way to clear the crrent line in th console? In most consoloes, [ESC] does that, but not in scilab -- Adrien Vogt-Schilb (Cired) +33 (0) 1 43 94 73 83 ___ users mailing list users@lists.scilab.org http://lists.scilab.org

Re: [Scilab-users] open a .dta file with scilab

2013-08-23 Thread Adrien Vogt-Schilb
an-toolbox/). Apparently there is a xtopen function. HTH, Mathieu Le 23/08/2013 21:48, Adrien Vogt-Schilb a écrit : Hi Does anybody know a toolkit or any other way to read a .dta file with scilab? Cheers ___ users mailing list users@lists.scila

[Scilab-users] open a .dta file with scilab

2013-08-23 Thread Adrien Vogt-Schilb
Hi Does anybody know a toolkit or any other way to read a .dta file with scilab? Cheers -- Adrien Vogt-Schilb (Cired) +33 (0) 1 43 94 73 83 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] problem loading environments

2013-08-07 Thread Adrien Vogt-Schilb
the bug does not happen in scilab 5.3.3 win64. Ezequiel, did you try to rename the argument "param" to something else? like "myparam". Maybe "param" is used internaly by some scilab function On 05/08/2013 16:27, Ezequiel Soule wrote: clear function f=fiso(var,intP,param) fiazo=var(1); xt=v

Re: [Scilab-users] gcf()

2013-07-26 Thread Adrien Vogt-Schilb
On 26/07/2013 22:42, Serge Steer wrote: Le 26/07/2013 21:55, Stefan Du Rietz a écrit : Hi, if there is no figure, gcf() should return an empty handle, shouldn't it? Now you get a handle to a new default figure, which is opened. That is the expected (and actual) response from scf(). Is this a

Re: [Scilab-users] .txt question

2013-06-18 Thread Adrien Vogt-Schilb
cilab.org http://lists.scilab.org/mailman/listinfo/users -- Adrien Vogt-Schilb (Cired) +33 (0) 1 43 94 73 83 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] How to mix strings and doubles in a matrix ?

2013-06-05 Thread Adrien Vogt-Schilb
ibution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your

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

2013-05-29 Thread Adrien Vogt-Schilb
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 f(nameofvar1,nameofvar2) var1 = evstr(nameofvar1) var2 = evstr(nameofvar2) disp(nameofvar1 + " + "+ nameofva

Re: [Scilab-users] Can't understand different answer's on sqrt(x^2+1)

2013-05-26 Thread Adrien Vogt-Schilb
iling Lists Archives mailing list archive at Nabble.com. ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -- Adrien Vogt-Schilb (Cired) +33 (0) 1 43 94 73 83 ___

Re: [Scilab-users] Bug in MatLab to Scilab conversion ?

2013-05-17 Thread Adrien Vogt-Schilb
line containing "1i". Denis ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -- Adrien Vogt-Schilb (Cired) +33 (0) 1 43 94 73 83 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] Subplot question

2013-05-16 Thread Adrien Vogt-Schilb
On 16/05/2013 14:20, Stéphane Mottelet wrote: 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

Re: [Scilab-users] Subplot question

2013-05-13 Thread Adrien Vogt-Schilb
://lists.scilab.org/mailman/listinfo/users -- Adrien Vogt-Schilb (Cired) +33 (0) 1 43 94 73 83 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] Newbie filter basics

2013-04-13 Thread Adrien Vogt-Schilb
On 13/04/2013 02:49, Michael Dunn wrote: Hi. Are there any resources or tutorials or references out there that would be helpful to a newbie to SciLab filtering functions? I just want to filter some data -- at this point, I don't even care what kind of filter -- just want to learn how! At fir

Re: [Scilab-users] Export vector graphics produced by Scilab 5.4.1

2013-04-12 Thread Adrien Vogt-Schilb
% and the additional path is appended. But the error message for EMF export is the same: it asks again to install Ghostscript. Best regards Denis *De :*users-boun...@lists.scilab.org [mailto:users-boun...@lists.scilab.org] *De la part de* Adrien Vogt-Schilb *Envoyé :* vendredi 12 avril 2013

Re: [Scilab-users] Export vector graphics produced by Scilab 5.4.1

2013-04-12 Thread Adrien Vogt-Schilb
path is appended. But the error message for EMF export is the same: it asks again to install Ghostscript. Best regards Denis *De :*users-boun...@lists.scilab.org [mailto:users-boun...@lists.scilab.org] *De la part de* Adrien Vogt-Schilb *Envoyé :* vendredi 12 avril 2013 14:53 *À :* Internat

[Scilab-users] Export vector graphics produced by Scilab 5.4.1

2013-04-12 Thread Adrien Vogt-Schilb
Hi The "copy to clipboard" function is now known to be broken in sci 5.4: http://bugzilla.scilab.org/show_bug.cgi?id=11648 For the other problem, do you know if the path to ghosscript is included in your environment variable PATH ? if you have no idea what this means, try the following two l

Re: [Scilab-users] non access to sci files

2013-04-11 Thread Adrien Vogt-Schilb
re executing it. The user can also modify Scilab source code to get Scilab display whatever Scilab is allow to read. If Scilab can execute it, Scilab can display it. This is completely unavoidable. -- Adrien Vogt-Schilb (Cired) +33 (0) 1 43 94 73 83 __

[Scilab-users] Equivalentof Dynare for Scilab

2013-04-11 Thread Adrien Vogt-Schilb
Hi guys Do you know it htere is an equivalent of Dynare working for Scilab? -- Adrien Vogt-Schilb (Cired) +33 (0) 1 43 94 73 83 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] print

2013-04-08 Thread Adrien Vogt-Schilb
Maybe xs2png or xs2pdf are what you are looking for? On 07/04/2013 02:31, Frank Testa wrote: Dear Scilab: I have created a window with figure() and populated it with text and edit controls using uicontrol(). I would like to print a screenshot of the window but toprint() and printfigure() bo

Re: [Scilab-users] Logical operators

2013-04-07 Thread Adrien Vogt-Schilb
.org http://lists.scilab.org/mailman/listinfo/users -- Adrien Vogt-Schilb (Cired) +33 (0) 6 78 54 73 77 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

[Scilab-users] Scilab 5.4.1 makes really fast graphs

2013-04-04 Thread Adrien Vogt-Schilb
This is just to thank the development team. -- Adrien Vogt-Schilb (Cired) +33 (0) 6 78 54 73 77 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] color under a curve

2013-03-13 Thread Adrien Vogt-Schilb
On 13/03/2013 13:01, Adrien Vogt-Schilb wrote: Samuel once provided a solution to this: For the record: actually it was Antoine, and he provided a function. Could still be deposited to fileexchange. Antoine would you allow your function to be posted? Do you happen to have a more recent

Re: [Scilab-users] color under a curve

2013-03-13 Thread Adrien Vogt-Schilb
.html If you have time, the best would be to make a generic function and post is to fileexchange... Kind regards -- Adrien Vogt-Schilb (Cired) Tel: (+33) 1 43 94 73 83 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo

Re: [Scilab-users] Extracting strings to a matrix

2013-03-07 Thread Adrien Vogt-Schilb
Hi did you try strsplit ? On 07/03/2013 15:31, samuel.en...@unn.edu.ng wrote: Dear sir, Suppose I have the matrix shown below. Names = ['samuel Ogbonna Enibe', 'James Peter'; 'WIlson Stone Wilberforce Joshua'; 'Moses']; I would like to extract

Re: [Scilab-users] Converting a matrix of string into real

2013-03-05 Thread Adrien Vogt-Schilb
hi my mistake the function name is csvTextScan http://help.scilab.org/docs/5.4.0/en_US/csvTextScan.html On 05/03/2013 11:06, Carrico, Paul wrote: Thanks .. but is it in an Atoms package ? I failed in finding it on the web site and the function seems not to be defined in Scilab (5.4.0) Paul

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

2013-02-27 Thread Adrien Vogt-Schilb
On 27/02/2013 14:25, Stéphane Mottelet wrote: 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 scila

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

2013-02-26 Thread Adrien Vogt-Schilb
okay On 26/02/2013 17:55, Sylvestre Ledru wrote: On 26/02/2013 17:45, Adrien Vogt-Schilb wrote: hi is there any reasons why I can't type from a console: scilab myfile.sce It is this way for legacy reasons. We could change that for Scilab 6. and expect scilab to execute myfile.sc

[Scilab-users] Scilab is not a pipe

2013-02-26 Thread Adrien Vogt-Schilb
s ofr scilab-cli -e exec('#1');quit or something -- Adrien Vogt-Schilb (Cired) Tel: (+33) 1 43 94 73 83 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] LaTeX mixed with normal string in xtitle

2013-02-21 Thread Adrien Vogt-Schilb
Hi why not using: xtitle('foobar', '$x \times '+string(scale)+'$'); ? -- Adrien Vogt-Schilb (Cired) Tel: (+33) 1 43 94 73 83 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] Can't install ATOMS modules: FIXED

2013-02-20 Thread Adrien Vogt-Schilb
ompile again the .sci/.sce to create new .bin files), otherwise it will use the atomsExtract.bin that was packaged with the version. Simon On 02/20/2013 12:56 PM, Adrien Vogt-Schilb wrote: Dear Simon In my case, HKLM\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisable8dot3NameCreati

Re: [Scilab-users] Can't install ATOMS modules

2013-02-20 Thread Adrien Vogt-Schilb
te Support & Development Engineer --- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France Phone: +33.1.80.77.04.70 http://www.scilab-enterprises.com _______ users m

Re: [Scilab-users] Can't install ATOMS modules

2013-02-14 Thread Adrien Vogt-Schilb
iling list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -- Adrien Vogt-Schilb (Cired) Tel: (+33) 1 43 94 73 83 ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] trouble with vectorial export

2013-02-08 Thread Adrien Vogt-Schilb
On 08/02/2013 11:02, Calixte Denizet wrote: Hi Adrien, About vectorial export in 5.3: we used a thirdparty library (gl2ps) which used an opengl trick to make the export, so huge graphics could to lead to crash. In 5.4, we completely rewrite the vectorial exporter (we removed gl2ps) and huge g

Re: [Scilab-users] trouble with vectorial export

2013-02-08 Thread Adrien Vogt-Schilb
Hi Calixte It seems that this issue will take some time to be fixed then. Moreover, if I understand well, Scilab 6 will use a completely different approach to graphics? I'd like to use Scilab 5.3.3 meanwhile as a workaround, but I can't because my new machine runs Windows 8. I can launch scila

Re: [Scilab-users] trouble with vectorial export

2013-02-07 Thread Adrien Vogt-Schilb
On 07/02/2013 16:41, Dang, Christophe wrote: Hello Styles and width in particular are not respected. I personally export as SVG and then edit the picture with Inkscape, which can export a PDF. Of course this does not solve the problem, but can be a turn around. Regards hi thx for you tric

Re: [Scilab-users] trouble with vectorial export

2013-02-07 Thread Adrien Vogt-Schilb
OK, this last issue is unrelated, and can be solved by running scilab as an admin. i still have my original problem On 07/02/2013 16:17, Adrien Vogt-Schilb wrote: Hi again, I also tried to print my figure to see (from the GUI), and that's what it says: oldgcbo = gcbo; end

Re: [Scilab-users] trouble with vectorial export

2013-02-07 Thread Adrien Vogt-Schilb
ssController.doPrivileged(Native Method) at sun.print.RasterPrinterJob.printDialog(Unknown Source) at org.scilab.modules.gui.bridge.CallScilabBridge.printFigure(Unknown Source) while executing a callback On 07/02/2013 16:01, Adrien Vogt-Schilb wrote: Hi When I try to export a figure in ps, pd

[Scilab-users] trouble with vectorial export

2013-02-07 Thread Adrien Vogt-Schilb
Hi When I try to export a figure in ps, pdg or svg with scilab, the output file does not match my figure. Styles and width in particular are not respected. The png file attaches (via xs2png) works fine, the pdf does not Any suggestions? Thanks -->getdebuginfo ans = !Memory in use:

Re: [Scilab-users] Scilab 5.4 createdir

2013-01-27 Thread Adrien Vogt-Schilb
guy guys mkdir does what you want does not issue a warning when the dir already existed, instead returns a status that you can ignore: -->mkdir foo ans = 1. -->mkdir foo ans = 2. -->mkdir foo ans = 2. -->mkdir "this%µ£¨$^? wont work" ans = 0. help mkdir ki

Re: [Scilab-users] Code protection

2013-01-22 Thread Adrien Vogt-Schilb
On 22/01/2013 12:13, Carrico, Paul wrote: Hi All How can I protect Scilab source code for a third part (development in progress) ? Typically it concerns a sub-routine I've been developping ... Regards Paul Hi As far as i know, you cannot. This is because nothing is really compiled in scilab

Re: [Scilab-users] Puzzling behaviour ignoring 'Invalid index' error

2013-01-18 Thread Adrien Vogt-Schilb
Hi can you rpovide the full code that makes the bug ? in your example, for instance, t_z is not defined On 18/01/2013 05:11, AntonSeab wrote: Hi, I'm finding the following behaviour puzzling. When running the following code that has one typing error 'lambda(t-t_z)' instead of 'lambda*(t-t_z)'

Re: [Scilab-users] How replace symbols and letters in a matrix

2013-01-10 Thread Adrien Vogt-Schilb
You can also have a look at help csv_read which as an optional argument "substitute" designes for these type of cases I believe On 10/01/2013 09:30, Serge Steer wrote: You can substitute the "*" using Scilab t=mgetl('your file'); t=strsubst(strsubst(t," *" ," 0 ")," S "," 0 ") Le 09/01/2013

Re: [Scilab-users] return current line in the current file

2013-01-04 Thread Adrien Vogt-Schilb
On 04/01/2013 15:12, Samuel Gougeon wrote: Hello Adrien, Le 04/01/2013 14:16, Adrien Vogt-Schilb a écrit : i'd like to call a function inside myscript.sce which would return the line in the file myscript.sce where the function is called. Does that exist? Yes, you might use where() i

[Scilab-users] return current line in the current file

2013-01-04 Thread Adrien Vogt-Schilb
hi i have a file, myscript.sce i'd like to call a function inside myscript.sce which would return the line in the file myscript.sce where the function is called. Does that exist? happy new year -- Adrien Vogt-Schilb (Cired) Tel: (+33) 1 43 94 *

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

2012-12-19 Thread Adrien Vogt-Schilb
On 19/12/2012 11:17, Lamy Alain wrote: 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] Replacement of pixmap by drawlater / drawnow in Version 5.4.0

2012-12-04 Thread Adrien Vogt-Schilb
On 04/12/2012 17:51, Jens Simon Strom wrote: Hello Adrien, Thanks for your answer. Your example is fine on my installation too except some bouncing and hopping now and then. In my case - using your approach - these disturbances are more severe. One gets nervous when watching the animation. Fortun

Re: [Scilab-users] file missing with csvRead : scilab 5.4.0

2012-12-04 Thread Adrien Vogt-Schilb
On 04/12/2012 17:25, Paul Carrico wrote: Dear all, Is there an equivalent to "err" when using csvRead ? I'm looking to a way to test if the file exists (or not) previous to read it with csvRead Thanks Paul From "mopen" help file : [fd, err] = mopen(file [, mode, swap ]) ___

Re: [Scilab-users] Replacement of pixmap by drawlater / drawnow in Version 5.4.0

2012-12-04 Thread Adrien Vogt-Schilb
On 04/12/2012 17:21, Jens Simon Strom wrote: In version 5.3 I have written a script which produces an animated plot of a magnetic field showing approx. 70 oscillating and rotating arrows. The arrows are generated by the command 'arrows' in a loop. I used the 'pixmap' and the 'show_pixmap()' comma

Re: [Scilab-users] fminsearch, error occurs after changing variable name

2012-12-03 Thread Adrien Vogt-Schilb
On 02/12/2012 19:06, Jens Simon Strom wrote: Thank you Adrien, I tried your approach before because it works with optim. It fails. The reason is that "x" is a variable of fminsearch which interferes with "my" x. The consequence is that one has to choose variables that are not defined in fminsear

Re: [Scilab-users] fminsearch, error occurs after changing variable name

2012-12-02 Thread Adrien Vogt-Schilb
On 02/12/2012 09:33, Jens Simon Strom wrote: Hello Scilab experts, This script functions: function SAQ=!f(p), SAQ=sum( ( p(1)+p(2)*xi-yi ).^2 ), endfunction xi=1:1000 ; yi=2*xi+3; popt=fminsearch(!f,[0;0]) If I replace yi by y everywhere the script functions too as expected. If I replace xi b

Re: [Scilab-users] solve complex ode

2012-11-27 Thread Adrien Vogt-Schilb
On 26/11/2012 20:33, Rodrigo Thomas wrote: Hello, I'm having a problem to solve complex ordinary differential equations like (a simplified one): dx/dt = i*x. I tried to use: -->function xdot=f(x,t) -->xdot=%i*x -->endfunction -->x0=[1;0]; -->t0=0; -->t=linspace(0,10,100); -->y=ode(x0,t0,t,f

Re: [Scilab-users] vectoriztion and sets of data

2012-11-22 Thread Adrien Vogt-Schilb
1)+1):(8*i),:))); if(search>0)then D(i,1)=1; else D(i,1)=0; end end *De :*users-boun...@lists.scilab.org [mailto:users-boun...@lists.scilab.org] *De la part de* Adrien Vogt-Schilb *Envoyé :* jeudi 22 novembre 2012 15:54 *À :* International users mailing list for Scilab. *Objet :* Re: [Sc

Re: [Scilab-users] vectoriztion and sets of data

2012-11-22 Thread Adrien Vogt-Schilb
On 22/11/2012 15:48, Paul Carrico wrote: Dear All, On the above example, it should be possible to select a sets of rows, should not ? if so how please ? Thanks Paul Hi Didn't understand your question, have a look at this: A=[1:10]'*2 rows = [1;6;2] B=zeros(A) B(rows) = A(rows) hop

Re: [Scilab-users] root calculation

2012-11-05 Thread Adrien Vogt-Schilb
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 one and only one root ... ... I've to code a fast

Re: [Scilab-users] root calculation

2012-11-05 Thread Adrien Vogt-Schilb
Hi I would code the function, then plot it, then use fsolve On 05/11/2012 13:13, Paul Carrico wrote: Dear all, This a stupid question, but how can I solve directly in, Scilab an equation such as : 0.403*X^(-0.121) + 60.5*X^(-0.73) -- 0.1839 = 0 ? Is-it necessary to code a function ? fr

Re: [Scilab-users] Question about the infamous dot

2012-10-19 Thread Adrien Vogt-Schilb
hI This is interpreted as 1.0/[2 3 4] (yes it is combersome) you want to use: 1.0./[2 3 4] or 1 ./[2 3 4] //mind the space before the dot you can also use [2 3 4].^-1 note that [2 3 4]*[0.0689;0.1034;0.1379] = 1 also note the orientation of each matrix (row or column) On 19/10/2012

Re: [Scilab-users] read_csv returning "Undefined variable"

2012-10-01 Thread Adrien Vogt-Schilb
Hi Are you sure that you are using Scilab 5.3.3 ? On 28/09/2012 15:30, bkgoodamn wrote: I am very new to Scilab, using version 5.3.3 (Windows) and trying to import csv data. Everything I try always returns: Undefined variable: read_csv I have tried things such as: B = read_csv(TMPDIR + '/foo.c

Re: [Scilab-users] funny result for tensor norm calculation

2012-09-26 Thread Adrien Vogt-Schilb
On 26/09/2012 19:42, Paul Carrico wrote: Dear All, A funny result for calculating the norm of a tensor ... for ounce a "traditional" method (that probably uses vectorization in back stage) is faster than the norm function ... Paul mode(0); A= [ 1 2 3 ; 4 5 6; 7 8 9] n= 1000 fori = 1 : n

Re: [Scilab-users] dos command execution

2012-09-25 Thread Adrien Vogt-Schilb
On 25/09/2012 15:36, haasejos wrote: hallo, I try to change a directory by using: *[a,b,c] = dos('cd C:\Documents and Settings\haasejos\Desktop\' , '-echo');* hi as far as I understand, there are two reasons this does not work first, there are spaces in the path you give to cd, so you should

[Scilab-users] One dimension solver

2012-09-04 Thread Adrien Vogt-Schilb
Hi Does anyone have a 1D-solver coded? Compared to fsolve, a 1D solver could store every try x and every y=f(x), and then just use interpln to guess a zero (would work only for monotonous functions, but this is what i need) Thx -- Adrien Vogt-Schilb (Cired) Tel: (+33) 1 43 94 *73 77