From Samuel.Gougeon at univ-lemans.fr Tue Mar 1 17:00:58 2011 From: Samuel.Gougeon at univ-lemans.fr (Samuel GOUGEON) Date: Tue, 01 Mar 2011 17:00:58 +0100 Subject: [scilab-Users] Parallel Computing in Scilab In-Reply-To: <4D3974DD.8020108@laas.fr> References: <4D3967E9.2060307@univ-lemans.fr> <4D3974DD.8020108@laas.fr> Message-ID: <4D6D183A.1020908@univ-lemans.fr> ----- Message d'origine ----- De : Antoine Monmayrant Date : 21/01/2011 12:58: > Le 21/01/2011 12:03, Samuel GOUGEON a ?crit : >> Hello, >> >> ----- Message d'origine ----- >> De : Itai Njanji >> Date : 19/01/2011 21:11: >>> Hi everyone, >>> >>> I am currently trying to convert my matlab code to Scilab that was using >>> Matlab Parallel Computing Toolbox. Is it is possible to do distributed >>> parallel computing in Scilab? If yes, how difficult is it to convert Matlab >>> code that was using Distributed Parallel Computing Server to Scilab? Any >>> comments are appreciated, even just suggestions or websites that can help >>> are also appreciated. >>> >>> Thank you >> >> AFAIK, up to now, both PVM and parallel_run() cannot be used with Windows OS. > I don't know for PVM, but we use parallel_run() on Windows XP. > It works well for embarrassingly parallel tasks (aka running N times the same > function with different inputs). > > Antoine Really? What about that : http://bugzilla.scilab.org/show_bug.cgi?id=8361#c1 Did Scilab changed on this topic since 11/2010 ? The help page updated by Allan Cornet still displays: /Limitations In this current version of Scilab, parallel_run uses only one core on Windows platforms. / Regards Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.carrico at free.fr Tue Mar 1 18:17:55 2011 From: paul.carrico at free.fr (Paul CARRICO) Date: Tue, 1 Mar 2011 18:17:55 +0100 Subject: outlook & scilab Message-ID: <000001cbd834$9b421790$d1c646b0$@carrico@free.fr> Dear All, I've a (surprising) idea i.e I would like to know if somebody succeeded in linking scilab with outlook to automatically send a mail (I'm under Windows . this is a current constraint) ? To be more precise : - Some pictures will be automatically generated by my FEA post-processing code (ok for me) - But I want to join the former picture to a mail (possible ?) - and to send it afterward after adding some general text - (ok to open outlook via outlook.exe file) It'll be useful whereas I'll be off for some days Regards Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: From Samuel.Gougeon at univ-lemans.fr Tue Mar 1 18:32:56 2011 From: Samuel.Gougeon at univ-lemans.fr (Samuel GOUGEON) Date: Tue, 01 Mar 2011 18:32:56 +0100 Subject: [scilab-Users] outlook & scilab In-Reply-To: <000001cbd834$9b421790$d1c646b0$@carrico@free.fr> References: <000001cbd834$9b421790$d1c646b0$@carrico@free.fr> Message-ID: <4D6D2DC8.3070808@univ-lemans.fr> ----- Message d'origine ----- De : Paul CARRICO Date : 01/03/2011 18:17: > > Dear All, > > I've a (surprising) idea i.e I would like to know if somebody succeeded in > linking scilab with outlook to automatically send a mail (I'm under Windows > ... this is a current constraint) ? > > To be more precise : > > - Some pictures will be automatically generated by my FEA post-processing code > (ok for me) > > - But I want to join the former picture to a mail (possible ?) > > - and to send it afterward after adding some general text > > - (ok to open outlook via outlook.exe file) > You might use curl ( SCI\tools\curl on the win distrib) instead of outlook, in multi-part format. Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From solerec at eircom.net Tue Mar 1 19:54:15 2011 From: solerec at eircom.net (Christophe) Date: Tue, 01 Mar 2011 18:54:15 +0000 Subject: [scilab-Users] Scilab and excel In-Reply-To: <009b01cb6394$6b63bfc0$422b3f40$@scilab.org> References: <1782114852-1286018360-cardhu_decombobulator_blackberry.rim.net-1194259130-@bda134.bisx.produk.on.blackberry> <009b01cb6394$6b63bfc0$422b3f40$@scilab.org> Message-ID: <4D6D40D7.2000803@eircom.net> Hi Allan, I have tried again with the stable release 5.3.0, and I get the same message. Also the install doesn't seem to work properly in Atoms. Any help? All the best On 04/10/2010 08:19, Allan CORNET wrote: > Hi, > > this trouble is related to this bug > > http://bugzilla.scilab.org/show_bug.cgi?id=8115 > > It will be fixed in 5.3.0 stable > > > Best regards > > Allan CORNET > > -----Message d'origine----- > De : solerec at eircom.net [mailto:solerec at eircom.net] > Envoy? : vendredi 1 octobre 2010 22:33 > ? : users at lists.scilab.org > Objet : [scilab-Users] Scilab and excel > > Any reasons why scilab_xll does not work with scilab 5.3.0 and when loading > the addin in excel 97 the error message scilab cannot open JVM library > shows. > > Cheers > Let your email find you with BlackBerry? from Vodafone > > From paul.carrico at free.fr Tue Mar 1 20:12:24 2011 From: paul.carrico at free.fr (Paul CARRICO) Date: Tue, 1 Mar 2011 20:12:24 +0100 Subject: [scilab-Users] outlook & scilab In-Reply-To: <4D6D2DC8.3070808@univ-lemans.fr> References: <000001cbd834$9b421790$d1c646b0$@carrico@free.fr> <4D6D2DC8.3070808@univ-lemans.fr> Message-ID: <000001cbd844$99886660$cc993320$@carrico@free.fr> Thanks for the ? trick ? . Do you have any basic example to share so that it?ll work quickly ? Paul De : Samuel GOUGEON [mailto:Samuel.Gougeon at univ-lemans.fr] Envoy? : mardi 1 mars 2011 18:33 ? : users at lists.scilab.org Objet : Re: [scilab-Users] outlook & scilab ----- Message d'origine ----- De : Paul CARRICO Date : 01/03/2011 18:17: Dear All, I?ve a (surprising) idea i.e I would like to know if somebody succeeded in linking scilab with outlook to automatically send a mail (I?m under Windows this is a current constraint) ? To be more precise : Some pictures will be automatically generated by my FEA post-processing code (ok for me) But I want to join the former picture to a mail (possible ?) and to send it afterward after adding some general text (ok to open outlook via outlook.exe file) You might use curl ( SCI\tools\curl on the win distrib) instead of outlook, in multi-part format. Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Wed Mar 2 17:27:14 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Wed, 02 Mar 2011 17:27:14 +0100 Subject: =?ISO-8859-1?Q?RE=A0=3A?= =?ISO-8859-1?Q?_RE=A0=3A?= [scilab-Users] createMatrixOfFloat ? In-Reply-To: References: <4D63E653.8010909@centre-cired.fr> <4D63E6B5.7010208@centre-cired.fr> <4D640813.3040509@univ-lemans.fr> Message-ID: <1299083234.3747.2466.camel@korcula.inria.fr> Hello, It is because they don't exist... ;) Can I ask why you are interested in having them ? Sylvestre Le mardi 22 f?vrier 2011 ? 20:09 +0100, Collewet Guylaine a ?crit : > Hi, > > I agree that scilab variables are double precision reals, however there are different functions to return variables from C such as : > createMatrixOfBoolean > createMatrixOfInteger8 > createMatrixOfInteger16 > createMatrixOfInteger32 > createMatrixOfDouble > > I can't find one for floats > > > Guylaine > > > -------- Message d'origine-------- > De: Samuel GOUGEON [mailto:Samuel.Gougeon at univ-lemans.fr] > Date: mar. 22/02/2011 20:01 > ?: users at lists.scilab.org > Objet : Re: RE : [scilab-Users] createMatrixOfFloat ? > > > > AFAIK, there are no single precision reals in Scilab. > > > Regards > > Samuel > > > > > ----- Message d'origine ----- > De : Collewet Guylaine > Date : 22/02/2011 19:56: > > Thanks > > > > but I can only find createMatrixOfDouble, not the equivalent function for "float" > > > > Guylaine > > From sylvestre.ledru at scilab.org Wed Mar 2 17:06:45 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Wed, 02 Mar 2011 17:06:45 +0100 Subject: =?ISO-8859-1?Q?RE=A0=3A?= =?ISO-8859-1?Q?_RE=A0=3A?= [scilab-Users] createMatrixOfFloat ? In-Reply-To: References: <4D63E653.8010909@centre-cired.fr> <4D63E6B5.7010208@centre-cired.fr> <4D640813.3040509@univ-lemans.fr> Message-ID: <1299082005.3747.2382.camel@korcula.inria.fr> Hello, It is because they don't exist... ;) Can I ask why you are interested in having them ? Sylvestre Le mardi 22 f?vrier 2011 ? 20:09 +0100, Collewet Guylaine a ?crit : > Hi, > > I agree that scilab variables are double precision reals, however there are different functions to return variables from C such as : > createMatrixOfBoolean > createMatrixOfInteger8 > createMatrixOfInteger16 > createMatrixOfInteger32 > createMatrixOfDouble > > I can't find one for floats > > > Guylaine > > > -------- Message d'origine-------- > De: Samuel GOUGEON [mailto:Samuel.Gougeon at univ-lemans.fr] > Date: mar. 22/02/2011 20:01 > ?: users at lists.scilab.org > Objet : Re: RE : [scilab-Users] createMatrixOfFloat ? > > > > AFAIK, there are no single precision reals in Scilab. > > > Regards > > Samuel > > > > > ----- Message d'origine ----- > De : Collewet Guylaine > Date : 22/02/2011 19:56: > > Thanks > > > > but I can only find createMatrixOfDouble, not the equivalent function for "float" > > > > Guylaine > > From guylaine.collewet at cemagref.fr Wed Mar 2 18:34:03 2011 From: guylaine.collewet at cemagref.fr (Collewet Guylaine) Date: Wed, 2 Mar 2011 18:34:03 +0100 Subject: =?iso-8859-1?Q?RE=A0=3A_RE=A0=3A_RE=A0=3A_=5Bscilab-Users=5D_createMatrix?= =?iso-8859-1?Q?OfFloat_=3F?= References: <4D63E653.8010909@centre-cired.fr> <4D63E6B5.7010208@centre-cired.fr><4D640813.3040509@univ-lemans.fr> <1299082005.3747.2382.camel@korcula.inria.fr> Message-ID: Hi, I call a function written in C which returns an array of floats I'd like to avoid to copy the array of floats to an array of double because it represents a large amount of memory (probably too much in some cases) Guylaine -------- Message d'origine-------- De: Sylvestre Ledru [mailto:sylvestre.ledru at scilab.org] Date: mer. 02/03/2011 17:06 ?: users at lists.scilab.org Objet : Re: RE?: RE?: [scilab-Users] createMatrixOfFloat ? Hello, It is because they don't exist... ;) Can I ask why you are interested in having them ? Sylvestre Le mardi 22 f?vrier 2011 ? 20:09 +0100, Collewet Guylaine a ?crit : > Hi, > > I agree that scilab variables are double precision reals, however there are different functions to return variables from C such as : > createMatrixOfBoolean > createMatrixOfInteger8 > createMatrixOfInteger16 > createMatrixOfInteger32 > createMatrixOfDouble > > I can't find one for floats > > > Guylaine > > > -------- Message d'origine-------- > De: Samuel GOUGEON [mailto:Samuel.Gougeon at univ-lemans.fr] > Date: mar. 22/02/2011 20:01 > ?: users at lists.scilab.org > Objet : Re: RE : [scilab-Users] createMatrixOfFloat ? > > > > AFAIK, there are no single precision reals in Scilab. > > > Regards > > Samuel > > > > > ----- Message d'origine ----- > De : Collewet Guylaine > Date : 22/02/2011 19:56: > > Thanks > > > > but I can only find createMatrixOfDouble, not the equivalent function for "float" > > > > Guylaine > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From missreeta.rawat at gmail.com Thu Mar 3 10:41:32 2011 From: missreeta.rawat at gmail.com (reeta rawat) Date: Thu, 3 Mar 2011 15:11:32 +0530 Subject: info Message-ID: scilab excutabe version 5.3 is not installing.pls send info how to install it -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Thu Mar 3 10:43:25 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Thu, 03 Mar 2011 10:43:25 +0100 Subject: [scilab-Users] info In-Reply-To: References: Message-ID: <1299145405.5074.108.camel@losinj.inria.fr> Hello, Le jeudi 03 mars 2011 ? 15:11 +0530, reeta rawat a ?crit : > scilab excutabe version 5.3 is not installing.pls send info how to > install it Could you be a bit more specific ? What is your platform ? (32/64 bit), your operating system ? What is your error message ? Thanks Sylvestre From Mike at Page-One.Waitrose.com Thu Mar 3 12:28:28 2011 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Thu, 3 Mar 2011 11:28:28 -0000 Subject: Printing graphics Message-ID: Hi, I am trying to print graphics from within an application that calls the Scilab engine from C code. Everything works fine, except that the graphs have the wrong paper setup as a default. Is there any way I can set up the print properties, such as paper size, landscape/portrait, etc programmatically? I can call printfigure (0) and printsetupbox () to show the relevant dialogs, but I then have to fill them in by hand. Is there a way to set the values from within Scilab? As an alternative, is there a way to change the default values, for example in an ini file somewhere? Thanks for any help with this. Mike. From communication at scilab.org Thu Mar 3 13:20:34 2011 From: communication at scilab.org (Scilab Communication) Date: Thu, 03 Mar 2011 13:20:34 +0100 Subject: Release of Scilab 5.3.1 Message-ID: <4D6F8792.9080502@scilab.org> Dear Scilab users, The Scilab R&D Team is pleased to announce the release of Scilab 5.3.1. Download and information can be found at: http://www.scilab.org/en/products/scilab/download We also invite you to consult the video explaining the new functionalities in Scilab 5.3.1 embedded help: http://www.youtube.com/scilabchannel Best Regards ----------------------------------------------- The Scilab Consortium R&D Team ----------------------------------------------- Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex - France From ascv at computer.org Thu Mar 3 16:40:33 2011 From: ascv at computer.org (Prof. Ausberto S. Castro V.) Date: Thu, 03 Mar 2011 12:40:33 -0300 Subject: [scilab-Users] Release of Scilab 5.3.1 In-Reply-To: <4D6F8792.9080502@scilab.org> References: <4D6F8792.9080502@scilab.org> Message-ID: <4d6fb675.87a1e60a.7cfb.357d@mx.google.com> Invalid link. No download!! At 09:20 03/03/2011, you wrote: >Dear Scilab users, > >The Scilab R&D Team is pleased to announce the release of Scilab 5.3.1. >Download and information can be found at: >http://www.scilab.org/en/products/scilab/download > >We also invite you to consult the video >explaining the new functionalities in Scilab 5.3.1 embedded help: >http://www.youtube.com/scilabchannel > > >Best Regards > > >----------------------------------------------- >The Scilab Consortium R&D Team >----------------------------------------------- >Digiteo >Domaine de Voluceau >Rocquencourt - B.P. 105 >78153 Le Chesnay Cedex - France =============================================================== * Prof. Ausberto S. Castro V. ascv at computer.org * Universidade Nove de Julho - UNINOVE ausberto.castro at uninove.br * Sao Paulo - SP * Brazil ?A maior necessidade do mundo ? a de homens ? homens que se n?o comprem nem se vendam; homens que no seu ?ntimo sejam verdadeiros e honestos; homens que n?o temam chamar o pecado pelo seu nome exato; homens, cuja consci?ncia seja t?o fiel ao dever como a b?ssola o ? ao p?lo; homens que permane?am firmes pelo que ? reto, ainda que caiam os c?us? (Ellen G. White, Educa??o, p. 57). ========================================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Thu Mar 3 16:44:29 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Thu, 03 Mar 2011 16:44:29 +0100 Subject: [scilab-Users] Release of Scilab 5.3.1 In-Reply-To: <4d6fb675.87a1e60a.7cfb.357d@mx.google.com> References: <4D6F8792.9080502@scilab.org> <4d6fb675.87a1e60a.7cfb.357d@mx.google.com> Message-ID: <1299167069.5074.611.camel@losinj.inria.fr> Bad timing: we have some issues with our download platform. It should be back in an hour... Sorry about that, Sylvestre Le jeudi 03 mars 2011 ? 12:40 -0300, Prof. Ausberto S. Castro V. a ?crit : > > Invalid link. No download!! > > > > At 09:20 03/03/2011, you wrote: > > Dear Scilab users, > > > > The Scilab R&D Team is pleased to announce the release of Scilab > > 5.3.1. > > Download and information can be found at: > > http://www.scilab.org/en/products/scilab/download > > > > We also invite you to consult the video explaining the new > > functionalities in Scilab 5.3.1 embedded help: > > http://www.youtube.com/scilabchannel > > > > > > Best Regards > > > > > > ----------------------------------------------- > > The Scilab Consortium R&D Team > > ----------------------------------------------- > > Digiteo > > Domaine de Voluceau > > Rocquencourt - B.P. 105 > > 78153 Le Chesnay Cedex - France > > =============================================================== > * Prof. Ausberto S. Castro V. > ascv at computer.org > * Universidade Nove de Julho - UNINOVE > ausberto.castro at uninove.br > * Sao Paulo - SP > * Brazil > > ?A maior necessidade do mundo ? a de homens ? homens que se n?o > comprem nem se vendam; homens que no seu ?ntimo sejam verdadeiros e > honestos; homens que n?o temam chamar o pecado pelo seu nome exato; > homens, cuja consci?ncia seja t?o fiel ao dever como a b?ssola o ? ao > p?lo; homens que permane?am firmes pelo que ? reto, ainda que caiam os > c?us? (Ellen G. White, Educa??o, p. 57). > ========================================================== > > > From paul.carrico at free.fr Thu Mar 3 16:45:03 2011 From: paul.carrico at free.fr (Paul CARRICO) Date: Thu, 3 Mar 2011 16:45:03 +0100 Subject: [scilab-Users] Release of Scilab 5.3.1 In-Reply-To: <4d6fb675.87a1e60a.7cfb.357d@mx.google.com> References: <4D6F8792.9080502@scilab.org> <4d6fb675.87a1e60a.7cfb.357d@mx.google.com> Message-ID: <000301cbd9b9$f75a0480$e60e0d80$@carrico@free.fr> There?s an information on the web site telling us the server if currently off We?ve to be patient consequently Paul De : Ausberto Castro [mailto:ausberto.castro at gmail.com] De la part de Prof. Ausberto S. Castro V. Envoy? : jeudi 3 mars 2011 16:41 ? : users at lists.scilab.org Objet : Re: [scilab-Users] Release of Scilab 5.3.1 Invalid link. No download!! At 09:20 03/03/2011, you wrote: Dear Scilab users, The Scilab R&D Team is pleased to announce the release of Scilab 5.3.1. Download and information can be found at: http://www.scilab.org/en/products/scilab/download We also invite you to consult the video explaining the new functionalities in Scilab 5.3.1 embedded help: http://www.youtube.com/scilabchannel Best Regards ----------------------------------------------- The Scilab Consortium R&D Team ----------------------------------------------- Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex - France =============================================================== * Prof. Ausberto S. Castro V. ascv at computer.org * Universidade Nove de Julho - UNINOVE ausberto.castro at uninove.br * Sao Paulo - SP * Brazil ?A maior necessidade do mundo ? a de homens ? homens que se n?o comprem nem se vendam; homens que no seu ?ntimo sejam verdadeiros e honestos; homens que n?o temam chamar o pecado pelo seu nome exato; homens, cuja consci?ncia seja t?o fiel ao dever como a b?ssola o ? ao p?lo; homens que permane?am firmes pelo que ? reto, ainda que caiam os c?us? (Ellen G. White, Educa??o, p. 57). ========================================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From selieff at sgl.com Thu Mar 3 17:11:29 2011 From: selieff at sgl.com (Stefan Elieff) Date: Thu, 03 Mar 2011 11:11:29 -0500 Subject: [scilab-Users] Release of Scilab 5.3.1 In-Reply-To: <000301cbd9b9$f75a0480$e60e0d80$@carrico@free.fr> References: <4D6F8792.9080502@scilab.org> <4d6fb675.87a1e60a.7cfb.357d@mx.google.com> <000301cbd9b9$f75a0480$e60e0d80$@carrico@free.fr> Message-ID: <4D6FBDB1.7070301@sgl.com> Does SciLab publish releases via P2P (BitTorrent)? Stefan On 2011-03-03 10:45 AM, Paul CARRICO wrote: > There?s an information on the web site telling us the server if > currently off ? > > We?ve to be patient consequently ? > > Paul > > *De :*Ausberto Castro [mailto:ausberto.castro at gmail.com] *De la part de* > Prof. Ausberto S. Castro V. > *Envoy? :* jeudi 3 mars 2011 16:41 > *? :* users at lists.scilab.org > *Objet :* Re: [scilab-Users] Release of Scilab 5.3.1 > > * > Invalid link. No download!! > > > > *At 09:20 03/03/2011, you wrote: > > Dear Scilab users, > > The Scilab R&D Team is pleased to announce the release of Scilab 5.3.1. > Download and information can be found at: > http://www.scilab.org/en/products/scilab/download > > We also invite you to consult the video explaining the new > functionalities in Scilab 5.3.1 embedded help: > http://www.youtube.com/scilabchannel > > > Best Regards > > > ----------------------------------------------- > The Scilab Consortium R&D Team > ----------------------------------------------- > Digiteo > Domaine de Voluceau > Rocquencourt - B.P. 105 > 78153 Le Chesnay Cedex - France > > =============================================================== > ** Prof. Ausberto S. Castro V.**ascv at computer.org > * Universidade Nove de Julho - UNINOVE ausberto.castro at uninove.br > ** Sao Paulo - SP > * Brazil > > ?*A maior necessidade do mundo ? a de homens* ? homens que se n?o > comprem nem se vendam; homens que no seu ?ntimo sejam verdadeiros e > honestos; homens que n?o temam chamar o pecado pelo seu nome exato; > homens, cuja consci?ncia seja t?o fiel ao dever como a b?ssola o ? ao > p?lo; homens que permane?am firmes pelo que ? reto, ainda que caiam os > c?us? (Ellen G. White, Educa??o, p. 57). > ========================================================== > From joao.graciano at googlemail.com Thu Mar 3 17:12:09 2011 From: joao.graciano at googlemail.com (Joao Graciano) Date: Thu, 3 Mar 2011 17:12:09 +0100 Subject: "Best Of" Visualisation with SciLab Message-ID: Hi everyone, at my company we are considering the implementation of SciLab as development tool, but we are not sure of its visualisation capabilities (we only have the experience with Matlab). I am not talking of the standard 2d/3d graphics, but of more complex (for example) 2d/3d shaping of volumes in real time (aka, while the algorithm runs) Is there anybody out there which has some good examples of this type of SciLab visualisation capabilities? Thank you in advance Joao Graciano -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Thu Mar 3 17:15:44 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Thu, 03 Mar 2011 17:15:44 +0100 Subject: [scilab-Users] Release of Scilab 5.3.1 In-Reply-To: <4D6FBDB1.7070301@sgl.com> References: <4D6F8792.9080502@scilab.org> <4d6fb675.87a1e60a.7cfb.357d@mx.google.com> <000301cbd9b9$f75a0480$e60e0d80$@carrico@free.fr> <4D6FBDB1.7070301@sgl.com> Message-ID: <1299168944.5074.648.camel@losinj.inria.fr> No, we don't. Should we ? ;) Sylvestre Le jeudi 03 mars 2011 ? 11:11 -0500, Stefan Elieff a ?crit : > Does SciLab publish releases via P2P (BitTorrent)? > > Stefan > > > On 2011-03-03 10:45 AM, Paul CARRICO wrote: > > There?s an information on the web site telling us the server if > > currently off ? > > > > We?ve to be patient consequently ? > > > > Paul > > > > *De :*Ausberto Castro [mailto:ausberto.castro at gmail.com] *De la part de* > > Prof. Ausberto S. Castro V. > > *Envoy? :* jeudi 3 mars 2011 16:41 > > *? :* users at lists.scilab.org > > *Objet :* Re: [scilab-Users] Release of Scilab 5.3.1 > > > > * > > Invalid link. No download!! > > > > > > > > *At 09:20 03/03/2011, you wrote: > > > > Dear Scilab users, > > > > The Scilab R&D Team is pleased to announce the release of Scilab 5.3.1. > > Download and information can be found at: > > http://www.scilab.org/en/products/scilab/download > > > > We also invite you to consult the video explaining the new > > functionalities in Scilab 5.3.1 embedded help: > > http://www.youtube.com/scilabchannel > > > > > > Best Regards > > > > > > ----------------------------------------------- > > The Scilab Consortium R&D Team > > ----------------------------------------------- > > Digiteo > > Domaine de Voluceau > > Rocquencourt - B.P. 105 > > 78153 Le Chesnay Cedex - France > > > > =============================================================== > > ** Prof. Ausberto S. Castro V.**ascv at computer.org > > * Universidade Nove de Julho - UNINOVE ausberto.castro at uninove.br > > ** Sao Paulo - SP > > * Brazil > > > > ?*A maior necessidade do mundo ? a de homens* ? homens que se n?o > > comprem nem se vendam; homens que no seu ?ntimo sejam verdadeiros e > > honestos; homens que n?o temam chamar o pecado pelo seu nome exato; > > homens, cuja consci?ncia seja t?o fiel ao dever como a b?ssola o ? ao > > p?lo; homens que permane?am firmes pelo que ? reto, ainda que caiam os > > c?us? (Ellen G. White, Educa??o, p. 57). > > ========================================================== > > From selieff at sgl.com Thu Mar 3 17:18:37 2011 From: selieff at sgl.com (Stefan Elieff) Date: Thu, 03 Mar 2011 11:18:37 -0500 Subject: [scilab-Users] Release of Scilab 5.3.1 In-Reply-To: <1299168944.5074.648.camel@losinj.inria.fr> References: <4D6F8792.9080502@scilab.org> <4d6fb675.87a1e60a.7cfb.357d@mx.google.com> <000301cbd9b9$f75a0480$e60e0d80$@carrico@free.fr> <4D6FBDB1.7070301@sgl.com> <1299168944.5074.648.camel@losinj.inria.fr> Message-ID: <4D6FBF5D.8050003@sgl.com> I hear it's all the rage these days... OpenOffice does this. Seems like a good way to take pressure off of the servers. Stefan On 2011-03-03 11:15 AM, Sylvestre Ledru wrote: > No, we don't. Should we ? ;) > > Sylvestre > > Le jeudi 03 mars 2011 ? 11:11 -0500, Stefan Elieff a ?crit : >> Does SciLab publish releases via P2P (BitTorrent)? >> >> Stefan >> >> >> On 2011-03-03 10:45 AM, Paul CARRICO wrote: >>> There?s an information on the web site telling us the server if >>> currently off ? >>> >>> We?ve to be patient consequently ? >>> >>> Paul >>> >>> *De :*Ausberto Castro [mailto:ausberto.castro at gmail.com] *De la part de* >>> Prof. Ausberto S. Castro V. >>> *Envoy? :* jeudi 3 mars 2011 16:41 >>> *? :* users at lists.scilab.org >>> *Objet :* Re: [scilab-Users] Release of Scilab 5.3.1 >>> >>> * >>> Invalid link. No download!! >>> >>> >>> >>> *At 09:20 03/03/2011, you wrote: >>> >>> Dear Scilab users, >>> >>> The Scilab R&D Team is pleased to announce the release of Scilab 5.3.1. >>> Download and information can be found at: >>> http://www.scilab.org/en/products/scilab/download >>> >>> We also invite you to consult the video explaining the new >>> functionalities in Scilab 5.3.1 embedded help: >>> http://www.youtube.com/scilabchannel >>> >>> >>> Best Regards >>> >>> >>> ----------------------------------------------- >>> The Scilab Consortium R&D Team >>> ----------------------------------------------- >>> Digiteo >>> Domaine de Voluceau >>> Rocquencourt - B.P. 105 >>> 78153 Le Chesnay Cedex - France >>> >>> =============================================================== >>> ** Prof. Ausberto S. Castro V.**ascv at computer.org >>> * Universidade Nove de Julho - UNINOVE ausberto.castro at uninove.br >>> ** Sao Paulo - SP >>> * Brazil >>> >>> ?*A maior necessidade do mundo ? a de homens* ? homens que se n?o >>> comprem nem se vendam; homens que no seu ?ntimo sejam verdadeiros e >>> honestos; homens que n?o temam chamar o pecado pelo seu nome exato; >>> homens, cuja consci?ncia seja t?o fiel ao dever como a b?ssola o ? ao >>> p?lo; homens que permane?am firmes pelo que ? reto, ainda que caiam os >>> c?us? (Ellen G. White, Educa??o, p. 57). >>> ========================================================== >>> > > > From vincent.couvert at scilab.org Thu Mar 3 17:45:25 2011 From: vincent.couvert at scilab.org (Vincent COUVERT) Date: Thu, 03 Mar 2011 17:45:25 +0100 Subject: [scilab-Users] Release of Scilab 5.3.1 In-Reply-To: <4D6F8792.9080502@scilab.org> References: <4D6F8792.9080502@scilab.org> Message-ID: <4D6FC5A5.8030309@scilab.org> Dear Scilab users, We had some issues with our download platform this afternoon. Everything is working fine now and Scilab 5.3.1 is available for download. We apologize for all these troubles. Best regards. Le 03/03/11 13:20, Scilab Communication a ?crit : > Dear Scilab users, > > The Scilab R&D Team is pleased to announce the release of Scilab 5.3.1. > Download and information can be found at: > http://www.scilab.org/en/products/scilab/download > > We also invite you to consult the video explaining the new > functionalities in Scilab 5.3.1 embedded help: > http://www.youtube.com/scilabchannel > > > Best Regards > > > ----------------------------------------------- > The Scilab Consortium R&D Team > ----------------------------------------------- > Digiteo > Domaine de Voluceau > Rocquencourt - B.P. 105 > 78153 Le Chesnay Cedex - France -- ----------------------------- Vincent COUVERT Software Development Manager ----------------------------- Consortium Scilab Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France ----------------------------- From joao.graciano at googlemail.com Thu Mar 3 19:30:32 2011 From: joao.graciano at googlemail.com (Joao Graciano) Date: Thu, 3 Mar 2011 19:30:32 +0100 Subject: (now with Ref) "Best Of" Visualisation with SciLab Message-ID: Thank you all for the feedbacks. To have an idea of what kind of visualisations I am asking about, you can find in the link below an example (from someone else, using other sw): http://www.boxcar2d.com/ Thanks you again for any feedback. Joao Graciano On Thu, Mar 3, 2011 at 5:12 PM, Joao Graciano wrote: > Hi everyone, > > at my company we are considering the implementation of SciLab as > development tool, but we are not sure of its visualisation capabilities (we > only have the experience with Matlab). > I am not talking of the standard 2d/3d graphics, but of more complex (for > example) 2d/3d shaping of volumes in real time (aka, while the algorithm > runs) > Is there anybody out there which has some good examples of this type of > SciLab visualisation capabilities? > Thank you in advance > Joao Graciano > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Samuel.Gougeon at univ-lemans.fr Thu Mar 3 19:45:50 2011 From: Samuel.Gougeon at univ-lemans.fr (Samuel GOUGEON) Date: Thu, 03 Mar 2011 19:45:50 +0100 Subject: [scilab-Users] Re: (now with Ref) "Best Of" Visualisation with SciLab In-Reply-To: References: Message-ID: <4D6FE1DE.5010600@univ-lemans.fr> ----- Message d'origine ----- De : Joao Graciano Date : 03/03/2011 19:30: > Thank you all for the feedbacks. > To have an idea of what kind of visualisations I am asking about, you can find > in the link below an example (from someone else, using other sw): > > http://www.boxcar2d.com/ You may run some Scilab demos: Run the demos (from the "?" menu) Choose the item: Simulation => Bike simulation => Stable trajectory Samuel From Loic.Girod at esstin.uhp-nancy.fr Fri Mar 4 06:36:44 2011 From: Loic.Girod at esstin.uhp-nancy.fr (=?iso-8859-1?Q?Lo=EFc_GIROD?=) Date: Fri, 4 Mar 2011 06:36:44 +0100 Subject: locate points on curve Message-ID: <001c01cbda2e$26700f20$73502d60$@esstin.uhp-nancy.fr> Hi everyone, I made a script to draw curves from data files. Now, I would like to go further in the script and add some automatic processing. I need to get points on the curve made thanks to plot2d to know the points coordinate and the position of these points in the two vectors used to draw the curve. For instance, the curve is made with plo2d(a,b). By pointing a point on the curve, I get the ?x-y? coordinates and the integer I that indicates the value is at a(i) and b(i). I have tried the locate function but it get the points on the graph window and not only on the curve. Is there any way to do that ? By the way, is it possible to get the position of the points in the vector used to draw the curve ? Many thanks and don?t hesitate to ask me for precision. Best regards Lo?c -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwarnold45 at suddenlink.net Fri Mar 4 09:26:07 2011 From: dwarnold45 at suddenlink.net (David Arnold) Date: Fri, 4 Mar 2011 00:26:07 -0800 Subject: comet command? Message-ID: <94F48D7C-A058-46E8-93BC-FF32F2237934@suddenlink.net> Hi, In matlab, I can animate a parametric plot with the comet command: t=linspace(0,2*pi,5000); x=cos(t); y=sin(t); comet(x,y) Is there a command in scilab that will do this? David From Samuel.Gougeon at univ-lemans.fr Fri Mar 4 12:38:53 2011 From: Samuel.Gougeon at univ-lemans.fr (Samuel Gougeon) Date: Fri, 04 Mar 2011 12:38:53 +0100 Subject: [scilab-Users] locate points on curve In-Reply-To: <001c01cbda2e$26700f20$73502d60$@esstin.uhp-nancy.fr> References: <001c01cbda2e$26700f20$73502d60$@esstin.uhp-nancy.fr> Message-ID: <20110304123853.29045gq8agdmnako@webmail1.univ-lemans.fr> Hello Lo?c, You may have a look at the macros of the datatips submodule, in SCI\modules\graphics\macros\datatips Parts of them could be useful for your aim. Noticeably, see the pixDist.sci and orthProj.sci, in addition to xclick() or locate(). Regards Samuel Lo?c GIROD a ?crit?: > Hi everyone, > > > > I made a script to draw curves from data files. Now, I would like to go > further in the script and add some automatic processing. > > I need to get points on the curve made thanks to plot2d to know the points > coordinate and the position of these points in the two vectors used to draw > the curve. > > For instance, the curve is made with plo2d(a,b). By pointing a point on the > curve, I get the ?x-y? coordinates and the integer I that indicates the > value is at a(i) and b(i). > > > > I have tried the locate function but it get the points on the graph window > and not only on the curve. Is there any way to do that ? > > By the way, is it possible to get the position of the points in the vector > used to draw the curve ? > > > > Many thanks and don?t hesitate to ask me for precision. > > > > Best regards > > > > Lo?c > > > > > > -- > > > > From Samuel.Gougeon at univ-lemans.fr Fri Mar 4 12:56:18 2011 From: Samuel.Gougeon at univ-lemans.fr (Samuel Gougeon) Date: Fri, 04 Mar 2011 12:56:18 +0100 Subject: [scilab-Users] comet command? In-Reply-To: <94F48D7C-A058-46E8-93BC-FF32F2237934@suddenlink.net> References: <94F48D7C-A058-46E8-93BC-FF32F2237934@suddenlink.net> Message-ID: <20110304125618.11236vlj6gncm0co@webmail1.univ-lemans.fr> Hello, David Arnold a ?crit?: > Hi, > > In matlab, I can animate a parametric plot with the comet command: > > t=linspace(0,2*pi,5000); > x=cos(t); > y=sin(t); > comet(x,y) > > Is there a command in scilab that will do this? paramfplot2d() is the nearest, but it works only in cartesian coordinates. It does not support parametric plot (except if x is inversible over the t range, what is not the case on your simple example). You may edit paramfplot2d(), copy and customize the copy for your needs: edit paramfplot2d See also and run its example: help paramfplot2d Regards Samuel From vogt at centre-cired.fr Fri Mar 4 14:33:52 2011 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Fri, 04 Mar 2011 14:33:52 +0100 Subject: [scilab-Users] Release of Scilab 5.3.1 In-Reply-To: <4D6FBF5D.8050003@sgl.com> References: <4D6F8792.9080502@scilab.org> <4d6fb675.87a1e60a.7cfb.357d@mx.google.com> <000301cbd9b9$f75a0480$e60e0d80$@carrico@free.fr> <4D6FBDB1.7070301@sgl.com> <1299168944.5074.648.camel@losinj.inria.fr> <4D6FBF5D.8050003@sgl.com> Message-ID: <4D70EA40.9090804@centre-cired.fr> (I agree. I think you should publish on bittorrent.) Le 03/03/2011 17:18, Stefan Elieff a ?crit : > I hear it's all the rage these days... > > OpenOffice does this. Seems like a good way to take pressure off of > the servers. > > Stefan > > > On 2011-03-03 11:15 AM, Sylvestre Ledru wrote: >> No, we don't. Should we ? ;) >> >> Sylvestre >> >> Le jeudi 03 mars 2011 ? 11:11 -0500, Stefan Elieff a ?crit : >>> Does SciLab publish releases via P2P (BitTorrent)? >>> >>> Stefan >>> >>> >>> On 2011-03-03 10:45 AM, Paul CARRICO wrote: >>>> There?s an information on the web site telling us the server if >>>> currently off ? >>>> >>>> We?ve to be patient consequently ? >>>> >>>> Paul >>>> >>>> *De :*Ausberto Castro [mailto:ausberto.castro at gmail.com] *De la >>>> part de* >>>> Prof. Ausberto S. Castro V. >>>> *Envoy? :* jeudi 3 mars 2011 16:41 >>>> *? :* users at lists.scilab.org >>>> *Objet :* Re: [scilab-Users] Release of Scilab 5.3.1 >>>> >>>> * >>>> Invalid link. No download!! >>>> >>>> >>>> >>>> *At 09:20 03/03/2011, you wrote: >>>> >>>> Dear Scilab users, >>>> >>>> The Scilab R&D Team is pleased to announce the release of Scilab >>>> 5.3.1. >>>> Download and information can be found at: >>>> http://www.scilab.org/en/products/scilab/download >>>> >>>> We also invite you to consult the video explaining the new >>>> functionalities in Scilab 5.3.1 embedded help: >>>> http://www.youtube.com/scilabchannel >>>> >>>> >>>> Best Regards >>>> >>>> >>>> ----------------------------------------------- >>>> The Scilab Consortium R&D Team >>>> ----------------------------------------------- >>>> Digiteo >>>> Domaine de Voluceau >>>> Rocquencourt - B.P. 105 >>>> 78153 Le Chesnay Cedex - France >>>> >>>> =============================================================== >>>> ** Prof. Ausberto S. Castro V.**ascv at computer.org >>>> * Universidade Nove de Julho - UNINOVE ausberto.castro at uninove.br >>>> ** Sao Paulo - SP >>>> * Brazil >>>> >>>> ?*A maior necessidade do mundo ? a de homens* ? homens que se n?o >>>> comprem nem se vendam; homens que no seu ?ntimo sejam verdadeiros e >>>> honestos; homens que n?o temam chamar o pecado pelo seu nome exato; >>>> homens, cuja consci?ncia seja t?o fiel ao dever como a b?ssola o ? ao >>>> p?lo; homens que permane?am firmes pelo que ? reto, ainda que caiam os >>>> c?us? (Ellen G. White, Educa??o, p. 57). >>>> ========================================================== >>>> >> >> >> -- *Adrien Vogt-Schilb* Research Fellow vogt at centre-cired.fr Tel: (+33) 1 43 94 73 72 Fax: (+33) 1 43 94 73 70 CIRED 45 bis, Av de la Belle Gabrielle F-94736 Nogent-sur-Marne http://www.centre-cired.fr/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: logocired.png Type: image/png Size: 4092 bytes Desc: not available URL: From martyguy at live.com Fri Mar 4 20:10:15 2011 From: martyguy at live.com (Martin Stern) Date: Fri, 4 Mar 2011 14:10:15 -0500 Subject: 64 bit Windows Version Message-ID: I noticed that on the website the 32 bit windows version of Scilab has "recommended" next to it. Does this mean that I should not use the 64 bit version? There is no explanation on the website why the 32 bit version is the recommended version. Thanks Marty Stern From paul.carrico at esterline.com Sat Mar 5 09:37:07 2011 From: paul.carrico at esterline.com (Carrico, Paul) Date: Sat, 5 Mar 2011 09:37:07 +0100 Subject: =?iso-8859-1?Q?RE=A0=3A_=5Bscilab-Users=5D_64_bit_Windows_Version?= References: Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC06F62E5C@exchsrv.AUXITROL1> Dear, I ever used 64 bits release on my workstation under Windows XP 64 ... and It works fine ! Paul ________________________________ De: Martin Stern [mailto:martyguy at live.com] Date: ven. 04/03/2011 20:10 ?: users at lists.scilab.org Objet : [scilab-Users] 64 bit Windows Version I noticed that on the website the 32 bit windows version of Scilab has "recommended" next to it. Does this mean that I should not use the 64 bit version? There is no explanation on the website why the 32 bit version is the recommended version. Thanks Marty Stern -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution 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 system. If you are not the named addressee you should not disseminate, distribute or copy this email. -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3583 bytes Desc: not available URL: From Samuel.Gougeon at univ-lemans.fr Sat Mar 5 17:50:05 2011 From: Samuel.Gougeon at univ-lemans.fr (Samuel GOUGEON) Date: Sat, 05 Mar 2011 17:50:05 +0100 Subject: libraries of ATOMS modules Message-ID: <4D7269BD.9050208@univ-lemans.fr> Hello, Is it possible to get the list of libraries related to an ATOMS's module ? From atomsGetInstalled() -- 1rst column -- we get the technical name of all installed modules. But then, how is it possible to get the names of the related libraries ? is there any connexion between atomsGetInstalled() and librarieslist()... ? Thank you for any hint. Samuel From mathieu.dubois at limsi.fr Sat Mar 5 22:46:20 2011 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Sat, 05 Mar 2011 22:46:20 +0100 Subject: [scilab-Users] Printing graphics In-Reply-To: References: Message-ID: <4D72AF2C.9060506@limsi.fr> Hello Mike, How do you print your figure? With C code or calling a scilab function like toprint()? I think that the default paper size is set by your operating system (maybe somewhere in the locale settings or maybe at the printer level)... Mathieu Le 03/03/2011 12:28, Mike Page a ?crit : > Hi, > > I am trying to print graphics from within an application that calls the > Scilab engine from C code. Everything works fine, except that the graphs > have the wrong paper setup as a default. > > Is there any way I can set up the print properties, such as paper size, > landscape/portrait, etc programmatically? > > I can call printfigure (0) and printsetupbox () to show the relevant > dialogs, but I then have to fill them in by hand. Is there a way to set the > values from within Scilab? > > As an alternative, is there a way to change the default values, for example > in an ini file somewhere? > > Thanks for any help with this. > > Mike. > From Mike at Page-One.Waitrose.com Sun Mar 6 20:05:04 2011 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Sun, 6 Mar 2011 19:05:04 -0000 Subject: [scilab-Users] Printing graphics In-Reply-To: <4D72AF2C.9060506@limsi.fr> Message-ID: Hi Mathieu, Thanks for the suggestions. I am using SendScilabJob from a C program to use the Scilab engine for graphics. When I want to print, I can send the Scilab job "toprint (0)" or "printfigure (0)". This works, but I cannot set the paper size and margins, nor set it to landscape unless I enter the required values in a dialog box. This is quite tedious for printing a series of graphs. I think you are right that the paper size default is set by the locale, because on one of my machines it is set to A4 and on the other to Letter. However, I don't know what determines whether portrait or landscape is the default. Maybe I just have to do it the hard way :-( Thanks again, Mike. -----Original Message----- From: Mathieu Dubois [mailto:mathieu.dubois at limsi.fr] Sent: 05 March 2011 21:46 To: users at lists.scilab.org Subject: Re: [scilab-Users] Printing graphics Hello Mike, How do you print your figure? With C code or calling a scilab function like toprint()? I think that the default paper size is set by your operating system (maybe somewhere in the locale settings or maybe at the printer level)... Mathieu Le 03/03/2011 12:28, Mike Page a ?crit : > Hi, > > I am trying to print graphics from within an application that calls the > Scilab engine from C code. Everything works fine, except that the graphs > have the wrong paper setup as a default. > > Is there any way I can set up the print properties, such as paper size, > landscape/portrait, etc programmatically? > > I can call printfigure (0) and printsetupbox () to show the relevant > dialogs, but I then have to fill them in by hand. Is there a way to set the > values from within Scilab? > > As an alternative, is there a way to change the default values, for example > in an ini file somewhere? > > Thanks for any help with this. > > Mike. > No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.872 / Virus Database: 271.1.1/3482 - Release Date: 03/05/11 07:34:00 From julie.paul at scilab.org Mon Mar 7 08:34:24 2011 From: julie.paul at scilab.org (Julie PAUL) Date: Mon, 7 Mar 2011 08:34:24 +0100 Subject: [scilab-Users] 64 bit Windows Version In-Reply-To: References: Message-ID: Dear Marty, The "recommended" note is there for those who do not know which version to pick in between 32 and 64-bits under Windows, considering the fact that the 32 bit version would work in both cases. Let me assure that there is no difference of performances in between the different versions of Scilab to download on our website. Your demand shows us that the "recommended" note is not clear enough so we are going to change it, to avoid any confusion in the future. Thanks for your email Best Regards ------------------------- Julie PAUL Communication Officer Phone: +33.1.39.63.55.26 ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France Le 4 mars 2011 ? 20:10, Martin Stern a ?crit : > I noticed that on the website the 32 bit windows version of Scilab has "recommended" next to it. Does this mean that I should not use the 64 bit version? There is no explanation on the website why the 32 bit version is the recommended version. > > Thanks > > Marty Stern From antoine.monmayrant at laas.fr Mon Mar 7 09:13:54 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Mon, 07 Mar 2011 09:13:54 +0100 Subject: [scilab-Users] Printing graphics In-Reply-To: References: Message-ID: <4D7493C2.9060604@laas.fr> Le 06/03/2011 20:05, Mike Page a ?crit : > Hi Mathieu, > > Thanks for the suggestions. I am using SendScilabJob from a C program to > use the Scilab engine for graphics. When I want to print, I can send the > Scilab job "toprint (0)" or "printfigure (0)". This works, but I cannot set > the paper size and margins, nor set it to landscape unless I enter the > required values in a dialog box. This is quite tedious for printing a > series of graphs. > > I think you are right that the paper size default is set by the locale, > because on one of my machines it is set to A4 and on the other to Letter. > However, I don't know what determines whether portrait or landscape is the > default. > > Maybe I just have to do it the hard way :-( Here is a workaround that could work: why don't you generate some graphic files (*.png, *.pdf) from Scilab and print them from your C program or from any script you could run in your OS? That way you delegate the task of printing to your C program (or any other program) where you might be able to specify printer settings... Antoine > Thanks again, > Mike. > > > -----Original Message----- > From: Mathieu Dubois [mailto:mathieu.dubois at limsi.fr] > Sent: 05 March 2011 21:46 > To: users at lists.scilab.org > Subject: Re: [scilab-Users] Printing graphics > > > Hello Mike, > > How do you print your figure? With C code or calling a scilab function > like toprint()? > > I think that the default paper size is set by your operating system > (maybe somewhere in the locale settings or maybe at the printer level)... > > > Mathieu > > Le 03/03/2011 12:28, Mike Page a ?crit : >> Hi, >> >> I am trying to print graphics from within an application that calls the >> Scilab engine from C code. Everything works fine, except that the graphs >> have the wrong paper setup as a default. >> >> Is there any way I can set up the print properties, such as paper size, >> landscape/portrait, etc programmatically? >> >> I can call printfigure (0) and printsetupbox () to show the relevant >> dialogs, but I then have to fill them in by hand. Is there a way to set > the >> values from within Scilab? >> >> As an alternative, is there a way to change the default values, for > example >> in an ini file somewhere? >> >> Thanks for any help with this. >> >> Mike. >> > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 9.0.872 / Virus Database: 271.1.1/3482 - Release Date: 03/05/11 > 07:34:00 > From Mike at Page-One.Waitrose.com Mon Mar 7 10:19:38 2011 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Mon, 7 Mar 2011 09:19:38 -0000 Subject: [scilab-Users] Printing graphics In-Reply-To: <4D7493C2.9060604@laas.fr> Message-ID: Hi Antoine, Yes, that's a good idea. Why didn't I think of that?... Thanks, Mike. -----Original Message----- From: Antoine Monmayrant [mailto:antoine.monmayrant at laas.fr] Sent: 07 March 2011 08:14 To: users at lists.scilab.org Subject: Re: [scilab-Users] Printing graphics Le 06/03/2011 20:05, Mike Page a ?crit : > Hi Mathieu, > > Thanks for the suggestions. I am using SendScilabJob from a C program to > use the Scilab engine for graphics. When I want to print, I can send the > Scilab job "toprint (0)" or "printfigure (0)". This works, but I cannot set > the paper size and margins, nor set it to landscape unless I enter the > required values in a dialog box. This is quite tedious for printing a > series of graphs. > > I think you are right that the paper size default is set by the locale, > because on one of my machines it is set to A4 and on the other to Letter. > However, I don't know what determines whether portrait or landscape is the > default. > > Maybe I just have to do it the hard way :-( Here is a workaround that could work: why don't you generate some graphic files (*.png, *.pdf) from Scilab and print them from your C program or from any script you could run in your OS? That way you delegate the task of printing to your C program (or any other program) where you might be able to specify printer settings... Antoine > Thanks again, > Mike. > > > -----Original Message----- > From: Mathieu Dubois [mailto:mathieu.dubois at limsi.fr] > Sent: 05 March 2011 21:46 > To: users at lists.scilab.org > Subject: Re: [scilab-Users] Printing graphics > > > Hello Mike, > > How do you print your figure? With C code or calling a scilab function > like toprint()? > > I think that the default paper size is set by your operating system > (maybe somewhere in the locale settings or maybe at the printer level)... > > > Mathieu > > Le 03/03/2011 12:28, Mike Page a ?crit : >> Hi, >> >> I am trying to print graphics from within an application that calls the >> Scilab engine from C code. Everything works fine, except that the graphs >> have the wrong paper setup as a default. >> >> Is there any way I can set up the print properties, such as paper size, >> landscape/portrait, etc programmatically? >> >> I can call printfigure (0) and printsetupbox () to show the relevant >> dialogs, but I then have to fill them in by hand. Is there a way to set > the >> values from within Scilab? >> >> As an alternative, is there a way to change the default values, for > example >> in an ini file somewhere? >> >> Thanks for any help with this. >> >> Mike. >> > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 9.0.872 / Virus Database: 271.1.1/3482 - Release Date: 03/05/11 > 07:34:00 > No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.872 / Virus Database: 271.1.1/3485 - Release Date: 03/06/11 07:35:00 From huubvanniekerk at gmail.com Mon Mar 7 11:06:08 2011 From: huubvanniekerk at gmail.com (huub) Date: Mon, 07 Mar 2011 11:06:08 +0100 Subject: Scilab 5.3.1 execution error on RHEL 5.5 Message-ID: Hi, I just installed the tar-ball of Scilab 5.3.1 on RHEL (actually, CentOS) 5.5, and get this when starting: scilab-bin: /lib/libc.so.6: version `GLIBC_2.7' not found (required by /opt/scilab-5.3.1/lib/thirdparty/libhdf5.so.6) Is there a solution for this? Thanks. From rudig at reutech.co.za Mon Mar 7 12:07:25 2011 From: rudig at reutech.co.za (Rudi Glatthaar) Date: Mon, 7 Mar 2011 13:07:25 +0200 Subject: =?us-ascii?Q?compile_problem_=22A_Fortran_or_C_compiler_is_required=22.?= Message-ID: <001701cbdcb7$d75f6430$5f02010a@rdl.co.za> Hi I installed Scilab 5.3.1 and had a look at the Xcos demos, in particular the electrical systems demos. Scilab terminates with a compiling problem "A Fortran or C compiler is required". I do not have a c compiler installed on my PC. Which c compiler is required, and how do I set it up so that Scilab recognizes it? Can anyone help me? Rudi Glatthaar -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Mon Mar 7 12:53:45 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Mon, 07 Mar 2011 12:53:45 +0100 Subject: [scilab-Users] Scilab 5.3.1 execution error on RHEL 5.5 In-Reply-To: References: Message-ID: <1299498825.3747.21278.camel@korcula.inria.fr> Le lundi 07 mars 2011 ? 11:06 +0100, huub a ?crit : > Hi, > > I just installed the tar-ball of Scilab 5.3.1 on RHEL (actually, CentOS) > 5.5, and get this when starting: > > scilab-bin: /lib/libc.so.6: version `GLIBC_2.7' not found (required by > /opt/scilab-5.3.1/lib/thirdparty/libhdf5.so.6) > > Is there a solution for this? Could you open a bug report ? http://bugzilla.scilab.org/ (and specify if you run 32 or 64 bits) Thanks. Sylvestre From huubvanniekerk at gmail.com Mon Mar 7 13:05:36 2011 From: huubvanniekerk at gmail.com (huub) Date: Mon, 07 Mar 2011 13:05:36 +0100 Subject: Scilab 5.3.1 execution error on RHEL 5.5 In-Reply-To: <1299498825.3747.21278.camel@korcula.inria.fr> References: <1299498825.3747.21278.camel@korcula.inria.fr> Message-ID: <4D74CA10.9060704@gmail.com> On 03/07/2011 12:53 PM, Sylvestre Ledru wrote: > Le lundi 07 mars 2011 ? 11:06 +0100, huub a ?crit : >> Hi, >> >> I just installed the tar-ball of Scilab 5.3.1 on RHEL (actually, CentOS) >> 5.5, and get this when starting: >> >> scilab-bin: /lib/libc.so.6: version `GLIBC_2.7' not found (required by >> /opt/scilab-5.3.1/lib/thirdparty/libhdf5.so.6) >> >> Is there a solution for this? > Could you open a bug report ? > http://bugzilla.scilab.org/ > (and specify if you run 32 or 64 bits) > > Thanks. > Sylvestre > > Done: Bug 9139. Thanks. From p.zaffino at yahoo.it Mon Mar 7 19:56:10 2011 From: p.zaffino at yahoo.it (Paolo Zaffino) Date: Mon, 07 Mar 2011 19:56:10 +0100 Subject: Loglog plot and fft2 Message-ID: <4D752A4A.2090404@yahoo.it> Hi at all! I must compute the power spectrum density of an image. For this reason I run: psd=sqrt(abs(fft2(img))); and it seems ok. Now I'd like plot into a loglog graph the spectrum of the 2D Fouriere trasform (frequency vs magnitude)...Could anyone help me? Thanks a lot! From Samuel.Gougeon at univ-lemans.fr Mon Mar 7 20:28:50 2011 From: Samuel.Gougeon at univ-lemans.fr (Samuel GOUGEON) Date: Mon, 07 Mar 2011 20:28:50 +0100 Subject: [scilab-Users] Loglog plot and fft2 In-Reply-To: <4D752A4A.2090404@yahoo.it> References: <4D752A4A.2090404@yahoo.it> Message-ID: <4D7531F2.60501@univ-lemans.fr> Hello, ----- Message d'origine ----- De : Paolo Zaffino Date : 07/03/2011 19:56: > Hi at all! > I must compute the power spectrum density of an image. > For this reason I run: > psd=sqrt(abs(fft2(img))); > and it seems ok. Did you check your results?: http://bugzilla.scilab.org/show_bug.cgi?id=7895 > Now I'd like plot into a loglog graph the spectrum of the 2D Fouriere trasform > (frequency vs magnitude)...Could anyone help me? > Thanks a lot! You likely mean a 3D plot: magnitude vs (frequency_x, frequency_y)? Samuel From p.zaffino at yahoo.it Mon Mar 7 20:38:13 2011 From: p.zaffino at yahoo.it (Paolo Zaffino) Date: Mon, 07 Mar 2011 20:38:13 +0100 Subject: [scilab-Users] Loglog plot and fft2 In-Reply-To: <4D7531F2.60501@univ-lemans.fr> References: <4D752A4A.2090404@yahoo.it> <4D7531F2.60501@univ-lemans.fr> Message-ID: <4D753425.6030305@yahoo.it> First of all thanks for the reply! No, I'd like plot into a 2d graph each spatial frequency vs its magnitude. An average of two spatial frequencies would be fine...but I don't know how I can do it. Il 07/03/2011 20:28, Samuel GOUGEON ha scritto: > Hello, > > ----- Message d'origine ----- > De : Paolo Zaffino > Date : 07/03/2011 19:56: >> Hi at all! >> I must compute the power spectrum density of an image. >> For this reason I run: >> psd=sqrt(abs(fft2(img))); >> and it seems ok. > Did you check your results?: > http://bugzilla.scilab.org/show_bug.cgi?id=7895 > >> Now I'd like plot into a loglog graph the spectrum of the 2D Fouriere >> trasform (frequency vs magnitude)...Could anyone help me? >> Thanks a lot! > You likely mean a 3D plot: magnitude vs (frequency_x, frequency_y)? > > Samuel > > From Samuel.Gougeon at univ-lemans.fr Mon Mar 7 20:47:38 2011 From: Samuel.Gougeon at univ-lemans.fr (Samuel GOUGEON) Date: Mon, 07 Mar 2011 20:47:38 +0100 Subject: [scilab-Users] Loglog plot and fft2 In-Reply-To: <4D753425.6030305@yahoo.it> References: <4D752A4A.2090404@yahoo.it> <4D7531F2.60501@univ-lemans.fr> <4D753425.6030305@yahoo.it> Message-ID: <4D75365A.30001@univ-lemans.fr> ----- Message d'origine ----- De : Paolo Zaffino Date : 07/03/2011 20:38: > First of all thanks for the reply! > No, I'd like plot into a 2d graph each spatial frequency vs its magnitude. > An average of two spatial frequencies would be fine...but I don't know how I > can do it. You can average the signal _before_ the FFT : See sum(..., "r") or sum(.., "c") You can average the FFT magnitude along lines or columns. It depends on what you are searching for. This is your job. Then, to get a loglog plot you will have to remove the 0-frequency (= average of the signal), and frequencies with null magnitudes (if any). Finally, the graphics will be something like: plot2d("ll",frequencies, magnitudes) Regards Samuel PS : This is mostly some signal processing stuff rather than some Scilab one. From michael.baudin at scilab.org Tue Mar 8 08:44:32 2011 From: michael.baudin at scilab.org (=?ISO-8859-1?Q?Micha=EBl_Baudin?=) Date: Tue, 08 Mar 2011 08:44:32 +0100 Subject: [scilab-Users] Parallel Computing in Scilab In-Reply-To: <4D3967E9.2060307@univ-lemans.fr> References: <4D3967E9.2060307@univ-lemans.fr> Message-ID: <4D75DE60.5080901@scilab.org> Hi, Actually, parallel_run() *can* be used on Windows. But you are true when you write that has not the performance effect that we could expect from a parallel computation. One way to perform multi-core computations, though, is to use the Intel MKL, which is shipped with the default Scilab release on this operating system. Best regards, Micha?l Le 21/01/2011 12:03, Samuel GOUGEON a ?crit : > AFAIK, up to now, both PVM and parallel_run() cannot be used with > Windows OS. -- Micha?l Baudin Ing?nieur de d?veloppement michael.baudin at scilab.org ------------------------- Consortium Scilab - Digiteo Domaine de Voluceau - Rocquencourt B.P. 105 - 78153 Le Chesnay Cedex Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 From ychattah at iai.co.il Tue Mar 8 09:00:18 2011 From: ychattah at iai.co.il (computidoo) Date: Tue, 8 Mar 2011 00:00:18 -0800 (PST) Subject: optimization question Message-ID: <1299571218262-2649909.post@n3.nabble.com> Hello, I'm tring to use the GA optimization code demo to define my problem. i change the function deb_1 to function f=deb_1(x) MAT1=[x(1) x(2) x(3) x(4)]; f=out(MAT1);//run simulation and return the result(double number) endfunction and i have problems with the optimization why? what are the changes that i have to do to run the problem I have more varialble (see MAT1) and i need to run big sctipt that i put it on the "out" function name. best regards computidoo -- View this message in context: http://mailinglists.scilab.org/optimization-question-tp2649909p2649909.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From antoine.monmayrant at laas.fr Tue Mar 8 10:58:13 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Tue, 08 Mar 2011 10:58:13 +0100 Subject: Finding continuous parts in a mask (ie a binary matrix) Message-ID: <4D75FDB5.10805@laas.fr> Hi everyone, I have question that is more about image filtering than scilab, but I haven't found any answer so far so I'm turning towards scilab users. I am looking for a way to determine continuous parts in a matrix made of 1 or 0. Basically, this matrix is used as a mask to filter an image and I need to determine the number of isolated "grains" (ie continuous parts where the matrix is equal to 1) in this mask. As an example, here is a mask: -->mask mask = 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. 0. 1. 1. 0. 0. 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. 0. 0. 0. 0. 0. 0. 0. 1. 1. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. It contains 2 "grains", one in the upper-right corner, and one in the middle-left. I would like to be able to isolate them in order to determine their position in the matrix, size,... Do any of you know of a good algorithm to achieve this? Do any of you know what are the relevant names or keywords associated to this kind of algorithm? Thank you in advance, Antoin From Mike at Page-One.Waitrose.com Tue Mar 8 11:21:38 2011 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Tue, 8 Mar 2011 10:21:38 -0000 Subject: [scilab-Users] Finding continuous parts in a mask (ie a binary matrix) In-Reply-To: <4D75FDB5.10805@laas.fr> Message-ID: Hi Antoine, You could use a Sobel transform to detect the edges where the value changes from 0 to 1 or 1 to 0. But maybe you were looking for something simpler? Mike. -----Original Message----- From: Antoine Monmayrant [mailto:antoine.monmayrant at laas.fr] Sent: 08 March 2011 09:58 To: users at lists.scilab.org Subject: [scilab-Users] Finding continuous parts in a mask (ie a binary matrix) Hi everyone, I have question that is more about image filtering than scilab, but I haven't found any answer so far so I'm turning towards scilab users. I am looking for a way to determine continuous parts in a matrix made of 1 or 0. Basically, this matrix is used as a mask to filter an image and I need to determine the number of isolated "grains" (ie continuous parts where the matrix is equal to 1) in this mask. As an example, here is a mask: -->mask mask = 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. 0. 1. 1. 0. 0. 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. 0. 0. 0. 0. 0. 0. 0. 1. 1. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. It contains 2 "grains", one in the upper-right corner, and one in the middle-left. I would like to be able to isolate them in order to determine their position in the matrix, size,... Do any of you know of a good algorithm to achieve this? Do any of you know what are the relevant names or keywords associated to this kind of algorithm? Thank you in advance, Antoin No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.872 / Virus Database: 271.1.1/3488 - Release Date: 03/07/11 20:43:00 From jasper at amsterchem.com Tue Mar 8 11:27:06 2011 From: jasper at amsterchem.com (jasper van baten) Date: Tue, 08 Mar 2011 11:27:06 +0100 Subject: [scilab-Users] Finding continuous parts in a mask (ie a binary matrix) In-Reply-To: References: <4D75FDB5.10805@laas.fr> Message-ID: <201103081027.p28AR4p0017117@dutch35.digitalus.nl> Hello Antoine, Use a flood fill. Make a matrix with the same size as your original to keep track of which elements you already checked. Loop until there are no more elements you did not check with a value of 1: - make a list of elements to check, add the first unchecked element with value of 1 - make a list of elements in the grain, initially empty. - while there are elements in the to-check list: - add this element to the grain list - mark this element as checked in the matrix - add all of its unchecked neighbours to the to-check list - the grain list now contains all elements in a grain. All elements in this grain are marked checked. Scan for the next grain. Hope that helps. Jasper. At 11:21 3/8/2011, Mike Page wrote: >Hi Antoine, > >You could use a Sobel transform to detect the edges where the value changes >from 0 to 1 or 1 to 0. > >But maybe you were looking for something simpler? > >Mike. > > >-----Original Message----- >From: Antoine Monmayrant [mailto:antoine.monmayrant at laas.fr] >Sent: 08 March 2011 09:58 >To: users at lists.scilab.org >Subject: [scilab-Users] Finding continuous parts in a mask (ie a binary >matrix) > > >Hi everyone, > >I have question that is more about image filtering than scilab, but I >haven't found any answer so far so I'm turning towards scilab users. >I am looking for a way to determine continuous parts in a matrix made of >1 or 0. >Basically, this matrix is used as a mask to filter an image and I need >to determine the number of isolated "grains" (ie continuous parts where >the matrix is equal to 1) in this mask. >As an example, here is a mask: > >-->mask > mask = > > 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. > 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. > 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. > 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. > 0. 1. 1. 0. 0. 0. 0. 0. 0. 0. > 0. 1. 1. 1. 0. 0. 0. 0. 0. 0. > 0. 0. 1. 1. 0. 0. 0. 0. 0. 0. > 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. > 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. > 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. > > >It contains 2 "grains", one in the upper-right corner, and one in the >middle-left. >I would like to be able to isolate them in order to determine their >position in the matrix, size,... >Do any of you know of a good algorithm to achieve this? >Do any of you know what are the relevant names or keywords associated to >this kind of algorithm? > >Thank you in advance, > >Antoin > >No virus found in this incoming message. >Checked by AVG - www.avg.com >Version: 9.0.872 / Virus Database: 271.1.1/3488 - Release Date: 03/07/11 >20:43:00 From antoine.monmayrant at laas.fr Tue Mar 8 11:30:37 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Tue, 08 Mar 2011 11:30:37 +0100 Subject: [scilab-Users] Finding continuous parts in a mask (ie a binary matrix) In-Reply-To: References: Message-ID: <4D76054D.4010305@laas.fr> Hi Mike, Thanks for your help. Detecting where the edge lies is not an issue here as it is as sharp as it gets. The issue is more to group "1" grains efficiently. Otherwise I think the following could work: 1) I assume I already have a list of grains, each grain containing the coordinates of points that are part of the grain. 2) I scan each point in the matrix that are equals to 1 and have not been scanned so far. 3) For each point equals to "1", I extract the (x,y) coordinates and compare them to the coordinates of points in grains already found. 4) If these coordinates are touching an existing grain, I add them to the grain, If not, I create a new grain with the current coordinate and move to the next point. My problem with the approach above is that my matrix is 2560x1920 and that I can get thousands of grains... Antoine Le 08/03/2011 11:21, Mike Page a ?crit : > Hi Antoine, > > You could use a Sobel transform to detect the edges where the value changes > from 0 to 1 or 1 to 0. > > But maybe you were looking for something simpler? > > Mike. > > > -----Original Message----- > From: Antoine Monmayrant [mailto:antoine.monmayrant at laas.fr] > Sent: 08 March 2011 09:58 > To: users at lists.scilab.org > Subject: [scilab-Users] Finding continuous parts in a mask (ie a binary > matrix) > > > Hi everyone, > > I have question that is more about image filtering than scilab, but I > haven't found any answer so far so I'm turning towards scilab users. > I am looking for a way to determine continuous parts in a matrix made of > 1 or 0. > Basically, this matrix is used as a mask to filter an image and I need > to determine the number of isolated "grains" (ie continuous parts where > the matrix is equal to 1) in this mask. > As an example, here is a mask: > > -->mask > mask = > > 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. > 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. > 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. > 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. > 0. 1. 1. 0. 0. 0. 0. 0. 0. 0. > 0. 1. 1. 1. 0. 0. 0. 0. 0. 0. > 0. 0. 1. 1. 0. 0. 0. 0. 0. 0. > 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. > 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. > 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. > > > It contains 2 "grains", one in the upper-right corner, and one in the > middle-left. > I would like to be able to isolate them in order to determine their > position in the matrix, size,... > Do any of you know of a good algorithm to achieve this? > Do any of you know what are the relevant names or keywords associated to > this kind of algorithm? > > Thank you in advance, > > Antoin > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 9.0.872 / Virus Database: 271.1.1/3488 - Release Date: 03/07/11 > 20:43:00 > -- +++++++++++++++++++++++++++++++++++++++++++++++++++++++ Antoine Monmayrant LAAS - CNRS 7 avenue du Colonel Roche 31077 TOULOUSE Cedex 4 FRANCE Tel:+33 5 61 33 64 59 email : antoine.monmayrant at laas.fr permanent email : antoine.monmayrant at polytechnique.org +++++++++++++++++++++++++++++++++++++++++++++++++++++++ From antoine.monmayrant at laas.fr Tue Mar 8 11:34:35 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Tue, 08 Mar 2011 11:34:35 +0100 Subject: [scilab-Users] Finding continuous parts in a mask (ie a binary matrix) In-Reply-To: <201103081027.p28AR4p0017117@dutch35.digitalus.nl> References: <4D75FDB5.10805@laas.fr> <201103081027.p28AR4p0017117@dutch35.digitalus.nl> Message-ID: <4D76063B.3010200@laas.fr> Hi Jasper, Thanks for your proposition. I came to a similar conclusion (see my reply to Mike). I was wondering whether there was something more efficient to implement. I am sure this kind of problem as already been solved in many areas but I don't have the right keywords to search for. If I don't find anything better, I'll implement something along the lines of what you've proposed. I am just afraid that this approach will be too slow given the size of my matrices. Thank you for your help, Antoine Le 08/03/2011 11:27, jasper van baten a ?crit : > Hello Antoine, > > Use a flood fill. Make a matrix with the same size as your original to > keep track of which elements you already checked. > > Loop until there are no more elements you did not check with a value > of 1: > > - make a list of elements to check, add the first unchecked element > with value of 1 > - make a list of elements in the grain, initially empty. > - while there are elements in the to-check list: > - add this element to the grain list > - mark this element as checked in the matrix > - add all of its unchecked neighbours to the to-check list > - the grain list now contains all elements in a grain. All elements > in this grain are marked checked. Scan for the next grain. > > Hope that helps. > > Jasper. > > > At 11:21 3/8/2011, Mike Page wrote: >> Hi Antoine, >> >> You could use a Sobel transform to detect the edges where the value >> changes >> from 0 to 1 or 1 to 0. >> >> But maybe you were looking for something simpler? >> >> Mike. >> >> >> -----Original Message----- >> From: Antoine Monmayrant [mailto:antoine.monmayrant at laas.fr] >> Sent: 08 March 2011 09:58 >> To: users at lists.scilab.org >> Subject: [scilab-Users] Finding continuous parts in a mask (ie a binary >> matrix) >> >> >> Hi everyone, >> >> I have question that is more about image filtering than scilab, but I >> haven't found any answer so far so I'm turning towards scilab users. >> I am looking for a way to determine continuous parts in a matrix made of >> 1 or 0. >> Basically, this matrix is used as a mask to filter an image and I need >> to determine the number of isolated "grains" (ie continuous parts where >> the matrix is equal to 1) in this mask. >> As an example, here is a mask: >> >> -->mask >> mask = >> >> 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. >> 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. >> 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. >> 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. >> 0. 1. 1. 0. 0. 0. 0. 0. 0. 0. >> 0. 1. 1. 1. 0. 0. 0. 0. 0. 0. >> 0. 0. 1. 1. 0. 0. 0. 0. 0. 0. >> 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. >> 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. >> 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. >> >> >> It contains 2 "grains", one in the upper-right corner, and one in the >> middle-left. >> I would like to be able to isolate them in order to determine their >> position in the matrix, size,... >> Do any of you know of a good algorithm to achieve this? >> Do any of you know what are the relevant names or keywords associated to >> this kind of algorithm? >> >> Thank you in advance, >> >> Antoin >> >> No virus found in this incoming message. >> Checked by AVG - www.avg.com >> Version: 9.0.872 / Virus Database: 271.1.1/3488 - Release Date: 03/07/11 >> 20:43:00 > -- +++++++++++++++++++++++++++++++++++++++++++++++++++++++ Antoine Monmayrant LAAS - CNRS 7 avenue du Colonel Roche 31077 TOULOUSE Cedex 4 FRANCE Tel:+33 5 61 33 64 59 email : antoine.monmayrant at laas.fr permanent email : antoine.monmayrant at polytechnique.org +++++++++++++++++++++++++++++++++++++++++++++++++++++++ From jasper at amsterchem.com Tue Mar 8 11:43:34 2011 From: jasper at amsterchem.com (jasper van baten) Date: Tue, 08 Mar 2011 11:43:34 +0100 Subject: [scilab-Users] Finding continuous parts in a mask (ie a binary matrix) In-Reply-To: <4D76063B.3010200@laas.fr> References: <4D75FDB5.10805@laas.fr> <201103081027.p28AR4p0017117@dutch35.digitalus.nl> <4D76063B.3010200@laas.fr> Message-ID: <201103081043.p28AhW8a017117@dutch35.digitalus.nl> Hi Antoine, Flood fills are actually pretty efficient. The checking whether the points was checked already is a simple matrix element check. So the efficiency depends on the two lists (elements to check, should be a stack-type of list, and grain list). I suppose if you pre-allocate them to their maximum size (maximum size would be the sum of your original grid, e.g. the sum of all ones), this should be pretty efficient too. You can do your grain calculations (e.g. size, average location, ...) upon finding a complete grain, you need not sure the grain list itself. If you can do these calculations on the fly you need not even store the grain list while you are finding them. If you keep your 'checked elements' matrix the same as (a copy of) the original matrix (e.g. only keep ones for the points that are unchecked and part of a grain) you save yourself a matrix and finding the next start point could be a simple 'find'. If your grains a few and far apart, you should consider using sparse matrices. Good luck. Jasper. At 11:34 3/8/2011, Antoine Monmayrant wrote: >Hi Jasper, > >Thanks for your proposition. >I came to a similar conclusion (see my reply to Mike). >I was wondering whether there was something more efficient to implement. >I am sure this kind of problem as already been >solved in many areas but I don't have the right keywords to search for. >If I don't find anything better, I'll implement >something along the lines of what you've proposed. >I am just afraid that this approach will be too >slow given the size of my matrices. > >Thank you for your help, > >Antoine > >Le 08/03/2011 11:27, jasper van baten a ?crit : >>Hello Antoine, >> >>Use a flood fill. Make a matrix with the same >>size as your original to keep track of which elements you already checked. >> >>Loop until there are no more elements you did not check with a value of 1: >> >> - make a list of elements to check, add the >> first unchecked element with value of 1 >> - make a list of elements in the grain, initially empty. >> - while there are elements in the to-check list: >> - add this element to the grain list >> - mark this element as checked in the matrix >> - add all of its unchecked neighbours to the to-check list >> - the grain list now contains all elements in >> a grain. All elements in this grain are marked >> checked. Scan for the next grain. >> >>Hope that helps. >> >>Jasper. >> >> >>At 11:21 3/8/2011, Mike Page wrote: >>>Hi Antoine, >>> >>>You could use a Sobel transform to detect the edges where the value changes >>>from 0 to 1 or 1 to 0. >>> >>>But maybe you were looking for something simpler? >>> >>>Mike. >>> >>> >>>-----Original Message----- >>>From: Antoine Monmayrant [mailto:antoine.monmayrant at laas.fr] >>>Sent: 08 March 2011 09:58 >>>To: users at lists.scilab.org >>>Subject: [scilab-Users] Finding continuous parts in a mask (ie a binary >>>matrix) >>> >>> >>>Hi everyone, >>> >>>I have question that is more about image filtering than scilab, but I >>>haven't found any answer so far so I'm turning towards scilab users. >>>I am looking for a way to determine continuous parts in a matrix made of >>>1 or 0. >>>Basically, this matrix is used as a mask to filter an image and I need >>>to determine the number of isolated "grains" (ie continuous parts where >>>the matrix is equal to 1) in this mask. >>>As an example, here is a mask: >>> >>>-->mask >>> mask = >>> >>> 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. >>> 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. >>> 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. >>> 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. >>> 0. 1. 1. 0. 0. 0. 0. 0. 0. 0. >>> 0. 1. 1. 1. 0. 0. 0. 0. 0. 0. >>> 0. 0. 1. 1. 0. 0. 0. 0. 0. 0. >>> 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. >>> 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. >>> 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. >>> >>> >>>It contains 2 "grains", one in the upper-right corner, and one in the >>>middle-left. >>>I would like to be able to isolate them in order to determine their >>>position in the matrix, size,... >>>Do any of you know of a good algorithm to achieve this? >>>Do any of you know what are the relevant names or keywords associated to >>>this kind of algorithm? >>> >>>Thank you in advance, >>> >>>Antoin >>> >>>No virus found in this incoming message. >>>Checked by AVG - www.avg.com >>>Version: 9.0.872 / Virus Database: 271.1.1/3488 - Release Date: 03/07/11 >>>20:43:00 > > >-- >+++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > Antoine Monmayrant LAAS - CNRS > 7 avenue du Colonel Roche > 31077 TOULOUSE > Cedex 4 FRANCE > > Tel:+33 5 61 33 64 59 > > email : antoine.monmayrant at laas.fr > permanent email : antoine.monmayrant at polytechnique.org > >+++++++++++++++++++++++++++++++++++++++++++++++++++++++ From Samuel.Gougeon at univ-lemans.fr Tue Mar 8 13:11:52 2011 From: Samuel.Gougeon at univ-lemans.fr (Samuel GOUGEON) Date: Tue, 08 Mar 2011 13:11:52 +0100 Subject: [scilab-Users] Finding continuous parts in a mask (ie a binary matrix) In-Reply-To: <4D75FDB5.10805@laas.fr> References: <4D75FDB5.10805@laas.fr> Message-ID: <4D761D08.1070803@univ-lemans.fr> Hello Antoine, ----- Message d'origine ----- De : Antoine Monmayrant Date : 08/03/2011 10:58: > Hi everyone, > > I have question that is more about image filtering than scilab, but I haven't > found any answer so far so I'm turning towards scilab users. > I am looking for a way to determine continuous parts in a matrix made of 1 or 0. > Basically, this matrix is used as a mask to filter an image and I need to > determine the number of isolated "grains" (ie continuous parts where the > matrix is equal to 1) in this mask. > As an example, here is a mask: > > -->mask > mask = > > 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. > 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. > 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. > 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. > 0. 1. 1. 0. 0. 0. 0. 0. 0. 0. > 0. 1. 1. 1. 0. 0. 0. 0. 0. 0. > 0. 0. 1. 1. 0. 0. 0. 0. 0. 0. > 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. > 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. > 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. > There are first a number of decisions to be taken about waht you will consider being a acceptable domain: * Do you consider 2 domains just connected by a right wire as distincts ? 0. 0. 0. 0. 0. 0. 0. 0. 0. 1. 1. 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. 0. 0. 0. 0. 0. 1. 1. 0. 0. 0. 0. 0. 0. 0. 1. 0. 0. 0. 0. 0. 0. 0. 1. 1. 0. 0. 0. 0. 0. 1. 1. 1. 1. 0. 0. Likely no. There are the same... * Do you consider 2 domains just connected by a diagonal wire as distincts? 0. 0. 0. 0. 0. 0. 0. 0. 0. 1. 1. 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. 0. 0. 0. 0. 0. 1. 1. 0. 0. 0. 0. 0. 0. 0. 0. 1. 1. 0. 0. 0. 0. 0. 1. 1. 1. 0. 0. 0. 0. 0. 1. 1. 1. 0. 0. This is a classic neighbouring option * Do you consider only doubly connex domains, so with no hole(s), unlike here?: 0. 0. 0. 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. 0. 0. 0. 1. 1. 0. 1. 0. 0. 0. 0. 1. 1. 0. 1. 0. 0. 0. 0. 0. 1. 1. 2. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. * Do you consider only un-nested domain? Counter-example: 0. 1. 1. 1. 0. 1. 0. 0. 0. 1. 1. 1. 1. 1. 1. 0. 1. 1. 0. 0. 0. 0. 1. 0. 1. 1. 0. Z. Z. 0. 1. 0. 1. 1. 0. 0. 0. 0. 1. 0. 0. 1. 1. 1. 1. 1. 1. 0. 0. 0. 1. 1. 1. 1. 0. 0. IMO, it is hard to implement and discuss any algo before answering to all these cases. Regards Samuel From antoine.monmayrant at laas.fr Tue Mar 8 13:52:24 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Tue, 08 Mar 2011 13:52:24 +0100 Subject: [scilab-Users] Finding continuous parts in a mask (ie a binary matrix) In-Reply-To: <4D761D08.1070803@univ-lemans.fr> References: <4D75FDB5.10805@laas.fr> <4D761D08.1070803@univ-lemans.fr> Message-ID: <4D762688.3070504@laas.fr> Le 08/03/2011 13:11, Samuel GOUGEON a ?crit : > Hello Antoine, Hi Samuel, To give you more details, I just need to be sure to detect correctly convex shapes. Most of the time, the "grains" I am interested in will be disks or squares. I won't try to detect non-convex grains. So I tried to answer you questions below with this application in mind. > > ----- Message d'origine ----- > De : Antoine Monmayrant > Date : 08/03/2011 10:58: >> Hi everyone, >> >> I have question that is more about image filtering than scilab, but I >> haven't found any answer so far so I'm turning towards scilab users. >> I am looking for a way to determine continuous parts in a matrix made >> of 1 or 0. >> Basically, this matrix is used as a mask to filter an image and I >> need to determine the number of isolated "grains" (ie continuous >> parts where the matrix is equal to 1) in this mask. >> As an example, here is a mask: >> >> -->mask >> mask = >> >> 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. >> 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. >> 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. >> 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. >> 0. 1. 1. 0. 0. 0. 0. 0. 0. 0. >> 0. 1. 1. 1. 0. 0. 0. 0. 0. 0. >> 0. 0. 1. 1. 0. 0. 0. 0. 0. 0. >> 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. >> 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. >> 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. >> > There are first a number of decisions to be taken about > waht you will consider being a acceptable domain: > > * Do you consider 2 domains just connected by a right wire as distincts ? > 0. 0. 0. 0. 0. 0. 0. 0. > 0. 1. 1. 0. 0. 0. 0. 0. > 0. 1. 1. 1. 0. 0. 0. 0. > 0. 0. 1. 1. 0. 0. 0. 0. > 0. 0. 0. 1. 0. 0. 0. 0. > 0. 0. 0. 1. 1. 0. 0. 0. > 0. 0. 1. 1. 1. 1. 0. 0. > Likely no. There are the same... No, as you said. > > * Do you consider 2 domains just connected by a diagonal wire as > distincts? > 0. 0. 0. 0. 0. 0. 0. 0. > 0. 1. 1. 0. 0. 0. 0. 0. > 0. 1. 1. 1. 0. 0. 0. 0. > 0. 0. 1. 1. 0. 0. 0. 0. > 0. 0. 0. 0. 1. 1. 0. 0. > 0. 0. 0. 1. 1. 1. 0. 0. > 0. 0. 0. 1. 1. 1. 0. 0. > This is a classic neighbouring option Yes. > > * Do you consider only doubly connex domains, so with no hole(s), > unlike here?: > 0. 0. 0. 0. 0. 0. 0. 0. > 0. 1. 1. 1. 0. 0. 0. 0. > 1. 1. 0. 1. 0. 0. 0. 0. > 1. 1. 0. 1. 0. 0. 0. 0. > 0. 1. 1. 2. 0. 0. 0. 0. > 0. 0. 0. 0. 0. 0. 0. 0. Tricky one. In that case, this is one grain. This is an edge case for my application so it should not occur too often. I can either consider the "0" inside to be part of the grain or not, it does not matter that much. > > * Do you consider only un-nested domain? Counter-example: > 0. 1. 1. 1. 0. 1. 0. 0. > 0. 1. 1. 1. 1. 1. 1. 0. > 1. 1. 0. 0. 0. 0. 1. 0. > 1. 1. 0. Z. Z. 0. 1. 0. > 1. 1. 0. 0. 0. 0. 1. 0. > 0. 1. 1. 1. 1. 1. 1. 0. > 0. 0. 1. 1. 1. 1. 0. 0. Well, again, it should occur not too often. In this case, I can consider the whole thing to be one big grain. > > IMO, it is hard to implement and discuss any algo before answering to > all these cases. Any suggestion given my answers? Are there any ressource I should check to get some examples on these issues of neighbouring? Cheers, Antoine > > Regards > Samuel > From stephane.mottelet at utc.fr Tue Mar 8 13:56:59 2011 From: stephane.mottelet at utc.fr (=?ISO-8859-1?Q?St=E9phane_Mottelet?=) Date: Tue, 08 Mar 2011 13:56:59 +0100 Subject: [scilab-Users] Finding continuous parts in a mask (ie a binary matrix) In-Reply-To: <4D762688.3070504@laas.fr> References: <4D75FDB5.10805@laas.fr> <4D761D08.1070803@univ-lemans.fr> <4D762688.3070504@laas.fr> Message-ID: <4D76279B.4070909@utc.fr> Hi, I think Matlab has such a feature in the Image processing toobox http://www.mathworks.com/matlabcentral/newsreader/view_thread/24869 maybe does it also exists in Scilab's SIVP toolbox ? S. Le 08/03/2011 13:52, Antoine Monmayrant a ?crit : > Le 08/03/2011 13:11, Samuel GOUGEON a ?crit : >> Hello Antoine, > Hi Samuel, > > To give you more details, I just need to be sure to detect correctly > convex shapes. > Most of the time, the "grains" I am interested in will be disks or > squares. > I won't try to detect non-convex grains. > So I tried to answer you questions below with this application in mind. >> >> ----- Message d'origine ----- >> De : Antoine Monmayrant >> Date : 08/03/2011 10:58: >>> Hi everyone, >>> >>> I have question that is more about image filtering than scilab, but >>> I haven't found any answer so far so I'm turning towards scilab users. >>> I am looking for a way to determine continuous parts in a matrix >>> made of 1 or 0. >>> Basically, this matrix is used as a mask to filter an image and I >>> need to determine the number of isolated "grains" (ie continuous >>> parts where the matrix is equal to 1) in this mask. >>> As an example, here is a mask: >>> >>> -->mask >>> mask = >>> >>> 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. >>> 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. >>> 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. >>> 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. >>> 0. 1. 1. 0. 0. 0. 0. 0. 0. 0. >>> 0. 1. 1. 1. 0. 0. 0. 0. 0. 0. >>> 0. 0. 1. 1. 0. 0. 0. 0. 0. 0. >>> 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. >>> 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. >>> 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. >>> >> There are first a number of decisions to be taken about >> waht you will consider being a acceptable domain: >> >> * Do you consider 2 domains just connected by a right wire as >> distincts ? >> 0. 0. 0. 0. 0. 0. 0. 0. >> 0. 1. 1. 0. 0. 0. 0. 0. >> 0. 1. 1. 1. 0. 0. 0. 0. >> 0. 0. 1. 1. 0. 0. 0. 0. >> 0. 0. 0. 1. 0. 0. 0. 0. >> 0. 0. 0. 1. 1. 0. 0. 0. >> 0. 0. 1. 1. 1. 1. 0. 0. >> Likely no. There are the same... > No, as you said. >> >> * Do you consider 2 domains just connected by a diagonal wire as >> distincts? >> 0. 0. 0. 0. 0. 0. 0. 0. >> 0. 1. 1. 0. 0. 0. 0. 0. >> 0. 1. 1. 1. 0. 0. 0. 0. >> 0. 0. 1. 1. 0. 0. 0. 0. >> 0. 0. 0. 0. 1. 1. 0. 0. >> 0. 0. 0. 1. 1. 1. 0. 0. >> 0. 0. 0. 1. 1. 1. 0. 0. >> This is a classic neighbouring option > Yes. >> >> * Do you consider only doubly connex domains, so with no hole(s), >> unlike here?: >> 0. 0. 0. 0. 0. 0. 0. 0. >> 0. 1. 1. 1. 0. 0. 0. 0. >> 1. 1. 0. 1. 0. 0. 0. 0. >> 1. 1. 0. 1. 0. 0. 0. 0. >> 0. 1. 1. 2. 0. 0. 0. 0. >> 0. 0. 0. 0. 0. 0. 0. 0. > Tricky one. In that case, this is one grain. This is an edge case for > my application so it should not occur too often. > I can either consider the "0" inside to be part of the grain or not, > it does not matter that much. >> >> * Do you consider only un-nested domain? Counter-example: >> 0. 1. 1. 1. 0. 1. 0. 0. >> 0. 1. 1. 1. 1. 1. 1. 0. >> 1. 1. 0. 0. 0. 0. 1. 0. >> 1. 1. 0. Z. Z. 0. 1. 0. >> 1. 1. 0. 0. 0. 0. 1. 0. >> 0. 1. 1. 1. 1. 1. 1. 0. >> 0. 0. 1. 1. 1. 1. 0. 0. > Well, again, it should occur not too often. In this case, I can > consider the whole thing to be one big grain. >> >> IMO, it is hard to implement and discuss any algo before answering to >> all these cases. > Any suggestion given my answers? > Are there any ressource I should check to get some examples on these > issues of neighbouring? > > Cheers, > > Antoine >> >> Regards >> Samuel >> > From Loic.Girod at esstin.uhp-nancy.fr Tue Mar 8 16:50:24 2011 From: Loic.Girod at esstin.uhp-nancy.fr (=?iso-8859-1?Q?Lo=EFc_GIROD?=) Date: Tue, 8 Mar 2011 16:50:24 +0100 Subject: can't export two figures Message-ID: <00ba01cbdda8$8a7ea170$9f7be450$@esstin.uhp-nancy.fr> Hello ! When I plot a figure and I want to export it in pdf the is no problem. But when I plot a new figure and I want to export it, I receive the following error message (scilab 5.3-1 but also under 5.3-0). Warning !!! Scilab has found a critical error (Unknown exception) with "exportUI" function. Save your data and restart Scilab. Is it a well-known problem ? Regards Lo?c -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Tue Mar 8 16:57:48 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Tue, 08 Mar 2011 16:57:48 +0100 Subject: [scilab-Users] can't export two figures In-Reply-To: <00ba01cbdda8$8a7ea170$9f7be450$@esstin.uhp-nancy.fr> References: <00ba01cbdda8$8a7ea170$9f7be450$@esstin.uhp-nancy.fr> Message-ID: <1299599868.3404.93.camel@losinj.inria.fr> Le mardi 08 mars 2011 ? 16:50 +0100, Lo?c GIROD a ?crit : > Hello ! > > > > When I plot a figure and I want to export it in pdf the is no problem. > > But when I plot a new figure and I want to export it, I receive the > following error message (scilab 5.3-1 but also under 5.3-0). > > > > Warning !!! > > Scilab has found a critical error (Unknown exception) > > with "exportUI" function. > > Save your data and restart Scilab. > > > > Is it a well-known problem ? As far as I know, I don't think it is. Could you report a bug report ? Please also provide the result of [a,b]=getdebuginfo() and any other relevant information (like the path to your directory where you want to save, the Scilab path, if you have some network drives) Thanks Sylvestre From Loic.Girod at esstin.uhp-nancy.fr Tue Mar 8 16:59:50 2011 From: Loic.Girod at esstin.uhp-nancy.fr (=?iso-8859-1?Q?Lo=EFc_GIROD?=) Date: Tue, 8 Mar 2011 16:59:50 +0100 Subject: [scilab-Users] can't export two figures In-Reply-To: <1299599868.3404.93.camel@losinj.inria.fr> References: <00ba01cbdda8$8a7ea170$9f7be450$@esstin.uhp-nancy.fr> <1299599868.3404.93.camel@losinj.inria.fr> Message-ID: <00c801cbdda9$dbda00e0$938e02a0$@esstin.uhp-nancy.fr> Just a precision that could be important. This error appears when I use the export function in the figure menu. There is no problem with xs2pdf function. Lo?c -----Message d'origine----- De?: Sylvestre Ledru [mailto:sylvestre.ledru at scilab.org] Envoy??: mardi 8 mars 2011 16:58 ??: users at lists.scilab.org Objet?: Re: [scilab-Users] can't export two figures Le mardi 08 mars 2011 ? 16:50 +0100, Lo?c GIROD a ?crit : > Hello ! > > > > When I plot a figure and I want to export it in pdf the is no problem. > > But when I plot a new figure and I want to export it, I receive the > following error message (scilab 5.3-1 but also under 5.3-0). > > > > Warning !!! > > Scilab has found a critical error (Unknown exception) > > with "exportUI" function. > > Save your data and restart Scilab. > > > > Is it a well-known problem ? As far as I know, I don't think it is. Could you report a bug report ? Please also provide the result of [a,b]=getdebuginfo() and any other relevant information (like the path to your directory where you want to save, the Scilab path, if you have some network drives) Thanks Sylvestre From ychattah at iai.co.il Wed Mar 9 06:33:18 2011 From: ychattah at iai.co.il (computidoo) Date: Tue, 8 Mar 2011 21:33:18 -0800 (PST) Subject: sort problem Message-ID: <1299648798194-2654045.post@n3.nabble.com> I have a matrix and i want the row to be order as culom 2 in the matrix example a=[1 2 3 ; 2 3 1; 3 1 2] so the answer will be [3 1 2; 1 2 3; 2 3 1] best regards computidoo -- View this message in context: http://mailinglists.scilab.org/sort-problem-tp2654045p2654045.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From vogt at centre-cired.fr Wed Mar 9 09:05:35 2011 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Wed, 09 Mar 2011 09:05:35 +0100 Subject: [scilab-Users] sort problem In-Reply-To: <1299648798194-2654045.post@n3.nabble.com> References: <1299648798194-2654045.post@n3.nabble.com> Message-ID: <4D7734CF.5060807@centre-cired.fr> Le 09/03/2011 06:33, computidoo a ?crit : > I have a matrix and i want the row to be order as culom 2 in the matrix > > example > > a=[1 2 3 ; > 2 3 1; > 3 1 2] [foo k] = gsort(a(:,2),'r','i') b=a(k,:) more info: help gsort help extraction br avs > so the answer will be > > [3 1 2; > 1 2 3; > 2 3 1] > > best regards > computidoo > > -- > View this message in context: http://mailinglists.scilab.org/sort-problem-tp2654045p2654045.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoine.monmayrant at laas.fr Wed Mar 9 09:11:58 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Wed, 09 Mar 2011 09:11:58 +0100 Subject: [scilab-Users] Finding continuous parts in a mask (ie a binary matrix) In-Reply-To: <4D76279B.4070909@utc.fr> References: <4D75FDB5.10805@laas.fr> <4D761D08.1070803@univ-lemans.fr> <4D762688.3070504@laas.fr> <4D76279B.4070909@utc.fr> Message-ID: <4D77364E.1030309@laas.fr> Thanks to all of you. I got it working thanks to St?phane who mentionned the image processing toolbox of matlab. It helped me identify what I was looking for (bwlabel aka a flood fill algorithm with a good reference: Robert Sedgewick, Algorithms in C, 3rd ed., Addison-Wesley, 1998, pp. 11-20). In the end I used the source of the octave bwlabel package as a base. Cheers, Antoine From kailup4 at hotmail.com Wed Mar 9 14:38:27 2011 From: kailup4 at hotmail.com (Tan Chin Luh) Date: Wed, 9 Mar 2011 13:38:27 +0000 Subject: [scilab-Users] Finding continuous parts in a mask (ie a binary matrix) In-Reply-To: <4D77364E.1030309@laas.fr> References: <4D75FDB5.10805@laas.fr> <4D761D08.1070803@univ-lemans.fr> <4D762688.3070504@laas.fr> <4D76279B.4070909@utc.fr>,<4D77364E.1030309@laas.fr> Message-ID: Hi Antoine, just to share my experience, if bwlabel works for you, perhaps you might want to look into the Atoms IPD module's "SearchBlobs" function. I was using similar bwlabel from octave last time but have switch to use the IPD toolbox. rgdsm, CL > Date: Wed, 9 Mar 2011 09:11:58 +0100 > From: antoine.monmayrant at laas.fr > To: users at lists.scilab.org > Subject: Re: [scilab-Users] Finding continuous parts in a mask (ie a binary matrix) > > Thanks to all of you. > I got it working thanks to St?phane who mentionned the image processing > toolbox of matlab. > It helped me identify what I was looking for (bwlabel aka a flood fill > algorithm with a good reference: Robert Sedgewick, Algorithms in C, 3rd > ed., Addison-Wesley, 1998, pp. 11-20). > In the end I used the source of the octave bwlabel package as a base. > > Cheers, > > Antoine -------------- next part -------------- An HTML attachment was scrubbed... URL: From communication at scilab.org Wed Mar 9 14:45:05 2011 From: communication at scilab.org (Scilab Communication) Date: Wed, 09 Mar 2011 14:45:05 +0100 Subject: Scilab live Webcast on National Instruments Website, March 30 at 10 AM Message-ID: <4D778461.7040102@scilab.org> Dear all, Scilab is going to participate to National Instruments live Webcast on Scilab and LabVIEW to Scilab Gateway. Led by a National Instruments engineer and presented by a Scilab Consortium engineer, this WebCast in French lasts twenty minutes and allows you to discuss interactively through live chat. Follow us live on Wednesday 30 March at 10 A.M. For those who are interested, free registration on: http://www.nifrance.fr/video_tchat/prototypage/ Best Regards ----------------------------------------------- The Scilab Consortium R&D Team ----------------------------------------------- Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex - France From antoine.monmayrant at laas.fr Wed Mar 9 15:59:35 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Wed, 09 Mar 2011 15:59:35 +0100 Subject: [scilab-Users] Finding continuous parts in a mask (ie a binary matrix) In-Reply-To: References: <4D75FDB5.10805@laas.fr> <4D761D08.1070803@univ-lemans.fr> <4D762688.3070504@laas.fr> <4D76279B.4070909@utc.fr>,<4D77364E.1030309@laas.fr> Message-ID: <4D7795D7.5010904@laas.fr> Le 09/03/2011 14:38, Tan Chin Luh a ?crit : > Hi Antoine, > > just to share my experience, if bwlabel works for you, perhaps you > might want to look > into the Atoms IPD module's "SearchBlobs" function. I was using > similar bwlabel from > octave last time but have switch to use the IPD toolbox. Oh, thanks for this hint. Why did you switch to SearchBlobs? Is it more efficient? Cheers, Antoine > > rgdsm, > CL > > > > Date: Wed, 9 Mar 2011 09:11:58 +0100 > > From: antoine.monmayrant at laas.fr > > To: users at lists.scilab.org > > Subject: Re: [scilab-Users] Finding continuous parts in a mask (ie a > binary matrix) > > > > Thanks to all of you. > > I got it working thanks to St?phane who mentionned the image processing > > toolbox of matlab. > > It helped me identify what I was looking for (bwlabel aka a flood fill > > algorithm with a good reference: Robert Sedgewick, Algorithms in C, 3rd > > ed., Addison-Wesley, 1998, pp. 11-20). > > In the end I used the source of the octave bwlabel package as a base. > > > > Cheers, > > > > Antoine -- +++++++++++++++++++++++++++++++++++++++++++++++++++++++ Antoine Monmayrant LAAS - CNRS 7 avenue du Colonel Roche 31077 TOULOUSE Cedex 4 FRANCE Tel:+33 5 61 33 64 59 email : antoine.monmayrant at laas.fr permanent email : antoine.monmayrant at polytechnique.org +++++++++++++++++++++++++++++++++++++++++++++++++++++++ -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoine.monmayrant at laas.fr Wed Mar 9 16:54:56 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Wed, 09 Mar 2011 16:54:56 +0100 Subject: [scilab-Users] Finding continuous parts in a mask (ie a binary matrix) In-Reply-To: References: <4D75FDB5.10805@laas.fr> <4D761D08.1070803@univ-lemans.fr> <4D762688.3070504@laas.fr> <4D76279B.4070909@utc.fr>,<4D77364E.1030309@laas.fr> Message-ID: <4D77A2D0.4000507@laas.fr> Le 09/03/2011 14:38, Tan Chin Luh a ?crit : > Hi Antoine, > > just to share my experience, if bwlabel works for you, perhaps you > might want to look > into the Atoms IPD module's "SearchBlobs" function. I was using > similar bwlabel from > octave last time but have switch to use the IPD toolbox. > > rgdsm, > CL > > > > Date: Wed, 9 Mar 2011 09:11:58 +0100 > > From: antoine.monmayrant at laas.fr > > To: users at lists.scilab.org > > Subject: Re: [scilab-Users] Finding continuous parts in a mask (ie a > binary matrix) > > > > Thanks to all of you. > > I got it working thanks to St?phane who mentionned the image processing > > toolbox of matlab. > > It helped me identify what I was looking for (bwlabel aka a flood fill > > algorithm with a good reference: Robert Sedgewick, Algorithms in C, 3rd > > ed., Addison-Wesley, 1998, pp. 11-20). > > In the end I used the source of the octave bwlabel package as a base. > > > > Cheers, > > > > Antoine Apparently, IPD does not appear in the list of available atoms in scilab-5.3.1 under linux 64bits... Antoine -------------- next part -------------- An HTML attachment was scrubbed... URL: From haraldgalda at yahoo.com Wed Mar 9 17:18:50 2011 From: haraldgalda at yahoo.com (Harald Galda, Dr. Eng. (J)) Date: Wed, 9 Mar 2011 08:18:50 -0800 (PST) Subject: AW: [scilab-Users] Finding continuous parts in a mask (ie a binary matrix) In-Reply-To: <4D77A2D0.4000507@laas.fr> References: <4D75FDB5.10805@laas.fr> <4D761D08.1070803@univ-lemans.fr> <4D762688.3070504@laas.fr> <4D76279B.4070909@utc.fr>,<4D77364E.1030309@laas.fr> <4D77A2D0.4000507@laas.fr> Message-ID: <481422.66345.qm@web112603.mail.gq1.yahoo.com> Dear users, I am the author of IPD. The function SearchBlobs() finds continous parts in a binary matrix. However, there is no package of this toolbox for 64 bit Linux at ATOMS. I developped and tested the toolbox on Windows. I hope someone will extend the toolbox so it will work on Linux in the future. Best regards Harald Galda ________________________________ Von: Antoine Monmayrant An: users at lists.scilab.org Gesendet: Mittwoch, den 9. M?rz 2011, 16:54:56 Uhr Betreff: Re: [scilab-Users] Finding continuous parts in a mask (ie a binary matrix) Le 09/03/2011 14:38, Tan Chin Luh a ?crit : Hi Antoine, > >just to share my experience, if bwlabel works for you, perhaps you might >want to look > >into the Atoms IPD module's "SearchBlobs" function. I was using similar >bwlabel from > >octave last time but have switch to use the IPD toolbox. > >rgdsm, >CL > > >> Date: Wed, 9 Mar 2011 09:11:58 +0100 >> From: antoine.monmayrant at laas.fr >> To: users at lists.scilab.org >> Subject: Re: [scilab-Users] Finding continuous parts in a mask (ie a >>binary matrix) >> >> Thanks to all of you. >> I got it working thanks to St?phane who mentionned the image processing >> toolbox of matlab. >> It helped me identify what I was looking for (bwlabel aka a flood fill >> algorithm with a good reference: Robert Sedgewick, Algorithms in C, 3rd >> ed., Addison-Wesley, 1998, pp. 11-20). >> In the end I used the source of the octave bwlabel package as a base. >> >> Cheers, >> >> Antoine > Apparently, IPD does not appear in the list of available atoms in scilab-5.3.1 under linux 64bits... Antoine From antoine.monmayrant at laas.fr Wed Mar 9 21:57:47 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Wed, 09 Mar 2011 21:57:47 +0100 Subject: AW: [scilab-Users] Finding continuous parts in a mask (ie a binary matrix) In-Reply-To: <481422.66345.qm@web112603.mail.gq1.yahoo.com> References: <4D75FDB5.10805@laas.fr> <4D761D08.1070803@univ-lemans.fr> <4D762688.3070504@laas.fr> <4D76279B.4070909@utc.fr>,<4D77364E.1030309@laas.fr> <4D77A2D0.4000507@laas.fr> <481422.66345.qm@web112603.mail.gq1.yahoo.com> Message-ID: <4D77E9CB.2000405@laas.fr> Thank you for your quick reaction. Any idea of what it would take to port it to 64bit linux? Antoine Le 09/03/11 17:18, Harald Galda, Dr. Eng. (J) a ?crit : > Dear users, > > I am the author of IPD. The function SearchBlobs() finds continous parts in a > binary matrix. > > However, there is no package of this toolbox for 64 bit Linux at ATOMS. I > developped and tested the toolbox on Windows. I hope someone will extend the > toolbox so it will work on Linux in the future. > > Best regards > Harald Galda > > ________________________________ > Von: Antoine Monmayrant > An: users at lists.scilab.org > Gesendet: Mittwoch, den 9. M?rz 2011, 16:54:56 Uhr > Betreff: Re: [scilab-Users] Finding continuous parts in a mask (ie a binary > matrix) > > Le 09/03/2011 14:38, Tan Chin Luh a ?crit : > Hi Antoine, >> just to share my experience, if bwlabel works for you, perhaps you might >> want to look >> >> into the Atoms IPD module's "SearchBlobs" function. I was using similar >> bwlabel from >> >> octave last time but have switch to use the IPD toolbox. >> >> rgdsm, >> CL >> >> >>> Date: Wed, 9 Mar 2011 09:11:58 +0100 >>> From: antoine.monmayrant at laas.fr >>> To: users at lists.scilab.org >>> Subject: Re: [scilab-Users] Finding continuous parts in a mask (ie a >>> binary matrix) >>> >>> Thanks to all of you. >>> I got it working thanks to St?phane who mentionned the image processing > >>> toolbox of matlab. >>> It helped me identify what I was looking for (bwlabel aka a flood fill >>> algorithm with a good reference: Robert Sedgewick, Algorithms in C, 3rd > >>> ed., Addison-Wesley, 1998, pp. 11-20). >>> In the end I used the source of the octave bwlabel package as a base. >>> >>> Cheers, >>> >>> Antoine > Apparently, IPD does not appear in the list of available atoms in > scilab-5.3.1 under linux 64bits... > > Antoine > > > From Loic.Girod at esstin.uhp-nancy.fr Thu Mar 10 11:56:46 2011 From: Loic.Girod at esstin.uhp-nancy.fr (=?iso-8859-1?Q?Lo=EFc_GIROD?=) Date: Thu, 10 Mar 2011 11:56:46 +0100 Subject: test if a value is between two others Message-ID: <003c01cbdf11$da6066a0$8f2133e0$@esstin.uhp-nancy.fr> Hi everyone, I?m trying to test if a value a can be located in an array of values (named T). As my reference value a can not be really equal to a value in T(i), I apply a tolerance factor. So, I have to know if my value T(i) is between a+tolerance and a-tolerance. I?ve tried the following code : for i=1:size(T) if T(i)>=a+tolerance then if T(j)<=ae-tolerance then location=i end end end I get an error 34 and I don?t understand how to solve it. I?ve tried while function, but it returns nothing. Could someone help me ? Many thanks Best regards Lo?c -------------- next part -------------- An HTML attachment was scrubbed... URL: From frederic.jourdin at shom.fr Thu Mar 10 12:20:34 2011 From: frederic.jourdin at shom.fr (Frederic Jourdin) Date: Thu, 10 Mar 2011 12:20:34 +0100 Subject: [scilab-Users] test if a value is between two others In-Reply-To: <003c01cbdf11$da6066a0$8f2133e0$@esstin.uhp-nancy.fr> References: <003c01cbdf11$da6066a0$8f2133e0$@esstin.uhp-nancy.fr> Message-ID: <4D78B402.6010400@shom.fr> Hi, can you try this ? TousLesIndices= find( abs( T - a) < tolerance); Fred Lo?c GIROD a ?crit : > > Hi everyone, > > I?m trying to test if a value a can be located in an array of values > (named T). As my reference value a can not be really equal to a value > in T(i), I apply a tolerance factor. > > So, I have to know if my value T(i) is between a+tolerance and > a-tolerance. > > I?ve tried the following code : > > for i=1:size(T) > > if T(i)>=a+tolerance > > then if T(j)<=ae-tolerance then location=i > > end > > end > > end > > I get an error 34 and I don?t understand how to solve it. I?ve tried > while function, but it returns nothing. > > Could someone help me ? > > Many thanks > > Best regards > > Lo?c > From Mike at Page-One.Waitrose.com Thu Mar 10 12:21:54 2011 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Thu, 10 Mar 2011 11:21:54 -0000 Subject: [scilab-Users] test if a value is between two others In-Reply-To: <003c01cbdf11$da6066a0$8f2133e0$@esstin.uhp-nancy.fr> Message-ID: Hi Loic, Your code seems wrong. Why do you have T(j) instead of T(i) in the second test? What is the variable ae? Anyway, the best way is probably to use find, like: find((t>a-tol)&(t=a+tolerance then if T(j)<=ae-tolerance then location=i end end end I get an error 34 and I don?t understand how to solve it. I?ve tried while function, but it returns nothing. Could someone help me ? Many thanks Best regards Lo?c -------------- next part -------------- An HTML attachment was scrubbed... URL: From haraldgalda at yahoo.com Thu Mar 10 18:56:41 2011 From: haraldgalda at yahoo.com (Harald Galda, Dr. Eng. (J)) Date: Thu, 10 Mar 2011 09:56:41 -0800 (PST) Subject: Porting IPD Toolbox to Linux In-Reply-To: <4D77E9CB.2000405@laas.fr> References: <4D75FDB5.10805@laas.fr> <4D761D08.1070803@univ-lemans.fr> <4D762688.3070504@laas.fr> <4D76279B.4070909@utc.fr>,<4D77364E.1030309@laas.fr> <4D77A2D0.4000507@laas.fr> <481422.66345.qm@web112603.mail.gq1.yahoo.com> <4D77E9CB.2000405@laas.fr> Message-ID: <367030.21710.qm@web112611.mail.gq1.yahoo.com> Dear Antoine, I suggest the following steps: 1. Two subdirectories should be created inside IPD/8.0/sci_gateway/cpp/lib/ These directories can be named "Linux32" and "Linux64" for example. 2. The library files of OpenCV 2.1 should be copied to the directories mentioned above. 3. A function should be called that can tell whether 32 bit Linux or 64 bit Linux is used in builder_gateway_cpp.sce which resides in IPD/8.0/sci_gateway/cpp/lib/ The function getdebuginfo() might be used for this purpose. 4. The library path should be set to Linux32 or Linux64 (depends on the architecture) in builder_gateway.sce // The code to be modified starts here. if getos() == 'Windows' then LibraryPath = '-LIBPATH:""' + CPPGateWayPath + 'lib'; if win64() then Architecture = 'x64'; else Architecture = 'x86'; end; LibraryPath = LibraryPath + filesep() + Architecture +'""'; else // To do: setting library path for Linux end; // The code to be modified ends here. Best regards Harald Galda ----- Urspr?ngliche Mail ---- Von: Antoine Monmayrant An: users at lists.scilab.org Gesendet: Mittwoch, den 9. M?rz 2011, 21:57:47 Uhr Betreff: Re: AW: [scilab-Users] Finding continuous parts in a mask (ie a binary matrix) Thank you for your quick reaction. Any idea of what it would take to port it to 64bit linux? Antoine From haraldgalda at yahoo.com Thu Mar 10 19:14:29 2011 From: haraldgalda at yahoo.com (Harald Galda, Dr. Eng. (J)) Date: Thu, 10 Mar 2011 10:14:29 -0800 (PST) Subject: Porting IPD Toolbox to Linux (continued) In-Reply-To: <4D77E9CB.2000405@laas.fr> References: <4D75FDB5.10805@laas.fr> <4D761D08.1070803@univ-lemans.fr> <4D762688.3070504@laas.fr> <4D76279B.4070909@utc.fr>,<4D77364E.1030309@laas.fr> <4D77A2D0.4000507@laas.fr> <481422.66345.qm@web112603.mail.gq1.yahoo.com> <4D77E9CB.2000405@laas.fr> Message-ID: <521188.59180.qm@web112601.mail.gq1.yahoo.com> Dear users, could anyone please modify builder_gateway_cpp.sce in the way described in my previous e-mail, pack the modified file together with the files necessary for linking and loading OpenCV 2.1 (i. e. the files corresponding to *.lib and *.dll files in Windows) in a ZIP file and post it at file exchange, please? Then I can extend the sources of IPD and upload them at atoms.scilab.org. Best regards Harald Galda ----- Urspr?ngliche Mail ---- Von: Antoine Monmayrant An: users at lists.scilab.org Gesendet: Mittwoch, den 9. M?rz 2011, 21:57:47 Uhr Betreff: Re: AW: [scilab-Users] Finding continuous parts in a mask (ie a binary matrix) Thank you for your quick reaction. Any idea of what it would take to port it to 64bit linux? Antoine Le 09/03/11 17:18, Harald Galda, Dr. Eng. (J) a ?crit : > Dear users, > > I am the author of IPD. The function SearchBlobs() finds continous parts in a > binary matrix. > > However, there is no package of this toolbox for 64 bit Linux at ATOMS. I > developped and tested the toolbox on Windows. I hope someone will extend the > toolbox so it will work on Linux in the future. > > Best regards > Harald Galda > > ________________________________ > Von: Antoine Monmayrant > An: users at lists.scilab.org > Gesendet: Mittwoch, den 9. M?rz 2011, 16:54:56 Uhr > Betreff: Re: [scilab-Users] Finding continuous parts in a mask (ie a binary > matrix) > > Le 09/03/2011 14:38, Tan Chin Luh a ?crit : > Hi Antoine, >> just to share my experience, if bwlabel works for you, perhaps you might >> want to look >> >> into the Atoms IPD module's "SearchBlobs" function. I was using similar >> bwlabel from >> >> octave last time but have switch to use the IPD toolbox. >> >> rgdsm, >> CL >> >> >>> Date: Wed, 9 Mar 2011 09:11:58 +0100 >>> From: antoine.monmayrant at laas.fr >>> To: users at lists.scilab.org >>> Subject: Re: [scilab-Users] Finding continuous parts in a mask (ie a >>> binary matrix) >>> >>> Thanks to all of you. >>> I got it working thanks to St?phane who mentionned the image processing > >>> toolbox of matlab. >>> It helped me identify what I was looking for (bwlabel aka a flood fill >>> algorithm with a good reference: Robert Sedgewick, Algorithms in C, 3rd > >>> ed., Addison-Wesley, 1998, pp. 11-20). >>> In the end I used the source of the octave bwlabel package as a base. >>> >>> Cheers, >>> >>> Antoine > Apparently, IPD does not appear in the list of available atoms in > scilab-5.3.1 under linux 64bits... > > Antoine > > > From allan.cornet at scilab.org Thu Mar 10 19:44:51 2011 From: allan.cornet at scilab.org (allan.cornet at scilab.org) Date: Thu, 10 Mar 2011 19:44:51 +0100 Subject: [scilab-Users] Porting IPD Toolbox to Linux (continued) In-Reply-To: <521188.59180.qm@web112601.mail.gq1.yahoo.com> References: <4D75FDB5.10805@laas.fr> <4D761D08.1070803@univ-lemans.fr> <4D762688.3070504@laas.fr> <4D76279B.4070909@utc.fr>,<4D77364E.1030309@laas.fr> <4D77A2D0.4000507@laas.fr> <481422.66345.qm@web112603.mail.gq1.yahoo.com> <4D77E9CB.2000405@laas.fr> <521188.59180.qm@web112601.mail.gq1.yahoo.com> Message-ID: <3a215b05aeea6d4fb48931d1991d8d8b@scilab.org> Hi, Please creates a thirdparty directory in IPD directory IPD -- sci_gateway -- c -- cpp -- macros -- src -- c -- cpp -- Thirdparty -- opencv -- windows -- x86 -- x64 -- linux -- x86 -- x64 -- macos ... see also: http://wiki.scilab.org/Modules see also: http://atoms.scilab.org/toolboxes/SIVP/0.5.3 (if you want to be packaged in ATOMS) Good luck and do not hesitate if you have some questions Allan CORNET Scilab Team On Thu, 10 Mar 2011 10:14:29 -0800 (PST), "Harald Galda, Dr. Eng. \(J\)" wrote: > Dear users, > > could anyone please modify builder_gateway_cpp.sce in the way > described in my > previous e-mail, pack the modified file together with the files > necessary for > linking and loading OpenCV 2.1 (i. e. the files corresponding to > *.lib and *.dll > files in Windows) in a ZIP file and post it at file exchange, please? > Then I can > extend the sources of IPD and upload them at atoms.scilab.org. > > Best regards > Harald Galda > > > > ----- Urspr?ngliche Mail ---- > Von: Antoine Monmayrant > An: users at lists.scilab.org > Gesendet: Mittwoch, den 9. M?rz 2011, 21:57:47 Uhr > Betreff: Re: AW: [scilab-Users] Finding continuous parts in a mask > (ie a binary > matrix) > > Thank you for your quick reaction. > Any idea of what it would take to port it to 64bit linux? > > Antoine > > > Le 09/03/11 17:18, Harald Galda, Dr. Eng. (J) a ?crit : >> Dear users, >> >> I am the author of IPD. The function SearchBlobs() finds continous >> parts in a >> binary matrix. >> >> However, there is no package of this toolbox for 64 bit Linux at >> ATOMS. I >> developped and tested the toolbox on Windows. I hope someone will >> extend the >> toolbox so it will work on Linux in the future. >> >> Best regards >> Harald Galda >> >> ________________________________ >> Von: Antoine Monmayrant >> An: users at lists.scilab.org >> Gesendet: Mittwoch, den 9. M?rz 2011, 16:54:56 Uhr >> Betreff: Re: [scilab-Users] Finding continuous parts in a mask (ie a >> binary >> matrix) >> >> Le 09/03/2011 14:38, Tan Chin Luh a ?crit : >> Hi Antoine, >>> just to share my experience, if bwlabel works for you, perhaps you > might >>> want to look >>> >>> into the Atoms IPD module's "SearchBlobs" function. I was using >>> similar >>> bwlabel from >>> >>> octave last time but have switch to use the IPD toolbox. >>> >>> rgdsm, >>> CL >>> >>> >>>> Date: Wed, 9 Mar 2011 09:11:58 +0100 >>>> From: antoine.monmayrant at laas.fr >>>> To: users at lists.scilab.org >>>> Subject: Re: [scilab-Users] Finding continuous parts in a >>>> mask (ie a >>>> binary matrix) >>>> >>>> Thanks to all of you. >>>> I got it working thanks to St?phane who mentionned the image > processing >> >>>> toolbox of matlab. >>>> It helped me identify what I was looking for (bwlabel aka a >>>> flood fill >>>> algorithm with a good reference: Robert Sedgewick, Algorithms >>>> in C, > 3rd >> >>>> ed., Addison-Wesley, 1998, pp. 11-20). >>>> In the end I used the source of the octave bwlabel package as >>>> a base. >>>> >>>> Cheers, >>>> >>>> Antoine >> Apparently, IPD does not appear in the list of available atoms in >> scilab-5.3.1 under linux 64bits... >> >> Antoine >> >> >> From ray at aarden.us Fri Mar 11 00:04:59 2011 From: ray at aarden.us (ray joseph) Date: Thu, 10 Mar 2011 17:04:59 -0600 Subject: [scilab-Users] Finding continuous parts in a mask (ie a binary matrix) In-Reply-To: <4D77364E.1030309@laas.fr> References: <4D75FDB5.10805@laas.fr> <4D761D08.1070803@univ-lemans.fr> <4D762688.3070504@laas.fr> <4D76279B.4070909@utc.fr> <4D77364E.1030309@laas.fr> Message-ID: <7420E990DBB34ED0A0F5AFE5993AF0F3@corp.kbr.com> Antoinek Great feedback! It is wonderful to close the loop. ray -----Original Message----- From: Antoine Monmayrant [mailto:antoine.monmayrant at laas.fr] Sent: Wednesday, March 09, 2011 2:12 AM To: users at lists.scilab.org Subject: Re: [scilab-Users] Finding continuous parts in a mask (ie a binary matrix) Thanks to all of you. I got it working thanks to St?phane who mentionned the image processing toolbox of matlab. It helped me identify what I was looking for (bwlabel aka a flood fill algorithm with a good reference: Robert Sedgewick, Algorithms in C, 3rd ed., Addison-Wesley, 1998, pp. 11-20). In the end I used the source of the octave bwlabel package as a base. Cheers, Antoine From kailup4 at hotmail.com Fri Mar 11 02:05:51 2011 From: kailup4 at hotmail.com (Tan Chin Luh) Date: Fri, 11 Mar 2011 01:05:51 +0000 Subject: [scilab-Users] Porting IPD Toolbox to Linux (continued) In-Reply-To: <521188.59180.qm@web112601.mail.gq1.yahoo.com> References: <4D75FDB5.10805@laas.fr> <4D761D08.1070803@univ-lemans.fr> <4D762688.3070504@laas.fr> <4D76279B.4070909@utc.fr>,<4D77364E.1030309@laas.fr> <4D77A2D0.4000507@laas.fr> <481422.66345.qm@web112603.mail.gq1.yahoo.com> <4D77E9CB.2000405@laas.fr>,<521188.59180.qm@web112601.mail.gq1.yahoo.com> Message-ID: Hi, first of all I would like to thank Dr Harald for his great IPD. so far it covers alot of image processing functions and definitely it is very suitable for teaching and research. i am a user for IPD since it first created, however, i am not an expert in the C or linux. hope this mailing list will links all peoples from developer to application users together! CL > Date: Thu, 10 Mar 2011 10:14:29 -0800 > From: haraldgalda at yahoo.com > To: users at lists.scilab.org > Subject: [scilab-Users] Porting IPD Toolbox to Linux (continued) > > Dear users, > > could anyone please modify builder_gateway_cpp.sce in the way described in my > previous e-mail, pack the modified file together with the files necessary for > linking and loading OpenCV 2.1 (i. e. the files corresponding to *.lib and *.dll > files in Windows) in a ZIP file and post it at file exchange, please? Then I can > extend the sources of IPD and upload them at atoms.scilab.org. > > Best regards > Harald Galda > > > > ----- Urspr?ngliche Mail ---- > Von: Antoine Monmayrant > An: users at lists.scilab.org > Gesendet: Mittwoch, den 9. M?rz 2011, 21:57:47 Uhr > Betreff: Re: AW: [scilab-Users] Finding continuous parts in a mask (ie a binary > matrix) > > Thank you for your quick reaction. > Any idea of what it would take to port it to 64bit linux? > > Antoine > > > Le 09/03/11 17:18, Harald Galda, Dr. Eng. (J) a ?crit : > > Dear users, > > > > I am the author of IPD. The function SearchBlobs() finds continous parts in a > > binary matrix. > > > > However, there is no package of this toolbox for 64 bit Linux at ATOMS. I > > developped and tested the toolbox on Windows. I hope someone will extend the > > toolbox so it will work on Linux in the future. > > > > Best regards > > Harald Galda > > > > ________________________________ > > Von: Antoine Monmayrant > > An: users at lists.scilab.org > > Gesendet: Mittwoch, den 9. M?rz 2011, 16:54:56 Uhr > > Betreff: Re: [scilab-Users] Finding continuous parts in a mask (ie a binary > > matrix) > > > > Le 09/03/2011 14:38, Tan Chin Luh a ?crit : > > Hi Antoine, > >> just to share my experience, if bwlabel works for you, perhaps you > might > >> want to look > >> > >> into the Atoms IPD module's "SearchBlobs" function. I was using similar > >> bwlabel from > >> > >> octave last time but have switch to use the IPD toolbox. > >> > >> rgdsm, > >> CL > >> > >> > >>> Date: Wed, 9 Mar 2011 09:11:58 +0100 > >>> From: antoine.monmayrant at laas.fr > >>> To: users at lists.scilab.org > >>> Subject: Re: [scilab-Users] Finding continuous parts in a mask (ie a > >>> binary matrix) > >>> > >>> Thanks to all of you. > >>> I got it working thanks to St?phane who mentionned the image > processing > > > >>> toolbox of matlab. > >>> It helped me identify what I was looking for (bwlabel aka a flood fill > >>> algorithm with a good reference: Robert Sedgewick, Algorithms in C, > 3rd > > > >>> ed., Addison-Wesley, 1998, pp. 11-20). > >>> In the end I used the source of the octave bwlabel package as a base. > >>> > >>> Cheers, > >>> > >>> Antoine > > Apparently, IPD does not appear in the list of available atoms in > > scilab-5.3.1 under linux 64bits... > > > > Antoine > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From w_artichowicz at o2.pl Fri Mar 11 18:04:23 2011 From: w_artichowicz at o2.pl (=?UTF-8?Q?w=5Fartichowicz?=) Date: Fri, 11 Mar 2011 18:04:23 +0100 Subject: =?UTF-8?Q?few_bugs_in_Scilab_5.3.1.?= Message-ID: <453ba606.773894e9.4d7a5617.a24f2@o2.pl> Hi, I would like to announce a few bugs, or behaviour I find being bugs: - When I use command scinotes or editor I get following message: The method createMenu in org.scilab.modules.scinotes.actions.LineNumbersAction threw an exception : java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.scilab.modules.scinotes.SciNotesGUI.getMenuItem(Unknown Source) at org.scilab.modules.scinotes.SciNotesGUI.getMenu(Unknown Source) at org.scilab.modules.scinotes.SciNotesGUI.generateMenuBar(Unknown Source) at org.scilab.modules.scinotes.SciNotesGUI.init(Unknown Source) at org.scilab.modules.scinotes.SciNotes.createEditor(Unknown Source) at org.scilab.modules.scinotes.SciNotes.launchSciNotes(Unknown Source) at org.scilab.modules.scinotes.SciNotes$2.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Caused by: java.util.NoSuchElementException at java.util.StringTokenizer.nextToken(Unknown Source) at org.scilab.modules.scinotes.actions.LineNumbersAction.createMenu(Unknown Source) ... 19 more - On x64 system (Windows 7) using x64 Scilab version when I call any graphics command Scilab crashes. x32 version doesn't. (Proc: AMD X2, Graph: ATI Radeon) On other comp(Proc: i7, Graph: nVidia GTX 480) it works fine. - On Linux (Ubuntu 10.10 x32 in Virtualbox (host Windows 7 x64)) When using any graphics command Scilab crashes. (Proc: AMD X2, Graph: ATOI Radeon) Best regards, W.A. From sylvestre.ledru at scilab.org Fri Mar 11 18:12:06 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Fri, 11 Mar 2011 18:12:06 +0100 Subject: [scilab-Users] few bugs in Scilab 5.3.1. In-Reply-To: <453ba606.773894e9.4d7a5617.a24f2@o2.pl> References: <453ba606.773894e9.4d7a5617.a24f2@o2.pl> Message-ID: <1299863526.7984.7118.camel@korcula.inria.fr> Hello W.A., Could you report the first one on the bug tracker ? http://bugzilla.scilab.org/ For the two others, please try to update your graphic card drivers. If it does not work, please try: system_setproperty("jogl.gljpanel.nohw",""); Thanks, Sylvestre Le vendredi 11 mars 2011 ? 18:04 +0100, w_artichowicz a ?crit : > Hi, > > I would like to announce a few bugs, or behaviour I find being bugs: > > - When I use command scinotes or editor I get following message: > The method createMenu in org.scilab.modules.scinotes.actions.LineNumbersAction threw an exception : > > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at org.scilab.modules.scinotes.SciNotesGUI.getMenuItem(Unknown Source) > at org.scilab.modules.scinotes.SciNotesGUI.getMenu(Unknown Source) > at org.scilab.modules.scinotes.SciNotesGUI.generateMenuBar(Unknown Source) > at org.scilab.modules.scinotes.SciNotesGUI.init(Unknown Source) > at org.scilab.modules.scinotes.SciNotes.createEditor(Unknown Source) > at org.scilab.modules.scinotes.SciNotes.launchSciNotes(Unknown Source) > at org.scilab.modules.scinotes.SciNotes$2.run(Unknown Source) > at java.awt.event.InvocationEvent.dispatch(Unknown Source) > at java.awt.EventQueue.dispatchEvent(Unknown Source) > at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) > at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.run(Unknown Source) > Caused by: java.util.NoSuchElementException > at java.util.StringTokenizer.nextToken(Unknown Source) > at org.scilab.modules.scinotes.actions.LineNumbersAction.createMenu(Unknown Source) > ... 19 more > > - On x64 system (Windows 7) using x64 Scilab version when I call any graphics command > Scilab crashes. x32 version doesn't. (Proc: AMD X2, Graph: ATI Radeon) > On other comp(Proc: i7, Graph: nVidia GTX 480) it works fine. > > - On Linux (Ubuntu 10.10 x32 in Virtualbox (host Windows 7 x64)) When using any graphics command Scilab crashes. > (Proc: AMD X2, Graph: ATOI Radeon) > > > > Best regards, > W.A. From danielmejia55 at gmail.com Sat Mar 12 06:06:25 2011 From: danielmejia55 at gmail.com (=?ISO-8859-1?Q?Daniel_Mej=EDa_Raigosa?=) Date: Sat, 12 Mar 2011 00:06:25 -0500 Subject: Language Selection on Linux Message-ID: Hi Everyone i'm a Latin American Scilab User on Linux that wants to know how to put Scilab on Spanish, i'm using Ubuntu Linux 10.10 and i've installed scilab using Synaptic Package Manager. i saw Scilab on Spanish at one of my University Computing Rooms, and i wonder how could i set up Scilab on Spanish?, the language it's not a problem for me, but i want to show this software as an optional free computing software on a course of numerical methods and it would be acepted easily if it's on spanish. Many Thanks! *Daniel Mej?a R.* " *Las m?s formidables armas del hombre para su conquista del Conocimiento son la mente racional y la insaciable curiosidad que lo impulsa...*" Isaac Asimov - **danielmejia55 at hotmail.com http://fisica.udea.edu.co/~biofisica/index.html http://fisica.udea.edu.co/index.html -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Sat Mar 12 10:37:05 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Sat, 12 Mar 2011 10:37:05 +0100 Subject: [scilab-Users] Language Selection on Linux In-Reply-To: References: Message-ID: <1299922625.2971.4904.camel@losinj.inria.fr> Hello Scilab, like almost all GNU/Linux software, is using the locale to select the right language. Under Ubuntu, if you select es_ES as locale, it should change the locale of Scilab. See https://help.ubuntu.com/community/Locale Sylvestre Le samedi 12 mars 2011 ? 00:06 -0500, Daniel Mej?a Raigosa a ?crit : > Hi Everyone i'm a Latin American Scilab User on Linux that wants to > know how to put Scilab on Spanish, i'm using Ubuntu Linux 10.10 and > i've installed scilab using Synaptic Package Manager. > i saw Scilab on Spanish at one of my University Computing Rooms, and i > wonder how could i set up Scilab on Spanish?, the language it's not a > problem for me, but i want to show this software as an optional free > computing software on a course of numerical methods and it would be > acepted easily if it's on spanish. > Many Thanks! > > Daniel Mej?a R. > > " Las m?s formidables armas del hombre para su conquista del > Conocimiento > son la mente racional y la insaciable curiosidad que lo > impulsa..." > > Isaac Asimov > - > danielmejia55 at hotmail.com > http://fisica.udea.edu.co/~biofisica/index.html > http://fisica.udea.edu.co/index.html > -- > > From haraldgalda at yahoo.com Sat Mar 12 17:56:08 2011 From: haraldgalda at yahoo.com (Harald Galda, Dr. Eng. (J)) Date: Sat, 12 Mar 2011 08:56:08 -0800 (PST) Subject: AW: [scilab-Users] Porting IPD Toolbox to Linux (continued) In-Reply-To: <3a215b05aeea6d4fb48931d1991d8d8b@scilab.org> References: <4D75FDB5.10805@laas.fr> <4D761D08.1070803@univ-lemans.fr> <4D762688.3070504@laas.fr> <4D76279B.4070909@utc.fr>,<4D77364E.1030309@laas.fr> <4D77A2D0.4000507@laas.fr> <481422.66345.qm@web112603.mail.gq1.yahoo.com> <4D77E9CB.2000405@laas.fr> <521188.59180.qm@web112601.mail.gq1.yahoo.com> <3a215b05aeea6d4fb48931d1991d8d8b@scilab.org> Message-ID: <221716.72000.qm@web112603.mail.gq1.yahoo.com> Hi, I would like to ask the following questions concerning Linux: 1. What files are necessary to build C++ libraries? Do library file names have the same ending as on Windows, i. e. ".lib"? 2. What is the equivalent of a Windows *.dll file? Do these files end with ".so"? 3. What is the Linux equivalent of win64()? How can I determine whether the architecture is 32 bit or 64 bit on Linux? I think it someone who knows Linux should answer these questions and provide the Linux versions of the library files. The scripts of SIVP 0.5.3 are difficult to understand and toolbox skeleton has no third party library. Moreover, I do not know Linux particularly well and I do not have a Linux machine. I am going to upload modified sources at forge.scilab.org. Best regards Harald ----- Urspr?ngliche Mail ---- Von: "allan.cornet at scilab.org" An: users at lists.scilab.org Gesendet: Donnerstag, den 10. M?rz 2011, 19:44:51 Uhr Betreff: Re: [scilab-Users] Porting IPD Toolbox to Linux (continued) Hi, Please creates a thirdparty directory in IPD directory IPD -- sci_gateway -- c -- cpp -- macros -- src -- c -- cpp -- Thirdparty -- opencv -- windows -- x86 -- x64 -- linux -- x86 -- x64 -- macos ... see also: http://wiki.scilab.org/Modules see also: http://atoms.scilab.org/toolboxes/SIVP/0.5.3 (if you want to be packaged in ATOMS) Good luck and do not hesitate if you have some questions Allan CORNET Scilab Team From cwarner7_11 at hotmail.com Sat Mar 12 18:39:45 2011 From: cwarner7_11 at hotmail.com (Charlie Warner) Date: Sat, 12 Mar 2011 12:39:45 -0500 Subject: AW: [scilab-Users] Porting IPD Toolbox to Linux (continued) In-Reply-To: <221716.72000.qm@web112603.mail.gq1.yahoo.com> References: <4D75FDB5.10805@laas.fr> <4D761D08.1070803@univ-lemans.fr> <4D762688.3070504@laas.fr> <4D76279B.4070909@utc.fr>,<4D77364E.1030309@laas.fr> <4D77A2D0.4000507@laas.fr> <481422.66345.qm@web112603.mail.gq1.yahoo.com> <4D77E9CB.2000405@laas.fr> <521188.59180.qm@web112601.mail.gq1.yahoo.com> <3a215b05aeea6d4fb48931d1991d8d8b@scilab.org>,<221716.72000.qm@web112603.mail.gq1.yahoo.com> Message-ID: 1. What files are necessary to build C++ libraries? All necessary components for building c++ applications are included in the gcc compiler package. For more information on the gcc compiler package, refer to http://gcc.gnu.org/ 2. What is the equivalent of a Windows *.dll file? I am not sufficiently versed in Windows configurations, but I do believe that most of what Windows would consider a *.dll would be designated a *.so file in Linux. From one of my references, User Defined Functions "are compiled into shared objects [*.so files] (Unix-like systems) or into a dlls [dynamic linked libraries] (Windows) by using the default compiler". In Linux, one defines the compiler output function as *.so file by naming convention at the time of compilation. 3. What is the Linux equivalent of win64()? How can I determine whether the architecture is 32 bit or 64 bit on Linux? Normally, the architecture is defined at build time. There is an application called "sysinfo" which may or may not be included with your distro, that can tell you the specifics of the installation, i.e., which kernel version, whether you are using 64 bit or 32 bit compiler versions, etc. If you are working on a system that already has gcc installed, you can use the command "gcc -v" in a terminal window, which should give you something like: gcc -v Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) One can also use the command line commands "arch" or "uname -m" to determine if one is working on a 64-bit or 32-bit machine... refer to http://www.oreillynet.com/linux/cmd/ for a complete list of all shell commands. Charlie > Date: Sat, 12 Mar 2011 08:56:08 -0800 > From: haraldgalda at yahoo.com > To: users at lists.scilab.org > Subject: AW: [scilab-Users] Porting IPD Toolbox to Linux (continued) > > Hi, > > I would like to ask the following questions concerning Linux: > > 1. What files are necessary to build C++ libraries? Do library file names have > the same ending as on Windows, i. e. ".lib"? > > 2. What is the equivalent of a Windows *.dll file? Do these files end with > ".so"? > > 3. What is the Linux equivalent of win64()? How can I determine whether the > architecture is 32 bit or 64 bit on Linux? > > I think it someone who knows Linux should answer these questions and provide the > Linux versions of the library files. The scripts of SIVP 0.5.3 are difficult to > understand and toolbox skeleton has no third party library. Moreover, I do not > know Linux particularly well and I do not have a Linux machine. > > I am going to upload modified sources at forge.scilab.org. > > Best regards > Harald > > > > ----- Urspr?ngliche Mail ---- > Von: "allan.cornet at scilab.org" > An: users at lists.scilab.org > Gesendet: Donnerstag, den 10. M?rz 2011, 19:44:51 Uhr > Betreff: Re: [scilab-Users] Porting IPD Toolbox to Linux (continued) > > > Hi, > > Please creates a thirdparty directory in IPD directory > > IPD > -- sci_gateway > -- c > -- cpp > -- macros > -- src > -- c > -- cpp > -- Thirdparty > -- opencv > -- windows > -- x86 > -- x64 > > -- linux > -- x86 > -- x64 > -- macos > > ... > > see also: http://wiki.scilab.org/Modules > see also: http://atoms.scilab.org/toolboxes/SIVP/0.5.3 (if you want to be > packaged in ATOMS) > > Good luck and do not hesitate if you have some questions > > Allan CORNET > Scilab Team > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From haraldgalda at yahoo.com Sat Mar 12 19:31:29 2011 From: haraldgalda at yahoo.com (Harald Galda, Dr. Eng. (J)) Date: Sat, 12 Mar 2011 10:31:29 -0800 (PST) Subject: AW: [scilab-Users] Porting IPD Toolbox to Linux (continued) In-Reply-To: <3a215b05aeea6d4fb48931d1991d8d8b@scilab.org> References: <4D75FDB5.10805@laas.fr> <4D761D08.1070803@univ-lemans.fr> <4D762688.3070504@laas.fr> <4D76279B.4070909@utc.fr>,<4D77364E.1030309@laas.fr> <4D77A2D0.4000507@laas.fr> <481422.66345.qm@web112603.mail.gq1.yahoo.com> <4D77E9CB.2000405@laas.fr> <521188.59180.qm@web112601.mail.gq1.yahoo.com> <3a215b05aeea6d4fb48931d1991d8d8b@scilab.org> Message-ID: <403732.56129.qm@web112610.mail.gq1.yahoo.com> Hi, I created a third party directory and I modified builder_gateway.sce so it recognizes both the operating system and the architecture now. I uploaded the modified version of the sources at http://forge.scilab.org/index.php/p/IPD/ Allan Cornet, if you are there, can you add the Linux versions of OpenCV 2.1 to the modified sources and load them up at forge or atoms, please? I am not sure what files to take from SIVP 0.5.3. Regards Harald Galda ----- Urspr?ngliche Mail ---- Von: "allan.cornet at scilab.org" An: users at lists.scilab.org Gesendet: Donnerstag, den 10. M?rz 2011, 19:44:51 Uhr Betreff: Re: [scilab-Users] Porting IPD Toolbox to Linux (continued) Hi, Please creates a thirdparty directory in IPD directory IPD -- sci_gateway -- c -- cpp -- macros -- src -- c -- cpp -- Thirdparty -- opencv -- windows -- x86 -- x64 -- linux -- x86 -- x64 -- macos ... see also: http://wiki.scilab.org/Modules see also: http://atoms.scilab.org/toolboxes/SIVP/0.5.3 (if you want to be packaged in ATOMS) Good luck and do not hesitate if you have some questions Allan CORNET Scilab Team From VivekVidhyasagar at Eaton.com Mon Mar 14 10:45:41 2011 From: VivekVidhyasagar at Eaton.com (VivekVidhyasagar at Eaton.com) Date: Mon, 14 Mar 2011 05:45:41 -0400 Subject: Information Required Message-ID: <1725FAFBB2FCD14ABA75DDDB605C3621080760B3@CLEOHSMB03.napa.ad.etn.com> Hello - I am working as an IT analyst in EATON CORPORATION, there is a request from my engineering user for installation of SCILAB (64 bit) version in his computer for some analysis. It is mentioned in the website that tool is free, could you please let me know if it is true and if there are any possibilities in the future that there can be any license cost for it? Please reply ASAP, thanks for your support in advance. Regards, Vivek Vidhyasagar -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Mon Mar 14 10:47:31 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Mon, 14 Mar 2011 10:47:31 +0100 Subject: [scilab-Users] Information Required In-Reply-To: <1725FAFBB2FCD14ABA75DDDB605C3621080760B3@CLEOHSMB03.napa.ad.etn.com> References: <1725FAFBB2FCD14ABA75DDDB605C3621080760B3@CLEOHSMB03.napa.ad.etn.com> Message-ID: <1300096051.7984.49070.camel@korcula.inria.fr> Le lundi 14 mars 2011 ? 05:45 -0400, VivekVidhyasagar at Eaton.com a ?crit : > Hello ? > > > > I am working as an IT analyst in EATON CORPORATION, there is a request > from my engineering user for installation of SCILAB (64 bit) version > in his computer for some analysis. It is mentioned in the website that > tool is free, could you please let me know if it is true and if there > are any possibilities in the future that there can be any license cost > for it? Please reply ASAP, thanks for your support in advance. No, Scilab is and will remain free (ie opensource and no cost). Sylvestre From delphine-emilie.martin at edf.fr Mon Mar 14 10:56:22 2011 From: delphine-emilie.martin at edf.fr (Delphine-Emilie MARTIN) Date: Mon, 14 Mar 2011 10:56:22 +0100 Subject: [scilab-Users] Information Required Message-ID: Accus? de r?ception Votre document : [scilab-Users] Information Required a ?t? re?u par : delphine-emilie.martin at edf.fr le : 14/03/2011 10:56:22 -------------- next part -------------- An HTML attachment was scrubbed... URL: From thiagoaax at gmail.com Mon Mar 14 17:33:02 2011 From: thiagoaax at gmail.com (Thiago Costa) Date: Mon, 14 Mar 2011 13:33:02 -0300 Subject: [scilab-Users] Language Selection on Linux In-Reply-To: <1299922625.2971.4904.camel@losinj.inria.fr> References: <1299922625.2971.4904.camel@losinj.inria.fr> Message-ID: Hello, On gnome go to: System > Administration > Language Support > Install/Remove Languages. Next, drag your default language in language box for the first position, then "Apply system wide". []'s Thiago C. LCAP/DESQ - Department of Chemical Systems Engineering School of Chemical Engineering University of Campinas (UNICAMP) Av. Albert Einstein, 500, CEP 13083-852 Campinas-SP, Brazil -------------- next part -------------- An HTML attachment was scrubbed... URL: From dipimage at gmail.com Tue Mar 15 20:00:46 2011 From: dipimage at gmail.com (VITALY BOYKO) Date: Tue, 15 Mar 2011 15:00:46 -0400 Subject: image processing Message-ID: Hello, I used to work with dipimage (www.diplib.org) which is a Matlab toolbox (free for academic use). How similar is SciLab to Matlab? Would it be easy (possible) to adapt DipImage to the Scilab platform? Is there any interest of doing so? Thank you, Vitaly Vitaly P. Boyko. Ph.D. Germanrtown, MD 20874 USA Tel: +1-301-515-7833 -------------- next part -------------- An HTML attachment was scrubbed... URL: From haraldgalda at yahoo.com Tue Mar 15 22:08:00 2011 From: haraldgalda at yahoo.com (Harald Galda, Dr. Eng. (J)) Date: Tue, 15 Mar 2011 14:08:00 -0700 (PDT) Subject: AW: [scilab-Users] image processing In-Reply-To: References: Message-ID: <531412.63308.qm@web112614.mail.gq1.yahoo.com> Dear Vitaly Boyko, Scilab is similar to Matlab, but not identical. Things like arrayfun() and cellfun() do not exist in Scilab, even though it is desirable to have such functions. The Matlab tool for generating GUIs does not exist in Scilab. Callback functions in Scilab are very different from Matlab callbacks. Therefore, GUIs can not be transferred from Matlab to Scilab easily. In Scilab there are two toolboxes related to image processing. One is the Image Processing Design toolbox (IPD, which I am the author of), the other one is the Scilab Image and Video Processing toolbox (SIVP). You can have a look at them at http://atoms.scilab.org/categories/image_processing If you think that DipImage should be adapted to Scilab, you or anyone else can do so. But I do not think that the Scilab consortium intends to do so in the near future. The functionality of Scilab is limited when compared to Matlab, but users can submit their own toolboxes. Best regards Harald Galda ________________________________ Von: VITALY BOYKO An: users at lists.scilab.org CC: scilab.support at equalis.com Gesendet: Dienstag, den 15. M?rz 2011, 20:00:46 Uhr Betreff: [scilab-Users] image processing Hello, I used to work with dipimage (www.diplib.org) which is a Matlab toolbox (free for academic use). How similar is SciLab to Matlab? Would it be easy (possible) to adapt DipImage to the Scilab platform? Is there any interest of doing so? Thank you, Vitaly Vitaly P. Boyko. Ph.D. Germanrtown, MD 20874 USA Tel: +1-301-515-7833 From jdanielnd at gmail.com Wed Mar 16 22:09:45 2011 From: jdanielnd at gmail.com (=?ISO-8859-1?Q?=22Jo=E3o_Daniel_N._Duarte=22?=) Date: Wed, 16 Mar 2011 18:09:45 -0300 Subject: Scilab for MacOSX 10.5 Leopard Message-ID: Hello, Is there a version of Scilab for MacOS X 10.5 Leopard? I looked for it on the website but just found a Snow Leopard version. Many thanks, Joao Daniel From sylvestre.ledru at scilab.org Wed Mar 16 22:17:27 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Wed, 16 Mar 2011 22:17:27 +0100 Subject: [scilab-Users] Scilab for MacOSX 10.5 Leopard In-Reply-To: References: Message-ID: <1300310247.20292.20.camel@losinj.inria.fr> Hello, Le mercredi 16 mars 2011 ? 18:09 -0300, "Jo?o Daniel N. Duarte" a ?crit : > Hello, > > Is there a version of Scilab for MacOS X 10.5 Leopard? I looked for it > on the website but just found a Snow Leopard version. Unfortunately, Apple did a massive refactoring of the Java packaging. While doing so, they broke a component Scilab is based on (which explains why Scilab used to work under Mac OS X 10.5). We opened a bug report on the Apple bug tracker but we haven't hear back since then. For the technical explanation, see: http://lists.apple.com/archives/Java-dev/2011/Feb/msg00083.html One of Apple engineer replied privately: "yeah, I think it is a bug, please report it, and if it's not a bug, we'll get back to you quickly ... but it sounds like a bug." Sylvestre From paul.carrico at free.fr Fri Mar 18 18:00:10 2011 From: paul.carrico at free.fr (Paul CARRICO) Date: Fri, 18 Mar 2011 18:00:10 +0100 Subject: Bancroft correction method Message-ID: <001801cbe58d$f1ea3a80$d5beaf80$@carrico@free.fr> Dear All, I don't know if somebody can help me . in any way does somebody has and can share all the Bancoft's table coefficients (see table 2 in the document) ? Thanks in advance Paul PS : please note the document was found on the net. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: V66.N02.A09.pdf Type: application/pdf Size: 189232 bytes Desc: not available URL: From jerzy.karczmarczuk at unicaen.fr Fri Mar 18 21:50:02 2011 From: jerzy.karczmarczuk at unicaen.fr (Jerzy Karczmarczuk) Date: Fri, 18 Mar 2011 13:50:02 -0700 (PDT) Subject: The usage of "sawtooth generator" Message-ID: <1300481402878-2699591.post@n3.nabble.com> Could somebody translate this to something understandable? : "sawtooth wave generator: output is from to where and denote the times of two successive input events" This block ignores all attempts at parametrisation, and a silly test (a clock and a scope) produces a stream of zeros (it seems so)... Thanks. JK -- View this message in context: http://mailinglists.scilab.org/The-usage-of-sawtooth-generator-tp2699591p2699591.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Dick at santacruzwireless.com Sun Mar 20 01:03:56 2011 From: Dick at santacruzwireless.com (dickwalvis) Date: Sat, 19 Mar 2011 17:03:56 -0700 (PDT) Subject: Scilab 5.3.1 and MAC OS X Message-ID: <1300579436603-2704228.post@n3.nabble.com> Good morning I am new to Scilab. I have been able to install Scilab 5.3.1 on a windows PC. On the MAC (10.6.6) Scilab 5.3.1 appears to install correctly. However, when I type TCL_EvalStr("set "), it returns with Undefined variable: TCL_EvalStr When I check which demos are installed, I don't see Tcl/Tk. (I understand that TCL is necessary for the "connect" module). I did read that there was no Tcl/Tk capability for some earlier Scilab versions (5.1 ?) however the release notes for Scilab 5.3.1 say that all portability issues of Scilab under MAC OS X should be fixed. My question is if Scilab is expected to see Tcl/Tk when installed on the MAC. If so, would any one have some pointers where I can get information? Thank you Dick Walvis -- View this message in context: http://mailinglists.scilab.org/Scilab-5-3-1-and-MAC-OS-X-tp2704228p2704228.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sylvestre.ledru at scilab.org Sun Mar 20 01:10:43 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Sun, 20 Mar 2011 01:10:43 +0100 Subject: [scilab-Users] Scilab 5.3.1 and MAC OS X In-Reply-To: <1300579436603-2704228.post@n3.nabble.com> References: <1300579436603-2704228.post@n3.nabble.com> Message-ID: <1300579843.2957.2782.camel@losinj.inria.fr> Le samedi 19 mars 2011 ? 17:03 -0700, dickwalvis a ?crit : > Good morning > > I am new to Scilab. I have been able to install Scilab 5.3.1 on a windows > PC. > On the MAC (10.6.6) Scilab 5.3.1 appears to install correctly. > However, when I type TCL_EvalStr("set "), it returns with > Undefined variable: TCL_EvalStr > > When I check which demos are installed, I don't see Tcl/Tk. > > (I understand that TCL is necessary for the "connect" module). > > I did read that there was no Tcl/Tk capability for some earlier Scilab > versions (5.1 ?) however the release notes for Scilab 5.3.1 say that all > portability issues of Scilab under MAC OS X should be fixed. Well, it was a mistake when we wrote the release note... Tcl/Tk has not been updated to work under Mac OS X... The same Mac OS X specific issues remain here. Patches are welcome... Sorry, Sylvestre From sylvestre.ledru at scilab.org Sun Mar 20 12:22:49 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Sun, 20 Mar 2011 12:22:49 +0100 Subject: GSoC 2011 Message-ID: <1300620169.2957.5988.camel@losinj.inria.fr> Hello, Good news everyone, Scilab will be involved one more time to the Google Summer of Code. The student can get in touch with the Scilab team about the various projects and applications start from March 28 to April 8. The list of ideas is available here: http://wiki.scilab.org/Ideas_of_development_for_Scilab Don't hesitate to contact me if you see anything missing here, Sylvestre From kastermight at gmail.com Mon Mar 21 02:44:28 2011 From: kastermight at gmail.com (Kaster Might) Date: Sun, 20 Mar 2011 19:44:28 -0600 Subject: Running script files Message-ID: <4D86AD7C.2090808@gmail.com> Hi everyone! 1. How to run a script file using Hotkey? Like F5 in Matlab? 2. How to autosave script file w/out prompting all the time? It should be quite obvious that I wanna save file if I'm gonna execute it. Thanks. -- Kaster Might -------------- next part -------------- An HTML attachment was scrubbed... URL: From Dick at santacruzwireless.com Sun Mar 20 01:17:59 2011 From: Dick at santacruzwireless.com (dickwalvis) Date: Sat, 19 Mar 2011 17:17:59 -0700 (PDT) Subject: Scilab 5.3.1 and MAC OS X In-Reply-To: <1300579843.2957.2782.camel@losinj.inria.fr> References: <1300579436603-2704228.post@n3.nabble.com> <1300579843.2957.2782.camel@losinj.inria.fr> Message-ID: <1300580279469-2704293.post@n3.nabble.com> Thank you Dick -- View this message in context: http://mailinglists.scilab.org/Scilab-5-3-1-and-MAC-OS-X-tp2704228p2704293.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From cwarner.cw711 at gmail.com Sun Mar 20 19:00:04 2011 From: cwarner.cw711 at gmail.com (Charles Warner) Date: Sun, 20 Mar 2011 13:00:04 -0500 Subject: [scilab-Users] GSoC 2011 In-Reply-To: <1300620169.2957.5988.camel@losinj.inria.fr> References: <1300620169.2957.5988.camel@losinj.inria.fr> Message-ID: DON'T DROP SIGNAL ANALYSIS!!!! That is what brought me to Scilab in the first place. Charles Warner On Sun, Mar 20, 2011 at 6:22 AM, Sylvestre Ledru wrote: > Hello, > > Good news everyone, Scilab will be involved one more time to the Google > Summer of Code. > The student can get in touch with the Scilab team about the various > projects and applications start from March 28 to April 8. > The list of ideas is available here: > http://wiki.scilab.org/Ideas_of_development_for_Scilab > > Don't hesitate to contact me if you see anything missing here, > Sylvestre > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Mon Mar 21 09:44:04 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Mon, 21 Mar 2011 09:44:04 +0100 Subject: [scilab-Users] GSoC 2011 In-Reply-To: References: <1300620169.2957.5988.camel@losinj.inria.fr> Message-ID: <1300697044.31822.41597.camel@korcula.inria.fr> Sorry, I don't understand your message ?! GSoC is about building things, not removing them... Sylvestre Le dimanche 20 mars 2011 ? 13:00 -0500, Charles Warner a ?crit : > DON'T DROP SIGNAL ANALYSIS!!!! That is what brought me to Scilab in > the first place. > Charles Warner > > On Sun, Mar 20, 2011 at 6:22 AM, Sylvestre Ledru > wrote: > Hello, > > Good news everyone, Scilab will be involved one more time to > the Google > Summer of Code. > The student can get in touch with the Scilab team about the > various > projects and applications start from March 28 to April 8. > The list of ideas is available here: > http://wiki.scilab.org/Ideas_of_development_for_Scilab > > Don't hesitate to contact me if you see anything missing here, > Sylvestre > > > > From paul.carrico at esterline.com Mon Mar 21 11:22:04 2011 From: paul.carrico at esterline.com (Carrico, Paul) Date: Mon, 21 Mar 2011 11:22:04 +0100 Subject: Call for contact Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC0498B1F2@exchsrv.AUXITROL1> Dear All, In the Scilab community, I'm looking for contacts that are experienced in impact test analysis (I mean Hopkinson test) ? If so they can contact me directly by email. Thanks in advance Paul P Please consider the environment before printing this e-mail -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution 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 system. If you are not the named addressee you should not disseminate, distribute or copy this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.dubois at limsi.fr Mon Mar 21 11:59:58 2011 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Mon, 21 Mar 2011 11:59:58 +0100 Subject: [scilab-Users] Running script files In-Reply-To: <4D86AD7C.2090808@gmail.com> References: <4D86AD7C.2090808@gmail.com> Message-ID: <4D872FAE.9020900@limsi.fr> Hello, On 03/21/2011 02:44 AM, Kaster Might wrote: > Hi everyone! > 1. How to run a script file using Hotkey? Like F5 in Matlab? By default Ctrl + Shift + E (see "Execute" menu in scinote). > 2. How to autosave script file w/out prompting all the time? It should > be quite obvious that I wanna save file if I'm gonna execute it. I didn't find it (even in the scinotesConfiguration.xml file). Maybe you could fill a request on the bugzilla. > Thanks. > -- > Kaster Might -------------- next part -------------- An HTML attachment was scrubbed... URL: From Edoardo.Marcantoni at sgcm.ch Mon Mar 21 12:14:28 2011 From: Edoardo.Marcantoni at sgcm.ch (Edoardo Marcantoni) Date: Mon, 21 Mar 2011 11:14:28 +0000 Subject: problems with the function "fmincon" Message-ID: <785E94CF1B2AFA48B7A7F3BB06060BD94AED6B2E@SGCMSEXC006.sgcm.local> Hello, I'm having problem with the function "fmincon": I can't find a way to distinguish the parameters I know from the parameters I don't know. For example in Matlab I wold write [param,f_val]=fmincon(@(tau) j_function_tiip(c,ttm,tau,acc,act,i_r),[0.0;0;0;4],[],[],[],[],[-0.1;-0.1;-0.1;1],[0.05;0.05;0.1;15]) Where @(tau) means that the parameter set I look for is "tau", everything else is known. How can I do the same in Scilab?? Thanks a lot Edoardo Marcantoni -------------- next part -------------- An HTML attachment was scrubbed... URL: From fvogelnew1 at free.fr Mon Mar 21 12:48:34 2011 From: fvogelnew1 at free.fr (=?UTF-8?B?RnJhbsOnb2lzIFZvZ2Vs?=) Date: Mon, 21 Mar 2011 12:48:34 +0100 Subject: [scilab-Users] Running script files In-Reply-To: <4D86AD7C.2090808@gmail.com> References: <4D86AD7C.2090808@gmail.com> Message-ID: <4D873B12.1020803@free.fr> Kaster Might said on 21/03/2011 02:44: > Hi everyone! > 1. How to run a script file using Hotkey? Like F5 in Matlab? > 2. How to autosave script file w/out prompting all the time? It should > be quite obvious that I wanna save file if I'm gonna execute it. Hi, The Scipad text editor is featuring this. It saves and executes through a single F5 hit. Check it out: http://sourceforge.net/p/scipad Francois From jerzy.karczmarczuk at unicaen.fr Mon Mar 21 21:51:26 2011 From: jerzy.karczmarczuk at unicaen.fr (Jerzy Karczmarczuk) Date: Mon, 21 Mar 2011 13:51:26 -0700 (PDT) Subject: "print" command Message-ID: <1300740686116-2711700.post@n3.nabble.com> Is there any particular reason why print('fname',a,b,c,d) prints the values in the inverse order: d,c,b,a? (v. 5.3.1 under XP) This is frustrating. Even more: a second attempt fails (file exists). WHY? Of course, there is plenty of writing conventions, etc. but why a SIMPLE procedure doesn't behave in a simple way? JK -- View this message in context: http://mailinglists.scilab.org/print-command-tp2711700p2711700.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From berns.buenaobra at gmail.com Tue Mar 22 11:34:12 2011 From: berns.buenaobra at gmail.com (Berns Buenaobra) Date: Tue, 22 Mar 2011 18:34:12 +0800 Subject: Installing the modules without ATOM access Message-ID: Hello Scilab Users: I'd like to know how I would be able to install modules without the use of ATOM because of retrictions in our company network? Any tips on how to do this would be certainly be welcomed! Regards, Berns B. -------------- next part -------------- An HTML attachment was scrubbed... URL: From simon.gareste at scilab.org Tue Mar 22 14:57:57 2011 From: simon.gareste at scilab.org (Simon GARESTE) Date: Tue, 22 Mar 2011 14:57:57 +0100 Subject: [scilab-Users] Installing the modules without ATOM access In-Reply-To: References: Message-ID: <4D88AAE5.40305@scilab.org> On 22/03/2011 11:34, Berns Buenaobra wrote: > Hello Scilab Users: > I'd like to know how I would be able to install modules without the > use of ATOM because of retrictions in our company network? Any tips on > how to do this would be certainly be welcomed! > Regards, > Berns B. Hi, Find a way to get the module you want (like downloading it from home if you can't bypass your company restrictions), then launch scilab (must be a version supported by the toolbox), then type atomsInstall('/the/path/to/your/module.tar.gz') (or .zip, depending on your OS). Then load it by typing atomsLoad('yourmodule'), or restart your scilab. Simon -- Simon Gareste Support& Development Engineer -- Consortium Scilab Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex -- From stephane.mottelet at utc.fr Tue Mar 22 15:02:26 2011 From: stephane.mottelet at utc.fr (=?ISO-8859-1?Q?St=E9phane_Mottelet?=) Date: Tue, 22 Mar 2011 15:02:26 +0100 Subject: [scilab-Users] Installing the modules without ATOM access In-Reply-To: <4D88AAE5.40305@scilab.org> References: <4D88AAE5.40305@scilab.org> Message-ID: <4D88ABF2.3050909@utc.fr> Le 22/03/2011 14:57, Simon GARESTE a ?crit : > On 22/03/2011 11:34, Berns Buenaobra wrote: >> Hello Scilab Users: >> I'd like to know how I would be able to install modules without the >> use of ATOM because of retrictions in our company network? Any tips >> on how to do this would be certainly be welcomed! >> Regards, >> Berns B. > Hi, > > Find a way to get the module you want (like downloading it from home > if you can't bypass your company restrictions), then launch scilab > (must be a version supported by the toolbox), then type > atomsInstall('/the/path/to/your/module.tar.gz') (or .zip, depending > on your OS). Then load it by typing atomsLoad('yourmodule'), or > restart your scilab. > > Simon > Maybe it is just a proxy problem ? Do you use a proxy server at your work ? If this is the case you can make the atoms manager aware of this. S. From ciglerj at ee.ethz.ch Tue Mar 22 17:12:41 2011 From: ciglerj at ee.ethz.ch (=?UTF-8?Q?Ji=C5=99=C3=AD?= Cigler) Date: Tue, 22 Mar 2011 17:12:41 +0100 Subject: Scilab: usage of java objects imported from jar files Message-ID: <1300810361.2330.10.camel@quetzalcoatl.felk.cvut.cz> Hello, I have got a question regarding java support in scilab environment: Is it possible to work with java objects in scilab? Like for instance in matlab: s= java.lang.String('string') import org.my.package.class Thank you for any help, Regards, Jiri -------------- next part -------------- An HTML attachment was scrubbed... URL: From didier.bodin at arrb.com.au Wed Mar 23 00:16:42 2011 From: didier.bodin at arrb.com.au (Didier Bodin (Dr)) Date: Wed, 23 Mar 2011 10:16:42 +1100 Subject: fprintfMat in Scilab 5.3.1 Message-ID: Hello, I've noticed that the "fprintfMat" function does not allows format incorporating tabulation (for instance '%1.5e\t'). It does not include a tab character but write \t between the columns. This feature was available in scilab 5.2.x and was very useful to get pretty text files without using "mprintf". Do you have any solution to that problem ? Cheers. Didier Bodin PS: you can either answer in French or English as I am French living in Australia ________________________________ Didier Bodin (Dr) Senior Research Engineer Research and Consulting ARRB Group Ltd 500 Burwood Highway Vermont South VIC 3133 AUSTRALIA P: +61 3 9881 1527 | F: +61 3 9887 8104 | M: didier.bodin at arrb.com.au www.arrb.com.au Safer Road Surfaces - Saving Lives The 3rd International Road Surface Friction Conference, Safer Road Surfaces - Saving Lives, will be held on the Gold Coast, Queensland, Australia between 15 and 18 May 2011. Early Bird Registration (closes 31 March 2011), visit www.friction2011.com.au We invite you to attend the conference and explore the region as the Gold Coast has not been directly affected by the Queensland floods or cyclone. Legal Note: This email and any files transmitted with it are solely intended for the use of the addressee(s) and may contain information that is confidential and privileged. If you receive this email in error, please advise us by return email immediately. Please also disregard the contents of the email, delete it and destroy any copies immediately. ##################################################################################### This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal ##################################################################################### -------------- next part -------------- An HTML attachment was scrubbed... URL: From vogt at centre-cired.fr Wed Mar 23 09:28:26 2011 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Wed, 23 Mar 2011 09:28:26 +0100 Subject: [scilab-Users] fprintfMat in Scilab 5.3.1 In-Reply-To: References: Message-ID: <4D89AF2A.1060402@centre-cired.fr> hi i think you should post a bug about fprintfMat not accepting "\t" a workaround may be : ('%1.5e'+ascii(9)) you can also use write_csv or csv_write which are higher-level functions that accept a "sep" argument, ascii(9) I believe in your case if i may recommend you to name the files made that way "matrixname.tsv" (like Tab Separated Values instaed of Coma Separated Values), you'll find out that Excel open tsv file corecctly without doing anything. (if you actually use Excel) Le 23/03/2011 00:16, Didier Bodin (Dr) a ?crit : > > Hello, > > I've noticed that the "fprintfMat" function does not allows format > incorporating tabulation (for instance '%1.5e\t'). It does not > include a tab character but write \t between the columns. > > This feature was available in scilab 5.2.x and was very useful to get > pretty text files without using "mprintf". > > Do you have any solution to that problem ? > > Cheers. > > Didier Bodin > > PS: you can either answer in French or English as I am French living > in Australia > > ------------------------------------------------------------------------ > > Didier Bodin (Dr) > > Senior Research Engineer > > Research and Consulting > > *AR**R**B Group Ltd** > *500 Burwood Highway > > Vermont South VIC 3133 > > AUSTRALIA > > *P:*+61 3 9881 1527 | *F:* +61 3 9887 8104 | *M:* > > didier.bodin at arrb.com.au > > www.arrb.com.au ** > > Safer Road Surfaces -- Saving Lives > > The 3^rd International Road Surface Friction Conference, Safer Road > Surfaces -- Saving Lives, will be held on the Gold Coast, Queensland, > Australia between 15 and 18 May 2011. Early Bird Registration (closes > 31 March 2011), visit *www.friction2011.com.au* > > > We invite you to attend the conference and explore the region as the > Gold Coast has not been directly affected by the Queensland floods or > cyclone. > > ** > > Legal Note: This email and any files transmitted with it are solely > intended for the use of the addressee(s) and may contain information > that is confidential and privileged. If you receive this email in > error, please advise us by return email immediately. Please also > disregard the contents of the email, delete it and destroy any copies > immediately. > > ------------------------------------------------------------------------ > This e-mail message has been scanned for Viruses and Content and > cleared by *MailMarshal * > ------------------------------------------------------------------------ -- *Adrien Vogt-Schilb* Research Fellow vogt at centre-cired.fr Tel: (+33) 1 43 94 73 96 Fax: (+33) 1 43 94 73 70 CIRED 45 bis, Av de la Belle Gabrielle F-94736 Nogent-sur-Marne http://www.centre-cired.fr/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: logocired.png Type: image/png Size: 4092 bytes Desc: not available URL: From sylvestre.ledru at scilab.org Wed Mar 23 10:02:28 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Wed, 23 Mar 2011 10:02:28 +0100 Subject: [scilab-Users] Scilab: usage of java objects imported from jar files In-Reply-To: <1300810361.2330.10.camel@quetzalcoatl.felk.cvut.cz> References: <1300810361.2330.10.camel@quetzalcoatl.felk.cvut.cz> Message-ID: <1300870948.31822.53024.camel@korcula.inria.fr> Hello Ji??, Good news: this possible with JIMS: http://forge.scilab.org/index.php/p/JIMS/ Bad news: it does not work yet under Windows (even if the port is currently on going). Sylvestre Le mardi 22 mars 2011 ? 17:12 +0100, Ji?? Cigler a ?crit : > Hello, > > I have got a question regarding java support in scilab environment: > Is it possible to work with java objects in scilab? > Like for instance in matlab: > > s= java.lang.String('string') > > import org.my.package.class > > > Thank you for any help, > Regards, > Jiri > From ginters.buss at gmail.com Wed Mar 23 10:07:48 2011 From: ginters.buss at gmail.com (=?UTF-8?Q?Ginters_Bu=C5=A1s?=) Date: Wed, 23 Mar 2011 11:07:48 +0200 Subject: Scinotes parenthesis highlight turn off Message-ID: Hallo, I like Scinotes 1.1 but the highlighting red box around parentheses is bothering - is there a way to switch it off or make parenthesis itself highlight (like in notepad++) but not the box around it? Gin. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ciglerj at ee.ethz.ch Wed Mar 23 13:43:47 2011 From: ciglerj at ee.ethz.ch (=?UTF-8?Q?Ji=C5=99=C3=AD?= Cigler) Date: Wed, 23 Mar 2011 13:43:47 +0100 Subject: [scilab-Users] Scilab: usage of java objects imported from jar files In-Reply-To: <1300870948.31822.53024.camel@korcula.inria.fr> References: <1300810361.2330.10.camel@quetzalcoatl.felk.cvut.cz> <1300870948.31822.53024.camel@korcula.inria.fr> Message-ID: <1300884227.2131.38.camel@quetzalcoatl.felk.cvut.cz> Hello Sylvestre, Thank you for the quick answer. I have cloned the current state of git repository but unfortunately, I had some compilation problems (or installation problems). Enclosed you find the error log, Thank you, Regards, Jiri Sylvestre Ledru p??e v St 23. 03. 2011 v 10:02 +0100: > Hello Ji??, > > Good news: this possible with JIMS: > http://forge.scilab.org/index.php/p/JIMS/ > > Bad news: it does not work yet under Windows (even if the port is > currently on going). > > Sylvestre > > > Le mardi 22 mars 2011 ? 17:12 +0100, Ji?? Cigler a ?crit : > > Hello, > > > > I have got a question regarding java support in scilab environment: > > Is it possible to work with java objects in scilab? > > Like for instance in matlab: > > > > s= java.lang.String('string') > > > > import org.my.package.class > > > > > > Thank you for any help, > > Regards, > > Jiri > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- -->exec('builder_src.sce') -->mode(-1); Generate a gateway file Generate a loader file Generate a Makefile ilib_gen_Make: configure : Generate Makefile. ilib_gen_Make: Copy compilation files (Makefile*, libtool...) to TMPDIR ilib_gen_Make: Copy /home/jirka/Software/JIMS/cpp/wrap.hpp to TMPDIR !--error 999 ilib_gen_Make_unix: Wrong value for input argument #2: existing file(s) expected.at line 128 of function ilib_gen_Make_unix called by : at line 50 of function ilib_gen_Make called by : at line 100 of function ilib_build called by : ilib_build('importjava',sci_gtw,[cpp c jni gateway],[],'','-ljvm',include); at line 44 of exec file called by : exec('builder_src.sce') -->ver ans = !Scilab Version: 5.3.1.1299165503 ! ! ! !Operating System: Linux 2.6.32-5-686 ! ! ! !Java version : 1.6.0_18 ! ! ! !Java runtime information : Java(TM) SE Runtime Environment (build 1.6.0_18-b07) ! ! ! !Java vm information : Java HotSpot(TM) Server VM (build 16.0-b13, mixed mode) ! ! ! !Vendor specification: Sun Microsystems Inc. ! From calixte at contrib.scilab.org Wed Mar 23 14:08:22 2011 From: calixte at contrib.scilab.org (Calixte Denizet) Date: Wed, 23 Mar 2011 14:08:22 +0100 Subject: [scilab-Users] Scilab: usage of java objects imported from jar files In-Reply-To: <1300884227.2131.38.camel@quetzalcoatl.felk.cvut.cz> References: <1300810361.2330.10.camel@quetzalcoatl.felk.cvut.cz> <1300870948.31822.53024.camel@korcula.inria.fr> <1300884227.2131.38.camel@quetzalcoatl.felk.cvut.cz> Message-ID: <1300885702.31555.26.camel@Calixte-Dell> Hello Ji??, Le mercredi 23 mars 2011 ? 13:43 +0100, Ji?? Cigler a ?crit : > Hello Sylvestre, > Thank you for the quick answer. I have cloned the current state of git > repository but unfortunately, I had some compilation problems (or > installation problems). i) you should work with the experimental branch: I'm currently working on it, and it would be nextly merged in master. ii) For the moment, I don't respect the toolbox structure directory (it is probably why you have this error), I need to change that... I try to do that this afternoon or tomorrow. Regards, Calixte > Enclosed you find the error log, > Thank you, > Regards, > Jiri > > > > Sylvestre Ledru p??e v St 23. 03. 2011 v 10:02 +0100: > > Hello Ji??, > > > > Good news: this possible with JIMS: > > http://forge.scilab.org/index.php/p/JIMS/ > > > > Bad news: it does not work yet under Windows (even if the port is > > currently on going). > > > > Sylvestre > > > > > > Le mardi 22 mars 2011 ? 17:12 +0100, Ji?? Cigler a ?crit : > > > Hello, > > > > > > I have got a question regarding java support in scilab environment: > > > Is it possible to work with java objects in scilab? > > > Like for instance in matlab: > > > > > > s= java.lang.String('string') > > > > > > import org.my.package.class > > > > > > > > > Thank you for any help, > > > Regards, > > > Jiri > > > > > From antoine.monmayrant at laas.fr Wed Mar 23 16:23:32 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Wed, 23 Mar 2011 16:23:32 +0100 Subject: sprintf changes from 5.1 to 5.3 (is it related to fprintfMat change reported by Didier) In-Reply-To: References: Message-ID: <4D8A1074.1030800@laas.fr> Hi everyone, I just noticed something that has changed between scilab 5.1 and 5.3. In 5.3, "sprintf" support tabs and other special characters but I can't escape the backslash: ++++++scilab 5.1++++++ -->sprintf('\\text') ans = \\text -->sprintf('\text') ans = \text ++++++scilab 5.3++++++ -->sprintf('\\text') ans = \ ext -->sprintf('\text') ans = ext Am I missing something? Cheers, Antoine From Samuel.Gougeon at univ-lemans.fr Wed Mar 23 17:08:20 2011 From: Samuel.Gougeon at univ-lemans.fr (Samuel GOUGEON) Date: Wed, 23 Mar 2011 17:08:20 +0100 Subject: [scilab-Users] Scinotes parenthesis highlight turn off In-Reply-To: References: Message-ID: <4D8A1AF4.2070807@univ-lemans.fr> Hello, ----- Message d'origine ----- De : Ginters Bu?s Date : 23/03/2011 10:07: > Hallo, > > I like Scinotes 1.1 but the highlighting red box around parentheses is > bothering - is there a way to switch it off or make parenthesis itself > highlight (like in notepad++) but not the box around it? You just have to edit the scinotesConfiguration.xml file set in your user's profile somewhere like in ~\Scilab\scinotesConfiguration.xml and then to customize the section. Here is mine (without framing caret :-) Look at the comments inside the file for help. It should be OK. This file must be modified only if no Scilab session is opened. Then open a new session, open Scinotes, and look at the result. Cheers Samuel From ginters.buss at gmail.com Wed Mar 23 19:25:54 2011 From: ginters.buss at gmail.com (=?UTF-8?Q?Ginters_Bu=C5=A1s?=) Date: Wed, 23 Mar 2011 20:25:54 +0200 Subject: [scilab-Users] Scinotes parenthesis highlight turn off In-Reply-To: <4D8A1AF4.2070807@univ-lemans.fr> References: <4D8A1AF4.2070807@univ-lemans.fr> Message-ID: On Wed, Mar 23, 2011 at 6:08 PM, Samuel GOUGEON < Samuel.Gougeon at univ-lemans.fr> wrote: > Hello, > > ----- Message d'origine ----- > De : Ginters Bu?s > Date : 23/03/2011 10:07: > > Hallo, >> >> I like Scinotes 1.1 but the highlighting red box around parentheses is >> bothering - is there a way to switch it off or make parenthesis itself >> highlight (like in notepad++) but not the box around it? >> > You just have to edit the scinotesConfiguration.xml file set in your user's > profile somewhere like in > ~\Scilab\scinotesConfiguration.xml > and then to customize the section. > Here is mine (without framing caret :-) > > strict="true" type="filled"/> > type="filled"/> > > Look at the comments inside the file for help. It should be OK. > This file must be modified only if no Scilab session is opened. > Then open a new session, open Scinotes, and look at the result. > > Cheers > Samuel > Thanks. I have Win XP OS and the file is in "scilab-5.3.1\modules\scinotes\etc". I took your code, changed scinotesConfiguration.xml but nothing changes - the red frame does not want to leave (first, I put the default 'matching' in comments, then deleted it - no change). I even restarted the OS. Feels like Scinotes has memorized the settings. Thanks for the right clue, though. I'll keep trying this way. Gin. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kdl at ansto.gov.au Thu Mar 24 00:17:17 2011 From: kdl at ansto.gov.au (Klaus Dieter-Liss) Date: Thu, 24 Mar 2011 10:17:17 +1100 Subject: scilab-5 and control-C [SEC=UNCLASSIFIED] Message-ID: <4D8A7F7D.80203@ansto.gov.au> just downloaded scilab-5.3 for linux, 64 bits.... when I start it in no windows mode: ./bin/scilab -nw then it interrupts with control-C. leaving still some programs in memory. what is behind this idea? in scilab 4,this was not the case. contol-C did not do anything. there is a risk, that Ihit control-C and my work is lost. how to disable control-c? cheers, kdliss. From sylvestre.ledru at scilab.org Thu Mar 24 00:49:45 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Thu, 24 Mar 2011 00:49:45 +0100 Subject: [scilab-Users] scilab-5 and control-C [SEC=UNCLASSIFIED] In-Reply-To: <4D8A7F7D.80203@ansto.gov.au> References: <4D8A7F7D.80203@ansto.gov.au> Message-ID: <1300924185.25842.18.camel@losinj.inria.fr> Le jeudi 24 mars 2011 ? 10:17 +1100, Klaus Dieter-Liss a ?crit : > just downloaded scilab-5.3 for linux, 64 bits.... when I start it in no > windows mode: ./bin/scilab -nw then it interrupts with control-C. > leaving still some programs in memory. what is behind this idea? in > scilab 4,this was not the case. contol-C did not do anything. there is a > risk, that Ihit control-C and my work is lost. how to disable control-c? > cheers, kdliss. Starts Scilab like that: /path/to/bin/scilab & I will launch Scilab like it used to be in the 4.X family. This change has been done because it is the way it is done under GNU/Linux or Mac OS X. Sylvestre From kdl at ansto.gov.au Thu Mar 24 01:43:25 2011 From: kdl at ansto.gov.au (Klaus Dieter-Liss) Date: Thu, 24 Mar 2011 11:43:25 +1100 Subject: [scilab-Users] scilab-5 and control-C [SEC=UNCLASSIFIED] In-Reply-To: <1300924185.25842.18.camel@losinj.inria.fr> References: <4D8A7F7D.80203@ansto.gov.au> <1300924185.25842.18.camel@losinj.inria.fr> Message-ID: <4D8A93AD.5040909@ansto.gov.au> Thanks, Sylvestre, just played with the system to catch ctl-C. I found out, if I start scilab -nw from the bash shell, everything is fine. I used tcsh before. I also made a startup script, see attached, to jump to the download directory. then inside scilab, i have in my startup script the following: SCIPWD=getenv('SCIPWD','NotExisting_SCIPWD'); if 0 <> strcmp(SCIPWD,'NotExisting_SCIPWD') then cd(SCIPWD); end vec mes meilleurs salutations, KLaus. Sylvestre Ledru wrote: > > Le jeudi 24 mars 2011 ? 10:17 +1100, Klaus Dieter-Liss a ?crit : > > just downloaded scilab-5.3 for linux, 64 bits.... when I start it in no > > windows mode: ./bin/scilab -nw then it interrupts with control-C. > > leaving still some programs in memory. what is behind this idea? in > > scilab 4,this was not the case. contol-C did not do anything. there is a > > risk, that Ihit control-C and my work is lost. how to disable control-c? > > cheers, kdliss. > Starts Scilab like that: > /path/to/bin/scilab & > > I will launch Scilab like it used to be in the 4.X family. > This change has been done because it is the way it is done under > GNU/Linux or Mac OS X. > > Sylvestre > > -- -- Dr. Klaus-Dieter Liss Senior Research Fellow The Bragg Institute, ANSTO Locked Bag 2001, Kirrawee DC, NSW 2232, Australia New Illawarra Road, Lucas Heights, NSW 2232, Australia T: +61-2-9717+9479 F: +61-2-9717+3606 M: 0419 166 978 E: kdl at ansto.gov.au http://www.ansto.gov.au/research/bragg_institute/science/scientific_projects/thermo private: http://liss.freeshell.org/ -------------- next part -------------- A non-text attachment was scrubbed... Name: scilab5.sh Type: application/x-shellscript Size: 91 bytes Desc: not available URL: From Samuel.Gougeon at univ-lemans.fr Thu Mar 24 09:41:09 2011 From: Samuel.Gougeon at univ-lemans.fr (Samuel GOUGEON) Date: Thu, 24 Mar 2011 09:41:09 +0100 Subject: [scilab-Users] Scinotes parenthesis highlight turn off In-Reply-To: References: <4D8A1AF4.2070807@univ-lemans.fr> Message-ID: <4D8B03A5.6090505@univ-lemans.fr> ----- Message d'origine ----- De : Ginters Bu?s Date : 23/03/2011 19:25: > > Thanks. I have Win XP OS and the file is in > "scilab-5.3.1\modules\scinotes\etc". I took your code, changed > scinotesConfiguration.xml but nothing changes Yes, because the first time you run a new Scilab installation, and the first time you run SciNotes during this first session, this file (in the Scilab instal. dir is copied into your own user profile. Then, only your own scinotesConfiguration. xml is used. This is why i indicated the users's profile. What you did will be useful for other users that yet never ran this Scilab. You must find your profile. With Windows, it should be somewhere like in C:\Documents and settings\Application data\Scilab\Scilab+release_number\. or D:\Users\your_id\Application Data\Scilab\Scilab+release_number You will find it ! :-) Samuel From ginters.buss at gmail.com Thu Mar 24 12:21:10 2011 From: ginters.buss at gmail.com (=?UTF-8?Q?Ginters_Bu=C5=A1s?=) Date: Thu, 24 Mar 2011 13:21:10 +0200 Subject: [scilab-Users] Scinotes parenthesis highlight turn off In-Reply-To: <4D8B03A5.6090505@univ-lemans.fr> References: <4D8A1AF4.2070807@univ-lemans.fr> <4D8B03A5.6090505@univ-lemans.fr> Message-ID: On Thu, Mar 24, 2011 at 10:41 AM, Samuel GOUGEON < Samuel.Gougeon at univ-lemans.fr> wrote: > ----- Message d'origine ----- > De : Ginters Bu?s > Date : 23/03/2011 19:25: > > >> Thanks. I have Win XP OS and the file is in >> "scilab-5.3.1\modules\scinotes\etc". I took your code, changed >> scinotesConfiguration.xml but nothing changes >> > Yes, because the first time you run a new Scilab installation, and the > first time you run SciNotes > during this first session, this file (in the Scilab instal. dir is copied > into your own user profile. > Then, only your own scinotesConfiguration. xml is used. This is why i > indicated the users's profile. > What you did will be useful for other users that yet never ran this Scilab. > You must find your profile. With Windows, it should be somewhere like in > C:\Documents and settings\Application data\Scilab\Scilab+release_number\. > or > D:\Users\your_id\Application Data\Scilab\Scilab+release_number > You will find it ! :-) > > Samuel > > Got it. It works. Thanks a lot. Gin. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pierre.juillard at gmail.com Thu Mar 24 16:51:53 2011 From: pierre.juillard at gmail.com (Pierre JUILLARD) Date: Thu, 24 Mar 2011 16:51:53 +0100 Subject: 3 ideas for Scilab Message-ID: Hi guys, I would like to submit 3 ideas to Scilab developpers that may be of interest or not (as a potential user, I find them interesting :)). I haven't find a clue if such functionalities are already available, and I don't know if I should add them to the Scilab bug tracker or write a SEP or something else. If one of the developper find them interesting, I can add them to the idea page for GSoC. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *Idea 1*: generation of doxygen-like documentation and/or UML diagrams from Scilab set of scripts Context: let's assume a guy is developping/maintaining quite a number of modelling toolboxes written in Scilab. In order to share then the library development with other people, it would be easier to have a tool able to generate graphs showing the organization of the toolboxes, with hyperlinks to documentation pages containing what can be said of this or that Scilab functions, and so on... Origin of the idea: the doxygen documentation of the VTK library, for instance: http://www.vtk.org/doc/nightly/html/classvtkQuadraturePointInterpolator.html Addtionnal idea: have it available as a service on http://forge.scilab.org/index.php? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *Idea 2*: implementation of a: - spreadsheet user interface quite similar to excel or openoffice calc (should it be a port of openoffice calc?) with standard function like possibility to define functions in a cell and so on... - implementation of an "intelligent" parser able to save the content of the spreadsheet into scilab scripts. Basically, such Scilab scripts would contain definition of variables and matrix operations. It maybe complex, but till now, as a basic user of excel, I have not find any content that I could not translate into Scilab scripts. I guess that however, quite a number of "default" behaviours should be defined like how to name this or that variable in Scilab scripts if a name has not been defined in the spreadsheet view. In addition, a function that would allow keeping track of the variable positions (in which cell was written this value ofr this vector?) in the spreadsheet view will be necessary when writing the corresponding Scilab scripts Context: - through the spreadsheet view, ease the massive number of excel users to be able to start using Scilab for classical matrices operations - ease in Scilab matrix manipulations by offering a traditionnal spreadsheet easy to use (without having to manage scripts, and wonder if the arrows and columns are correctly matching at matrix operations and so on...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *Idea 3*: (after Idea 2) port the excel file reading function from openoffice to Scilab that would be able to feed the spreadsheet user interface implemented in Idea 2. With the saving functions developped in Idea 2 as well,one would obtain an Excel to Scilab translator. Context: - Have an excel translator in Scilab ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ What do you think of it? Bests, Pierre -------------- next part -------------- An HTML attachment was scrubbed... URL: From klaus.debes at gmx.de Fri Mar 25 07:09:37 2011 From: klaus.debes at gmx.de (Klaus DEBES) Date: Fri, 25 Mar 2011 07:09:37 +0100 Subject: ATOMS Message-ID: <4D8C31A1.20709@gmx.de> Hello, I have installed Scilab 5.3.1. When I am trying to install CelestLab I get the following: -->atomsInstall ('celestlab'); atomsExtract: The extraction of the archive '/home/klaus/workspace/scilab-5.3.1/share/scilab/contrib/celestlab/celestlab_2.1.1-1.bin.zip' has failed. !--error 10000 at line 51 of function atomsError called by : at line 82 of function atomsExtract called by : at line 312 of function atomsInstall called by : atomsInstall ('celestlab'); I did not have this problem with v 5.2.2 on the same machine. Any hints? Thanks! Best regards, Klaus -------------- next part -------------- A non-text attachment was scrubbed... Name: klaus_debes.vcf Type: text/x-vcard Size: 254 bytes Desc: not available URL: From ruben.bibas at gmail.com Fri Mar 25 08:59:06 2011 From: ruben.bibas at gmail.com (Ruben Bibas) Date: Fri, 25 Mar 2011 08:59:06 +0100 Subject: Variables scope in functions Message-ID: Hello, I used to use Matlab and now I am using Scilab a lot. Is it possible to use functions in Scilab and have a variable scope handling the same way Matlab is: it does not know of any variables except the arguments of the functions ? I find it very disturbing that function can know external variables which are not global. Besides, sometimes if you do use this functionality with matrices, and try to redefine part of the matrix, it gets truncated. (If t is defined outside of a function as a 10x12 matrix, and you say inside the function t(3,8)=0, it gets truncated to 3x8.) Anyhow, if there is a scopeMode = 0 switch, I would be very happy to hear about it and if not, I would like to suggest it. Thank you for your help! Ruben From stephane.mottelet at utc.fr Fri Mar 25 09:17:50 2011 From: stephane.mottelet at utc.fr (=?ISO-8859-1?Q?St=E9phane_Mottelet?=) Date: Fri, 25 Mar 2011 09:17:50 +0100 Subject: [scilab-Users] Variables scope in functions In-Reply-To: References: Message-ID: <4D8C4FAE.3070208@utc.fr> Le 25/03/2011 08:59, Ruben Bibas a ?crit : > Hello, > I used to use Matlab and now I am using Scilab a lot. > Is it possible to use functions in Scilab and have a variable scope > handling the same way Matlab is: it does not know of any variables > except the arguments of the functions ? > I find it very disturbing that function can know external variables > which are not global. > Besides, sometimes if you do use this functionality with matrices, and > try to redefine part of the matrix, it gets truncated. > (If t is defined outside of a function as a 10x12 matrix, and you say > inside the function t(3,8)=0, it gets truncated to 3x8.) > > Anyhow, if there is a scopeMode = 0 switch, I would be very happy to > hear about it and if not, I would like to suggest it. > > Thank you for your help! > > Ruben Hi, this is the normal Scilab behavior : http://wiki.scilab.org/howto/global_and_local_variables S. From ruben.bibas at gmail.com Fri Mar 25 10:02:13 2011 From: ruben.bibas at gmail.com (Ruben Bibas) Date: Fri, 25 Mar 2011 10:02:13 +0100 Subject: [scilab-Users] Variables scope in functions In-Reply-To: <4D8C4FAE.3070208@utc.fr> References: <4D8C4FAE.3070208@utc.fr> Message-ID: Hi, Thanks for the anser. Yes, I know it is the normal behaviour. I am just asking if there is a way for telling Scilab to behave differently ? Thanks 2011/3/25 St?phane Mottelet : > Le 25/03/2011 08:59, Ruben Bibas a ?crit : >> >> Hello, >> I used to use Matlab and now I am using Scilab a lot. >> Is it possible to use functions in Scilab and have a variable scope >> handling the same way Matlab is: it does not know of any variables >> except the arguments of the functions ? >> I find it very disturbing that function can know external variables >> which are not global. >> Besides, sometimes if you do use this functionality with matrices, and >> try to redefine part of the matrix, it gets truncated. >> (If t is defined outside of a function as a 10x12 matrix, and you say >> inside the function t(3,8)=0, it gets truncated to 3x8.) >> >> Anyhow, if there is a scopeMode = 0 switch, I would be very happy to >> hear about it and if not, I would like to suggest it. >> >> Thank you for your help! >> >> Ruben > > Hi, > > this is the normal Scilab behavior : > > http://wiki.scilab.org/howto/global_and_local_variables > > S. > From stephane.mottelet at utc.fr Fri Mar 25 10:05:11 2011 From: stephane.mottelet at utc.fr (=?ISO-8859-1?Q?St=E9phane_Mottelet?=) Date: Fri, 25 Mar 2011 10:05:11 +0100 Subject: [scilab-Users] Variables scope in functions In-Reply-To: References: <4D8C4FAE.3070208@utc.fr> Message-ID: <4D8C5AC7.6050204@utc.fr> Le 25/03/2011 10:02, Ruben Bibas a ?crit : > Hi, > Thanks for the anser. > Yes, I know it is the normal behaviour. I am just asking if there is a > way for telling Scilab to behave differently ? No. S. > Thanks > > 2011/3/25 St?phane Mottelet: >> Le 25/03/2011 08:59, Ruben Bibas a ?crit : >>> Hello, >>> I used to use Matlab and now I am using Scilab a lot. >>> Is it possible to use functions in Scilab and have a variable scope >>> handling the same way Matlab is: it does not know of any variables >>> except the arguments of the functions ? >>> I find it very disturbing that function can know external variables >>> which are not global. >>> Besides, sometimes if you do use this functionality with matrices, and >>> try to redefine part of the matrix, it gets truncated. >>> (If t is defined outside of a function as a 10x12 matrix, and you say >>> inside the function t(3,8)=0, it gets truncated to 3x8.) >>> >>> Anyhow, if there is a scopeMode = 0 switch, I would be very happy to >>> hear about it and if not, I would like to suggest it. >>> >>> Thank you for your help! >>> >>> Ruben >> Hi, >> >> this is the normal Scilab behavior : >> >> http://wiki.scilab.org/howto/global_and_local_variables >> >> S. >> From sam at cctech.co.in Fri Mar 25 10:07:06 2011 From: sam at cctech.co.in (Sam Mathew) Date: Fri, 25 Mar 2011 14:37:06 +0530 Subject: Error while performing remote login: X11 connection rejected because of wrong authentication Message-ID: Hi everyone, I am trying to run a 64-bit SCILAB on our server from my 32-bit PC in the network and I'm connecting via ssh, with both having CentOS (GNU/Linux). I'm doing this because the server has NVIDIA graphics driver while my PC has only an Intel one which is not able to handle graphics well for SCILAB in a GNU/Linux environment. When I run SCILAB on the server, I get the following message on the console: *X11 connection rejected because of wrong authentication* SCILAB does start and I can do basic operations but it fails when I try to plot anything. I tried to fix the problem using the solution provided on http://www.cyberciti.biz/faq/x11-connection-rejected-because-of-wrong-authentication/ I am also able to successfully run the test as given in the above link ($ xeyes). But SCILAB still doesn't plot anything. Does anyone have any idea? Regards, Sam -- *Sam Mathew* | Asst. Manager, CFD *Centre for Computational Technologies - CCTech** * 1 Akshay Residency | 50 Anand Park | Aundh | Pune | 411007 | India Ph: +91 20 40098381/82 | M: +91-9975960244 | www.cctech.co.in* * *CCTech ? "Simulation is The Future"* * *[image: GeomTech] * * -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Fri Mar 25 11:30:29 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Fri, 25 Mar 2011 11:30:29 +0100 Subject: [scilab-Users] Variables scope in functions In-Reply-To: References: <4D8C4FAE.3070208@utc.fr> Message-ID: <1301049029.27577.33.camel@losinj.inria.fr> We might introduce in a future release of the 6 family a strict mode for such things... but it won't happen soon... S Le vendredi 25 mars 2011 ? 10:02 +0100, Ruben Bibas a ?crit : > Hi, > Thanks for the anser. > Yes, I know it is the normal behaviour. I am just asking if there is a > way for telling Scilab to behave differently ? > Thanks > > 2011/3/25 St?phane Mottelet : > > Le 25/03/2011 08:59, Ruben Bibas a ?crit : > >> > >> Hello, > >> I used to use Matlab and now I am using Scilab a lot. > >> Is it possible to use functions in Scilab and have a variable scope > >> handling the same way Matlab is: it does not know of any variables > >> except the arguments of the functions ? > >> I find it very disturbing that function can know external variables > >> which are not global. > >> Besides, sometimes if you do use this functionality with matrices, and > >> try to redefine part of the matrix, it gets truncated. > >> (If t is defined outside of a function as a 10x12 matrix, and you say > >> inside the function t(3,8)=0, it gets truncated to 3x8.) > >> > >> Anyhow, if there is a scopeMode = 0 switch, I would be very happy to > >> hear about it and if not, I would like to suggest it. > >> > >> Thank you for your help! > >> > >> Ruben > > > > Hi, > > > > this is the normal Scilab behavior : > > > > http://wiki.scilab.org/howto/global_and_local_variables > > > > S. > > From sylvestre.ledru at scilab.org Fri Mar 25 11:31:51 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Fri, 25 Mar 2011 11:31:51 +0100 Subject: [scilab-Users] Error while performing remote login: X11 connection rejected because of wrong authentication In-Reply-To: References: Message-ID: <1301049111.32106.2.camel@losinj.inria.fr> Hello, Try to connect with ssh -X yourhost it should allow the X forwarding. Sylvestre Le vendredi 25 mars 2011 ? 14:37 +0530, Sam Mathew a ?crit : > Hi everyone, > > I am trying to run a 64-bit SCILAB on our server from my 32-bit PC in > the network and I'm connecting via ssh, with both having CentOS > (GNU/Linux). I'm doing this because the server has NVIDIA graphics > driver while my PC has only an Intel one which is not able to handle > graphics well for SCILAB in a GNU/Linux environment. > > When I run SCILAB on the server, I get the following message on the > console: X11 connection rejected because of wrong authentication > > SCILAB does start and I can do basic operations but it fails when I > try to plot anything. > > I tried to fix the problem using the solution provided on > > http://www.cyberciti.biz/faq/x11-connection-rejected-because-of-wrong-authentication/ > > I am also able to successfully run the test as given in the above link > ($ xeyes). But SCILAB still doesn't plot anything. > > Does anyone have any idea? > > Regards, > > Sam > > -- > Sam Mathew | Asst. Manager, CFD > Centre for Computational Technologies - CCTech > 1 Akshay Residency | 50 Anand Park | Aundh | Pune | 411007 | India > Ph: +91 20 40098381/82 | M: +91-9975960244 | www.cctech.co.in > > CCTech ? "Simulation is The Future" > > > GeomTech > > From sam at cctech.co.in Fri Mar 25 12:02:46 2011 From: sam at cctech.co.in (Sam Mathew) Date: Fri, 25 Mar 2011 16:32:46 +0530 Subject: [scilab-Users] Error while performing remote login: X11 connection rejected because of wrong authentication In-Reply-To: <1301049111.32106.2.camel@losinj.inria.fr> References: <1301049111.32106.2.camel@losinj.inria.fr> Message-ID: Hi, Thank you for the quick response but actually this has been the way I have been connecting to ssh (i.e., ssh -X sam at server) so far. I went down to the server to see if the same problem persists if I work directly on the machine, but the same message appeared. *X11 connection rejected because of wrong authentication* Scilab started as it did on my PC remotely. When I try to plot it gives the following message: *NVIDIA: could not open the device file /dev/nvidiactl (Permission denied).* Interestingly, the plotting is working though and I don't understand the importance of this message then. But I cannot sit on the server and work but would like to work from my PC remotely. Is there any solution? Regards, Sam On 25 March 2011 16:01, Sylvestre Ledru wrote: > Hello, > > Try to connect with > ssh -X yourhost > > it should allow the X forwarding. > > Sylvestre > > > Le vendredi 25 mars 2011 ? 14:37 +0530, Sam Mathew a ?crit : > > Hi everyone, > > > > I am trying to run a 64-bit SCILAB on our server from my 32-bit PC in > > the network and I'm connecting via ssh, with both having CentOS > > (GNU/Linux). I'm doing this because the server has NVIDIA graphics > > driver while my PC has only an Intel one which is not able to handle > > graphics well for SCILAB in a GNU/Linux environment. > > > > When I run SCILAB on the server, I get the following message on the > > console: X11 connection rejected because of wrong authentication > > > > SCILAB does start and I can do basic operations but it fails when I > > try to plot anything. > > > > I tried to fix the problem using the solution provided on > > > > > http://www.cyberciti.biz/faq/x11-connection-rejected-because-of-wrong-authentication/ > > > > I am also able to successfully run the test as given in the above link > > ($ xeyes). But SCILAB still doesn't plot anything. > > > > Does anyone have any idea? > > > > Regards, > > > > Sam > > > > -- > > Sam Mathew | Asst. Manager, CFD > > Centre for Computational Technologies - CCTech > > 1 Akshay Residency | 50 Anand Park | Aundh | Pune | 411007 | India > > Ph: +91 20 40098381/82 | M: +91-9975960244 | www.cctech.co.in > > > > CCTech ? "Simulation is The Future" > > > > > > GeomTech > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Fri Mar 25 12:10:38 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Fri, 25 Mar 2011 12:10:38 +0100 Subject: [scilab-Users] Error while performing remote login: X11 connection rejected because of wrong authentication In-Reply-To: References: <1301049111.32106.2.camel@losinj.inria.fr> Message-ID: <1301051438.32106.9.camel@losinj.inria.fr> Looks like a configuration problem on your side. I just tested to start Scilab this way and it works. You can try to force software acceleration if it fixes your graphic issues with intel: system_setproperty("jogl.gljpanel.nohw",""); Sylvestre Le vendredi 25 mars 2011 ? 16:32 +0530, Sam Mathew a ?crit : > Hi, > > Thank you for the quick response but actually this has been the way I > have been connecting to ssh (i.e., ssh -X sam at server) so far. > > I went down to the server to see if the same problem persists if I > work directly on the machine, but the same message appeared. > > X11 connection rejected because of wrong authentication > > Scilab started as it did on my PC remotely. When I try to plot it > gives the following message: NVIDIA: could not open the device > file /dev/nvidiactl (Permission denied). > > Interestingly, the plotting is working though and I don't understand > the importance of this message then. > > But I cannot sit on the server and work but would like to work from my > PC remotely. Is there any solution? > > Regards, > > Sam > > On 25 March 2011 16:01, Sylvestre Ledru > wrote: > Hello, > > Try to connect with > ssh -X yourhost > > it should allow the X forwarding. > > Sylvestre > > > Le vendredi 25 mars 2011 ? 14:37 +0530, Sam Mathew a ?crit : > > > Hi everyone, > > > > I am trying to run a 64-bit SCILAB on our server from my > 32-bit PC in > > the network and I'm connecting via ssh, with both having > CentOS > > (GNU/Linux). I'm doing this because the server has NVIDIA > graphics > > driver while my PC has only an Intel one which is not able > to handle > > graphics well for SCILAB in a GNU/Linux environment. > > > > When I run SCILAB on the server, I get the following message > on the > > console: X11 connection rejected because of wrong > authentication > > > > SCILAB does start and I can do basic operations but it fails > when I > > try to plot anything. > > > > I tried to fix the problem using the solution provided on > > > > > http://www.cyberciti.biz/faq/x11-connection-rejected-because-of-wrong-authentication/ > > > > I am also able to successfully run the test as given in the > above link > > ($ xeyes). But SCILAB still doesn't plot anything. > > > > Does anyone have any idea? > > > > Regards, > > > > Sam > > > > -- > > Sam Mathew | Asst. Manager, CFD > > Centre for Computational Technologies - CCTech > > 1 Akshay Residency | 50 Anand Park | Aundh | Pune | 411007 | > India > > Ph: +91 20 40098381/82 | M: +91-9975960244 | > www.cctech.co.in > > > > CCTech ? "Simulation is The Future" > > > > > > > GeomTech > > > > > > From ruben.bibas at gmail.com Fri Mar 25 12:20:10 2011 From: ruben.bibas at gmail.com (Ruben Bibas) Date: Fri, 25 Mar 2011 12:20:10 +0100 Subject: [scilab-Users] Variables scope in functions In-Reply-To: <1301049029.27577.33.camel@losinj.inria.fr> References: <4D8C4FAE.3070208@utc.fr> <1301049029.27577.33.camel@losinj.inria.fr> Message-ID: Ok, thanks for the answer. Ruben On Fri, Mar 25, 2011 at 11:30 AM, Sylvestre Ledru wrote: > We might introduce in a future release of the 6 family a strict mode for > such things... but it won't happen soon... > > S > > Le vendredi 25 mars 2011 ? 10:02 +0100, Ruben Bibas a ?crit : >> Hi, >> Thanks for the anser. >> Yes, I know it is the normal behaviour. I am just asking if there is a >> way for telling Scilab to behave differently ? >> Thanks >> >> 2011/3/25 St?phane Mottelet : >> > Le 25/03/2011 08:59, Ruben Bibas a ?crit : >> >> >> >> Hello, >> >> I used to use Matlab and now I am using Scilab a lot. >> >> Is it possible to use functions in Scilab and have a variable scope >> >> handling the same way Matlab is: it does not know of any variables >> >> except the arguments of the functions ? >> >> I find it very disturbing that function can know external variables >> >> which are not global. >> >> Besides, sometimes if you do use this functionality with matrices, and >> >> try to redefine part of the matrix, it gets truncated. >> >> (If t is defined outside of a function as a 10x12 matrix, and you say >> >> inside the function t(3,8)=0, it gets truncated to 3x8.) >> >> >> >> Anyhow, if there is a scopeMode = 0 switch, I would be very happy to >> >> hear about it and if not, I would like to suggest it. >> >> >> >> Thank you for your help! >> >> >> >> Ruben >> > >> > Hi, >> > >> > this is the normal Scilab behavior : >> > >> > http://wiki.scilab.org/howto/global_and_local_variables >> > >> > S. >> > > > > From vogt at centre-cired.fr Fri Mar 25 12:24:32 2011 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Fri, 25 Mar 2011 12:24:32 +0100 Subject: [scilab-Users] Variables scope in functions In-Reply-To: References: <4D8C4FAE.3070208@utc.fr> <1301049029.27577.33.camel@losinj.inria.fr> Message-ID: <4D8C7B70.3030201@centre-cired.fr> Hi workarounds use argn(2) inside functions, and use exotic names for variables inside functions. eg: function y=MyPrettyFunction(mpf_a,mpf_x) y = mpf_x^mpf_a endfunction Le 25/03/2011 12:20, Ruben Bibas a ?crit : > Ok, thanks for the answer. > Ruben > > On Fri, Mar 25, 2011 at 11:30 AM, Sylvestre Ledru > wrote: >> We might introduce in a future release of the 6 family a strict mode for >> such things... but it won't happen soon... >> >> S >> >> Le vendredi 25 mars 2011 ? 10:02 +0100, Ruben Bibas a ?crit : >>> Hi, >>> Thanks for the anser. >>> Yes, I know it is the normal behaviour. I am just asking if there is a >>> way for telling Scilab to behave differently ? >>> Thanks >>> >>> 2011/3/25 St?phane Mottelet: >>>> Le 25/03/2011 08:59, Ruben Bibas a ?crit : >>>>> Hello, >>>>> I used to use Matlab and now I am using Scilab a lot. >>>>> Is it possible to use functions in Scilab and have a variable scope >>>>> handling the same way Matlab is: it does not know of any variables >>>>> except the arguments of the functions ? >>>>> I find it very disturbing that function can know external variables >>>>> which are not global. >>>>> Besides, sometimes if you do use this functionality with matrices, and >>>>> try to redefine part of the matrix, it gets truncated. >>>>> (If t is defined outside of a function as a 10x12 matrix, and you say >>>>> inside the function t(3,8)=0, it gets truncated to 3x8.) >>>>> >>>>> Anyhow, if there is a scopeMode = 0 switch, I would be very happy to >>>>> hear about it and if not, I would like to suggest it. >>>>> >>>>> Thank you for your help! >>>>> >>>>> Ruben >>>> Hi, >>>> >>>> this is the normal Scilab behavior : >>>> >>>> http://wiki.scilab.org/howto/global_and_local_variables >>>> >>>> S. >>>> >> >> -- *Adrien Vogt-Schilb* Research Fellow vogt at centre-cired.fr Tel: (+33) 1 43 94 73 96 Fax: (+33) 1 43 94 73 70 CIRED 45 bis, Av de la Belle Gabrielle F-94736 Nogent-sur-Marne http://www.centre-cired.fr/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: logocired.png Type: image/png Size: 4092 bytes Desc: not available URL: From paul.carrico at esterline.com Fri Mar 25 16:02:51 2011 From: paul.carrico at esterline.com (Carrico, Paul) Date: Fri, 25 Mar 2011 16:02:51 +0100 Subject: why 'cd' doesn't work ??? Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC0498B221@exchsrv.AUXITROL1> All, why the 'cd' doesn't work ? I'm under Windows OS but it doesn't care ! Thanks Paul mode(0) unix_g('mkdir toto'); unix_g('cd toto/'); titi = mopen("toto.dat",'w'); mfprintf(titi,"test\n") ; mclose(titi) ; ----------------------------------------------------------------- PAUL CARRICO Design Engineer / Material expert Temperature Department Esterline | Advanced Sensors 5, all?e Charles Path? 18941 BOURGES cedex 9 FRANCE Phone : +33 (0) 2 48 66 78 50 Fax : +33 (0) 2 48 66 78 55 www.esterline.com Featuring AUXITROL, NORWICH, and WESTON Products ----------------------------------------------------------------- P Please consider the environment before printing this e-mail -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution 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 system. If you are not the named addressee you should not disseminate, distribute or copy this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From vogt at centre-cired.fr Fri Mar 25 16:05:16 2011 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Fri, 25 Mar 2011 16:05:16 +0100 Subject: [scilab-Users] why 'cd' doesn't work ??? In-Reply-To: <55A12CBC06A8C9459DCE0BBEF8122FDC0498B221@exchsrv.AUXITROL1> References: <55A12CBC06A8C9459DCE0BBEF8122FDC0498B221@exchsrv.AUXITROL1> Message-ID: <4D8CAF2C.9080004@centre-cired.fr> hi try the scilab equivalent functions instead mkdir('toto'); cd('toto'); titi = mopen("toto.dat",'w'); mfprintf(titi,"test\n") ; mclose(titi) ; Le 25/03/2011 16:02, Carrico, Paul a ?crit : > All, > why the 'cd' doesn't work ? > I'm under Windows OS but it doesn't care ! > Thanks > Paul > mode(0) > > unix_g('mkdir toto'); > unix_g('cd toto/'); > titi = mopen("toto.dat",'w'); > mfprintf(titi,"test\n") ; > mclose(titi) ; > > > > ----------------------------------------------------------------- > *PAUL CARRICO* > Design Engineer / Material expert > Temperature Department > > Esterline | Advanced Sensors > 5, all?e Charles Path? > 18941 BOURGES cedex 9 > FRANCE > > _Phone_: +33 (0) 2 48 66 78 50 > _Fax_ : +33 (0) 2 48 66 78 55 > > www.esterline.com > > *Featuring AUXITROL, NORWICH, and WESTON Products* > > ----------------------------------------------------------------- > > P > Please consider the environment before printing this e-mail > > -------------------------------------------------------------------------------- > > > Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution 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 system. If you are not the named addressee you should not disseminate, distribute or copy this email. > > -- *Adrien Vogt-Schilb* Research Fellow vogt at centre-cired.fr Tel: (+33) 1 43 94 73 96 Fax: (+33) 1 43 94 73 70 CIRED 45 bis, Av de la Belle Gabrielle F-94736 Nogent-sur-Marne http://www.centre-cired.fr/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: logocired.png Type: image/png Size: 4092 bytes Desc: not available URL: From paul.carrico at esterline.com Fri Mar 25 16:07:24 2011 From: paul.carrico at esterline.com (Carrico, Paul) Date: Fri, 25 Mar 2011 16:07:24 +0100 Subject: [scilab-Users] why 'cd' doesn't work ??? In-Reply-To: <4D8CAF2C.9080004@centre-cired.fr> References: <55A12CBC06A8C9459DCE0BBEF8122FDC0498B221@exchsrv.AUXITROL1> <4D8CAF2C.9080004@centre-cired.fr> Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC0498B222@exchsrv.AUXITROL1> it works ... thanks for the "trick" Please consider the environment before printing this e-mail ________________________________ De : Adrien Vogt-Schilb [mailto:vogt at centre-cired.fr] Envoy? : vendredi 25 mars 2011 16:05 ? : users at lists.scilab.org Objet : Re: [scilab-Users] why 'cd' doesn't work ??? hi try the scilab equivalent functions instead mkdir('toto'); cd('toto'); titi = mopen("toto.dat",'w'); mfprintf(titi,"test\n") ; mclose(titi) ; Le 25/03/2011 16:02, Carrico, Paul a ?crit : All, why the 'cd' doesn't work ? I'm under Windows OS but it doesn't care ! Thanks Paul mode(0) unix_g('mkdir toto'); unix_g('cd toto/'); titi = mopen("toto.dat",'w'); mfprintf(titi,"test\n") ; mclose(titi) ; ----------------------------------------------------------------- PAUL CARRICO Design Engineer / Material expert Temperature Department Esterline | Advanced Sensors 5, all?e Charles Path? 18941 BOURGES cedex 9 FRANCE Phone : +33 (0) 2 48 66 78 50 Fax : +33 (0) 2 48 66 78 55 www.esterline.com Featuring AUXITROL, NORWICH, and WESTON Products ----------------------------------------------------------------- P Please consider the environment before printing this e-mail -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution 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 system. If you are not the named addressee you should not disseminate, distribute or copy this email. -- Adrien Vogt-Schilb Research Fellow vogt at centre-cired.fr Tel: (+33) 1 43 94 73 96 Fax: (+33) 1 43 94 73 70 45 bis, Av de la Belle Gabrielle F-94736 Nogent-sur-Marne http://www.centre-cired.fr/ -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution 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 system. If you are not the named addressee you should not disseminate, distribute or copy this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: logocired.png Type: image/png Size: 4092 bytes Desc: logocired.png URL: From antoine.elias at scilab.org Fri Mar 25 16:07:58 2011 From: antoine.elias at scilab.org (Antoine ELIAS) Date: Fri, 25 Mar 2011 16:07:58 +0100 Subject: [scilab-Users] why 'cd' doesn't work ??? In-Reply-To: <55A12CBC06A8C9459DCE0BBEF8122FDC0498B221@exchsrv.AUXITROL1> References: <55A12CBC06A8C9459DCE0BBEF8122FDC0498B221@exchsrv.AUXITROL1> Message-ID: <4D8CAFCE.6000608@scilab.org> "unix_g" function and "mopen" function don't work on the same environment. I guess your toto.dat file is in current directory of your scilab environment not in the current directory of unix_g Le 25/03/2011 16:02, Carrico, Paul a ?crit : > All, > why the 'cd' doesn't work ? > I'm under Windows OS but it doesn't care ! > Thanks > Paul > mode(0) > > unix_g('mkdir toto'); > unix_g('cd toto/'); > titi = mopen("toto.dat",'w'); > mfprintf(titi,"test\n") ; > mclose(titi) ; > > > > ----------------------------------------------------------------- > *PAUL CARRICO* > Design Engineer / Material expert > Temperature Department > > Esterline | Advanced Sensors > 5, all?e Charles Path? > 18941 BOURGES cedex 9 > FRANCE > > _Phone_: +33 (0) 2 48 66 78 50 > _Fax_ : +33 (0) 2 48 66 78 55 > > www.esterline.com > > *Featuring AUXITROL, NORWICH, and WESTON Products* > > ----------------------------------------------------------------- > > P > Please consider the environment before printing this e-mail > > -------------------------------------------------------------------------------- > > > Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution 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 system. If you are not the named addressee you should not disseminate, distribute or copy this email. > > -- Antoine ELIAS Sofware developer ----------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay France Phone : +33.1.93.63.50.63 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gilad.orr at mail.huji.ac.il Fri Mar 25 17:12:45 2011 From: gilad.orr at mail.huji.ac.il (Gilad) Date: Fri, 25 Mar 2011 09:12:45 -0700 (PDT) Subject: Changing contour labeling size Message-ID: <1301069565267-2731058.post@n3.nabble.com> Hi, I am writing a loop that hides contour lines that don't interest me while keeping those that do. In this loop I need to increase the labeling font size of the lines which stay visible. The hiding part was simple enough but I cannot find a way to access the property of the text label. If there is any document that spreads out the class and property tree other than hyper-linking the help I would appreciate a reference to it. Thanks in advance, Gilad -- View this message in context: http://mailinglists.scilab.org/Changing-contour-labeling-size-tp2731058p2731058.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From goudier at free.fr Fri Mar 25 22:08:09 2011 From: goudier at free.fr (goudier at free.fr) Date: Fri, 25 Mar 2011 22:08:09 +0100 Subject: [Scilab]: execution time of "mputl" function Message-ID: <1301087289.4d8d0439abf7d@imp.free.fr> Hi, Pleased "to meet" you. I have a problem in writing big ASCII files with "mputl" function : For instance with this code : stacksize('max'); IM=zeros(1000,1000); IM=matrix(IM,1,1000000); IM = string(IM); timer(); mputl(IM,"essai.txt"); Time=timer() With Scilab 5.1.1 Time=18s but with Scilab 5.3.1 Time=9mn !! What is the matter with this ?! Many thanks if you have an idea and if you could reply to this mail. Best Regards, Jean-Luc Goudier From sylvestre.ledru at scilab.org Fri Mar 25 22:12:30 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Fri, 25 Mar 2011 22:12:30 +0100 Subject: [scilab-Users] [Scilab]: execution time of "mputl" function In-Reply-To: <1301087289.4d8d0439abf7d@imp.free.fr> References: <1301087289.4d8d0439abf7d@imp.free.fr> Message-ID: <1301087550.7592.8.camel@losinj.inria.fr> It is a (bad) regression. Could you open a bug report: http://bugzilla.scilab.org/ Thanks, S Le vendredi 25 mars 2011 ? 22:08 +0100, goudier at free.fr a ?crit : > Hi, > > Pleased "to meet" you. > I have a problem in writing big ASCII files with "mputl" function : > For instance with this code : > > stacksize('max'); > IM=zeros(1000,1000); > IM=matrix(IM,1,1000000); > IM = string(IM); > timer(); > mputl(IM,"essai.txt"); > Time=timer() > > With Scilab 5.1.1 Time=18s but with Scilab 5.3.1 Time=9mn !! > What is the matter with this ?! > > Many thanks if you have an idea and if you could reply to this mail. > > Best Regards, Jean-Luc Goudier > From michael.legenstein at yahoo.de Sat Mar 26 14:42:31 2011 From: michael.legenstein at yahoo.de (Michael) Date: Sat, 26 Mar 2011 14:42:31 +0100 Subject: Troubles with scinotes! Message-ID: <4D8DED47.8000406@yahoo.de> Hello, i have got a huge problem with scinotes. Everytime I try to open it I'm getting this message from scilab: [Fatal Error] scinotesConfiguration.xml:1:1: Content is not allowed in prolog. Could not load file: C:\Users\Michael\AppData\Roaming\Scilab\scilab-5.3.1/scinotesConfiguration.xml [Fatal Error] scinotesConfiguration.xml:1:1: Content is not allowed in prolog. Could not load file: C:\Users\Michael\AppData\Roaming\Scilab\scilab-5.3.1/scinotesConfiguration.xml java.lang.reflect.InvocationTargetException at java.awt.EventQueue.invokeAndWait(Unknown Source) at javax.swing.SwingUtilities.invokeAndWait(Unknown Source) at org.scilab.modules.scinotes.SciNotes.scinotes(Unknown Source) Caused by: java.lang.NullPointerException at org.scilab.modules.scinotes.utils.ConfigSciNotesManager.checkVersion(Unknown Source) at org.scilab.modules.scinotes.utils.ConfigSciNotesManager.createUserCopy(Unknown Source) at org.scilab.modules.scinotes.SciNotes.createEditor(Unknown Source) at org.scilab.modules.scinotes.SciNotes.launchSciNotes(Unknown Source) at org.scilab.modules.scinotes.SciNotes$2.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Warning !!! Scilab has found a critical error (Unknown exception) with "editor" function. Save your data and restart Scilab. I have been using Scilab just for a few weeks now and since a few days I'm getting this error message everytime I try to open the editor. Reinstalling didn't help and I don't know what else to do. Maybe you can help me. Best regards Michael Legenstein -------------- next part -------------- An HTML attachment was scrubbed... URL: From calixte at contrib.scilab.org Sat Mar 26 15:29:23 2011 From: calixte at contrib.scilab.org (Calixte Denizet) Date: Sat, 26 Mar 2011 15:29:23 +0100 Subject: [scilab-Users] Troubles with scinotes! In-Reply-To: <4D8DED47.8000406@yahoo.de> References: <4D8DED47.8000406@yahoo.de> Message-ID: <1301149763.31555.280.camel@Calixte-Dell> Hi Michael, i) Did you modify by hand the file C:\Users\Michael\AppData\Roaming \Scilab\scilab-5.3.1/scinotesConfiguration.xml ? ii) If no to the previous question, please send me this file. iii) Delete this file should be the solution. Calixte Le samedi 26 mars 2011 ? 14:42 +0100, Michael a ?crit : > Hello, > > i have got a huge problem with scinotes. Everytime I try to open it > I'm getting this message from scilab: > > [Fatal Error] scinotesConfiguration.xml:1:1: Content is not allowed in > prolog. > Could not load file: C:\Users\Michael\AppData\Roaming\Scilab > \scilab-5.3.1/scinotesConfiguration.xml > [Fatal Error] scinotesConfiguration.xml:1:1: Content is not allowed in > prolog. > Could not load file: C:\Users\Michael\AppData\Roaming\Scilab > \scilab-5.3.1/scinotesConfiguration.xml > java.lang.reflect.InvocationTargetException > at java.awt.EventQueue.invokeAndWait(Unknown Source) > at javax.swing.SwingUtilities.invokeAndWait(Unknown Source) > at org.scilab.modules.scinotes.SciNotes.scinotes(Unknown Source) > Caused by: java.lang.NullPointerException > at > org.scilab.modules.scinotes.utils.ConfigSciNotesManager.checkVersion(Unknown Source) > at > org.scilab.modules.scinotes.utils.ConfigSciNotesManager.createUserCopy(Unknown Source) > at org.scilab.modules.scinotes.SciNotes.createEditor(Unknown > Source) > at org.scilab.modules.scinotes.SciNotes.launchSciNotes(Unknown > Source) > at org.scilab.modules.scinotes.SciNotes$2.run(Unknown Source) > at java.awt.event.InvocationEvent.dispatch(Unknown Source) > at java.awt.EventQueue.dispatchEvent(Unknown Source) > at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown > Source) > at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown > Source) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown > Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.run(Unknown Source) > Warning !!! > Scilab has found a critical error (Unknown exception) > with "editor" function. > Save your data and restart Scilab. > > > I have been using Scilab just for a few weeks now and since a few days > I'm getting this error message everytime I try to open the editor. > Reinstalling didn't help and I don't know what else to do. Maybe you > can help me. > > Best regards > > Michael Legenstein From michael.legenstein at yahoo.de Sat Mar 26 16:18:13 2011 From: michael.legenstein at yahoo.de (Michael) Date: Sat, 26 Mar 2011 16:18:13 +0100 Subject: [scilab-Users] Troubles with scinotes! In-Reply-To: <1301149763.31555.280.camel@Calixte-Dell> References: <4D8DED47.8000406@yahoo.de> <1301149763.31555.280.camel@Calixte-Dell> Message-ID: <4D8E03B5.8010602@yahoo.de> I didnt modify the file, but deleting it solved my problem. Thanks for your quick help. You find the file as an attachment to this mail Am 26.03.2011 15:29, schrieb Calixte Denizet: > Hi Michael, > > i) Did you modify by hand the file C:\Users\Michael\AppData\Roaming > \Scilab\scilab-5.3.1/scinotesConfiguration.xml ? > > ii) If no to the previous question, please send me this file. > > iii) Delete this file should be the solution. > > Calixte > > Le samedi 26 mars 2011 ? 14:42 +0100, Michael a ?crit : >> Hello, >> >> i have got a huge problem with scinotes. Everytime I try to open it >> I'm getting this message from scilab: >> >> [Fatal Error] scinotesConfiguration.xml:1:1: Content is not allowed in >> prolog. >> Could not load file: C:\Users\Michael\AppData\Roaming\Scilab >> \scilab-5.3.1/scinotesConfiguration.xml >> [Fatal Error] scinotesConfiguration.xml:1:1: Content is not allowed in >> prolog. >> Could not load file: C:\Users\Michael\AppData\Roaming\Scilab >> \scilab-5.3.1/scinotesConfiguration.xml >> java.lang.reflect.InvocationTargetException >> at java.awt.EventQueue.invokeAndWait(Unknown Source) >> at javax.swing.SwingUtilities.invokeAndWait(Unknown Source) >> at org.scilab.modules.scinotes.SciNotes.scinotes(Unknown Source) >> Caused by: java.lang.NullPointerException >> at >> org.scilab.modules.scinotes.utils.ConfigSciNotesManager.checkVersion(Unknown Source) >> at >> org.scilab.modules.scinotes.utils.ConfigSciNotesManager.createUserCopy(Unknown Source) >> at org.scilab.modules.scinotes.SciNotes.createEditor(Unknown >> Source) >> at org.scilab.modules.scinotes.SciNotes.launchSciNotes(Unknown >> Source) >> at org.scilab.modules.scinotes.SciNotes$2.run(Unknown Source) >> at java.awt.event.InvocationEvent.dispatch(Unknown Source) >> at java.awt.EventQueue.dispatchEvent(Unknown Source) >> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown >> Source) >> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown >> Source) >> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown >> Source) >> at java.awt.EventDispatchThread.pumpEvents(Unknown Source) >> at java.awt.EventDispatchThread.pumpEvents(Unknown Source) >> at java.awt.EventDispatchThread.run(Unknown Source) >> Warning !!! >> Scilab has found a critical error (Unknown exception) >> with "editor" function. >> Save your data and restart Scilab. >> >> >> I have been using Scilab just for a few weeks now and since a few days >> I'm getting this error message everytime I try to open the editor. >> Reinstalling didn't help and I don't know what else to do. Maybe you >> can help me. >> >> Best regards >> >> Michael Legenstein > > -------------- next part -------------- A non-text attachment was scrubbed... Name: scinotesConfiguration.xml Type: text/xml Size: 9729 bytes Desc: not available URL: From calixte at contrib.scilab.org Sat Mar 26 16:27:58 2011 From: calixte at contrib.scilab.org (Calixte Denizet) Date: Sat, 26 Mar 2011 16:27:58 +0100 Subject: [scilab-Users] Troubles with scinotes! In-Reply-To: <4D8E03B5.8010602@yahoo.de> References: <4D8DED47.8000406@yahoo.de> <1301149763.31555.280.camel@Calixte-Dell> <4D8E03B5.8010602@yahoo.de> Message-ID: <1301153278.31555.288.camel@Calixte-Dell> Le samedi 26 mars 2011 ? 16:18 +0100, Michael a ?crit : > I didnt modify the file, but deleting it solved my problem. Thanks for > your quick help. Very weird, your file has been filled with null characters... Calixte > > You find the file as an attachment to this mail > > Am 26.03.2011 15:29, schrieb Calixte Denizet: > > Hi Michael, > > > > i) Did you modify by hand the file C:\Users\Michael\AppData\Roaming > > \Scilab\scilab-5.3.1/scinotesConfiguration.xml ? > > > > ii) If no to the previous question, please send me this file. > > > > iii) Delete this file should be the solution. > > > > Calixte > > > > Le samedi 26 mars 2011 ? 14:42 +0100, Michael a ?crit : > >> Hello, > >> > >> i have got a huge problem with scinotes. Everytime I try to open it > >> I'm getting this message from scilab: > >> > >> [Fatal Error] scinotesConfiguration.xml:1:1: Content is not allowed in > >> prolog. > >> Could not load file: C:\Users\Michael\AppData\Roaming\Scilab > >> \scilab-5.3.1/scinotesConfiguration.xml > >> [Fatal Error] scinotesConfiguration.xml:1:1: Content is not allowed in > >> prolog. > >> Could not load file: C:\Users\Michael\AppData\Roaming\Scilab > >> \scilab-5.3.1/scinotesConfiguration.xml > >> java.lang.reflect.InvocationTargetException > >> at java.awt.EventQueue.invokeAndWait(Unknown Source) > >> at javax.swing.SwingUtilities.invokeAndWait(Unknown Source) > >> at org.scilab.modules.scinotes.SciNotes.scinotes(Unknown Source) > >> Caused by: java.lang.NullPointerException > >> at > >> org.scilab.modules.scinotes.utils.ConfigSciNotesManager.checkVersion(Unknown Source) > >> at > >> org.scilab.modules.scinotes.utils.ConfigSciNotesManager.createUserCopy(Unknown Source) > >> at org.scilab.modules.scinotes.SciNotes.createEditor(Unknown > >> Source) > >> at org.scilab.modules.scinotes.SciNotes.launchSciNotes(Unknown > >> Source) > >> at org.scilab.modules.scinotes.SciNotes$2.run(Unknown Source) > >> at java.awt.event.InvocationEvent.dispatch(Unknown Source) > >> at java.awt.EventQueue.dispatchEvent(Unknown Source) > >> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown > >> Source) > >> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown > >> Source) > >> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown > >> Source) > >> at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > >> at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > >> at java.awt.EventDispatchThread.run(Unknown Source) > >> Warning !!! > >> Scilab has found a critical error (Unknown exception) > >> with "editor" function. > >> Save your data and restart Scilab. > >> > >> > >> I have been using Scilab just for a few weeks now and since a few days > >> I'm getting this error message everytime I try to open the editor. > >> Reinstalling didn't help and I don't know what else to do. Maybe you > >> can help me. > >> > >> Best regards > >> > >> Michael Legenstein > > > > > From sylvestre.ledru at scilab.org Sat Mar 26 17:31:39 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Sat, 26 Mar 2011 17:31:39 +0100 Subject: [scilab-Users] Troubles with scinotes! In-Reply-To: <1301153278.31555.288.camel@Calixte-Dell> References: <4D8DED47.8000406@yahoo.de> <1301149763.31555.280.camel@Calixte-Dell> <4D8E03B5.8010602@yahoo.de> <1301153278.31555.288.camel@Calixte-Dell> Message-ID: <1301157099.5697.12.camel@losinj.inria.fr> Le samedi 26 mars 2011 ? 16:27 +0100, Calixte Denizet a ?crit : > Le samedi 26 mars 2011 ? 16:18 +0100, Michael a ?crit : > > I didnt modify the file, but deleting it solved my problem. Thanks for > > your quick help. > > Very weird, your file has been filled with null characters... Looks like bug: http://bugzilla.scilab.org/show_bug.cgi?id=6828 S From calixte at contrib.scilab.org Sat Mar 26 17:43:59 2011 From: calixte at contrib.scilab.org (Calixte Denizet) Date: Sat, 26 Mar 2011 17:43:59 +0100 Subject: [scilab-Users] Troubles with scinotes! In-Reply-To: <1301157099.5697.12.camel@losinj.inria.fr> References: <4D8DED47.8000406@yahoo.de> <1301149763.31555.280.camel@Calixte-Dell> <4D8E03B5.8010602@yahoo.de> <1301153278.31555.288.camel@Calixte-Dell> <1301157099.5697.12.camel@losinj.inria.fr> Message-ID: <1301157839.31555.290.camel@Calixte-Dell> Le samedi 26 mars 2011 ? 17:31 +0100, Sylvestre Ledru a ?crit : > Le samedi 26 mars 2011 ? 16:27 +0100, Calixte Denizet a ?crit : > > Le samedi 26 mars 2011 ? 16:18 +0100, Michael a ?crit : > > > I didnt modify the file, but deleting it solved my problem. Thanks for > > > your quick help. > > > > Very weird, your file has been filled with null characters... > Looks like bug: > http://bugzilla.scilab.org/show_bug.cgi?id=6828 > No it is different here: all the characters in file have been replaced with (char)0 ! C > S > From mathieu.dubois at limsi.fr Sun Mar 27 18:41:02 2011 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Sun, 27 Mar 2011 18:41:02 +0200 Subject: [scilab-Users] Changing contour labeling size In-Reply-To: <1301069565267-2731058.post@n3.nabble.com> References: <1301069565267-2731058.post@n3.nabble.com> Message-ID: <4D8F689E.3010801@limsi.fr> Hello Gilad, Did you try the font_size field of the text entity? See for instance the attached script. HTH, Mathieu Le 25/03/2011 17:12, Gilad a ?crit : > Hi, > > I am writing a loop that hides contour lines that don't interest me while > keeping those that do. In this loop I need to increase the labeling font > size of the lines which stay visible. The hiding part was simple enough but > I cannot find a way to access the property of the text label. > If there is any document that spreads out the class and property tree other > than hyper-linking the help I would appreciate a reference to it. > > Thanks in advance, > > Gilad > > -- > View this message in context: http://mailinglists.scilab.org/Changing-contour-labeling-size-tp2731058p2731058.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: test_text.sce URL: From Samuel.Gougeon at univ-lemans.fr Sun Mar 27 22:01:15 2011 From: Samuel.Gougeon at univ-lemans.fr (Samuel GOUGEON) Date: Sun, 27 Mar 2011 22:01:15 +0200 Subject: [scilab-Users] 3 ideas for Scilab In-Reply-To: References: Message-ID: <4D8F978B.4040100@univ-lemans.fr> Hello, You might be interested in this SEP (Linking variables) and (short) related discussion: http://mailinglists.scilab.org/Two-SEPs-tt2611354.html Regards Samuel ----- Message d'origine ----- De : Pierre JUILLARD Date : 24/03/2011 16:51: > Hi guys, > I would like to submit 3 ideas to Scilab developpers that may be of interest > or not (as a potential user, I find them interesting :)). > I haven't find a clue if such functionalities are already available, and I > don't know if I should add them to the Scilab bug tracker or write a SEP or > something else. If one of the developper find them interesting, I can add them > to the idea page for GSoC. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > *Idea 1*: generation of doxygen-like documentation and/or UML diagrams from > Scilab set of scripts > Context: let's assume a guy is developping/maintaining quite a number of > modelling toolboxes written in Scilab. > In order to share then the library development with other people, it would be > easier to have a tool able to generate graphs showing the organization of the > toolboxes, with hyperlinks to documentation pages containing what can be said > of this or that Scilab functions, and so on... > Origin of the idea: the doxygen documentation of the VTK library, for instance: > http://www.vtk.org/doc/nightly/html/classvtkQuadraturePointInterpolator.html > Addtionnal idea: have it available as a service on > http://forge.scilab.org/index.php? > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > *Idea 2*: implementation of a: > - spreadsheet user interface quite similar to excel or openoffice calc (should > it be a port of openoffice calc?) with standard function like possibility to > define functions in a cell and so on... > - implementation of an "intelligent" parser able to save the content of the > spreadsheet into scilab scripts. > Basically, such Scilab scripts would contain definition of variables and > matrix operations. > It maybe complex, but till now, as a basic user of excel, I have not find any > content that I could not translate into Scilab scripts. > I guess that however, quite a number of "default" behaviours should be defined > like how to name this or that variable in Scilab scripts if a name has not > been defined in the spreadsheet view. > In addition, a function that would allow keeping track of the variable > positions (in which cell was written this value ofr this vector?) in the > spreadsheet view will be necessary when writing the corresponding Scilab scripts > Context: > - through the spreadsheet view, ease the massive number of excel users to be > able to start using Scilab for classical matrices operations > - ease in Scilab matrix manipulations by offering a traditionnal spreadsheet > easy to use (without having to manage scripts, and wonder if the arrows and > columns are correctly matching at matrix operations and so on...) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > *Idea 3*: (after Idea 2) port the excel file reading function from openoffice > to Scilab that would be able to feed the spreadsheet user interface > implemented in Idea 2. With the saving functions developped in Idea 2 as > well,one would obtain an Excel to Scilab translator. > Context: > - Have an excel translator in Scilab > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > What do you think of it? > Bests, > Pierre -------------- next part -------------- An HTML attachment was scrubbed... URL: From filip.saraiva at gmail.com Mon Mar 28 06:38:51 2011 From: filip.saraiva at gmail.com (Filipe Saraiva) Date: Sun, 27 Mar 2011 21:38:51 -0700 (PDT) Subject: Problem in C -> Scilab to compile program Message-ID: <1301287131874-2741992.post@n3.nabble.com> Hello, I'm trying to compile the example simple_call_scilab.c and am having problems. My Makefile configuration is: --------------------------------------- Begin Makefile --------------------------------------- # A sample Makefile building a C code using Call Scilab using Scilab binary PATH_SCILAB = /home/filipe/scilab-5.3.1 # Note that PATH_SCILAB can be /usr/ is using a packaged version of Scilab. SCILAB_CFLAGS = -I$(PATH_SCILAB)/include/scilab/ SCILAB_LDFLAGS = -lscilab PATH_TO_LIB_SCILAB = $(PATH_SCILAB)/lib/scilab/ PATH_TO_LIB_CALL_SCILAB = $(PATH_SCILAB)/lib/scilab/ all: simple_call_scilab.c gcc -o myExample $(SCILAB_LDFLAGS) -L$(PATH_TO_LIB_SCILAB) -L$(PATH_TO_LIB_CALL_SCILAB) $(SCILAB_CFLAGS) simple_call_scilab.c --------------------------------------- End Makefile --------------------------------------- Before running make, I run: $ export LD_LIBRARY_PATH=/home/filipe/scilab-5.3.1/lib/scilab:/home/filipe/scilab-5.3.1/lib/thirdparty $ export SCI=/home/filipe/scilab-5.3.1/share/scilab/ After this configurations, I running make and: $ make gcc -o myExample -lscilab -L/home/filipe/scilab-5.3.1/lib/scilab/ -L/home/filipe/scilab-5.3.1/lib/scilab/ -I/home/filipe/scilab-5.3.1/include/scilab/ simple_call_scilab.c /usr/lib/gcc/x86_64-mageia-linux-gnu/4.5.2/cc1: /home/filipe/scilab-5.3.1/lib/thirdparty/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib64/libppl_c.so.2) /usr/lib/gcc/x86_64-mageia-linux-gnu/4.5.2/cc1: /home/filipe/scilab-5.3.1/lib/thirdparty/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib64/libppl.so.7) make: ** [all] Error 1 A question is: the problem with GLIBCXX_3.4.14 version is in libstdc++.so.6 of Scilab's thirdparty or with libstdc++.so.6 of my Linux's distribution? Which GCC's version do you use to compile the example? Mine GCC version is 4.5.2. Thank's, -- Filipe Saraiva http://filipesaraiva.info/ -- View this message in context: http://mailinglists.scilab.org/Problem-in-C-Scilab-to-compile-program-tp2741992p2741992.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sam at cctech.co.in Mon Mar 28 10:21:27 2011 From: sam at cctech.co.in (Sam Mathew) Date: Mon, 28 Mar 2011 13:51:27 +0530 Subject: [scilab-Users] Error while performing remote login: X11 connection rejected because of wrong authentication In-Reply-To: <1301051438.32106.9.camel@losinj.inria.fr> References: <1301049111.32106.2.camel@losinj.inria.fr> <1301051438.32106.9.camel@losinj.inria.fr> Message-ID: Dear Sylvestre, Are the configuration problems that you are referring to, connected with the SSH configuration or graphics drivers' ones? You said that it worked on your set-up. Can you share whether you also have an NVIDIA graphics card/drivers on your local PC? As you mentioned that it can be a configuration problem, I am wondering whether I need to install on my PC, the same drivers as on the server for graphics? The one that I have now is the INTEL graphics driver and the server has NVIDIA. As I mentioned earlier, Scilab is perfectly working if I sit on the server and work. If the issues are connected with SSH configuration, does anyone have any suggestions where I can find some resources to fix this problem. Thank you very much for all your assistance. Regards, Sam On 25 March 2011 16:40, Sylvestre Ledru wrote: > Looks like a configuration problem on your side. I just tested to start > Scilab this way and it works. > > You can try to force software acceleration if it fixes your graphic > issues with intel: > system_setproperty("jogl.gljpanel.nohw",""); > > Sylvestre > > Le vendredi 25 mars 2011 ? 16:32 +0530, Sam Mathew a ?crit : > > Hi, > > > > Thank you for the quick response but actually this has been the way I > > have been connecting to ssh (i.e., ssh -X sam at server) so far. > > > > I went down to the server to see if the same problem persists if I > > work directly on the machine, but the same message appeared. > > > > X11 connection rejected because of wrong authentication > > > > Scilab started as it did on my PC remotely. When I try to plot it > > gives the following message: NVIDIA: could not open the device > > file /dev/nvidiactl (Permission denied). > > > > Interestingly, the plotting is working though and I don't understand > > the importance of this message then. > > > > But I cannot sit on the server and work but would like to work from my > > PC remotely. Is there any solution? > > > > Regards, > > > > Sam > > > > On 25 March 2011 16:01, Sylvestre Ledru > > wrote: > > Hello, > > > > Try to connect with > > ssh -X yourhost > > > > it should allow the X forwarding. > > > > Sylvestre > > > > > > Le vendredi 25 mars 2011 ? 14:37 +0530, Sam Mathew a ?crit : > > > > > Hi everyone, > > > > > > I am trying to run a 64-bit SCILAB on our server from my > > 32-bit PC in > > > the network and I'm connecting via ssh, with both having > > CentOS > > > (GNU/Linux). I'm doing this because the server has NVIDIA > > graphics > > > driver while my PC has only an Intel one which is not able > > to handle > > > graphics well for SCILAB in a GNU/Linux environment. > > > > > > When I run SCILAB on the server, I get the following message > > on the > > > console: X11 connection rejected because of wrong > > authentication > > > > > > SCILAB does start and I can do basic operations but it fails > > when I > > > try to plot anything. > > > > > > I tried to fix the problem using the solution provided on > > > > > > > > > http://www.cyberciti.biz/faq/x11-connection-rejected-because-of-wrong-authentication/ > > > > > > I am also able to successfully run the test as given in the > > above link > > > ($ xeyes). But SCILAB still doesn't plot anything. > > > > > > Does anyone have any idea? > > > > > > Regards, > > > > > > Sam > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Mon Mar 28 12:01:58 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Mon, 28 Mar 2011 12:01:58 +0200 Subject: [scilab-Users] [Scilab]: execution time of "mputl" function In-Reply-To: <1301087550.7592.8.camel@losinj.inria.fr> References: <1301087289.4d8d0439abf7d@imp.free.fr> <1301087550.7592.8.camel@losinj.inria.fr> Message-ID: <1301306518.3832.994.camel@korcula.inria.fr> Hello Jean-Luc, Thanks for reporting this bug. It is fixed: http://bugzilla.scilab.org/show_bug.cgi?id=9264 The fix should be available in the nightly build of tomorrow: http://www.scilab.org/en/communities/developer_zone/scilab_versions/development_version/nightly_builds/branch_53 Regards, Sylvestre Le vendredi 25 mars 2011 ? 22:12 +0100, Sylvestre Ledru a ?crit : > It is a (bad) regression. Could you open a bug report: > http://bugzilla.scilab.org/ > > Thanks, > S > > Le vendredi 25 mars 2011 ? 22:08 +0100, goudier at free.fr a ?crit : > > Hi, > > > > Pleased "to meet" you. > > I have a problem in writing big ASCII files with "mputl" function : > > For instance with this code : > > > > stacksize('max'); > > IM=zeros(1000,1000); > > IM=matrix(IM,1,1000000); > > IM = string(IM); > > timer(); > > mputl(IM,"essai.txt"); > > Time=timer() > > > > With Scilab 5.1.1 Time=18s but with Scilab 5.3.1 Time=9mn !! > > What is the matter with this ?! > > > > Many thanks if you have an idea and if you could reply to this mail. > > > > Best Regards, Jean-Luc Goudier > > > > From paul.carrico at esterline.com Mon Mar 28 15:49:24 2011 From: paul.carrico at esterline.com (Carrico, Paul) Date: Mon, 28 Mar 2011 15:49:24 +0200 Subject: Image cropping Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC0498B22C@exchsrv.AUXITROL1> Dear All I don't know if it's possible but I would like to know if it's possible to automatically calculate the width of a blank figure (see attached fig) ? ... by converting the picture in a matrix for example ? I'm able to crop the figure directly in Scilab (through ImageMagick) -> now I would like to generalize ! Thanks for any advice Paul -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution 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 system. If you are not the named addressee you should not disseminate, distribute or copy this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: example.jpg Type: image/jpeg Size: 171129 bytes Desc: example.jpg URL: From constellationathome at googlemail.com Mon Mar 28 22:04:22 2011 From: constellationathome at googlemail.com (Constellation Athome) Date: Mon, 28 Mar 2011 22:04:22 +0200 Subject: Could anyone pack me Scilab Linux minimum installation (32 and 64bit)!? Message-ID: Hi, could some nice user please do me a favour and pack me Scilab for Linux as minimum installation? I'm just a windows user so I can't do that by my own, so you would really help me. I need it for our application at http://aerospaceresearch.net/constellation/ In the windows version there is the nice new option to istall a minimum version without any gui and co. That is what we need for Linux. Just upload a zipped file on rapidshare or else and send me the link. And does the cmd line differ? I do PATH/scilex -nwni -nb -f "c:\init.sce", how does it look like on Linux? Best regards, Andreas -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Mon Mar 28 22:07:11 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Mon, 28 Mar 2011 22:07:11 +0200 Subject: [scilab-Users] Could anyone pack me Scilab Linux minimum installation (32 and 64bit)!? In-Reply-To: References: Message-ID: <1301342831.3122.16.camel@losinj.inria.fr> Hello, Le lundi 28 mars 2011 ? 22:04 +0200, Constellation Athome a ?crit : > Hi, > And does the cmd line differ? I do > PATH/scilex -nwni -nb -f "c:\init.sce", > how does it look like on Linux? scilab -nwni -nb -f /path/to/init.sce or scilab-cli -nb -f /path/to/init.sce (they are the same) Sylvestre From sylvestre.ledru at scilab.org Mon Mar 28 22:07:11 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Mon, 28 Mar 2011 22:07:11 +0200 Subject: [scilab-Users] Could anyone pack me Scilab Linux minimum installation (32 and 64bit)!? In-Reply-To: References: Message-ID: <1301342831.3122.16.camel@losinj.inria.fr> Hello, Le lundi 28 mars 2011 ? 22:04 +0200, Constellation Athome a ?crit : > Hi, > And does the cmd line differ? I do > PATH/scilex -nwni -nb -f "c:\init.sce", > how does it look like on Linux? scilab -nwni -nb -f /path/to/init.sce or scilab-cli -nb -f /path/to/init.sce (they are the same) Sylvestre From filip.saraiva at gmail.com Tue Mar 29 03:48:53 2011 From: filip.saraiva at gmail.com (Filipe Saraiva) Date: Mon, 28 Mar 2011 18:48:53 -0700 (PDT) Subject: Problem in C -> Scilab to compile program In-Reply-To: <1301287131874-2741992.post@n3.nabble.com> References: <1301287131874-2741992.post@n3.nabble.com> Message-ID: <1301363333954-2746332.post@n3.nabble.com> Ok, I solved this copying the libstdc++.so.6 and libstdc++.so.6.0.14 from my linux distribution to Scilab thirdparty's lib source. But my problem now is another. :-) After compile, in execution: Error: libjvm.so: cannot open shared object file This is, basically, the error output. There are more messages, but are in portuguese. Thank's; -- View this message in context: http://mailinglists.scilab.org/Problem-in-C-Scilab-to-compile-program-tp2741992p2746332.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From chadsarni at gmail.com Mon Mar 28 22:36:59 2011 From: chadsarni at gmail.com (Chad Sarni) Date: Mon, 28 Mar 2011 13:36:59 -0700 Subject: scilab on mac osx Message-ID: i just downloaded scilab 5.3.1 for mac osx. when it downloaded it opened as a disk image and a folder opened. when i clicked on the scilab application icon i confirmed it but it "unexpectedly quit" and it keeps doing it if i try again. im wondering if there is anything i should try to help it run. -------------- next part -------------- An HTML attachment was scrubbed... URL: From communication at scilab.org Tue Mar 29 10:06:47 2011 From: communication at scilab.org (Scilab Communication) Date: Tue, 29 Mar 2011 10:06:47 +0200 Subject: SAVE THE DATE - ScilabTEC 2011 Message-ID: <4D919317.2030104@scilab.org> Dear all, *ScilabTEC 2011 is in 3 months. Save the date for Wednesday 29th June !* ScilabTEC 2001 is organized during Teratec Forum and will take place at the ?cole Polytechnique in Palaiseau. Complete program to come shortly. Best Regards ----------------------------------------------- The Scilab Consortium R&D Team ----------------------------------------------- Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex - France -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: scilabtec_11_eng.png Type: image/png Size: 82525 bytes Desc: not available URL: From svetlio.hacky at gmail.com Tue Mar 29 14:05:32 2011 From: svetlio.hacky at gmail.com (Svetoslav) Date: Tue, 29 Mar 2011 05:05:32 -0700 (PDT) Subject: cpp function in sci_gateway Message-ID: <1301400332400-2748025.post@n3.nabble.com> hello, I was writing function char* net_gethostbyname(char* name) which returns string of IP of the searching host name. For example net_gethostbyname("example.com") ->returns 1.2.3.4 But when I start to write the sci_net_gethostbyname.cxx file I have some problems. I am not sure how to call the function to do its work. I was reading the documentation and I was thinking that I must include in the begging of the document: extern char* net_gethostbyname.... and after that I will could use the function. I done this and when I do exec builder.sce of the module it finished OK, but error came up in the loader.sce "undefined symbol: net_gethostbyname". So could use someone give me a hint where I am wrong or what to read to understand how to write it correctly. Thanks! -- View this message in context: http://mailinglists.scilab.org/cpp-function-in-sci-gateway-tp2748025p2748025.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From antoine.monmayrant at laas.fr Tue Mar 29 16:31:42 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Tue, 29 Mar 2011 16:31:42 +0200 Subject: atoms equivalent for fsolver Message-ID: <4D91ED4E.4040808@laas.fr> Hi everyone, I am looking for a solver of N nonlinear functions under Scilab. Basically, I would like to port some old code from our lab (written in F77) to scilab. This code is calling a solver: hybrd1 from minpack (used to be c05nbf). I have stumbled upon fsolver on scilabforge, but I don't know if it is still active. Ideally, I would like to use the most portable and robust solution (ie avoid linking to home-made/architecture-depend compiled code). Do any of you have a suggestion? Cheers, Antoine From vogt at centre-cired.fr Tue Mar 29 16:37:41 2011 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Tue, 29 Mar 2011 16:37:41 +0200 Subject: [scilab-Users] atoms equivalent for fsolver In-Reply-To: <4D91ED4E.4040808@laas.fr> References: <4D91ED4E.4040808@laas.fr> Message-ID: <4D91EEB5.1010704@centre-cired.fr> Hi If "porting your code to scilab" means "making a scilab function", you'll be able to find zeros of that function using fsolve Le 29/03/2011 16:31, Antoine Monmayrant a ?crit : > Hi everyone, > > I am looking for a solver of N nonlinear functions under Scilab. > Basically, I would like to port some old code from our lab (written in > F77) to scilab. > This code is calling a solver: hybrd1 from minpack (used to be c05nbf). > I have stumbled upon fsolver on scilabforge, but I don't know if it is > still active. > Ideally, I would like to use the most portable and robust solution (ie > avoid linking to home-made/architecture-depend compiled code). > > Do any of you have a suggestion? > > Cheers, > > Antoine -- *Adrien Vogt-Schilb* Research Fellow vogt at centre-cired.fr Tel: (+33) 1 43 94 73 96 Fax: (+33) 1 43 94 73 70 CIRED 45 bis, Av de la Belle Gabrielle F-94736 Nogent-sur-Marne http://www.centre-cired.fr/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: logocired.png Type: image/png Size: 4092 bytes Desc: not available URL: From antoine.monmayrant at laas.fr Tue Mar 29 16:47:21 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Tue, 29 Mar 2011 16:47:21 +0200 Subject: [scilab-Users] atoms equivalent for fsolver In-Reply-To: <4D91EEB5.1010704@centre-cired.fr> References: <4D91ED4E.4040808@laas.fr> <4D91EEB5.1010704@centre-cired.fr> Message-ID: <4D91F0F9.6090309@laas.fr> Le 29/03/2011 16:37, Adrien Vogt-Schilb a ?crit : > Hi > > If "porting your code to scilab" means "making a scilab function", you'll be > able to find zeros of that function using fsolve Yeap, I meant getting most of the code ported to scilab and only use part of scilab that can easily be reinstalled when upgrading scilab or installing a new machine. Now that we have the new atoms system, I am always a bit afraid of using modules that rely on the old system. > Le 29/03/2011 16:31, Antoine Monmayrant a ?crit : > > Hi everyone, > > > > I am looking for a solver of N nonlinear functions under Scilab. > > Basically, I would like to port some old code from our lab (written in F77) to > > scilab. > > This code is calling a solver: hybrd1 from minpack (used to be c05nbf). > > I have stumbled upon fsolver on scilabforge, but I don't know if it is still > > active. > > Ideally, I would like to use the most portable and robust solution (ie avoid > > linking to home-made/architecture-depend compiled code). > > > > Do any of you have a suggestion? > > > > Cheers, > > > > Antoine > > > -- > > *Adrien Vogt-Schilb* > > Research Fellow > > vogt at centre-cired.fr > > Tel: (+33) 1 43 94 73 96 > > Fax: (+33) 1 43 94 73 70 > > CIRED > > > > 45 bis, Av de la Belle Gabrielle > > F-94736 Nogent-sur-Marne > > http://www.centre-cired.fr/ > -- +++++++++++++++++++++++++++++++++++++++++++++++++++++++ Antoine Monmayrant LAAS - CNRS 7 avenue du Colonel Roche 31077 TOULOUSE Cedex 4 FRANCE Tel:+33 5 61 33 64 59 email : antoine.monmayrant at laas.fr permanent email : antoine.monmayrant at polytechnique.org +++++++++++++++++++++++++++++++++++++++++++++++++++++++ From vogt at centre-cired.fr Tue Mar 29 16:53:40 2011 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Tue, 29 Mar 2011 16:53:40 +0200 Subject: [scilab-Users] atoms equivalent for fsolver In-Reply-To: <4D91F0F9.6090309@laas.fr> References: <4D91ED4E.4040808@laas.fr> <4D91EEB5.1010704@centre-cired.fr> <4D91F0F9.6090309@laas.fr> Message-ID: <4D91F274.1090508@centre-cired.fr> Le 29/03/2011 16:47, Antoine Monmayrant a ?crit : > Le 29/03/2011 16:37, Adrien Vogt-Schilb a ?crit : >> Hi >> >> If "porting your code to scilab" means "making a scilab function", >> you'll be >> able to find zeros of that function using fsolve > Yeap, I meant getting most of the code ported to scilab and only use > part of scilab that can easily be reinstalled when upgrading scilab or > installing a new machine. > Now that we have the new atoms system, I am always a bit afraid of > using modules that rely on the old system. >> Well, fsolve is a basic feature of scilab. Are you looking for something more specific? -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoine.monmayrant at laas.fr Tue Mar 29 17:06:46 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Tue, 29 Mar 2011 17:06:46 +0200 Subject: [scilab-Users] atoms equivalent for fsolver In-Reply-To: <4D91F274.1090508@centre-cired.fr> References: <4D91ED4E.4040808@laas.fr> <4D91EEB5.1010704@centre-cired.fr> <4D91F0F9.6090309@laas.fr> <4D91F274.1090508@centre-cired.fr> Message-ID: <4D91F586.6050408@laas.fr> Le 29/03/2011 16:53, Adrien Vogt-Schilb a ?crit : > Le 29/03/2011 16:47, Antoine Monmayrant a ?crit : >> Le 29/03/2011 16:37, Adrien Vogt-Schilb a ?crit : >>> Hi >>> >>> If "porting your code to scilab" means "making a scilab function", >>> you'll be >>> able to find zeros of that function using fsolve >> Yeap, I meant getting most of the code ported to scilab and only use >> part of scilab that can easily be reinstalled when upgrading scilab >> or installing a new machine. >> Now that we have the new atoms system, I am always a bit afraid of >> using modules that rely on the old system. >>> > > Well, fsolve is a basic feature of scilab. Are you looking for > something more specific? > > > Hmm, I think I got confused between fsolve and fsolver. I'll have a look at fsolve, maybe it's just what I need. Antoine -- +++++++++++++++++++++++++++++++++++++++++++++++++++++++ Antoine Monmayrant LAAS - CNRS 7 avenue du Colonel Roche 31077 TOULOUSE Cedex 4 FRANCE Tel:+33 5 61 33 64 59 email : antoine.monmayrant at laas.fr permanent email : antoine.monmayrant at polytechnique.org +++++++++++++++++++++++++++++++++++++++++++++++++++++++ From antoine.monmayrant at laas.fr Tue Mar 29 17:12:26 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Tue, 29 Mar 2011 17:12:26 +0200 Subject: [scilab-Users] sprintf changes from 5.1 to 5.3 (is it related to fprintfMat change reported by Didier) In-Reply-To: <4D8A1074.1030800@laas.fr> References: <4D8A1074.1030800@laas.fr> Message-ID: <4D91F6DA.6000705@laas.fr> I just submitted a bug concerning msprintf: http://bugzilla.scilab.org/show_bug.cgi?id=9277 Le 23/03/2011 16:23, Antoine Monmayrant a ?crit : > Hi everyone, > > I just noticed something that has changed between scilab 5.1 and 5.3. > In 5.3, "sprintf" support tabs and other special characters but I > can't escape the backslash: > > ++++++scilab 5.1++++++ > > -->sprintf('\\text') > ans = > \\text > > -->sprintf('\text') > ans = > \text > > ++++++scilab 5.3++++++ > > -->sprintf('\\text') > ans = > \ ext > > -->sprintf('\text') > ans = > ext > > > Am I missing something? > > Cheers, > > Antoine -- +++++++++++++++++++++++++++++++++++++++++++++++++++++++ Antoine Monmayrant LAAS - CNRS 7 avenue du Colonel Roche 31077 TOULOUSE Cedex 4 FRANCE Tel:+33 5 61 33 64 59 email : antoine.monmayrant at laas.fr permanent email : antoine.monmayrant at polytechnique.org +++++++++++++++++++++++++++++++++++++++++++++++++++++++ From antoine.monmayrant at laas.fr Tue Mar 29 17:15:09 2011 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Tue, 29 Mar 2011 17:15:09 +0200 Subject: [scilab-Users] atoms equivalent for fsolver In-Reply-To: <4D91F274.1090508@centre-cired.fr> References: <4D91ED4E.4040808@laas.fr> <4D91EEB5.1010704@centre-cired.fr> <4D91F0F9.6090309@laas.fr> <4D91F274.1090508@centre-cired.fr> Message-ID: <4D91F77D.4020307@laas.fr> Le 29/03/2011 16:53, Adrien Vogt-Schilb a ?crit : > Le 29/03/2011 16:47, Antoine Monmayrant a ?crit : >> Le 29/03/2011 16:37, Adrien Vogt-Schilb a ?crit : >>> Hi >>> >>> If "porting your code to scilab" means "making a scilab function", >>> you'll be >>> able to find zeros of that function using fsolve >> Yeap, I meant getting most of the code ported to scilab and only use >> part of scilab that can easily be reinstalled when upgrading scilab >> or installing a new machine. >> Now that we have the new atoms system, I am always a bit afraid of >> using modules that rely on the old system. >>> > > Well, fsolve is a basic feature of scilab. Are you looking for > something more specific? > > > Hmm, I think there is one issue with fsolve: my functions and the eigenvalues of the system are complex. Is fsolve limited to real space? Antoine From vogt at centre-cired.fr Tue Mar 29 17:20:46 2011 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Tue, 29 Mar 2011 17:20:46 +0200 Subject: [scilab-Users] atoms equivalent for fsolver In-Reply-To: <4D91F77D.4020307@laas.fr> References: <4D91ED4E.4040808@laas.fr> <4D91EEB5.1010704@centre-cired.fr> <4D91F0F9.6090309@laas.fr> <4D91F274.1090508@centre-cired.fr> <4D91F77D.4020307@laas.fr> Message-ID: <4D91F8CE.2040408@centre-cired.fr> >> Well, fsolve is a basic feature of scilab. Are you looking for >> something more specific? >> >> >> > Hmm, I think there is one issue with fsolve: my functions and the > eigenvalues of the system are complex. > Is fsolve limited to real space? > > Antoine yes it is, but can't you work aroud, using things like: y= my_psuedo_real_function (x) xr= x(1) xi=x(2) z = my_proud_to_be_complex_function(xr+%i * xi) y(1) = real(z) y(2) = im(z) endfunction -- *Adrien Vogt-Schilb* Research Fellow vogt at centre-cired.fr Tel: (+33) 1 43 94 73 96 Fax: (+33) 1 43 94 73 70 CIRED 45 bis, Av de la Belle Gabrielle F-94736 Nogent-sur-Marne http://www.centre-cired.fr/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: logocired.png Type: image/png Size: 4092 bytes Desc: not available URL: From svetlio.hacky at gmail.com Wed Mar 30 00:20:11 2011 From: svetlio.hacky at gmail.com (Svetoslav) Date: Tue, 29 Mar 2011 15:20:11 -0700 (PDT) Subject: cpp function in sci_gateway In-Reply-To: <1301400332400-2748025.post@n3.nabble.com> References: <1301400332400-2748025.post@n3.nabble.com> Message-ID: <1301437211975-2751157.post@n3.nabble.com> I understood how to include the header of my functions, but still I got problem. This is the error from loader.sce exec(get_absolute_file_path("loader.sce")+"etc/"+"network_toolbox.start"); Start Network Toolbox Load gateways etdynlibext(), 'libnetwork_toolbox', list_functions) !--error 236 addinter: The shared archive was not loaded: /home/hacky/scilab/scilab/modules/network_toolbox/sci_gateway/cpp//libnetwork_toolbox.so: undefined symbol: net_gethostbyname at line 16 of exec file called by : exec("loader.sce"); at line 20 of exec file called by : exec(pathconvert(root_tlbx+"/sci_gateway/loader_gateway.sce",%f)); at line 20 of exec file called by : exec(get_absolute_file_path("loader.sce")+"etc/"+"network_toolbox.start"); at line 10 of exec file called by : exec loader.sce network_toolbox is the name of the module net_gethostbyname is my function any help or hint will be appreciated ! thanks -- View this message in context: http://mailinglists.scilab.org/cpp-function-in-sci-gateway-tp2748025p2751157.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sam at cctech.co.in Wed Mar 30 05:26:23 2011 From: sam at cctech.co.in (Sam Mathew) Date: Wed, 30 Mar 2011 08:56:23 +0530 Subject: [scilab-Users] scilab on mac osx In-Reply-To: References: Message-ID: May be the following message from Sylvestre answers your problem. It's nothing you can do for some time to come. Scilab won't work on MacOS X . They're working on it to fix it. ------------ Hello, Le mercredi 16 mars 2011 ? 18:09 -0300, "Jo?o Daniel N. Duarte" a ?crit : > Hello, > > Is there a version of Scilab for MacOS X 10.5 Leopard? I looked for it > on the website but just found a Snow Leopard version. Unfortunately, Apple did a massive refactoring of the Java packaging. While doing so, they broke a component Scilab is based on (which explains why Scilab used to work under Mac OS X 10.5). We opened a bug report on the Apple bug tracker but we haven't hear back since then. For the technical explanation, see: http://lists.apple.com/archives/Java-dev/2011/Feb/msg00083.html One of Apple engineer replied privately: "yeah, I think it is a bug, please report it, and if it's not a bug, we'll get back to you quickly ... but it sounds like a bug." Sylvestre ------------ On 29 March 2011 02:06, Chad Sarni wrote: > i just downloaded scilab 5.3.1 for mac osx. when it downloaded it opened as > a disk image and a folder opened. when i clicked on the scilab application > icon i confirmed it but it "unexpectedly quit" and it keeps doing it if i > try again. im wondering if there is anything i should try to help it run. -- *Sam Mathew* | Asst. Manager, CFD *Centre for Computational Technologies - CCTech** * 1 Akshay Residency | 50 Anand Park | Aundh | Pune | 411007 | India Ph: +91 20 40098381/82 | M: +91-9975960244 | www.cctech.co.in* * *CCTech ? "Simulation is The Future"* * *[image: GeomTech] * * -------------- next part -------------- An HTML attachment was scrubbed... URL: From jerzy.karczmarczuk at unicaen.fr Wed Mar 30 03:14:31 2011 From: jerzy.karczmarczuk at unicaen.fr (Jerzy Karczmarczuk) Date: Tue, 29 Mar 2011 18:14:31 -0700 (PDT) Subject: Xcos, "interpolation" block Message-ID: <1301447671508-2751806.post@n3.nabble.com> There is a palette called "interpolation" (which apparently has a different name: "lookup tables"... Inside there is a block "explained" in such a way: The output of this block is a function of the input obtained by linear interpolation. This block has a single scalar input and a single scalar output port. The coord. and coord. give respectively the coordinate and the coordinate of the data points to be interpolated. coord must be strictly increasing. == Could anybody explain WHAT does this interpolate? A simple example perhaps? Thanks. JK -- View this message in context: http://mailinglists.scilab.org/Xcos-interpolation-block-tp2751806p2751806.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sylvestre.ledru at scilab.org Wed Mar 30 08:14:57 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Wed, 30 Mar 2011 08:14:57 +0200 Subject: [scilab-Users] scilab on mac osx In-Reply-To: References: Message-ID: <1301465697.3976.7.camel@losinj.inria.fr> Mac OS X 10.5 ;) It works fine with 10.6! S Le mercredi 30 mars 2011 ? 08:56 +0530, Sam Mathew a ?crit : > May be the following message from Sylvestre answers your problem. It's > nothing you can do for some time to come. Scilab won't work on MacOS > X . They're working on it to fix it. > > ------------ > Hello, > > Le mercredi 16 mars 2011 ? 18:09 -0300, "Jo?o Daniel N. Duarte" a > ?crit : > > Hello, > > > > Is there a version of Scilab for MacOS X 10.5 Leopard? I looked for > it > > on the website but just found a Snow Leopard version. > > Unfortunately, Apple did a massive refactoring of the Java packaging. > While doing so, they broke a component Scilab is based on (which > explains why Scilab used to work under Mac OS X 10.5). > We opened a bug report on the Apple bug tracker but we haven't hear > back > since then. > > For the technical explanation, see: > http://lists.apple.com/archives/Java-dev/2011/Feb/msg00083.html > One of Apple engineer replied privately: > "yeah, I think it is a bug, please report it, and if it's not a bug, > we'll get back to you quickly ... but it sounds like a bug." > > Sylvestre > > ------------ > > On 29 March 2011 02:06, Chad Sarni wrote: > i just downloaded scilab 5.3.1 for mac osx. when it downloaded > it opened as a disk image and a folder opened. when i clicked > on the scilab application icon i confirmed it but it > "unexpectedly quit" and it keeps doing it if i try again. im > wondering if there is anything i should try to help it run. > > > > -- > Sam Mathew | Asst. Manager, CFD > Centre for Computational Technologies - CCTech > 1 Akshay Residency | 50 Anand Park | Aundh | Pune | 411007 | India > Ph: +91 20 40098381/82 | M: +91-9975960244 | www.cctech.co.in > > CCTech ? "Simulation is The Future" > > > GeomTech > > From sunil311986 at gmail.com Wed Mar 30 07:46:38 2011 From: sunil311986 at gmail.com (suneel yadav) Date: Wed, 30 Mar 2011 11:16:38 +0530 Subject: about scilab Message-ID: hi.... i suneel yadav want to use image processing toolbox in scilab... but i m facing problem in reading the image as we load in matlab software .Imread , Imshow functions are not working in scilab . please solve this issue. WebRep Overall rating -------------- next part -------------- An HTML attachment was scrubbed... URL: From haraldgalda at yahoo.com Wed Mar 30 08:21:05 2011 From: haraldgalda at yahoo.com (Harald Galda, Dr. Eng. (J)) Date: Tue, 29 Mar 2011 23:21:05 -0700 (PDT) Subject: AW: [scilab-Users] about scilab In-Reply-To: References: Message-ID: <404143.93698.qm@web112605.mail.gq1.yahoo.com> Hi, you can not use Matlab toolboxes in Scilab. If you want to do image processing, please install IPD or SIVP toolbox. Both can be downloaded and installed via atomsGui(). Regards Harald Galda ________________________________ Von: suneel yadav An: users at lists.scilab.org Gesendet: Mittwoch, den 30. M?rz 2011, 7:46:38 Uhr Betreff: [scilab-Users] about scilab hi.... i suneel yadav want to use image processing toolbox in scilab... but i m facing problem in reading the image as we load in matlab software .Imread , Imshow functions are not working in scilab . please solve this issue. WebRep Overall rating From allan.cornet at scilab.org Wed Mar 30 09:27:56 2011 From: allan.cornet at scilab.org (allan.cornet at scilab.org) Date: Wed, 30 Mar 2011 09:27:56 +0200 Subject: [scilab-Users] cpp function in =?UTF-8?Q?sci=5Fgateway?= In-Reply-To: <1301400332400-2748025.post@n3.nabble.com> References: <1301400332400-2748025.post@n3.nabble.com> Message-ID: <0839290587ee2321ac00b0dcb5c34137@scilab.org> Hi, http://en.wikipedia.org/wiki/Compatibility_of_C_and_C%2B%2B (Linking C and C++ code) see extern "C" { } Allan On Tue, 29 Mar 2011 05:05:32 -0700 (PDT), Svetoslav wrote: > hello, I was writing function char* net_gethostbyname(char* name) > which > returns string of IP of the searching host name. For example > net_gethostbyname("example.com") ->returns 1.2.3.4 > But when I start to write the sci_net_gethostbyname.cxx file I have > some > problems. I am not sure how to call the function to do its work. I > was > reading the documentation and I was thinking that I must include in > the > begging of the document: extern char* net_gethostbyname.... and after > that I > will could use the function. > I done this and when I do exec builder.sce of the module it finished > OK, but > error came up in the loader.sce "undefined symbol: > net_gethostbyname". > So could use someone give me a hint where I am wrong or what to read > to > understand how to write it correctly. > Thanks! > > -- > View this message in context: > > http://mailinglists.scilab.org/cpp-function-in-sci-gateway-tp2748025p2748025.html > Sent from the Scilab users - Mailing Lists Archives mailing list > archive at Nabble.com. From R.MARIGO at arpalombardia.it Wed Mar 30 09:34:06 2011 From: R.MARIGO at arpalombardia.it (MARIGO RAFFAELLA) Date: Wed, 30 Mar 2011 07:34:06 +0000 Subject: information about ciboot command Message-ID: Hi, I'm Raffaella Marigo from Italy, may I have some information about the bootstrap command "ciboot" (stixbox module) I have some problem because I don't understand the calling sequence: ci = ciboot(x,'T',method,C,B) In particular, I don't understand the meaning of 'T', is it the shape of the distribution? I wrote these commands x=grand(1,1000,"unf",0,323); // N=1000 random numbers generated from a uniform distribution on [0,323] bx=rboot(x,[,1000]); //bootstrap resampling tbx=trimmean(bx,25,2); // trimmed mean calculated for each resampling mbx=trimmean(tbx) //boostrap trimmed mean sx=stdboot(tbx,'norm') //median standard error ci=ciboot(q,'norm',6,0.95,1000) and the result is: -->x=grand(1,1000,"unf",0,323); // N=1000 random numbers generated from a uniform distribution on [0,323] -->bx=rboot(x,[,1000]); //bootstrap resampling -->tbx=trimmean(bx,25,2); // trimmed mean calculated for each resampling -->mbx=trimmean(tbx) //boostrap trimmed mean mbx = 159.55854 -->sx=stdboot(tbx,'norm') //median standard error sx = 3.366777 -->ci=ciboot(q,'norm',6,0.95,1000) ci=ciboot(q,'norm',6,0.95,1000) !--error 4 There is an undefined variable: q at line 6 of exec file called by : exec('C:\Documents and Settings\RMARIGO\Impostazioni locali\Temp\SCI_TMP_3564_\LOAD_INTO_SCILAB-2323182087522029687.sce', 1) while executing a callback Could you help me? Thanks a lot Best regards Raffaella Marigo -------------- next part -------------- An HTML attachment was scrubbed... URL: From clement.david at scilab.org Wed Mar 30 10:25:35 2011 From: clement.david at scilab.org (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Wed, 30 Mar 2011 10:25:35 +0200 Subject: [scilab-Users] Xcos, "interpolation" block In-Reply-To: <1301447671508-2751806.post@n3.nabble.com> References: <1301447671508-2751806.post@n3.nabble.com> Message-ID: <1301473535.6850.3.camel@pinarellu.inria.fr> Hello, The INTRPLBLK_f simply maps input values to outputs with linear interpolation. The attached example will be included with Scilab help on the future. Regards, -- Cl?ment Le mardi 29 mars 2011 ? 18:14 -0700, Jerzy Karczmarczuk a ?crit : > There is a palette called "interpolation" (which apparently has a different > name: "lookup tables"... Inside there is a block "explained" in such a way: > > The output of this block is a function of the input obtained by linear > interpolation. This block has a single scalar input and a single scalar > output port. The coord. and coord. give respectively the coordinate and the > coordinate of the data points to be interpolated. coord must be strictly > increasing. > > == > > Could anybody explain WHAT does this interpolate? > A simple example perhaps? > > Thanks. > JK > > > -- > View this message in context: http://mailinglists.scilab.org/Xcos-interpolation-block-tp2751806p2751806.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- Cl?ment David -------------- next part -------------- A non-text attachment was scrubbed... Name: INTRPLBLK_f_en_US.xcos Type: application/xml Size: 37639 bytes Desc: not available URL: From jerzy.karczmarczuk at unicaen.fr Thu Mar 31 11:18:42 2011 From: jerzy.karczmarczuk at unicaen.fr (Jerzy Karczmarczuk) Date: Thu, 31 Mar 2011 02:18:42 -0700 (PDT) Subject: Xcos, "interpolation" block In-Reply-To: <1301473535.6850.3.camel@pinarellu.inria.fr> References: <1301447671508-2751806.post@n3.nabble.com> <1301473535.6850.3.camel@pinarellu.inria.fr> Message-ID: <1301563122103-2757622.post@n3.nabble.com> Merci Cl?ment. I would just want to suggest to change the name of this block. If the parameterization is: [-1;1] -> [1;-1] this makes -sin(x) from sin(x). Yes, this is a - somewhat - general mapping from input to output, with linear interpolation within segments specified in parameters, but calling this "Interpolation" is a semantic abomination, misleading. In general, the documentation of Xcos needs really some update... JK -- View this message in context: http://mailinglists.scilab.org/Xcos-interpolation-block-tp2751806p2757622.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sylvestre.ledru at scilab.org Thu Mar 31 11:28:15 2011 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Thu, 31 Mar 2011 11:28:15 +0200 Subject: [scilab-Users] Re: Xcos, "interpolation" block In-Reply-To: <1301563122103-2757622.post@n3.nabble.com> References: <1301447671508-2751806.post@n3.nabble.com> <1301473535.6850.3.camel@pinarellu.inria.fr> <1301563122103-2757622.post@n3.nabble.com> Message-ID: <1301563695.18105.6.camel@korcula.inria.fr> Le jeudi 31 mars 2011 ? 02:18 -0700, Jerzy Karczmarczuk a ?crit : > Merci Cl?ment. > I would just want to suggest to change the name of this block. > If the parameterization is: [-1;1] -> [1;-1] this makes -sin(x) from > sin(x). > Yes, this is a - somewhat - general mapping from input to output, with > linear interpolation within segments > specified in parameters, but calling this "Interpolation" is a semantic > abomination, misleading. > > In general, the documentation of Xcos needs really some update... This is an ongoing work... More and more Xcos are fully documented with examples. If you try the nightly build of the 5.3 family, in the CHANGES_5.3.X, you will find the list of the documented blocks. Sylvestre From clement.david at scilab.org Thu Mar 31 11:31:06 2011 From: clement.david at scilab.org (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Thu, 31 Mar 2011 11:31:06 +0200 Subject: [scilab-Users] Re: Xcos, "interpolation" block In-Reply-To: <1301563122103-2757622.post@n3.nabble.com> References: <1301447671508-2751806.post@n3.nabble.com> <1301473535.6850.3.camel@pinarellu.inria.fr> <1301563122103-2757622.post@n3.nabble.com> Message-ID: <1301563867.3321.8.camel@pinarellu.inria.fr> Hi, In fact the block name (INTRPLBLK_f) should be kept for compatibility reason. The help page of the block update is in progress [1], can you post any remarks there please ? We are aware of a documentation issue on Xcos blocks and some contributors are working on it. To help them please contact me off the list or read [2] :) . [1]: http://codereview.scilab.org/#change,3691 [2]: http://www.scilab.org/communities/developer_zone/contribute -- Cl?ment Le jeudi 31 mars 2011 ? 02:18 -0700, Jerzy Karczmarczuk a ?crit : > Merci Cl?ment. > I would just want to suggest to change the name of this block. > If the parameterization is: [-1;1] -> [1;-1] this makes -sin(x) from > sin(x). > Yes, this is a - somewhat - general mapping from input to output, with > linear interpolation within segments > specified in parameters, but calling this "Interpolation" is a semantic > abomination, misleading. > > In general, the documentation of Xcos needs really some update... > > JK > > > -- > View this message in context: http://mailinglists.scilab.org/Xcos-interpolation-block-tp2751806p2757622.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- Cl?ment David