From devin.butterfield at gmail.com Mon Jul 1 01:40:30 2013 From: devin.butterfield at gmail.com (Devin Butterfield) Date: Sun, 30 Jun 2013 16:40:30 -0700 Subject: [Scilab-users] Compiler messages during toolbox build Message-ID: Hi, I am using the xcos-toolbox-skeleton to develop a custom toolbox and blocks for Xcos. During the build of the C-code I would like to see verbose output from the c-compiler. Currently even warnings are hidden from me. How can I turn this on? Thanks! -- Regards, Devin -------------- next part -------------- An HTML attachment was scrubbed... URL: From vincent.couvert at scilab-enterprises.com Mon Jul 1 08:37:21 2013 From: vincent.couvert at scilab-enterprises.com (Vincent COUVERT) Date: Mon, 01 Jul 2013 08:37:21 +0200 Subject: [Scilab-users] ATOMS module In-Reply-To: <1372566935148-4026917.post@n3.nabble.com> References: <1355849867149-4025531.post@n3.nabble.com> <1355931987109-4025555.post@n3.nabble.com> <50D3079E.70109@scilab-enterprises.com> <1356019581179-4025563.post@n3.nabble.com> <50D415D7.1060203@scilab-enterprises.com> <1372566935148-4026917.post@n3.nabble.com> Message-ID: <51D123A1.10808@scilab-enterprises.com> Hello, atoms.scilab.org had some problems on friday/saturday. This should work now. Regards. Le 30/06/2013 06:35, tommish a ?crit : > Hi, > > I am having what I feel is exactly the same problem installing metanet. > > I run : > > -->atomsInstall('metanet') > atomsDownload: The following file hasn't been downloaded: > - URL : 'http://atoms.scilab.org/5.4/TOOLBOXES/32/linux.gz' > - Local location : '/tmp/SCI_TMP_7571_YzZwsC/.atoms/1_TOOLBOXES.gz' > !--error 10000 > --2013-06-30 12:21:12-- http://atoms.scilab.org/5.4/TOOLBOXES/32/linux.gz > Resolving atoms.scilab.org... failed: Connection timed out. > wget: unable to resolve host address `atoms.scilab.org' > at line 202 of function atomsDownload called by : > at line 155 of function atomsDESCRIPTIONget called by : > at line 31 of function atomsIsPackage called by : > at line 69 of function atomsInstallList called by : > at line 233 of function atomsInstall called by : > atomsInstall('metanet') > > but from the console I can happily run wget and fetch the .gz as mentioned > above. > > Is there any workaround as I didnt see anything other than the mention of > possible bug over wifi connection ? > > Any input would be greatly appreciated. > > Tom > > > > > > -- > View this message in context: http://mailinglists.scilab.org/ATOMS-module-tp4025531p4026917.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From larikerstin at gmx.de Mon Jul 1 10:43:28 2013 From: larikerstin at gmx.de (Larissa Schultze) Date: Mon, 1 Jul 2013 10:43:28 +0200 (CEST) Subject: [Scilab-users] Convert x, y, z data into a z=f(x,y) function In-Reply-To: <7779_1372155395_51C96E02_7779_11603_3_8F1D40232A0E68409E3FC23A30C326620168CD67730F@THSONEA01CMS04P.one.grp> References: <1372146734000-4026897.post@n3.nabble.com> <3B5FFC67498DFF49AE7271A584867D16F31E2A17BB@301EX00100.sidel.com>, <7779_1372155395_51C96E02_7779_11603_3_8F1D40232A0E68409E3FC23A30C326620168CD67730F@THSONEA01CMS04P.one.grp> Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: model_create_3Dgraph.txt URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test1.xls Type: application/vnd.ms-excel Size: 23040 bytes Desc: not available URL: From Mike at Page-One.Waitrose.com Mon Jul 1 11:10:58 2013 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Mon, 1 Jul 2013 10:10:58 +0100 Subject: [Scilab-users] Convert x, y, z data into a z=f(x,y) function In-Reply-To: Message-ID: Hi, You are asking a question which in general has no answer. There are an infinite number of models which can fit your data. You need to find some possible candidate model forms based on physical properties and then try fitting to them. You are probably looking for a fit which leaves residues which are Gaussian and mean zero (but that's not always true...). Try giving us a clue about where the data come from. Maybe somebody has the physical background to suggest some models. If not, try plotting the data and guessing a model from the shape. To me the shape looks vaguely exponential or logarithmic, so maybe plotting as log-linear or log-log will give a clue. HTH, Mike. -----Original Message----- From: users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org]On Behalf Of Larissa Schultze Sent: 01 July 2013 09:43 To: International users mailing list for Scilab. Subject: Re: [Scilab-users] Convert x, y, z data into a z=f(x,y) function Hello all, first of all, thanks a lot for your effort. I must say that I don't really have anyone to run to for asking about mathematical models - I could go to the mathematicians at the University, but I don't know anyone there and I barelly know where the institute is located... therefore I decided to insert my simplest table in here (it is actually very simple) - may be someone here knows which kind of mathematical model I could use? I have been searching for it in literature, but I don't seem to be in the right path... So attached you will find my data table as well as the scilab commands I used to create the respective graph. I mean, my data is already interpolated...shouldn't it be easy to get a function (z,x,y) out of it? I would be very very thankful for any help...I'm getting a bit desperate... best regards, Larissa Gesendet: Dienstag, 25. Juni 2013 um 11:09 Uhr Von: "CRETE Denis" An: "International users mailing list for Scilab." Betreff: Re: [Scilab-users] Convert x, y, z data into a z=f(x,y) function Hello, The general procedure for fitting data in the case of 2 variables is the following: // First define your mathematical model by changing the following line deff('z=MyFunction(x,y)', 'z=p(1)*x + p(2)*y + p(3)*x.*y'); // Store all experimental data in a single array ExD; X, Y, Z assumed to be 1 x NZ vectors ExD=[X;Y;Z]; // Define the error function (to be minimized with respect to the parameters p) deff('erro=G(p,ExD)','x=ExD(1),y=ExD(2), z=ExD(3), erro=z-MyFunction(x,y)') // Fit experimental data contained in W // The column vector p0 is an initial guess of the values for the parameters of your Model [p,err]=datafit(G,ExD,p0) // you can check values generated with MyFunction(X,Y) HTH Denis -----Message d'origine----- De : users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de Dang, Christophe Envoy? : mardi 25 juin 2013 10:20 ? : International users mailing list for Scilab. Objet : Re: [Scilab-users] Convert x, y, z data into a z=f(x,y) function Hello, De la part de Larissa Envoy? : mardi 25 juin 2013 09:52 > I conducted an experiment and thus my results are composed of x,y,z > data, [...] > but I can't figure out how to get an equation "z=f(x,y)" out of it. This is more a math problem than a Scilab problem. You must have a mathematical model, i.e. a parametric formula, then you can adjust the parameters by regression (or maximum likehood). You may have theoretical models that derive from elementary assumptions -- you usually find such model in the bibliography --, or use a "nice model that fit the global shape" -- you may ask the math laboratory in your neighbourhood, this is usually polynomials, exponentials, statistical laws... So if you come to us with a parametric model, we will be able to help you. best regards. -- Christophe Dang Ngoc Chan Mechanical calculation engineer ______________________________________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ______________________________________________________________________ _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From larikerstin at gmx.de Mon Jul 1 11:24:42 2013 From: larikerstin at gmx.de (Larissa) Date: Mon, 1 Jul 2013 02:24:42 -0700 (PDT) Subject: [Scilab-users] Convert x, y, z data into a z=f(x,y) function In-Reply-To: References: <1372146734000-4026897.post@n3.nabble.com> <3B5FFC67498DFF49AE7271A584867D16F31E2A17BB@301EX00100.sidel.com> <7779_1372155395_51C96E02_7779_11603_3_8F1D40232A0E68409E3FC23A30C326620168CD67730F@THSONEA01CMS04P.one.grp> Message-ID: Hi,   so regarding the data.. it was an experiment related to algal biomass yield (g/m²) ("z") according to time (0-25days, the "x"-data) and light intensity (25-1000µmol*m^-1*s^-1, the "y" values). Increase in biomass might have been exponential right at the beginning, but with increasing time I guess it turned out to be linear...   does anybody have a hint about the model I could use?:)       Gesendet: Montag, 01. Juli 2013 um 11:14 Uhr Von: "Mike Page [via Scilab / Xcos - Mailing Lists Archives]" <ml-node+s994242n4026925h99 at n3.nabble.com> An: Larissa <larikerstin at gmx.de> Betreff: Re: Convert x, y, z data into a z=f(x,y) function  Hi,   You are asking a question which in general has no answer.  There are an infinite number of models which can fit your data.  You need to find some possible candidate model forms based on physical properties and then try fitting to them.  You are probably looking for a fit which leaves residues which are Gaussian and mean zero (but that's not always true...).   Try giving us a clue about where the data come from.  Maybe somebody has the physical background to suggest some models.  If not, try plotting the data and guessing a model from the shape.  To me the shape looks vaguely exponential or logarithmic, so maybe plotting as log-linear or log-log will give a clue.   HTH, Mike.   -----Original Message----- From: [hidden email] [mailto: [hidden email] ]On Behalf Of Larissa Schultze Sent: 01 July 2013 09:43 To: International users mailing list for Scilab. Subject: Re: [Scilab-users] Convert x, y, z data into a z=f(x,y) function   Hello all,   first of all, thanks a lot for your effort. I must say that I don't really have anyone to run to for asking about mathematical models - I could go to the mathematicians at the University, but I don't know anyone there and I barelly know where the institute is located...   therefore I decided to insert my simplest table in here (it is actually very simple) - may be someone here knows which kind of mathematical model I could use? I have been searching for it in literature, but I don't seem to be in the right path...   So attached you will find my data table as well as the scilab commands I used to create the respective graph. I mean, my data is already interpolated...shouldn't it be easy to get a function (z,x,y) out of it?   I would be very very thankful for any help...I'm getting a bit desperate...   best regards, Larissa         Gesendet: Dienstag, 25. Juni 2013 um 11:09 Uhr Von: "CRETE Denis" < [hidden email] > An: "International users mailing list for Scilab." < [hidden email] > Betreff: Re: [Scilab-users] Convert x, y, z data into a z=f(x,y) function Hello, The general procedure for fitting data in the case of 2 variables is the following: // First define your mathematical model by changing the following line deff('z=MyFunction(x,y)', 'z=p(1)*x + p(2)*y + p(3)*x.*y'); // Store all experimental data in a single array ExD; X, Y, Z assumed to be 1 x NZ vectors ExD=[X;Y;Z]; // Define the error function (to be minimized with respect to the parameters p) deff('erro=G(p,ExD)','x=ExD(1),y=ExD(2), z=ExD(3), erro=z-MyFunction(x,y)') // Fit experimental data contained in W // The column vector p0 is an initial guess of the values for the parameters of your Model [p,err]=datafit(G,ExD,p0) // you can check values generated with MyFunction(X,Y) HTH Denis -----Message d'origine----- De : [hidden email] [mailto: [hidden email] ] De la part de Dang, Christophe Envoyé : mardi 25 juin 2013 10:20 À : International users mailing list for Scilab. Objet : Re: [Scilab-users] Convert x, y, z data into a z=f(x,y) function Hello, De la part de Larissa Envoyé : mardi 25 juin 2013 09:52 > I conducted an experiment and thus my results are composed of x,y,z > data, [...] > but I can't figure out how to get an equation "z=f(x,y)" out of it. This is more a math problem than a Scilab problem. You must have a mathematical model, i.e. a parametric formula, then you can adjust the parameters by regression (or maximum likehood). You may have theoretical models that derive from elementary assumptions -- you usually find such model in the bibliography --, or use a "nice model that fit the global shape" -- you may ask the math laboratory in your neighbourhood, this is usually polynomials, exponentials, statistical laws... So if you come to us with a parametric model, we will be able to help you. best regards. -- Christophe Dang Ngoc Chan Mechanical calculation engineer ______________________________________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ______________________________________________________________________ _______________________________________________ users mailing list [hidden email] http://lists.scilab.org/mailman/listinfo/users _______________________________________________ users mailing list [hidden email] http://lists.scilab.org/mailman/listinfo/users _______________________________________________ users mailing list [hidden email] http://lists.scilab.org/mailman/listinfo/users   If you reply to this email, your message will be added to the discussion below: http://mailinglists.scilab.org/Convert-x-y-z-data-into-a-z-f-x-y-function-tp4026897p4026925.html To unsubscribe from Convert x, y, z data into a z=f(x,y) function, click here . NAML -- View this message in context: http://mailinglists.scilab.org/Convert-x-y-z-data-into-a-z-f-x-y-function-tp4026897p4026926.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mccannscience at comcast.net Mon Jul 1 13:00:53 2013 From: mccannscience at comcast.net (Michael J. McCann) Date: Mon, 01 Jul 2013 11:00:53 +0000 Subject: [Scilab-users] Convert x, y, z data into a z=f(x,y) function In-Reply-To: References: <1372146734000-4026897.post@n3.nabble.com> <3B5FFC67498DFF49AE7271A584867D16F31E2A17BB@301EX00100.sidel.com> <7779_1372155395_51C96E02_7779_11603_3_8F1D40232A0E68409E3FC23A30C326620168CD67730F@THSONEA01CMS04P.one.grp> Message-ID: <51D16165.2030208@comcast.net> Larisssa, Now we have a clue. Many years ago I worked on dynamic system models of fermentation. What I did was to create a differential equation set to account for the identifiable "species" --- abstract idea which includes various bio-chemical generic classes -- and running those models and experimenting it became possible to get a working model, by choosing parameters. When that reached its limit, moving on to more complex models enabled us (me and a micologist) to create a model good enough to predict the performance of an industrial process. In your case I'd start with a very simple model, and I'd expect that since the growth rate in biomass would initially probably increase in proportion to the mass present the model would give an exponential initial rate, then as the algae blocked the light it wanted and the other key food sources (dissolved oxygen?) were depleted, the rate would decline. In the work I did in the past we got into the metabolic pathways and energy balances with heat and synthesis reaction rates, but I'd start with something simpler in your case to see how simple a model would explain the process. I would be a good candidate for a model in Xcos. You can look into my website http://www.mccannscience.com/fermenta.htm if you are interested. Mike ======================= On 01/07/2013 09:24, Larissa wrote: > Hi, > so regarding the data.. > it was an experiment related to algal biomass yield (g/m?) ("z") > according to time (0-25days, the "x"-data) and light intensity > (25-1000?mol*m^-1*s^-1, the "y" values). Increase in biomass might > have been exponential right at the beginning, but with increasing time > I guess it turned out to be linear... > does anybody have a hint about the model I could use?:) > *Gesendet:* Montag, 01. Juli 2013 um 11:14 Uhr > *Von:* "Mike Page [via Scilab / Xcos - Mailing Lists Archives]" > <[hidden email] > > *An:* Larissa <[hidden email] > > > *Betreff:* Re: Convert x, y, z data into a z=f(x,y) function > ? > Hi, > You are asking a question which in general has no answer. There are an > infinite number of models which can fit your data. You need to find > some possible candidate model forms based on physical properties and > then try fitting to them. You are probably looking for a fit which > leaves residues which are Gaussian and mean zero (but that's not > always true...). > Try giving us a clue about where the data come from. Maybe somebody > has the physical background to suggest some models. If not, try > plotting the data and guessing a model from the shape. To me the > shape looks vaguely exponential or logarithmic, so maybe plotting as > log-linear or log-log will give a clue. > HTH, > Mike. > > -----Original Message----- > *From:* [hidden email] [mailto:[hidden email]]*On Behalf Of > *Larissa Schultze > *Sent:* 01 July 2013 09:43 > *To:* International users mailing list for Scilab. > *Subject:* Re: [Scilab-users] Convert x, y, z data into a z=f(x,y) > function > Hello all, > first of all, thanks a lot for your effort. I must say that I > don't really have anyone to run to for asking about mathematical > models - I could go to the mathematicians at the University, but I > don't know anyone there and I barelly know where the institute is > located... > therefore I decided to insert my simplest table in here (it is > actually very simple) - may be someone here knows which kind of > mathematical model I could use? > I have been searching for it in literature, but I don't seem to be > in the right path... > So attached you will find my data table as well as the scilab > commands I used to create the respective graph. I mean, my data is > already interpolated...shouldn't it be easy to get a function > (z,x,y) out of it? > I would be very very thankful for any help...I'm getting a bit > desperate... > best regards, > Larissa > *Gesendet:* Dienstag, 25. Juni 2013 um 11:09 Uhr > *Von:* "CRETE Denis" <[hidden email]> > *An:* "International users mailing list for Scilab." <[hidden email]> > *Betreff:* Re: [Scilab-users] Convert x, y, z data into a z=f(x,y) > function > Hello, > > The general procedure for fitting data in the case of 2 variables > is the following: > // First define your mathematical model by changing the following line > deff('z=MyFunction(x,y)', 'z=p(1)*x + p(2)*y + p(3)*x.*y'); > // Store all experimental data in a single array ExD; X, Y, Z > assumed to be 1 x NZ vectors > ExD=[X;Y;Z]; > // Define the error function (to be minimized with respect to the > parameters p) > deff('erro=G(p,ExD)','x=ExD(1),y=ExD(2), z=ExD(3), > erro=z-MyFunction(x,y)') > // Fit experimental data contained in W > // The column vector p0 is an initial guess of the values for the > parameters of your Model > [p,err]=datafit(G,ExD,p0) > // you can check values generated with > MyFunction(X,Y) > > HTH > Denis > > -----Message d'origine----- > De : [hidden email] [mailto:[hidden email]] De la part de Dang, > Christophe > Envoy? : mardi 25 juin 2013 10:20 > ? : International users mailing list for Scilab. > Objet : Re: [Scilab-users] Convert x, y, z data into a z=f(x,y) > function > > Hello, > > De la part de Larissa > Envoy? : mardi 25 juin 2013 09:52 > > > I conducted an experiment and thus my results are composed of x,y,z > > data, > [...] > > but I can't figure out how to get an equation "z=f(x,y)" out of it. > > This is more a math problem than a Scilab problem. > > You must have a mathematical model, i.e. a parametric formula, > then you can adjust the parameters by regression (or maximum > likehood). > > You may have theoretical models that derive from elementary > assumptions > -- you usually find such model in the bibliography --, or use a > "nice model that fit the global shape" > -- you may ask the math laboratory in your neighbourhood, this is > usually polynomials, exponentials, statistical laws... > > So if you come to us with a parametric model, we will be able to > help you. > > best regards. > > -- > Christophe Dang Ngoc Chan > Mechanical calculation engineer > > ______________________________________________________________________ > > This e-mail may contain confidential and/or privileged > information. If you are not the intended recipient (or have > received this e-mail in error), please notify the sender > immediately and destroy this e-mail. Any unauthorized copying, > disclosure or distribution of the material in this e-mail is > strictly forbidden. > ______________________________________________________________________ > _______________________________________________ > users mailing list > [hidden email] > http://lists.scilab.org/mailman/listinfo/users > _______________________________________________ > users mailing list > [hidden email] > http://lists.scilab.org/mailman/listinfo/users > > > _______________________________________________ > users mailing list > [hidden email] > http://lists.scilab.org/mailman/listinfo/users > > ------------------------------------------------------------------------ > If you reply to this email, your message will be added to the > discussion below: > http://mailinglists.scilab.org/Convert-x-y-z-data-into-a-z-f-x-y-function-tp4026897p4026925.html > To unsubscribe from Convert x, y, z data into a z=f(x,y) function, > click here. > NAML > > > ------------------------------------------------------------------------ > View this message in context: Aw: Re: Convert x, y, z data into a > z=f(x,y) function > > Sent from the Scilab users - Mailing Lists Archives mailing list > archive > > at Nabble.com. > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christophe.Dang at sidel.com Mon Jul 1 13:23:50 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Mon, 1 Jul 2013 13:23:50 +0200 Subject: [Scilab-users] Convert x, y, z data into a z=f(x,y) function In-Reply-To: <51D16165.2030208@comcast.net> References: <1372146734000-4026897.post@n3.nabble.com> <3B5FFC67498DFF49AE7271A584867D16F31E2A17BB@301EX00100.sidel.com> <7779_1372155395_51C96E02_7779_11603_3_8F1D40232A0E68409E3FC23A30C326620168CD67730F@THSONEA01CMS04P.one.grp> <51D16165.2030208@comcast.net> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F31E3F076C@301EX00100.sidel.com> De la part de Michael J. McCann Envoy? : lundi 1 juillet 2013 13:01 > Many years ago I worked on dynamic system models of fermentation. > What I did was to create a differential equation set to account for > the identifiable "species" I agree this would be a good way, which gives you a model that has sense. If we make a simple z = f(x) (biomass = f(time)) plot (see attached document), we can see that 1 - the curves do not follow a simple analytic function 2 - they are not completely parallel, especially for the last points so, hard to fit with usual simple function. Now, maybe a non-parametric analysis -- i.e. not looking for a function but only for some characteristics of your data -- is enough for you? Maybe what you're looking for can be extracted from the initial slope, the height of the first plateau, ..? In fact, you try to answer a question, but we dont't know the question... -- Christophe Dang Ngoc Chan Mechanical calculation engineer ______________________________________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ______________________________________________________________________ -------------- next part -------------- A non-text attachment was scrubbed... Name: biomass_vs_time.png Type: image/png Size: 14259 bytes Desc: biomass_vs_time.png URL: From dtate at ida.org Mon Jul 1 16:03:00 2013 From: dtate at ida.org (David Tate) Date: Mon, 1 Jul 2013 07:03:00 -0700 (PDT) Subject: [Scilab-users] SciNotes 5.4.1 crashes on any file action (Win7 64 bit) In-Reply-To: References: <1372435758802-4026913.post@n3.nabble.com> Message-ID: <1372687380998-4026929.post@n3.nabble.com> Calixte, I opened a console window, went to c:\Program Files\scilab-5.4.1\bin, and ran WScilex.exe from the command line. Scilab opened as usual. From the Scilab console, I opened SciNotes, typed a comment, and attempted a "Save As" using the File menu. Scilab crashed, and no message appeared in the console window. I don't see any log files either, at least not in the \bin or \scilab-5.4.1 directory. Is that what you wanted me to try? It is possible that my company disables some Java functions. Is there a way I can test whether the necessary Java features are working on my machine? -- View this message in context: http://mailinglists.scilab.org/SciNotes-5-4-1-crashes-on-any-file-action-Win7-64-bit-tp4026913p4026929.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From dtate at ida.org Mon Jul 1 16:17:45 2013 From: dtate at ida.org (David Tate) Date: Mon, 1 Jul 2013 07:17:45 -0700 (PDT) Subject: [Scilab-users] SciNotes 5.4.1 crashes on any file action (Win7 64 bit) In-Reply-To: <1372687380998-4026929.post@n3.nabble.com> References: <1372435758802-4026913.post@n3.nabble.com> <1372687380998-4026929.post@n3.nabble.com> Message-ID: <1372688265996-4026930.post@n3.nabble.com> Also, it looks like the problem isn't just with SciNotes. Any file action from the Scilab console also crashes the program. The file browser displays correctly, and I can open a .sci file by double-clicking in the file browser tree, but if I click the "open a file" icon on the command bar, or attempt a file action on the open SciNotes window, Scilab crashes. David -- View this message in context: http://mailinglists.scilab.org/SciNotes-5-4-1-crashes-on-any-file-action-Win7-64-bit-tp4026913p4026930.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From vogt at centre-cired.fr Mon Jul 1 16:20:40 2013 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Mon, 01 Jul 2013 16:20:40 +0200 Subject: [Scilab-users] jlatexmath color in xstring Message-ID: <51D19038.7020303@centre-cired.fr> Hi non of the following code: plot(2020,75) xstring(2020,75,"$\textcolor{0,70,120}{\text{Resource cost}}$") xstring(2020,75,"$\textcolor{Orange}{\text{Resource cost}}$") xstring(2020,75,"$\fgcolor{#00FF00}{Hello Wolrd} $") does not produce a color string How can I write a colored string in my plot? -- Adrien Vogt-Schilb (Cired) +33 (0) 1 43 94 73 83 From calixte.denizet at scilab-enterprises.com Mon Jul 1 16:43:20 2013 From: calixte.denizet at scilab-enterprises.com (Calixte Denizet) Date: Mon, 01 Jul 2013 16:43:20 +0200 Subject: [Scilab-users] SciNotes 5.4.1 crashes on any file action (Win7 64 bit) In-Reply-To: <1372687380998-4026929.post@n3.nabble.com> References: <1372435758802-4026913.post@n3.nabble.com> <1372687380998-4026929.post@n3.nabble.com> Message-ID: <51D19588.4070005@scilab-enterprises.com> Hi David, On 01/07/2013 16:03, David Tate wrote: > Calixte, > > I opened a console window, went to c:\Program Files\scilab-5.4.1\bin, and > ran WScilex.exe from the command line. Scilab opened as usual. From the > Scilab console, I opened SciNotes, typed a comment, and attempted a "Save > As" using the File menu. Scilab crashed, and no message appeared in the > console window. I don't see any log files either, at least not in the \bin > or \scilab-5.4.1 directory. Check if a file hs_err_pid_foo.log exists in the directory where you launched WScilex. Could you try to start Scilex.exe and at prompt you enter scinotes ? Save something and observe if you have a backtrace or a log file (hs_err_pid...). I just tried under WIn 7 64-b as guest in VirtualBox and I didn't manage to reproduce the bug. It is probably a bug with the Java object JFileChooser and you probably have something on your computer which causes it... so we need to find the cause. Regards Calixte > Is that what you wanted me to try? > > It is possible that my company disables some Java functions. Is there a way > I can test whether the necessary Java features are working on my machine? > > > > -- > View this message in context: http://mailinglists.scilab.org/SciNotes-5-4-1-crashes-on-any-file-action-Win7-64-bit-tp4026913p4026929.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Calixte Denizet Software Development Engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France http://www.scilab-enterprises.com From dtate at ida.org Mon Jul 1 16:57:12 2013 From: dtate at ida.org (David Tate) Date: Mon, 1 Jul 2013 07:57:12 -0700 (PDT) Subject: [Scilab-users] SciNotes 5.4.1 crashes on any file action (Win7 64 bit) In-Reply-To: <51D19588.4070005@scilab-enterprises.com> References: <1372435758802-4026913.post@n3.nabble.com> <1372687380998-4026929.post@n3.nabble.com> <51D19588.4070005@scilab-enterprises.com> Message-ID: <1372690632105-4026933.post@n3.nabble.com> I launched Scilex from the command line and gave the scinotes command. The SciNotes window opened; I typed a couple of lines and selected "Save As" from the file menu. The program crashed with the following error message in the command window: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. c:\Program Files\scilab-5.4.1\bin>scilex Scilab 5.4.1 (Mar 29 2013, 17:58:03) -->scinotes -->log4cxx: No appender could be found for logger (ConfigRepository). log4cxx: Please initialize the log4cxx system properly. =========================================== That may explain why I'm not seeing any log files. David -- View this message in context: http://mailinglists.scilab.org/SciNotes-5-4-1-crashes-on-any-file-action-Win7-64-bit-tp4026913p4026933.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From calixte.denizet at scilab-enterprises.com Mon Jul 1 16:54:24 2013 From: calixte.denizet at scilab-enterprises.com (Calixte Denizet) Date: Mon, 01 Jul 2013 16:54:24 +0200 Subject: [Scilab-users] jlatexmath color in xstring In-Reply-To: <51D19038.7020303@centre-cired.fr> References: <51D19038.7020303@centre-cired.fr> Message-ID: <51D19820.1000308@scilab-enterprises.com> Hi Adrien, Normally you shoud modify the color of a text entity with the font_foreground property. But it is possible to bypass the color defined in font_foreground in using the following syntax: xstring(2020,75,"${\textcolor{0,70,120}{\text{Resource cost}}}$") // just add { } around the LaTeX code Calixte On 01/07/2013 16:20, Adrien Vogt-Schilb wrote: > Hi > > non of the following code: > plot(2020,75) > > xstring(2020,75,"$\textcolor{0,70,120}{\text{Resource cost}}$") > xstring(2020,75,"$\textcolor{Orange}{\text{Resource cost}}$") > xstring(2020,75,"$\fgcolor{#00FF00}{Hello Wolrd} $") > > does not produce a color string > > How can I write a colored string in my plot? > -- Calixte Denizet Software Development Engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France http://www.scilab-enterprises.com From calixte.denizet at scilab-enterprises.com Mon Jul 1 17:26:06 2013 From: calixte.denizet at scilab-enterprises.com (Calixte Denizet) Date: Mon, 01 Jul 2013 17:26:06 +0200 Subject: [Scilab-users] SciNotes 5.4.1 crashes on any file action (Win7 64 bit) In-Reply-To: <1372690632105-4026933.post@n3.nabble.com> References: <1372435758802-4026913.post@n3.nabble.com> <1372687380998-4026929.post@n3.nabble.com> <51D19588.4070005@scilab-enterprises.com> <1372690632105-4026933.post@n3.nabble.com> Message-ID: <51D19F8E.6040900@scilab-enterprises.com> On 01/07/2013 16:57, David Tate wrote: > I launched Scilex from the command line and gave the scinotes command. The > SciNotes window opened; I typed a couple of lines and selected "Save As" > from the file menu. The program crashed with the following error message in > the command window: > > Microsoft Windows [Version 6.1.7601] > Copyright (c) 2009 Microsoft Corporation. All rights reserved. > > c:\Program Files\scilab-5.4.1\bin>scilex > Scilab 5.4.1 (Mar 29 2013, 17:58:03) > > -->scinotes > > -->log4cxx: No appender could be found for logger (ConfigRepository). > log4cxx: Please initialize the log4cxx system properly. > =========================================== > > That may explain why I'm not seeing any log files. It is very weird... I greped "log4cxx" and for "ConfigRepository" in Scilab's source tree and there is absolutely nothing !! What is your exact configuration ? Do you launch Scilab in a particular environment or from a remote server ? And maybe you're right: the interesting debug messages are trapped by the logger. Calixte > David > > > > > > -- > View this message in context: http://mailinglists.scilab.org/SciNotes-5-4-1-crashes-on-any-file-action-Win7-64-bit-tp4026913p4026933.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Calixte Denizet Software Development Engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France http://www.scilab-enterprises.com From dtate at ida.org Mon Jul 1 18:10:38 2013 From: dtate at ida.org (David Tate) Date: Mon, 1 Jul 2013 09:10:38 -0700 (PDT) Subject: [Scilab-users] SciNotes 5.4.1 crashes on any file action (Win7 64 bit) In-Reply-To: <51D19F8E.6040900@scilab-enterprises.com> References: <1372435758802-4026913.post@n3.nabble.com> <1372687380998-4026929.post@n3.nabble.com> <51D19588.4070005@scilab-enterprises.com> <1372690632105-4026933.post@n3.nabble.com> <51D19F8E.6040900@scilab-enterprises.com> Message-ID: <1372695038214-4026936.post@n3.nabble.com> A quick Google gives this, from apache.org: "Log4cxx is a fast and flexible framework for logging application messages. It is the C++ port of the log4j Java logging library." http://wiki.apache.org/logging-log4cxx/ My configuration is as simple as it can be. I installed the Scilab binaries to my local hard drive using all of the default settings, and I run it in my normal Win 7 environment -- no virtual machines, no remote servers, no custom directory structure. Interestingly, if I start to Google for "initialize the log4cxx system", the search query auto-completes, and there are quite a few hits. This seems to be a fairly common bug in many different programs. David -- View this message in context: http://mailinglists.scilab.org/SciNotes-5-4-1-crashes-on-any-file-action-Win7-64-bit-tp4026913p4026936.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From calixte.denizet at scilab-enterprises.com Mon Jul 1 18:25:00 2013 From: calixte.denizet at scilab-enterprises.com (Calixte Denizet) Date: Mon, 01 Jul 2013 18:25:00 +0200 Subject: [Scilab-users] SciNotes 5.4.1 crashes on any file action (Win7 64 bit) In-Reply-To: <1372695038214-4026936.post@n3.nabble.com> References: <1372435758802-4026913.post@n3.nabble.com> <1372687380998-4026929.post@n3.nabble.com> <51D19588.4070005@scilab-enterprises.com> <1372690632105-4026933.post@n3.nabble.com> <51D19F8E.6040900@scilab-enterprises.com> <1372695038214-4026936.post@n3.nabble.com> Message-ID: <51D1AD5C.7030308@scilab-enterprises.com> On 01/07/2013 18:10, David Tate wrote: > A quick Google gives this, from apache.org: > > "Log4cxx is a fast and flexible framework for logging application messages. > It is the C++ port of the log4j Java logging library." > > http://wiki.apache.org/logging-log4cxx/ > > My configuration is as simple as it can be. I installed the Scilab binaries > to my local hard drive using all of the default settings, and I run it in my > normal Win 7 environment -- no virtual machines, no remote servers, no > custom directory structure. > > Interestingly, if I start to Google for "initialize the log4cxx system", the > search query auto-completes, and there are quite a few hits. This seems to > be a fairly common bug in many different programs. The problem is to determinate from where this message comes... Do you have any Java applications running on your system ? > David > > > > > > -- > View this message in context: http://mailinglists.scilab.org/SciNotes-5-4-1-crashes-on-any-file-action-Win7-64-bit-tp4026913p4026936.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Calixte Denizet Software Development Engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France http://www.scilab-enterprises.com From dtate at ida.org Mon Jul 1 18:38:39 2013 From: dtate at ida.org (David Tate) Date: Mon, 1 Jul 2013 09:38:39 -0700 (PDT) Subject: [Scilab-users] SciNotes 5.4.1 crashes on any file action (Win7 64 bit) In-Reply-To: <51D1AD5C.7030308@scilab-enterprises.com> References: <1372435758802-4026913.post@n3.nabble.com> <1372687380998-4026929.post@n3.nabble.com> <51D19588.4070005@scilab-enterprises.com> <1372690632105-4026933.post@n3.nabble.com> <51D19F8E.6040900@scilab-enterprises.com> <1372695038214-4026936.post@n3.nabble.com> <51D1AD5C.7030308@scilab-enterprises.com> Message-ID: <1372696719368-4026938.post@n3.nabble.com> Calixte DENIZET wrote > Do you have any Java applications running on your system ? I have Java 7 update 25 installed, and the test applet at www.java.com reports that my installation is working. So far as I know, I do not have any other Java applications running. David -- View this message in context: http://mailinglists.scilab.org/SciNotes-5-4-1-crashes-on-any-file-action-Win7-64-bit-tp4026913p4026938.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From vogt at centre-cired.fr Tue Jul 2 11:44:35 2013 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Tue, 02 Jul 2013 11:44:35 +0200 Subject: [Scilab-users] jlatexmath color in xstring In-Reply-To: <51D19820.1000308@scilab-enterprises.com> References: <51D19038.7020303@centre-cired.fr> <51D19820.1000308@scilab-enterprises.com> Message-ID: <51D2A103.7090704@centre-cired.fr> It works. Thx On 01/07/2013 16:54, Calixte Denizet wrote: > Hi Adrien, > > Normally you shoud modify the color of a text entity with the > font_foreground property. But it is possible to bypass the color > defined in font_foreground in using the following syntax: > xstring(2020,75,"${\textcolor{0,70,120}{\text{Resource cost}}}$") // > just add { } around the LaTeX code > > Calixte > > On 01/07/2013 16:20, Adrien Vogt-Schilb wrote: >> Hi >> >> non of the following code: >> plot(2020,75) >> >> xstring(2020,75,"$\textcolor{0,70,120}{\text{Resource cost}}$") >> xstring(2020,75,"$\textcolor{Orange}{\text{Resource cost}}$") >> xstring(2020,75,"$\fgcolor{#00FF00}{Hello Wolrd} $") >> >> does not produce a color string >> >> How can I write a colored string in my plot? >> > > -- Adrien Vogt-Schilb (Cired) +33 (0) 1 43 94 73 83 From surenderkumar1987 at gmail.com Tue Jul 2 14:41:53 2013 From: surenderkumar1987 at gmail.com (surender_kumar) Date: Tue, 2 Jul 2013 05:41:53 -0700 (PDT) Subject: [Scilab-users] Needs help with surface plot & colormap In-Reply-To: <3B5FFC67498DFF49AE7271A584867D16F31DE930E4@301EX00100.sidel.com> References: <1370984532246-4026829.post@n3.nabble.com> <3B5FFC67498DFF49AE7271A584867D16F31DE930E4@301EX00100.sidel.com> Message-ID: <1372768913570-4026940.post@n3.nabble.com> Hello Dang, Christophe Thanks for the suggestion, although I had not solved my problem completley but your answer had clarify my concept of color-map to great extent. Can you provide a link where I can find the color corresponding to a specific element of colormap matrix. Like you said [001] is blue, [111] is white ... then what color [0.4 0.3 0.4] has? Actually I want to make the plot a bit nicer so I need to figure out the best color combination. One more question "Is there a way to reduce/remove the space between the two or more subplots". Really speaking I have three plots which I want to combine in one so that it looks like a single continuous plot. | Y-axis | | | | | | Plot##1 | Plot##2 | Plot##3 | | | |________________|_________________|________________ X-axis All are 3D plots. Thanks, Surender -- View this message in context: http://mailinglists.scilab.org/Needs-help-with-surface-plot-colormap-tp4026829p4026940.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Christophe.Dang at sidel.com Tue Jul 2 15:01:48 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Tue, 2 Jul 2013 15:01:48 +0200 Subject: [Scilab-users] Needs help with surface plot & colormap In-Reply-To: <1372768913570-4026940.post@n3.nabble.com> References: <1370984532246-4026829.post@n3.nabble.com> <3B5FFC67498DFF49AE7271A584867D16F31DE930E4@301EX00100.sidel.com> <1372768913570-4026940.post@n3.nabble.com> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F31E46172F@301EX00100.sidel.com> Hello, -----Message d'origine----- De la part de surender_kumar Envoy? : mardi 2 juillet 2013 14:42 > Can you provide a link where I can find the color corresponding to a > specific element of colormap matrix[...] > then what color [0.4 0.3 0.4] has? This is the usual RGB representation. You can download free softwares such as The Gimp or Inkscape and play with their colour spaces http://www.gimp.org/ http://www.inkscape.org/ Also have a look at http://en.wikipedia.org/wiki/List_of_colors juste divide the percentges by 100 to have the Scilab codes. > "Is there a way to reduce/remove the space between the two or more > subplots". Sorry, I don't understand your need. Maybe with a small example? Regards -- Christophe Dang Ngoc Chan Mechanical calculation engineer ______________________________________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ______________________________________________________________________ From surenderkumar1987 at gmail.com Tue Jul 2 18:22:39 2013 From: surenderkumar1987 at gmail.com (surender_kumar) Date: Tue, 2 Jul 2013 09:22:39 -0700 (PDT) Subject: [Scilab-users] Needs help with surface plot & colormap In-Reply-To: <3B5FFC67498DFF49AE7271A584867D16F31E46172F@301EX00100.sidel.com> References: <1370984532246-4026829.post@n3.nabble.com> <3B5FFC67498DFF49AE7271A584867D16F31DE930E4@301EX00100.sidel.com> <1372768913570-4026940.post@n3.nabble.com> <3B5FFC67498DFF49AE7271A584867D16F31E46172F@301EX00100.sidel.com> Message-ID: <1372782159064-4026942.post@n3.nabble.com> // using a (1x2)subplot matrix // it divides the whole plot in two halves // first half of plot // subplot(121) x=linspace(0,%pi,100); plot(sin(x)); // // second half of plot subplot(122) y=linspace(%pi,2*%pi,100); plot(sin(y)); // // there is an intervening space between two subplots (along x-axis), now // I want to remove this intervening space so that the final plot looks like // the following //z=linspace(0,2*%pi,200); //plot(sin(z)); // // in my case the x-value are like // plot##1 // x goes from -1.0 to 2.0 // plot ##2 // x goes from 0.5 to 1.0 // plot##3 // x goes from 1.0 to 4.0 // // y goes from 20 to 100 for ALL plots // // And I want to z=f(x,y) data such that // y goes like 20, ....., 100 // x goes like -1.0, .... ,2.0 , 0.5, .... ,1.0, ....., 4.0 // //------------------------------------------ # Same example using GNUPLOT set multiplot set tics nomirror set yrange [-1:1] ######## FOR FIRST PLOT ######## set key top right set xtics 0,45,135 set origin 0,0 set size 0.5,1.0 set bmargin 2 set lmargin 5 set rmargin 0 set tmargin 1 set xrange [0:180] plot sin(x*(pi/180.0)) t "sin(x)" w l lt 2 lw 2 ######### FOR SECOND PLOT ######### set key center top set format y "" set noytics set xtics 180,45,315 set origin 0.5,0 set size 0.5,1.0 set bmargin 2 set lmargin 0 set rmargin 1 set tmargin 1 set xrange [180:360] plot sin(x*(pi/180.0)) t "sin(x)" w l lt 3 lw 2 unset multiplot pause -1 "Press any key to continue" -- View this message in context: http://mailinglists.scilab.org/Needs-help-with-surface-plot-colormap-tp4026829p4026942.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Christophe.Dang at sidel.com Tue Jul 2 18:45:56 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Tue, 2 Jul 2013 18:45:56 +0200 Subject: [Scilab-users] Needs help with surface plot & colormap In-Reply-To: <1372782159064-4026942.post@n3.nabble.com> References: <1370984532246-4026829.post@n3.nabble.com> <3B5FFC67498DFF49AE7271A584867D16F31DE930E4@301EX00100.sidel.com> <1372768913570-4026940.post@n3.nabble.com> <3B5FFC67498DFF49AE7271A584867D16F31E46172F@301EX00100.sidel.com> <1372782159064-4026942.post@n3.nabble.com> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F31E461B6E@301EX00100.sidel.com> Hello, -----Message d'origine----- De la part de surender_kumar Envoy? : mardi 2 juillet 2013 18:23 > [...] > subplot(121) > x=linspace(0,%pi,100); > plot(sin(x)); OK. Can I suggest you to merge the data? For a 2d drawing, it is quite easy. Considering row vectors: // ********** x = [x1, x2]; y = [y1, y2]; plot(x, y) // ********** It is more difficult for 3d drawing, depending on the structure of the data. If x1, y1 and z1 are m1*n1 matrices, x2, y2, z2 are m2*n2 matrices then if n2 = n1, you can just do x = [x1 x2] ; y = [y1 y2] ; z = [z1 ; z2] if n1 and n2 are different, you might have to complete the smallest matrices with %nan. e.g. // ********** x1 = [1 2 3 ; 1 2 3] ; y1 = [1 1 1 ; 2 2 2] z1 = rand(x1); x2 = [4 5 6 ; 7 8 9] ; y2 = y1 ; z2=rand(x2) ; x = [x1 x2] ; y = [y1 y2] ; z = [z1 z2] ; plot3d2(x, y, z) // ********** Hope this helps -- Christophe Dang Ngoc Chan Mechanical calculation engineer ______________________________________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ______________________________________________________________________ From Serge.Steer at inria.fr Tue Jul 2 22:01:54 2013 From: Serge.Steer at inria.fr (Serge Steer) Date: Tue, 02 Jul 2013 22:01:54 +0200 Subject: [Scilab-users] Needs help with surface plot & colormap In-Reply-To: <1372768913570-4026940.post@n3.nabble.com> References: <1370984532246-4026829.post@n3.nabble.com> <3B5FFC67498DFF49AE7271A584867D16F31DE930E4@301EX00100.sidel.com> <1372768913570-4026940.post@n3.nabble.com> Message-ID: <51D331B2.8090000@inria.fr> Le 02/07/2013 14:41, surender_kumar a ?crit : > Hello Dang, Christophe > > Thanks for the suggestion, although I had not solved my problem completley > but your answer had clarify my concept of > color-map to great extent. Can you provide a link where I can find the color > corresponding to a specific element of colormap > matrix. Like you said [001] is blue, [111] is white ... then what color > [0.4 0.3 0.4] has? Actually I want to make the plot > a bit nicer so I need to figure out the best color combination. The rgb2name function can give you (if it exists) the color name of a color defined by its RGB components see also the color_list help file > One more question "Is there a way to reduce/remove the space between the two > or more subplots". Really speaking I > have three plots which I want to combine in one so that it looks like a > single continuous plot. > > | Y-axis | | > | | | > | Plot##1 | Plot##2 | Plot##3 > | | | > |________________|_________________|________________ > > X-axis > All are 3D plots. for each axes you can change the axes.margins values > Thanks, > Surender > > > > -- > View this message in context: http://mailinglists.scilab.org/Needs-help-with-surface-plot-colormap-tp4026829p4026940.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From surenderkumar1987 at gmail.com Wed Jul 3 09:39:49 2013 From: surenderkumar1987 at gmail.com (surender_kumar) Date: Wed, 3 Jul 2013 00:39:49 -0700 (PDT) Subject: [Scilab-users] Needs help with surface plot & colormap In-Reply-To: <3B5FFC67498DFF49AE7271A584867D16F31E461B6E@301EX00100.sidel.com> References: <1370984532246-4026829.post@n3.nabble.com> <3B5FFC67498DFF49AE7271A584867D16F31DE930E4@301EX00100.sidel.com> <1372768913570-4026940.post@n3.nabble.com> <3B5FFC67498DFF49AE7271A584867D16F31E46172F@301EX00100.sidel.com> <1372782159064-4026942.post@n3.nabble.com> <3B5FFC67498DFF49AE7271A584867D16F31E461B6E@301EX00100.sidel.com> Message-ID: <1372837189417-4026948.post@n3.nabble.com> Hi, May be I am not very good in phrasing the question. Here is a link to similar question asked on scilab forum http://mailinglists.scilab.org/Multiple-plots-above-each-other-with-common-x-axis-td2617268.html The differences are (1) It's for vertical spacing between subplots (2) and the plots are 2D. I hope now you know what I am asking. Thanks for helping a beginner like me. Surender -- View this message in context: http://mailinglists.scilab.org/Needs-help-with-surface-plot-colormap-tp4026829p4026948.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From surenderkumar1987 at gmail.com Wed Jul 3 09:42:50 2013 From: surenderkumar1987 at gmail.com (surender_kumar) Date: Wed, 3 Jul 2013 00:42:50 -0700 (PDT) Subject: [Scilab-users] Needs help with surface plot & colormap In-Reply-To: <51D331B2.8090000@inria.fr> References: <1370984532246-4026829.post@n3.nabble.com> <3B5FFC67498DFF49AE7271A584867D16F31DE930E4@301EX00100.sidel.com> <1372768913570-4026940.post@n3.nabble.com> <51D331B2.8090000@inria.fr> Message-ID: <1372837370810-4026949.post@n3.nabble.com> Hi Serge Steer, May be it's relevant to my question, can you provide a sample script. Thanks, Surender -- View this message in context: http://mailinglists.scilab.org/Needs-help-with-surface-plot-colormap-tp4026829p4026949.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Serge.Steer at inria.fr Wed Jul 3 12:09:15 2013 From: Serge.Steer at inria.fr (Serge Steer) Date: Wed, 03 Jul 2013 12:09:15 +0200 Subject: [Scilab-users] Needs help with surface plot & colormap In-Reply-To: <1372837370810-4026949.post@n3.nabble.com> References: <1370984532246-4026829.post@n3.nabble.com> <3B5FFC67498DFF49AE7271A584867D16F31DE930E4@301EX00100.sidel.com> <1372768913570-4026940.post@n3.nabble.com> <51D331B2.8090000@inria.fr> <1372837370810-4026949.post@n3.nabble.com> Message-ID: <51D3F84B.6090207@inria.fr> Le 03/07/2013 09:42, surender_kumar a ?crit : > Hi Serge Steer, > > May be it's relevant to my question, can you provide a sample script. > > Thanks, > Surender > > > > -- > View this message in context: http://mailinglists.scilab.org/Needs-help-with-surface-plot-colormap-tp4026829p4026949.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > Here is an example subplot(121) ax1=gca(); x=linspace(0,%pi,100); plot(sin(x)); ax1.margins(2)=0; //set first axes right margin to 0 // // second half of plot subplot(122) ax2=gca(); y=linspace(%pi,2*%pi,100); plot(sin(y)); ax2.margins(1)=0; //set second axes left margin to 0 ax2.axes_visible(2)="off";//hide labels ans tics of y axis From dtate at ida.org Wed Jul 3 15:30:53 2013 From: dtate at ida.org (David Tate) Date: Wed, 3 Jul 2013 06:30:53 -0700 (PDT) Subject: [Scilab-users] SciNotes 5.4.1 crashes on any file action (Win7 64 bit) In-Reply-To: <1372696719368-4026938.post@n3.nabble.com> References: <1372435758802-4026913.post@n3.nabble.com> <1372687380998-4026929.post@n3.nabble.com> <51D19588.4070005@scilab-enterprises.com> <1372690632105-4026933.post@n3.nabble.com> <51D19F8E.6040900@scilab-enterprises.com> <1372695038214-4026936.post@n3.nabble.com> <51D1AD5C.7030308@scilab-enterprises.com> <1372696719368-4026938.post@n3.nabble.com> Message-ID: <1372858253463-4026951.post@n3.nabble.com> More data: I can successfully create and save a data file from the console using the save() command. I can save variable values to a new file and retrieve them using the load() command. However, if I select "Open a file..." from the console File menu, or "Save" or "Save As" from the SciNotes file menu, everything crashes. If I select "Working directories..." -> "Add a directory", it crashes. This might be relevant: under the File menu in SciNotes, there are items "Open file in..." and "Save file in...". These are supposed to be hierarchical menus (with a little right arrow), but when I hover on them they do not expand. Does that help pinpoint the problem? David -- View this message in context: http://mailinglists.scilab.org/SciNotes-5-4-1-crashes-on-any-file-action-Win7-64-bit-tp4026913p4026951.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From calixte.denizet at scilab-enterprises.com Wed Jul 3 15:35:06 2013 From: calixte.denizet at scilab-enterprises.com (Calixte Denizet) Date: Wed, 03 Jul 2013 15:35:06 +0200 Subject: [Scilab-users] SciNotes 5.4.1 crashes on any file action (Win7 64 bit) In-Reply-To: <1372858253463-4026951.post@n3.nabble.com> References: <1372435758802-4026913.post@n3.nabble.com> <1372687380998-4026929.post@n3.nabble.com> <51D19588.4070005@scilab-enterprises.com> <1372690632105-4026933.post@n3.nabble.com> <51D19F8E.6040900@scilab-enterprises.com> <1372695038214-4026936.post@n3.nabble.com> <51D1AD5C.7030308@scilab-enterprises.com> <1372696719368-4026938.post@n3.nabble.com> <1372858253463-4026951.post@n3.nabble.com> Message-ID: <51D4288A.1090800@scilab-enterprises.com> On 03/07/2013 15:30, David Tate wrote: > More data: > > I can successfully create and save a data file from the console using the > save() command. I can save variable values to a new file and retrieve them > using the load() command. However, if I select "Open a file..." from the > console File menu, or "Save" or "Save As" from the SciNotes file menu, > everything crashes. If I select "Working directories..." -> "Add a > directory", it crashes. > > This might be relevant: under the File menu in SciNotes, there are items > "Open file in..." and "Save file in...". These are supposed to be > hierarchical menus (with a little right arrow), but when I hover on them > they do not expand. > > Does that help pinpoint the problem? HI David, unfortunatelly that does not help me to understand your problem. I don't understand why log4cxx is here... and the logger class name (ConfigRepository) doesn't help me too... In using web search engine, I found that a class with this name exists in Websphere but you said that no other Java apps were running on your system. So for now I'm thinking about the bug, but I have absolutely no idea. For your information, save(), load() commands are not plugged to a JFileChooser. In my mind it's a pure Java problem... this why I need to have a backtrace. Calixte > David > > > > -- > View this message in context: http://mailinglists.scilab.org/SciNotes-5-4-1-crashes-on-any-file-action-Win7-64-bit-tp4026913p4026951.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Calixte Denizet Software Development Engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France http://www.scilab-enterprises.com From dtate at ida.org Wed Jul 3 16:00:42 2013 From: dtate at ida.org (David Tate) Date: Wed, 3 Jul 2013 07:00:42 -0700 (PDT) Subject: [Scilab-users] SciNotes 5.4.1 crashes on any file action (Win7 64 bit) In-Reply-To: <51D4288A.1090800@scilab-enterprises.com> References: <1372687380998-4026929.post@n3.nabble.com> <51D19588.4070005@scilab-enterprises.com> <1372690632105-4026933.post@n3.nabble.com> <51D19F8E.6040900@scilab-enterprises.com> <1372695038214-4026936.post@n3.nabble.com> <51D1AD5C.7030308@scilab-enterprises.com> <1372696719368-4026938.post@n3.nabble.com> <1372858253463-4026951.post@n3.nabble.com> <51D4288A.1090800@scilab-enterprises.com> Message-ID: <1372860042875-4026954.post@n3.nabble.com> Calixte DENIZET wrote > In using web search engine, I found that a class with this name exists in > Websphere but you said that > no other Java apps were running on your system. It occurs to me that I'm not positive that I know how to be certain whether any other Java apps are running. Is there a diagnostic I can run? David -- View this message in context: http://mailinglists.scilab.org/SciNotes-5-4-1-crashes-on-any-file-action-Win7-64-bit-tp4026913p4026954.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From kanchan.masade at gmail.com Thu Jul 4 17:02:54 2013 From: kanchan.masade at gmail.com (kanchan Masade) Date: Thu, 4 Jul 2013 20:32:54 +0530 Subject: [Scilab-users] Plotting interference between WiFi and Bluetooth Message-ID: Hello All, I am very new to Scilab and Matlab. As a university project, I need to simulate interference between WiFi and Bluetooth. I wanted to know, is it possible to do something like this in Scilab? If it is possible can any one please point me to URLs which will help me in accomplishing the project. Please let me know what kind of packages would I need to learn. Thanks a lot for all the help. Thanks and Warm Regards, Kanchan -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christophe.Dang at sidel.com Thu Jul 4 17:14:16 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Thu, 4 Jul 2013 17:14:16 +0200 Subject: [Scilab-users] Plotting interference between WiFi and Bluetooth In-Reply-To: References: Message-ID: <3B5FFC67498DFF49AE7271A584867D16F31E514E4E@301EX00100.sidel.com> Hello, De la part de kanchan Masade Envoy? : jeudi 4 juillet 2013 17:03 > I need to simulate interference between WiFi and Bluetooth. > I wanted to know, is it possible to do something like this in Scilab? You've got several toolboxes (Atoms modules) concerning signal procesing http://atoms.scilab.org/categories/signal_processing Hope you'll find what you need. Regards. -- Christophe Dang Ngoc Chan Mechanical calculation engineer ______________________________________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ______________________________________________________________________ From kanchan.masade at gmail.com Thu Jul 4 17:25:48 2013 From: kanchan.masade at gmail.com (kanchan Masade) Date: Thu, 4 Jul 2013 20:55:48 +0530 Subject: [Scilab-users] Plotting interference between WiFi and Bluetooth In-Reply-To: <3B5FFC67498DFF49AE7271A584867D16F31E514E4E@301EX00100.sidel.com> References: <3B5FFC67498DFF49AE7271A584867D16F31E514E4E@301EX00100.sidel.com> Message-ID: On Thu, Jul 4, 2013 at 8:44 PM, Dang, Christophe wrote: > Hello, > > De la part de kanchan Masade > Envoy? : jeudi 4 juillet 2013 17:03 > > > I need to simulate interference between WiFi and Bluetooth. > > I wanted to know, is it possible to do something like this in Scilab? > > You've got several toolboxes (Atoms modules) concerning signal procesing > > http://atoms.scilab.org/categories/signal_processing > > Hope you'll find what you need. > Thanks for your reply. I will have a look at Atoms Modules. Regards, Kanchan > > Regards. > > -- > Christophe Dang Ngoc Chan > Mechanical calculation engineer > > ______________________________________________________________________ > > This e-mail may contain confidential and/or privileged information. If you > are not the intended recipient (or have received this e-mail in error), > please notify the sender immediately and destroy this e-mail. Any > unauthorized copying, disclosure or distribution of the material in this > e-mail is strictly forbidden. > ______________________________________________________________________ > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Serge.Steer at inria.fr Thu Jul 4 21:06:52 2013 From: Serge.Steer at inria.fr (Serge Steer) Date: Thu, 04 Jul 2013 21:06:52 +0200 Subject: [Scilab-users] Plotting interference between WiFi and Bluetooth In-Reply-To: References: Message-ID: <51D5C7CC.8070903@inria.fr> What do you mean by "simulate interference" Do you want to compute electromagetic wave combinaison at given points of the space? Serge Steer Le 04/07/2013 17:02, kanchan Masade a ?crit : > Hello All, > > I am very new to Scilab and Matlab. > > As a university project, I need to simulate interference between WiFi > and Bluetooth. I wanted to know, is it possible to do something like > this in Scilab? If it is possible can any one please point me to URLs > which will help me in accomplishing the project. Please let me know > what kind of packages would I need to learn. > > Thanks a lot for all the help. > > Thanks and Warm Regards, > Kanchan > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From surenderkumar1987 at gmail.com Thu Jul 4 23:28:47 2013 From: surenderkumar1987 at gmail.com (surender_kumar) Date: Thu, 4 Jul 2013 14:28:47 -0700 (PDT) Subject: [Scilab-users] Needs help with surface plot & colormap In-Reply-To: <51D3F84B.6090207@inria.fr> References: <1370984532246-4026829.post@n3.nabble.com> <3B5FFC67498DFF49AE7271A584867D16F31DE930E4@301EX00100.sidel.com> <1372768913570-4026940.post@n3.nabble.com> <51D331B2.8090000@inria.fr> <1372837370810-4026949.post@n3.nabble.com> <51D3F84B.6090207@inria.fr> Message-ID: <1372973327123-4026970.post@n3.nabble.com> Thanks Serge Steer It works like a charm !!! -- View this message in context: http://mailinglists.scilab.org/Needs-help-with-surface-plot-colormap-tp4026829p4026970.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From kanchan.masade at gmail.com Fri Jul 5 09:42:10 2013 From: kanchan.masade at gmail.com (kanchan Masade) Date: Fri, 5 Jul 2013 13:12:10 +0530 Subject: [Scilab-users] Plotting interference between WiFi and Bluetooth In-Reply-To: <51D5C7CC.8070903@inria.fr> References: <51D5C7CC.8070903@inria.fr> Message-ID: On Fri, Jul 5, 2013 at 12:36 AM, Serge Steer wrote: > What do you mean by "simulate interference" > Do you want to compute electromagetic wave combinaison at given points of > the space? > Thanks for your reply. I want to plot Frequency interference between Wi-Fi and Bluetooth. Wi-Fi operate at frequency 2.4GHz and uses DSSS method for transmission. Please check http://en.wikipedia.org/wiki/Direct-sequence_spread_spectrum for more details on DSSS. Similar to WiFi bluetooth also operates at 2.4 GHz. Unlike WiFi however, bluetooth does not select a single communication channel. It selects a random frequency between range 2.4 - 2.48 GHz. Basically it uses Frequency Hopping https://en.wikipedia.org/wiki/Frequency-hopping_spread_spectrum. Since both of these communication technologies use the same frequency range. Therefore, if both of them are used together they might choose to use same frequency and collide. I want to plot a possible interference. Along with interference, I would also like to simulate the possible interference if it is possible. Hope I clarified the doubt. Regards, Kanchan > Serge Steer > Le 04/07/2013 17:02, kanchan Masade a ?crit : > > Hello All, > > I am very new to Scilab and Matlab. > > As a university project, I need to simulate interference between WiFi and > Bluetooth. I wanted to know, is it possible to do something like this in > Scilab? If it is possible can any one please point me to URLs which will > help me in accomplishing the project. Please let me know what kind of > packages would I need to learn. > > Thanks a lot for all the help. > > Thanks and Warm Regards, > Kanchan > > > _______________________________________________ > users mailing listusers at lists.scilab.orghttp://lists.scilab.org/mailman/listinfo/users > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From charlesmarchetti at yahoo.com Fri Jul 5 16:15:02 2013 From: charlesmarchetti at yahoo.com (charles marchetti) Date: Fri, 5 Jul 2013 15:15:02 +0100 (BST) Subject: [Scilab-users] error or not Message-ID: <1373033702.4298.YahooMailNeo@web171405.mail.ir2.yahoo.com> Hi When I try the function classmarkov , It doesnot work. I get the error message: the function mat_2_graph doesn t exist. ?Is it error from the programm or about the download of all subroutines... Sincerely yours -------------- next part -------------- An HTML attachment was scrubbed... URL: From Serge.Steer at inria.fr Fri Jul 5 17:36:04 2013 From: Serge.Steer at inria.fr (Serge Steer) Date: Fri, 05 Jul 2013 17:36:04 +0200 Subject: [Scilab-users] error or not In-Reply-To: <1373033702.4298.YahooMailNeo@web171405.mail.ir2.yahoo.com> References: <1373033702.4298.YahooMailNeo@web171405.mail.ir2.yahoo.com> Message-ID: <51D6E7E4.6020104@inria.fr> Le 05/07/2013 16:15, charles marchetti a ?crit : > > Hi > When I try the function classmarkov , It doesnot work. I get the error > message: > the function mat_2_graph doesn t exist. mat_2_graph is a part of the Metanet module (can be loaded with Atoms) > Is it error from the programm or about the download of all subroutines... > Sincerely yours > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From Serge.Steer at inria.fr Fri Jul 5 17:40:31 2013 From: Serge.Steer at inria.fr (Serge Steer) Date: Fri, 05 Jul 2013 17:40:31 +0200 Subject: [Scilab-users] Plotting interference between WiFi and Bluetooth In-Reply-To: References: <51D5C7CC.8070903@inria.fr> Message-ID: <51D6E8EF.60202@inria.fr> I am still not sure to really understand your problem Do you want to be able to contruct the effect of two spherical (stationnary?) waves at a given points of the 3D space? Serge Steer Le 05/07/2013 09:42, kanchan Masade a ?crit : > On Fri, Jul 5, 2013 at 12:36 AM, Serge Steer > wrote: > > What do you mean by "simulate interference" > Do you want to compute electromagetic wave combinaison at given > points of the space? > > > Thanks for your reply. > I want to plot Frequency interference between Wi-Fi and Bluetooth. > > Wi-Fi operate at frequency 2.4GHz and uses DSSS method for > transmission. Please check > http://en.wikipedia.org/wiki/Direct-sequence_spread_spectrum for more > details on DSSS. > > > Similar to WiFi bluetooth also operates at 2.4 GHz. Unlike WiFi > however, bluetooth does not select a single communication channel. It > selects a random frequency between range 2.4 - 2.48 GHz. Basically it > uses Frequency Hopping > https://en.wikipedia.org/wiki/Frequency-hopping_spread_spectrum. > > > Since both of these communication technologies use the same frequency > range. Therefore, if both of them are used together they might choose > to use same frequency and collide. I want to plot a possible > interference. Along with interference, I would also like to simulate > the possible interference if it is possible. > > Hope I clarified the doubt. > > Regards, > Kanchan > > > > Serge Steer > Le 04/07/2013 17:02, kanchan Masade a ?crit : >> Hello All, >> >> I am very new to Scilab and Matlab. >> >> As a university project, I need to simulate interference between >> WiFi and Bluetooth. I wanted to know, is it possible to do >> something like this in Scilab? If it is possible can any one >> please point me to URLs which will help me in accomplishing the >> project. Please let me know what kind of packages would I need to >> learn. >> >> Thanks a lot for all the help. >> >> Thanks and Warm Regards, >> Kanchan >> >> >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From chuox.bece at gmail.com Fri Jul 5 20:45:17 2013 From: chuox.bece at gmail.com (Chuox) Date: Fri, 5 Jul 2013 11:45:17 -0700 (PDT) Subject: [Scilab-users] Integrating SciLab and EPANET (.dll written in C/C++) Message-ID: <1373049917375-4026977.post@n3.nabble.com> Hi im trying to integrate EPANET and SciLab, i all ready do it in MATLAB, (i actually din't do it Demetrios Eliades i'm going to show how i succesfull did it in MATLAB, and then how i'm trying to do it in SciLab. In MATLAB >> loadlibrary('epanet2', 'epanet2.h') >> [errorcode] = calllib('epanet2', 'ENopen', 'Net1.inp', 'temp1.$$$', >> 'temp2.$$$') errorcode = 0 >> index=1; diam=0; [error,diam] =calllib('epanet2', 'ENgetlinkvalue', index, 0, diam) error = 0 diam = 18 End Working in MATLAB In SciLab -->link("C:\Users\Alfredo\Google Drive\Tesis\SciLab\epanet2.dll","ENopen","c") Shared archive loaded. Link done. ans = 0. -->c_link("ENopen") ans = T -->call("ENopen","C:\Users\Alfredo\Google Drive\Tesis\SciLab\Net1.inp","temp1.$$$","temp2.$$$") Warning !!! Scilab has found a critical error (EXCEPTION_ACCESS_VIOLATION) with "call" function. Save your data and restart Scilab. ans = temp2.$$$ Warning: stack problem..., cleared. En working in SciLab I think in not using very well the call function, any help will be apreciated, thanks. -- View this message in context: http://mailinglists.scilab.org/Integrating-SciLab-and-EPANET-dll-written-in-C-C-tp4026977.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From antoine.monmayrant at laas.fr Mon Jul 8 08:48:49 2013 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Mon, 08 Jul 2013 08:48:49 +0200 Subject: [Scilab-users] Integrating SciLab and EPANET (.dll written in C/C++) In-Reply-To: <1373049917375-4026977.post@n3.nabble.com> References: <1373049917375-4026977.post@n3.nabble.com> Message-ID: <51DA60D1.3040800@laas.fr> On 05/07/2013 20:45, Chuox wrote: > Hi im trying to integrate EPANET and SciLab, i all ready do it in MATLAB, (i > actually din't do it Demetrios Eliades > i'm > going to show how i succesfull did it in MATLAB, and then how i'm trying to > do it in SciLab. > > In MATLAB Hi, It does seem that you are not using "call" properly. Have a look at the examples in Scilab Help >> Link dynamique/incremental > call You basically need to know and tell "call", for each input argument: - its position in the function call: ret=function(a,b,c): a: position 1, b: position 2,c: position 3. - its type and dimension. You also have to do the same for the output argument. If you give us the prototype of the C function you are trying to call, we might try to get the right call sequence. Cheers, Antoine > > > >>> loadlibrary('epanet2', 'epanet2.h') >>> [errorcode] = calllib('epanet2', 'ENopen', 'Net1.inp', 'temp1.$$$', >>> 'temp2.$$$') > errorcode = > > 0 > >>> index=1; > diam=0; > [error,diam] =calllib('epanet2', 'ENgetlinkvalue', index, 0, diam) > > error = > > 0 > > > diam = > > 18 > > End Working in MATLAB > > > In SciLab > > > -->link("C:\Users\Alfredo\Google > Drive\Tesis\SciLab\epanet2.dll","ENopen","c") > Shared archive loaded. > Link done. > ans = > > 0. > > -->c_link("ENopen") > ans = > > T > > -->call("ENopen","C:\Users\Alfredo\Google > Drive\Tesis\SciLab\Net1.inp","temp1.$$$","temp2.$$$") > Warning !!! > Scilab has found a critical error (EXCEPTION_ACCESS_VIOLATION) > with "call" function. > Save your data and restart Scilab. > ans = > > temp2.$$$ > > Warning: stack problem..., cleared. > > En working in SciLab > > > I think in not using very well the call function, any help will be > apreciated, thanks. > > > > -- > View this message in context: http://mailinglists.scilab.org/Integrating-SciLab-and-EPANET-dll-written-in-C-C-tp4026977.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- +++++++++++++++++++++++++++++++++++++++++++++++++++++++ Antoine Monmayrant LAAS - CNRS 7 avenue du Colonel Roche BP 54200 31031 TOULOUSE Cedex 4 FRANCE Tel:+33 5 61 33 64 59 email : antoine.monmayrant at laas.fr permanent email : antoine.monmayrant at polytechnique.org +++++++++++++++++++++++++++++++++++++++++++++++++++++++ From sandro.hardy at kom.tu-darmstadt.de Wed Jul 10 20:24:19 2013 From: sandro.hardy at kom.tu-darmstadt.de (Sandro Hardy) Date: Wed, 10 Jul 2013 20:24:19 +0200 Subject: [Scilab-users] uicontrol, callbacks, handle not valid anymore Message-ID: <51DDA6D3.6010203@kom.tu-darmstadt.de> Hello everybody, I am trying to create a GUI to scroll trough a signal using a slider. I always get a "Handle not valid anymore", looking as shown below. Is this a bug in Scilab? Using the arrows works fine, but dragging the slider with the mouse produces the error. Maybe it is a timing/scheduling problem in Scilab. Please find example code below, if you like to reproduce this. I would be happy about any hint. Best wishes Sandro ------------------------------------------ !--error 999 set: diese Handhabung ist nicht mehr g?ltig. at line 4 of function generic_i_h called by : at line 2 of function %s_i_h called by : at line 381 of function plot called by : at line 7 of function slider_update called by : df0:13fc997f6bd:-2f41");slider_update;if exists( while executing a callback at line 352 of function plot called by : at line 7 of function slider_update called by : df0:13fc997f6bd:-2f41");slider_update;if exists( while executing a callback at line 2 of function %h_e called by : at line 33 of function findobj called by : at line 2 of function slider_update called by : df0:13fc997f6bd:-2f41");slider_update;if exists( while executing a callback ------------------------------------ clear clearglobal maxv=1000; x=1:0.1:maxv; y=sin(x); function slider_update() slider=findobj('Tag', 'plot_slider') start=round(slider.Value*0.9); r=start:start+100; scf(plotfr) clf(plotfr) plot(x(r),y(r)); endfunction // Create a figure f = figure("Figure_name", 'Uicontrols Slider',... "Position",[100 100 510 510],... "BackgroundColor",[0.9 0.9 0.9],... "Tag", "uicontrols_demo_figure"); // Frame containing a slider plotfr = figure("Figure_name", 'Uicontrols Plot',... "Position",[100 100 510 510],... "BackgroundColor",[0.9 0.9 0.9],... "Tag", "uicontrols_demo_figure2"); slider = uicontrol(f, "Position", [20 50 390 15], ... "Style", "slider", ... "Min", 0, ... "Max", 900, ... "Value", 0, ... "SliderStep", [10 100], ... "Tag", "plot_slider", ... "Callback", "slider_update"); -------------------------------------------------- -- Sandro Hardy, M.Sc. Multimedia Communications Lab (KOM) http://www.kom.tu-darmstadt.de Technische Universitaet Darmstadt Dept. of Electrical Engineering & Information Technology tel: +49 6151 16 75164 fax: +49 6151 16 6152 E-Mail: Sandro.Hardy at kom.tu-darmstadt.de postal address: TU Darmstadt, FB 18, KOM, Rundeturmstr. 10, S320/106 D-64283 Darmstadt, Germany From serge.steer at inria.fr Wed Jul 10 22:25:24 2013 From: serge.steer at inria.fr (Serge Steer) Date: Wed, 10 Jul 2013 22:25:24 +0200 (CEST) Subject: [Scilab-users] uicontrol, callbacks, handle not valid anymore In-Reply-To: <51DDA6D3.6010203@kom.tu-darmstadt.de> Message-ID: <1523094537.246044.1373487924500.JavaMail.root@inria.fr> It is not a Scilab problem. It is better to preserve the plotfr handle in the user_data gui, so even if plotfr is cleared it can be retreived. Moreover I had improved a little your code to makemove more smooth (avoid clf and udpdate the polyline and axes bounds Serge Steer ----- Mail original ----- > De: "Sandro Hardy" > ?: "International users mailing list for Scilab." > Envoy?: Mercredi 10 Juillet 2013 20:24:19 > Objet: [Scilab-users] uicontrol, callbacks, handle not valid anymore > > Hello everybody, > > I am trying to create a GUI to scroll trough a signal using a slider. > > I always get a "Handle not valid anymore", looking as shown below. Is > this a bug in Scilab? > > Using the arrows works fine, but dragging the slider with the mouse > produces the error. Maybe it is a timing/scheduling problem in > Scilab. > > Please find example code below, if you like to reproduce this. > > I would be happy about any hint. > Best wishes > Sandro > > > ------------------------------------------ > !--error 999 > set: diese Handhabung ist nicht mehr g?ltig. > at line 4 of function generic_i_h called by : > at line 2 of function %s_i_h called by : > at line 381 of function plot called by : > at line 7 of function slider_update called by : > df0:13fc997f6bd:-2f41");slider_update;if exists( > while executing a callback > at line 352 of function plot called by : > at line 7 of function slider_update called by : > df0:13fc997f6bd:-2f41");slider_update;if exists( > while executing a callback > at line 2 of function %h_e called by : > at line 33 of function findobj called by : > at line 2 of function slider_update called by : > df0:13fc997f6bd:-2f41");slider_update;if exists( > while executing a callback > > ------------------------------------ > clear > clearglobal > > maxv=1000; > x=1:0.1:maxv; > y=sin(x); > > function slider_update() > slider=findobj('Tag', 'plot_slider') > start=round(slider.Value*0.9); > r=start:start+100; > scf(plotfr) > clf(plotfr) > plot(x(r),y(r)); > endfunction > > // Create a figure > f = figure("Figure_name", 'Uicontrols Slider',... > "Position",[100 100 510 510],... > "BackgroundColor",[0.9 0.9 0.9],... > "Tag", "uicontrols_demo_figure"); > // Frame containing a slider > > plotfr = figure("Figure_name", 'Uicontrols Plot',... > "Position",[100 100 510 510],... > "BackgroundColor",[0.9 0.9 0.9],... > "Tag", "uicontrols_demo_figure2"); > > slider = uicontrol(f, "Position", [20 50 390 15], ... > "Style", "slider", ... > "Min", 0, ... > "Max", 900, ... > "Value", 0, ... > "SliderStep", [10 100], ... > "Tag", "plot_slider", ... > "Callback", "slider_update"); > -------------------------------------------------- > -- > Sandro Hardy, M.Sc. > > Multimedia Communications Lab (KOM) > http://www.kom.tu-darmstadt.de > Technische Universitaet Darmstadt > Dept. of Electrical Engineering & Information Technology > tel: +49 6151 16 75164 fax: +49 6151 16 6152 > E-Mail: Sandro.Hardy at kom.tu-darmstadt.de > postal address: TU Darmstadt, FB 18, KOM, Rundeturmstr. 10, S320/106 > D-64283 Darmstadt, Germany > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -------------- next part -------------- A non-text attachment was scrubbed... Name: gui.sce Type: application/octet-stream Size: 1236 bytes Desc: not available URL: From sandrohardy at web.de Thu Jul 11 14:08:31 2013 From: sandrohardy at web.de (Sandro Hardy) Date: Thu, 11 Jul 2013 14:08:31 +0200 Subject: [Scilab-users] uicontrol, callbacks, handle not valid anymore [SOLVED] In-Reply-To: <1523094537.246044.1373487924500.JavaMail.root@inria.fr> References: <1523094537.246044.1373487924500.JavaMail.root@inria.fr> Message-ID: <51DEA03F.2030508@web.de> Dear Serge, thank you very much for your suggestion and the improvement of the code. It works fine now. I just figured out that Scilab crashes, even with your code, if "Min", 0, and I move the mouse to the left very fast (something I do not understand, because it is not always the case and only if I move the mouse really fast) but I can avoid this just keeping it at 1. So thanks again Sandro Am 10.07.2013 22:25, schrieb Serge Steer: > It is not a Scilab problem. > It is better to preserve the plotfr handle in the user_data gui, so even if plotfr is cleared > it can be retreived. > > Moreover I had improved a little your code to makemove more smooth (avoid clf and udpdate the polyline and axes bounds > > Serge Steer > > ----- Mail original ----- >> De: "Sandro Hardy" >> ?: "International users mailing list for Scilab." >> Envoy?: Mercredi 10 Juillet 2013 20:24:19 >> Objet: [Scilab-users] uicontrol, callbacks, handle not valid anymore >> >> Hello everybody, >> >> I am trying to create a GUI to scroll trough a signal using a slider. >> >> I always get a "Handle not valid anymore", looking as shown below. Is >> this a bug in Scilab? >> >> Using the arrows works fine, but dragging the slider with the mouse >> produces the error. Maybe it is a timing/scheduling problem in >> Scilab. >> >> Please find example code below, if you like to reproduce this. >> >> I would be happy about any hint. >> Best wishes >> Sandro >> >> >> ------------------------------------------ >> !--error 999 >> set: diese Handhabung ist nicht mehr g?ltig. >> at line 4 of function generic_i_h called by : >> at line 2 of function %s_i_h called by : >> at line 381 of function plot called by : >> at line 7 of function slider_update called by : >> df0:13fc997f6bd:-2f41");slider_update;if exists( >> while executing a callback >> at line 352 of function plot called by : >> at line 7 of function slider_update called by : >> df0:13fc997f6bd:-2f41");slider_update;if exists( >> while executing a callback >> at line 2 of function %h_e called by : >> at line 33 of function findobj called by : >> at line 2 of function slider_update called by : >> df0:13fc997f6bd:-2f41");slider_update;if exists( >> while executing a callback >> >> ------------------------------------ >> clear >> clearglobal >> >> maxv=1000; >> x=1:0.1:maxv; >> y=sin(x); >> >> function slider_update() >> slider=findobj('Tag', 'plot_slider') >> start=round(slider.Value*0.9); >> r=start:start+100; >> scf(plotfr) >> clf(plotfr) >> plot(x(r),y(r)); >> endfunction >> >> // Create a figure >> f = figure("Figure_name", 'Uicontrols Slider',... >> "Position",[100 100 510 510],... >> "BackgroundColor",[0.9 0.9 0.9],... >> "Tag", "uicontrols_demo_figure"); >> // Frame containing a slider >> >> plotfr = figure("Figure_name", 'Uicontrols Plot',... >> "Position",[100 100 510 510],... >> "BackgroundColor",[0.9 0.9 0.9],... >> "Tag", "uicontrols_demo_figure2"); >> >> slider = uicontrol(f, "Position", [20 50 390 15], ... >> "Style", "slider", ... >> "Min", 0, ... >> "Max", 900, ... >> "Value", 0, ... >> "SliderStep", [10 100], ... >> "Tag", "plot_slider", ... >> "Callback", "slider_update"); >> -------------------------------------------------- >> -- >> Sandro Hardy, M.Sc. >> >> Multimedia Communications Lab (KOM) >> http://www.kom.tu-darmstadt.de >> Technische Universitaet Darmstadt >> Dept. of Electrical Engineering & Information Technology >> tel: +49 6151 16 75164 fax: +49 6151 16 6152 >> E-Mail: Sandro.Hardy at kom.tu-darmstadt.de >> postal address: TU Darmstadt, FB 18, KOM, Rundeturmstr. 10, S320/106 >> D-64283 Darmstadt, Germany >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users >> >> >> >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users From antoine.monmayrant at laas.fr Thu Jul 11 14:37:49 2013 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Thu, 11 Jul 2013 14:37:49 +0200 Subject: [Scilab-users] uicontrol, callbacks, handle not valid anymore [SOLVED] In-Reply-To: <51DEA03F.2030508@web.de> References: <1523094537.246044.1373487924500.JavaMail.root@inria.fr> <51DEA03F.2030508@web.de> Message-ID: <51DEA71D.6030602@laas.fr> On 11/07/2013 14:08, Sandro Hardy wrote: > Dear Serge, > > thank you very much for your suggestion and the improvement of the > code. It works fine now. > > I just figured out that Scilab crashes, even with your code, if "Min", > 0, and I move the mouse to the left very fast (something I do not > understand, because it is not always the case and only if I move the > mouse really fast) but I can avoid this just keeping it at 1. I just played a bit with your code and also experienced a crash (segfault or recurrence problem). This definitely is a bug: sure there is something wrong in your code (trying to access y(start) with start=0), but this should just result in an error message, and not crash scilab. You should probably fill a bug report with your code as a test case. Cheers, Antoine > > So thanks again > Sandro > > Am 10.07.2013 22:25, schrieb Serge Steer: >> It is not a Scilab problem. >> It is better to preserve the plotfr handle in the user_data gui, so >> even if plotfr is cleared >> it can be retreived. >> >> Moreover I had improved a little your code to makemove more smooth >> (avoid clf and udpdate the polyline and axes bounds >> >> Serge Steer >> >> ----- Mail original ----- >>> De: "Sandro Hardy" >>> ?: "International users mailing list for Scilab." >>> >>> Envoy?: Mercredi 10 Juillet 2013 20:24:19 >>> Objet: [Scilab-users] uicontrol, callbacks, handle not valid anymore >>> >>> Hello everybody, >>> >>> I am trying to create a GUI to scroll trough a signal using a slider. >>> >>> I always get a "Handle not valid anymore", looking as shown below. Is >>> this a bug in Scilab? >>> >>> Using the arrows works fine, but dragging the slider with the mouse >>> produces the error. Maybe it is a timing/scheduling problem in >>> Scilab. >>> >>> Please find example code below, if you like to reproduce this. >>> >>> I would be happy about any hint. >>> Best wishes >>> Sandro >>> >>> >>> ------------------------------------------ >>> !--error 999 >>> set: diese Handhabung ist nicht mehr g?ltig. >>> at line 4 of function generic_i_h called by : >>> at line 2 of function %s_i_h called by : >>> at line 381 of function plot called by : >>> at line 7 of function slider_update called by : >>> df0:13fc997f6bd:-2f41");slider_update;if exists( >>> while executing a callback >>> at line 352 of function plot called by : >>> at line 7 of function slider_update called by : >>> df0:13fc997f6bd:-2f41");slider_update;if exists( >>> while executing a callback >>> at line 2 of function %h_e called by : >>> at line 33 of function findobj called by : >>> at line 2 of function slider_update called by : >>> df0:13fc997f6bd:-2f41");slider_update;if exists( >>> while executing a callback >>> >>> ------------------------------------ >>> clear >>> clearglobal >>> >>> maxv=1000; >>> x=1:0.1:maxv; >>> y=sin(x); >>> >>> function slider_update() >>> slider=findobj('Tag', 'plot_slider') >>> start=round(slider.Value*0.9); >>> r=start:start+100; >>> scf(plotfr) >>> clf(plotfr) >>> plot(x(r),y(r)); >>> endfunction >>> >>> // Create a figure >>> f = figure("Figure_name", 'Uicontrols Slider',... >>> "Position",[100 100 510 510],... >>> "BackgroundColor",[0.9 0.9 0.9],... >>> "Tag", "uicontrols_demo_figure"); >>> // Frame containing a slider >>> >>> plotfr = figure("Figure_name", 'Uicontrols Plot',... >>> "Position",[100 100 510 510],... >>> "BackgroundColor",[0.9 0.9 0.9],... >>> "Tag", "uicontrols_demo_figure2"); >>> >>> slider = uicontrol(f, "Position", [20 50 390 15], ... >>> "Style", "slider", ... >>> "Min", 0, ... >>> "Max", 900, ... >>> "Value", 0, ... >>> "SliderStep", [10 100], ... >>> "Tag", "plot_slider", ... >>> "Callback", "slider_update"); >>> -------------------------------------------------- >>> -- >>> Sandro Hardy, M.Sc. >>> >>> Multimedia Communications Lab (KOM) >>> http://www.kom.tu-darmstadt.de >>> Technische Universitaet Darmstadt >>> Dept. of Electrical Engineering & Information Technology >>> tel: +49 6151 16 75164 fax: +49 6151 16 6152 >>> E-Mail: Sandro.Hardy at kom.tu-darmstadt.de >>> postal address: TU Darmstadt, FB 18, KOM, Rundeturmstr. 10, S320/106 >>> D-64283 Darmstadt, Germany >>> _______________________________________________ >>> users mailing list >>> users at lists.scilab.org >>> http://lists.scilab.org/mailman/listinfo/users >>> >>> >>> >>> _______________________________________________ >>> users mailing list >>> users at lists.scilab.org >>> http://lists.scilab.org/mailman/listinfo/users > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From chuox.bece at gmail.com Thu Jul 11 21:35:29 2013 From: chuox.bece at gmail.com (Chuox) Date: Thu, 11 Jul 2013 12:35:29 -0700 (PDT) Subject: [Scilab-users] Integrating SciLab and EPANET (.dll written in C/C++) In-Reply-To: <51DA60D1.3040800@laas.fr> References: <1373049917375-4026977.post@n3.nabble.com> <51DA60D1.3040800@laas.fr> Message-ID: <1373571329348-4027018.post@n3.nabble.com> And how can i know the position in the function? its inside a .dll, here is the epanet2.dll and the header epanet2.h I change the SciLab Code, reading this "introduction to SciLab" , the result shoul be an error code, all a got is a C, i have no idea were it came from. -->call("ENopen","C:\\Net1.inp",1,"c","temp1.$$$",2,"c","temp2.$$$",3,"c","out",[1,1],1,"c") ans = C -- View this message in context: http://mailinglists.scilab.org/Integrating-SciLab-and-EPANET-dll-written-in-C-C-tp4026977p4027018.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From chuox.bece at gmail.com Fri Jul 12 04:56:51 2013 From: chuox.bece at gmail.com (Chuox) Date: Thu, 11 Jul 2013 19:56:51 -0700 (PDT) Subject: [Scilab-users] Integrating SciLab and EPANET (.dll written in C/C++) In-Reply-To: <51DA60D1.3040800@laas.fr> References: <1373049917375-4026977.post@n3.nabble.com> <51DA60D1.3040800@laas.fr> Message-ID: <1373597811336-4027020.post@n3.nabble.com> Cheers! I found this in the EPANET toolkit help: An example of using these functions is shown below. char *f1, /* Name of input file */ *f2, /* name of report file */ *f3; /* name of output file (can be blank) */ int errcode; errcode = ENopen(f1, f2, f3); if (errcode > 0) { ENclose(); return; } { Call functions that perform desired analysis } ENclose() So... the correct use of the ENopen function should be something like this: errorcode=call("ENopen","C:\Users\Alfredo\Google Drive\Tesis\SciLab\Net1.inp",1,"c","temp1.$$$",2,"c","",3,"c","out",[1,1],4,"i") errorcode = 1 It Should be errorcode = 0 , so maybe im still doing something wrong. -- View this message in context: http://mailinglists.scilab.org/Integrating-SciLab-and-EPANET-dll-written-in-C-C-tp4026977p4027020.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From larikerstin at gmx.de Mon Jul 15 13:43:22 2013 From: larikerstin at gmx.de (Larissa Schultze) Date: Mon, 15 Jul 2013 13:43:22 +0200 (CEST) Subject: [Scilab-users] Colorbar_same color code, different graphs In-Reply-To: <1373597811336-4027020.post@n3.nabble.com> References: <1373049917375-4026977.post@n3.nabble.com> <51DA60D1.3040800@laas.fr>, <1373597811336-4027020.post@n3.nabble.com> Message-ID: An HTML attachment was scrubbed... URL: From larikerstin at gmx.de Tue Jul 16 09:48:11 2013 From: larikerstin at gmx.de (Larissa Schultze) Date: Tue, 16 Jul 2013 09:48:11 +0200 (CEST) Subject: [Scilab-users] Colorbar_same color code, different graphs In-Reply-To: References: <1373049917375-4026977.post@n3.nabble.com> <51DA60D1.3040800@laas.fr>, <1373597811336-4027020.post@n3.nabble.com>, Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: example_colorbarproblem_notes.txt URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: example_colorbarproblem.xlsx Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet Size: 9282 bytes Desc: not available URL: From Mike at Page-One.Waitrose.com Tue Jul 16 11:09:39 2013 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Tue, 16 Jul 2013 10:09:39 +0100 Subject: [Scilab-users] Colorbar_same color code, different graphs In-Reply-To: Message-ID: Hi Larissa, I'm no expert on this, but have you tried changing the data_bounds for the figure's children independently? I think if you just set the colorbar limits with colorbar(a,b), that only changes the legend on the bar itself. Try f=gcf(); then look at f.children(1),data_bounds or f.children(2).data_bounds. I think one will be for the plot and the other for the colorbar. If you change these limits directly you may get the effect you are looking for. Sorry if I misunderstood your question. Mike. -----Original Message----- From: users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org]On Behalf Of Larissa Schultze Sent: 16 July 2013 08:48 To: International users mailing list for Scilab. Subject: Re: [Scilab-users] Colorbar_same color code, different graphs Hello everyone, I have to plot several graphs with measurements ranging from 6 to 1300. I would like that these graphs obey the same color code, so that, in the example of jetcolormap, "1300" would always be dark red and "0" would always be dark blue for each graph. Now the values that I have for the different graphs are quite diverse: graph 1 has values ranging between "6" and "68" whereas graph 6 has values between "600" and "1300". How can I manage that the colorbar and the colorcode for both these graphs remains the same? (in this case, graph 1 would presumably have only a gradient of dark blue colors and graph 6 would have rather orange to red colors) I tried changing the command of colorbar to "colorbar(0,1300)", but it didn't work at all...so I thought may be someone could give me a hint on how I would be able to align the color code these graphs... I put an example of my tables on the annex as well as the scilab commands that I have been using for that. I simply need the values of both tables to be registered according to one color code (1300=dark red, 6=dark blue)...I would appreciate it a lot if someone could help me. :) Thank you guys in advance!!!! Larissa -------------- next part -------------- An HTML attachment was scrubbed... URL: From simon.mayr at gmail.com Thu Jul 18 12:52:03 2013 From: simon.mayr at gmail.com (simi99) Date: Thu, 18 Jul 2013 03:52:03 -0700 (PDT) Subject: [Scilab-users] Duration time of Xcos simulation Message-ID: <1374144723036-4027041.post@n3.nabble.com> Good afternoon everybody, I simulate a servo position (cart) in Scilab / Xcos. The model equation (differential equation) is implemented by ?sci_func_block_m? in Xcos. RK45-Runge-Kutta solver is set with a sampling time of T = 1ms. The simulation time is Tsim = 5sec. The simulation data is carried to Scilab by a "ToWorkspace"block. (There are no Scope blocks in the schematic) The simulation takes an average time of 1.8-2 seconds, which is not acceptable because I run the simulation in batch mode. To comparison: Matlab/Simulink does the same job (same boundary conditions) in about 100ms. Is there something I can do to improve the performance? Thanks in advance, Simon -- View this message in context: http://mailinglists.scilab.org/Duration-time-of-Xcos-simulation-tp4027041.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Serge.Steer at inria.fr Thu Jul 18 13:57:26 2013 From: Serge.Steer at inria.fr (Serge Steer) Date: Thu, 18 Jul 2013 13:57:26 +0200 Subject: [Scilab-users] Duration time of Xcos simulation In-Reply-To: <1374144723036-4027041.post@n3.nabble.com> References: <1374144723036-4027041.post@n3.nabble.com> Message-ID: <51E7D826.2020501@inria.fr> It should be better to replace the ?sci_func_block_m? by the ?EXPRESSION? one. Moreover in your case I think that the main part of the simulation time is due to diagram compilation, if you need to perform several simulations of the same diagram (up to context changes) you must re-enter the info parameter of scicos_simulate to vaoid recompilation for each simulation. Note also that the the sampling time you enter is in fact the maximum step size the solver can use. It may take smaller steps to achieve the requested precision. Serge Steer INRIA Le 18/07/2013 12:52, simi99 a ?crit : > Good afternoon everybody, > I simulate a servo position (cart) in Scilab / Xcos. The model equation > (differential equation) is implemented by ?sci_func_block_m? in Xcos. > RK45-Runge-Kutta solver is set with a sampling time of T = 1ms. The > simulation time is Tsim = 5sec. The simulation data is carried to Scilab by > a "ToWorkspace"block. (There are no Scope blocks in the schematic) The > simulation takes an average time of 1.8-2 seconds, which is not acceptable > because I run the simulation in batch mode. To comparison: Matlab/Simulink > does the same job (same boundary conditions) in about 100ms. Is there > something I can do to improve the performance? Thanks in advance, > Simon > > > > > > > > -- > View this message in context: http://mailinglists.scilab.org/Duration-time-of-Xcos-simulation-tp4027041.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From deepakmurali98 at gmail.com Wed Jul 17 13:40:02 2013 From: deepakmurali98 at gmail.com (M.Deepak) Date: Wed, 17 Jul 2013 17:10:02 +0530 Subject: [Scilab-users] SCILAB Message-ID: Keyword 'syms' and function 'symsum' are not available in my scilab 5.4.1 Please help me from where I can get them -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christophe.Dang at sidel.com Fri Jul 19 11:33:33 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Fri, 19 Jul 2013 11:33:33 +0200 Subject: [Scilab-users] SCILAB In-Reply-To: References: Message-ID: <3B5FFC67498DFF49AE7271A584867D16F31E7C1498@301EX00100.sidel.com> Hello, De : users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de M.Deepak > Keyword 'syms' and function 'symsum' are not available in my scilab > 5.4.1 > > Please help me from where I can get them A quick search let me think you refere to symbolic operations in Matlab. So you might have a look at http://help.scilab.org/docs/5.4.1/en_US/section_7b914b0b010be1485badc529f41ecd1f.html maybe addf() is what you're looking for http://help.scilab.org/docs/5.4.1/en_US/addf.html Hope this helps. -- Christophe Dang Ngoc Chan Mechanical calculation engineer ______________________________________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ______________________________________________________________________ From ezequielsoule at gmail.com Sun Jul 21 00:50:26 2013 From: ezequielsoule at gmail.com (=?ISO-8859-1?Q?Ezequiel_Soul=E9?=) Date: Sat, 20 Jul 2013 19:50:26 -0300 Subject: [Scilab-users] ezequielsoule Message-ID: http://delhitodehraduntaxi.co.in/pbpr/wpwczxalxp.lywbfczlijgxjgprnmo ezequielsoule 7/20/2013 11:50:21 PM From babigeon at lal.in2p3.fr Mon Jul 22 13:00:13 2013 From: babigeon at lal.in2p3.fr (babigeon) Date: Mon, 22 Jul 2013 13:00:13 +0200 Subject: [Scilab-users] using wavelet toolbox under scilab Message-ID: <51ED10BD.2000505@lal.in2p3.fr> Hello all, When I use the function CWT in that toolbox (continuous wavelet transform), it send me back real numbers. However I expect of it complex numbers. Is there a reason ? Cordially JLuc -- repons Jean-Luc BABIGEON CNRS/Lal/Dacc Laboratoire de L'acc?l?rateur Lin?aire Centre scientifique d'Orsay - Bat 200 - BP 34 91898 - Orsay Cedex tel 0164468247 ou 8427 -babigeon at lal.in2p3.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: From larikerstin at gmx.de Mon Jul 22 14:23:48 2013 From: larikerstin at gmx.de (Larissa Schultze) Date: Mon, 22 Jul 2013 14:23:48 +0200 (CEST) Subject: [Scilab-users] Colorbar_same color code, different graphs In-Reply-To: References: Message-ID: An HTML attachment was scrubbed... URL: From simon.mayr at gmail.com Mon Jul 22 15:20:19 2013 From: simon.mayr at gmail.com (simi99) Date: Mon, 22 Jul 2013 06:20:19 -0700 (PDT) Subject: [Scilab-users] Duration time of Xcos simulation In-Reply-To: <51E7D826.2020501@inria.fr> References: <1374144723036-4027041.post@n3.nabble.com> <51E7D826.2020501@inria.fr> Message-ID: <1374499219184-4027063.post@n3.nabble.com> I also believe that the compilation takes the largest part ot the simulation time. Using scicos_simulate instead of xcos_simulate to avoid recompilation is a good idea. However, there occurs a new problem: ... /[result]=importXcosDiagram('SimulatePositionsServoReduced_NoScope.zcos') typeof(scs_m); Info = scicos_simulate(scs_m,list()); scicos_simulate(scs_m,Info);/ ... When the simulation is run the second time with the compilation information (Info) from the first run as input, there appears the following message in the console: /"Partial compilation failed. Attempting a full compilation."/ I do not understand why the whole schematic is compilated again... -- View this message in context: http://mailinglists.scilab.org/Duration-time-of-Xcos-simulation-tp4027041p4027063.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Mike at Page-One.Waitrose.com Mon Jul 22 18:21:56 2013 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Mon, 22 Jul 2013 17:21:56 +0100 Subject: [Scilab-users] Colorbar_same color code, different graphs In-Reply-To: Message-ID: Hi Larissa, Sorry, but I don't know how to do what you want. As far as I know, when you assign a colormap to a figure, the colors span across the range of the data (so zmax = red and zmin = blue for example). I think you want them to span across the data bounds of the figure, but I don't know how to do that. The idea I mentioned before will produce a colorbar that spans the right set of colors and has the right legend, but I don't know how to get the colors on the figure right. I'm sure it can be done some way, but I don't know how. Perhaps you could add an artificial point to your data to make it span the full range? Mike. -----Original Message----- From: users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org]On Behalf Of Larissa Schultze Sent: 22 July 2013 13:24 To: Mike.PageOne at Googlemail.com Cc: International users mailing list for Scilab. Subject: [Scilab-users] Colorbar_same color code, different graphs Hi everybody, thank you a lot for your reply, Mike. The suggestion sounds really good, but I couldn't make it work yet, unfortunately. So again, for the table: Nan 0. 20. 60. 100. 140. 180. 200. 0. Nan 0. Nan Nan Nan Nan Nan 5. Nan 68. 73. 61. 63. 67. Nan 40. Nan 17. 9. 10. 12. 17. Nan 75. Nan 14. 7. 6. 6. 12. Nan 110. Nan 15. 6. 4. 6. 21. Nan 145. Nan 21. 28. 26. 20. 34. Nan 150. Nan Nan Nan Nan Nan Nan Nan I used the following commands: " [fd,SST,Sheetnames,Sheetpos] = xls_open('E:\XXXXXX.xls') Sheets = readxls('E:\XXXXXXX.xls'); typeof(Sheets); s1=Sheets(1); data=s1.value; x=data(1,2:8); y=data(2:8,1); z=data(2:8,2:8); xx = linspace(0,200,200); yy = linspace(0,150,200); [xp,yp] = ndgrid(xx,yy); zp = linear_interpn(xp,yp, x, y, z); clf(); surf(xx,yy,zp); f=get("current_figure"); f.color_map=jetcolormap(512); h=get("hdl") //get handle on current entity (here the surface) h.color_flag=1; a=gca(); a.auto_scale="off"; a.tight_limits="on"; a.data_bounds=[0,0,0;200,150,1300] colorbar(0,1300); " Still, the colors in the figure do not correspond to those of the colorbar. I mean, according to the colorbar, this dataset should have basically different dark blue tones...and that is what I am aiming at. ...but...how can I possibly make it work? Can anybody help me please? It would be great!!!! thank you in advance and kind regards, Larissa Gesendet: Dienstag, 16. Juli 2013 um 11:09 Uhr Von: "Mike Page" An: "International users mailing list for Scilab." Betreff: Re: [Scilab-users] Colorbar_same color code, different graphs Hi Larissa, I'm no expert on this, but have you tried changing the data_bounds for the figure's children independently? I think if you just set the colorbar limits with colorbar(a,b), that only changes the legend on the bar itself. Try f=gcf(); then look at f.children(1),data_bounds or f.children(2).data_bounds. I think one will be for the plot and the other for the colorbar. If you change these limits directly you may get the effect you are looking for. Sorry if I misunderstood your question. Mike. -----Original Message----- From: users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org]On Behalf Of Larissa Schultze Sent: 16 July 2013 08:48 To: International users mailing list for Scilab. Subject: Re: [Scilab-users] Colorbar_same color code, different graphs Hello everyone, I have to plot several graphs with measurements ranging from 6 to 1300. I would like that these graphs obey the same color code, so that, in the example of jetcolormap, "1300" would always be dark red and "0" would always be dark blue for each graph. Now the values that I have for the different graphs are quite diverse: graph 1 has values ranging between "6" and "68" whereas graph 6 has values between "600" and "1300". How can I manage that the colorbar and the colorcode for both these graphs remains the same? (in this case, graph 1 would presumably have only a gradient of dark blue colors and graph 6 would have rather orange to red colors) I tried changing the command of colorbar to "colorbar(0,1300)", but it didn't work at all...so I thought may be someone could give me a hint on how I would be able to align the color code these graphs... I put an example of my tables on the annex as well as the scilab commands that I have been using for that. I simply need the values of both tables to be registered according to one color code (1300=dark red, 6=dark blue)...I would appreciate it a lot if someone could help me. :) Thank you guys in advance!!!! Larissa -------------- next part -------------- An HTML attachment was scrubbed... URL: From larikerstin at gmx.de Mon Jul 22 19:12:29 2013 From: larikerstin at gmx.de (Larissa Schultze) Date: Mon, 22 Jul 2013 19:12:29 +0200 (CEST) Subject: [Scilab-users] Colorbar_same color code, different graphs In-Reply-To: References: Message-ID: An HTML attachment was scrubbed... URL: From ridder.peter at googlemail.com Mon Jul 22 19:31:39 2013 From: ridder.peter at googlemail.com (Peter Ridder) Date: Mon, 22 Jul 2013 19:31:39 +0200 Subject: [Scilab-users] Colorbar_same color code, different graphs In-Reply-To: References: Message-ID: Hallo Larissa Mikes Vorschlag ist auch bei einem gro?en Datenbereich gut. Brauchst Du in Deinen Darstellungen unbedingt die absoluten Gr??en? Falls nicht, normiere die Werte und nimm die k?nstlichen Punkte jeweils deutlich au?erhalb des dann vorliegenden x% - 100% Intervalls. Zu Gedr?nge kommt es trotzdem 2013/7/22 Larissa Schultze : > Hi everybody, > > thank you a lot for your reply, Mike. > The suggestion sounds really good, but I couldn't make it work yet, > unfortunately. > So again, for the table: > > Nan 0. 20. 60. 100. 140. 180. 200. > 0. Nan 0. Nan Nan Nan Nan Nan > 5. Nan 68. 73. 61. 63. 67. Nan > 40. Nan 17. 9. 10. 12. 17. Nan > 75. Nan 14. 7. 6. 6. 12. Nan > 110. Nan 15. 6. 4. 6. 21. Nan > 145. Nan 21. 28. 26. 20. 34. Nan > 150. Nan Nan Nan Nan Nan Nan Nan > > I used the following commands: > > " > [fd,SST,Sheetnames,Sheetpos] = xls_open('E:\XXXXXX.xls') > Sheets = readxls('E:\XXXXXXX.xls'); > typeof(Sheets); > s1=Sheets(1); > data=s1.value; > x=data(1,2:8); > y=data(2:8,1); > z=data(2:8,2:8); > xx = linspace(0,200,200); > yy = linspace(0,150,200); > [xp,yp] = ndgrid(xx,yy); > zp = linear_interpn(xp,yp, x, y, z); > clf(); > surf(xx,yy,zp); > f=get("current_figure"); > f.color_map=jetcolormap(512); > h=get("hdl") //get handle on current entity (here the surface) > h.color_flag=1; > a=gca(); > a.auto_scale="off"; > a.tight_limits="on"; > a.data_bounds=[0,0,0;200,150,1300] > colorbar(0,1300); > " > > Still, the colors in the figure do not correspond to those of the colorbar. > I mean, according to the colorbar, this dataset should have basically > different dark blue tones...and that is what I am aiming at. ...but...how > can I possibly make it work? Can anybody help me please? > It would be great!!!! > > thank you in advance and kind regards, > Larissa > > > > > > > > Gesendet: Dienstag, 16. Juli 2013 um 11:09 Uhr > Von: "Mike Page" > An: "International users mailing list for Scilab." > Betreff: Re: [Scilab-users] Colorbar_same color code, different graphs > Hi Larissa, > > I'm no expert on this, but have you tried changing the data_bounds for the > figure's children independently? I think if you just set the colorbar > limits with colorbar(a,b), that only changes the legend on the bar itself. > > Try f=gcf(); then look at f.children(1),data_bounds or > f.children(2).data_bounds. I think one will be for the plot and the other > for the colorbar. If you change these limits directly you may get the > effect you are looking for. > > Sorry if I misunderstood your question. > > Mike. > > > -----Original Message----- > From: users-bounces at lists.scilab.org > [mailto:users-bounces at lists.scilab.org]On Behalf Of Larissa Schultze > Sent: 16 July 2013 08:48 > To: International users mailing list for Scilab. > Subject: Re: [Scilab-users] Colorbar_same color code, different graphs > > Hello everyone, > > I have to plot several graphs with measurements ranging from 6 to 1300. I > would like that these graphs obey the same color code, so that, in the > example of jetcolormap, "1300" would always be dark red and "0" would always > be dark blue for each graph. Now the values that I have for the different > graphs are quite diverse: graph 1 has values ranging between "6" and "68" > whereas graph 6 has values between "600" and "1300". > > How can I manage that the colorbar and the colorcode for both these graphs > remains the same? (in this case, graph 1 would presumably have only a > gradient of dark blue colors and graph 6 would have rather orange to red > colors) > I tried changing the command of colorbar to "colorbar(0,1300)", but it > didn't work at all...so I thought may be someone could give me a hint on how > I would be able to align the color code these graphs... > > I put an example of my tables on the annex as well as the scilab commands > that I have been using for that. I simply need the values of both tables to > be registered according to one color code (1300=dark red, 6=dark blue)...I > would appreciate it a lot if someone could help me. :) > > Thank you guys in advance!!!! > Larissa > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From sgougeon at free.fr Tue Jul 23 03:37:38 2013 From: sgougeon at free.fr (Samuel Gougeon) Date: Tue, 23 Jul 2013 03:37:38 +0200 Subject: [Scilab-users] Colorbar_same color code, different graphs In-Reply-To: References: Message-ID: <51EDDE62.2020206@free.fr> Hello Larissa, After surf(..), you may do e = gce(); e.cdata_mapping = 'direct'; // and have a look at help "surface properties" HTH Samuel From babigeon at lal.in2p3.fr Tue Jul 23 09:13:32 2013 From: babigeon at lal.in2p3.fr (babigeon) Date: Tue, 23 Jul 2013 09:13:32 +0200 Subject: [Scilab-users] Fwd: using wavelet toolbox under scilab In-Reply-To: <51ED10BD.2000505@lal.in2p3.fr> References: <51ED10BD.2000505@lal.in2p3.fr> Message-ID: <51EE2D1C.1080709@lal.in2p3.fr> Hello, That issue will probably be solved by that link : http://forge.scilab.org/index.php/p/swt/source/tree/master/ Cordially Jluc :-) -------- Message original -------- Sujet: using wavelet toolbox under scilab Date : Mon, 22 Jul 2013 13:00:13 +0200 De : babigeon Organisation : CNRS Pour : users at lists.scilab.org Hello all, When I use the function CWT in that toolbox (continuous wavelet transform), it send me back real numbers. However I expect of it complex numbers. Is there a reason ? Cordially JLuc -- repons Jean-Luc BABIGEON CNRS/Lal/Dacc Laboratoire de L'acc?l?rateur Lin?aire Centre scientifique d'Orsay - Bat 200 - BP 34 91898 - Orsay Cedex tel 0164468247 ou 8427 -babigeon at lal.in2p3.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: From larikerstin at gmx.de Tue Jul 23 12:59:16 2013 From: larikerstin at gmx.de (Larissa Schultze) Date: Tue, 23 Jul 2013 12:59:16 +0200 (CEST) Subject: [Scilab-users] Colorbar_same color code, different graphs In-Reply-To: <51EDDE62.2020206@free.fr> References: , <51EDDE62.2020206@free.fr> Message-ID: An HTML attachment was scrubbed... URL: From Christophe.Dang at sidel.com Tue Jul 23 13:24:06 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Tue, 23 Jul 2013 13:24:06 +0200 Subject: [Scilab-users] Colorbar_same color code, different graphs In-Reply-To: References: , <51EDDE62.2020206@free.fr> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F31E820E44@301EX00100.sidel.com> Hello, > De la part de Larissa Schultze > Envoy? : mardi 23 juillet 2013 12:59 > > At surface_properties it says that the cdata_mapping command ist > specific to fac3d handles. But this fac3d is obsolete. Fac3d is a (obsolete) Scilab primitive, but is is also a class of graphic entities. Read the beginning of the http://help.scilab.org/docs/5.4.1/en_US/surface_properties.html help page : "Two classes appears under this type of entity : Plot3d and Fac3d according to the plotting function or the way data is entered. Fac3d and Plo3d entities are similar but Fac3d is more complete [...]." Best regards. -- Christophe Dang Ngoc Chan Mechanical calculation engineer ______________________________________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ______________________________________________________________________ From larikerstin at gmx.de Tue Jul 23 13:41:18 2013 From: larikerstin at gmx.de (Larissa Schultze) Date: Tue, 23 Jul 2013 13:41:18 +0200 (CEST) Subject: [Scilab-users] Colorbar_same color code, different graphs In-Reply-To: <3B5FFC67498DFF49AE7271A584867D16F31E820E44@301EX00100.sidel.com> References: , <51EDDE62.2020206@free.fr> , <3B5FFC67498DFF49AE7271A584867D16F31E820E44@301EX00100.sidel.com> Message-ID: An HTML attachment was scrubbed... URL: From antoine.monmayrant at laas.fr Tue Jul 23 13:42:26 2013 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Tue, 23 Jul 2013 13:42:26 +0200 Subject: [Scilab-users] Colorbar_same color code, different graphs In-Reply-To: References: , <51EDDE62.2020206@free.fr> Message-ID: <51EE6C22.2040309@laas.fr> On 23/07/2013 12:59, Larissa Schultze wrote: > Hello Samuel and to all, > thank you, Samuel, for the hint! > I have now an idea on how to proceed using this cdata_mapping. The problem is: > when I use this command, error 144 ("Undefined operation for the given > operands.") appears. What am I doing wrong this time? Man, It can be pretty > annoying... :/ Well the error here is that you have 'e=gce' instead of 'e=gce()': e is now a function pointer (that is its a new name for function gce) and it is not the return value from the function gce(); To go back to your problem, I can give you several solutions and here is my favorite one: use 'contourf'. Here is a sample script: ///////////////////////////// data=[ %nan 0. 20. 60. 100. 140. 180. 200.;.. 0. %nan 0. %nan %nan %nan %nan %nan;.. 5. %nan 68. 73. 61. 63. 67. %nan;.. 40. %nan 17. 9. 10. 12. 17. %nan;.. 75. %nan 14. 7. 6. 6. 12. %nan;.. 110. %nan 15. 6. 4. 6. 21. %nan;.. 145. %nan 21. 28. 26. 20. 34. %nan;.. 150. %nan %nan %nan %nan %nan %nan %nan]; x=data(1,2:8); y=data(2:8,1); z=data(2:8,2:8); xx = linspace(0,200,200); yy = linspace(0,150,200); [xp,yp] = ndgrid(xx,yy); zp = linear_interpn(xp,yp, x, y, z); h=scf(0); clf(0) //these values are common to all your plots allzmin=-5;//or 6 if you want allzmax=130;// or 1300 if you want ncolors=128;//number of colorsteps contourf(xx,yy,zp,linspace(allzmin,allzmax,ncolors)); a=gca(); a.data_bounds=[min(x),min(y);max(x),max(y)]; a.zoom_box=[min(x),min(y),max(x),max(y)]; h.color_map=jetcolormap(ncolors); colorbar(allzmin,allzmax); ///////////////////////////// Alternatively, you can use Sgrayplot with a colormap as large as the span of values of z across all the plots and for each plot use only a subset of the colormap: /////////////////////////////////////// ncolors=1300; h=scf(); h.color_map=jetcolormap(ncolors); Sgrayplot(xx,yy,zp); e=gce(); e.children.color_range=[min(zp),max(zp)]; colorbar(1,1300); //////////////////////////////////// Hope it helps, Antoine > At surface_properties it says that the cdata_mapping command ist specific to > fac3d handles. But this fac3d is obsolete. So I tried to plot my graph with the > plot3d, plot3d1 and surf to see if any of this works, but no, they don't ...i > keep getting this error mesage 144. > Here are again the commands I am using: > [fd,SST,Sheetnames,Sheetpos] = xls_open('E:\LI_messungen_alle.xls'); > Sheets = readxls('E:\LI_messungen_alle.xls'); > typeof(Sheets); > s1=Sheets(1); > data=s1.value; > x=data(1,2:8); > y=data(2:8,1); > z=data(2:8,2:8); > xx = linspace(0,200,200); > yy = linspace(0,150,200); > [xp,yp] = ndgrid(xx,yy); > zp = linear_interpn(xp,yp, x, y, z); > clf() > surf(xx,yy,zp) > e=gce > e.cdata_mapping='direct' > e.color_map=jetcolormap(512); > e.color_flag=2; > e.data.color=[1+modulo(1:1300,512),1+modulo(1:1300,512)]; > h.color_flag=3; > colorbar(1,1300) > And this is, again, my table: > Nan 0. 20. 60. 100. 140. 180. 200. > 0. Nan 0. Nan Nan Nan Nan Nan > 5. Nan 68. 73. 61. 63. 67. Nan > 40. Nan 17. 9. 10. 12. 17. Nan > 75. Nan 14. 7. 6. 6. 12. Nan > 110. Nan 15. 6. 4. 6. 21. Nan > 145. Nan 21. 28. 26. 20. 34. Nan > 150. Nan Nan Nan Nan Nan Nan Nan > Do you have any idea of what is wrong? > Thank you again, > Larissa > *Gesendet:* Dienstag, 23. Juli 2013 um 03:37 Uhr > *Von:* "Samuel Gougeon" > *An:* "International users mailing list for Scilab." > *Betreff:* Re: [Scilab-users] Colorbar_same color code, different graphs > Hello Larissa, > > After surf(..), you may do > e = gce(); > e.cdata_mapping = 'direct'; > // and have a look at > help "surface properties" > > HTH > Samuel > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From larikerstin at gmx.de Tue Jul 23 13:55:46 2013 From: larikerstin at gmx.de (Larissa Schultze) Date: Tue, 23 Jul 2013 13:55:46 +0200 (CEST) Subject: [Scilab-users] Colorbar_same color code, different graphs In-Reply-To: References: , <51EDDE62.2020206@free.fr> , <3B5FFC67498DFF49AE7271A584867D16F31E820E44@301EX00100.sidel.com>, Message-ID: An HTML attachment was scrubbed... URL: From unix.nima at gmail.com Tue Jul 23 17:41:26 2013 From: unix.nima at gmail.com (Nima Sahraneshin-Samani) Date: Tue, 23 Jul 2013 20:11:26 +0430 Subject: [Scilab-users] Undefined variable: MSDOS Message-ID: Hi I have a problem with SciAO tool box Startup execution: loading initial environment if ~MSDOS then !--error 4 Undefined variable: MSDOS at line 214 of exec file called by : exec("C:\PROGRA~1\SCILAB~1.1\contrib\SciAO\\loader.sce"); in execstr instruction called by : 400a644fca:-7fa3");execstr(toolboxes(1));if exists("%oldgcbo") then gcbo = %oldg while executing a callback in windows Xp . regards From Serge.Steer at inria.fr Tue Jul 23 22:37:25 2013 From: Serge.Steer at inria.fr (Serge Steer) Date: Tue, 23 Jul 2013 22:37:25 +0200 Subject: [Scilab-users] Duration time of Xcos simulation In-Reply-To: <1374499219184-4027063.post@n3.nabble.com> References: <1374144723036-4027041.post@n3.nabble.com> <51E7D826.2020501@inria.fr> <1374499219184-4027063.post@n3.nabble.com> Message-ID: <51EEE985.9060009@inria.fr> Can you send be your diagram? Serge Le 22/07/2013 15:20, simi99 a ?crit : > I also believe that the compilation takes the largest part ot the simulation > time. Using scicos_simulate instead of xcos_simulate to avoid recompilation > is a good idea. However, there occurs a new problem: > > ... > /[result]=importXcosDiagram('SimulatePositionsServoReduced_NoScope.zcos') > typeof(scs_m); > Info = scicos_simulate(scs_m,list()); > scicos_simulate(scs_m,Info);/ > ... > > When the simulation is run the second time with the compilation information > (Info) from the first run as input, there appears the following message in > the console: > /"Partial compilation failed. Attempting a full compilation."/ > > I do not understand why the whole schematic is compilated again... > > > > -- > View this message in context: http://mailinglists.scilab.org/Duration-time-of-Xcos-simulation-tp4027041p4027063.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From antoine.monmayrant at laas.fr Tue Jul 23 23:48:03 2013 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Tue, 23 Jul 2013 23:48:03 +0200 Subject: [Scilab-users] Undefined variable: MSDOS In-Reply-To: References: Message-ID: <51EEFA13.9050907@laas.fr> Le 23/07/13 17:41, Nima Sahraneshin-Samani a ?crit : > Hi > I have a problem with SciAO tool box > > Startup execution: > loading initial environment > if ~MSDOS then > !--error 4 > Undefined variable: MSDOS > at line 214 of exec file called by : > exec("C:\PROGRA~1\SCILAB~1.1\contrib\SciAO\\loader.sce"); > in execstr instruction called by : > 400a644fca:-7fa3");execstr(toolboxes(1));if exists("%oldgcbo") then gcbo = %oldg > while executing a callback > > in windows Xp . > > regards > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users Hi, As far as I know, SciAO was developed for old version of Scilab and have not been updated in a while. MSDOS variable (that was used to determine whether the system was a windows one or some kind of unix) is no deprecated. SciAO needs some work to be usable with recent Scilab version. I think someone mentioned that he wanted to port SciAO to scilab 5.x in the future... Antoine From akhorshidi at live.com Wed Jul 24 16:37:27 2013 From: akhorshidi at live.com (A Khorshidi) Date: Wed, 24 Jul 2013 07:37:27 -0700 (PDT) Subject: [Scilab-users] Undefined variable: MSDOS In-Reply-To: References: Message-ID: <1374676647722-4027086.post@n3.nabble.com> Hello; Add the below command in the first line of the loader script: MSDOS = getos() == 'Windows'; hope it helps Mehran _ -- View this message in context: http://mailinglists.scilab.org/Scilab-users-Undefined-variable-MSDOS-tp4027080p4027086.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From martin.highUp at gmx.net Thu Jul 25 10:11:52 2013 From: martin.highUp at gmx.net (martin.highUp at gmx.net) Date: Thu, 25 Jul 2013 10:11:52 +0200 (CEST) Subject: [Scilab-users] evaluation of a Scilab expression from Java in the current Scilab environment Message-ID: An HTML attachment was scrubbed... URL: From simon.mayr at gmail.com Thu Jul 25 13:45:05 2013 From: simon.mayr at gmail.com (simi99) Date: Thu, 25 Jul 2013 04:45:05 -0700 (PDT) Subject: [Scilab-users] Duration time of Xcos simulation In-Reply-To: <51EEE985.9060009@inria.fr> References: <1374144723036-4027041.post@n3.nabble.com> <51E7D826.2020501@inria.fr> <1374499219184-4027063.post@n3.nabble.com> <51EEE985.9060009@inria.fr> Message-ID: <1374752705845-4027088.post@n3.nabble.com> 1) execute "PositionServoReducedInitScript.sce" --> First Simulation 2) execute "PositionServoReducedScript.sce" --> Second Simulation (without compilation) PositionServoReducedInitScript.sce PositionServoReducedScript.sce SimulatePositionsServoReduced_NoScope.zcos -- View this message in context: http://mailinglists.scilab.org/Duration-time-of-Xcos-simulation-tp4027041p4027088.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From simon.mayr at gmail.com Thu Jul 25 13:46:28 2013 From: simon.mayr at gmail.com (simi99) Date: Thu, 25 Jul 2013 04:46:28 -0700 (PDT) Subject: [Scilab-users] Duration time of Xcos simulation In-Reply-To: <51EEE985.9060009@inria.fr> References: <1374144723036-4027041.post@n3.nabble.com> <51E7D826.2020501@inria.fr> <1374499219184-4027063.post@n3.nabble.com> <51EEE985.9060009@inria.fr> Message-ID: <1374752788115-4027090.post@n3.nabble.com> 1) execute "PositionServoReducedInitScript.sce" --> First Simulation 2) execute "PositionServoReducedScript.sce" --> Second Simulation (without compilation) PositionServoReducedInitScript.sce PositionServoReducedScript.sce SimulatePositionsServoReduced_NoScope.zcos -- View this message in context: http://mailinglists.scilab.org/Duration-time-of-Xcos-simulation-tp4027041p4027090.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Serge.Steer at inria.fr Thu Jul 25 21:59:22 2013 From: Serge.Steer at inria.fr (Serge Steer) Date: Thu, 25 Jul 2013 21:59:22 +0200 Subject: [Scilab-users] evaluation of a Scilab expression from Java in the current Scilab environment In-Reply-To: References: Message-ID: <51F1839A.401@inria.fr> Take care that the getvalue function is overloaded by Scilab to silently evaluate and chack the arguments that are given by expression based variables defined in the Xcos context Basing your bload dialog on a other function will breaks this behavior... Serge Steer INRIA Le 25/07/2013 10:11, martin.highUp at gmx.net a ?crit : > Hello > I am writing on an application using Scilab and Xcos. Right now I am > working on a specialised replacement for "getvalue(..)" (GUI to edit > parameters of Xcos blocks) written in Java. > Now I need to access the current Scilab workspace (execute an > expression and get back the result) from Java -- something like { x = > myScilab.getResultFromExpression("2.0*sin(foo)") } with an error > message in case of a non-valid expression. Current means that the java > code of interest is run through JIMS and shall access its calling > Scilab environment. > Where can I find this functionality? > What I tried: > Javasci: > Used in a separated session it provides roughly the asked > functionality. See the example included in Javasci. > Used within an existing Scilab session I run in some problems. > The sci.open() does not return when called from within a Scilab > session and is probably not needed as there are static methods like > Scilab.getInCurrentScilabSession(..), too. > sci.get(..) is working when I skip sci.open(). Maybe that is the cause > for the further problem with sci.execException. > Scilab.getInCurrentScilabSession("foo") is working (returning a Scilab > variables content) but I found one strange behaviour: > Scilab.getInCurrentScilabSession("foo * 2") returns the value of foo, > not 2*foo and does not thow an Exception. This happens also when > called as separate session. > When called from within a running Scialb session > sci.execException("X2C_JAVA_ACCESS = 987") (or any other valid > expression) throws > org.scilab.modules.javasci.JavasciException$ScilabErrorException: A > Scilab error occurred: winqueryreg: Cannot query value of this type. > Code: 999 > > and called one more time: > org.scilab.modules.javasci.JavasciException$ScilabErrorException: A > Scilab error occurred: Method invocation: An error occurred during the > data retrieving in Java:An exception has been thrown in calling the > method > getValueFromExpression_1:org.scilab.modules.javasci.JavasciException$ScilabErrorException: > A Scilab error occurred: winqueryreg: Cannot query value of this > type.Code: 999 > Code: 999 > In a separate session as in the Javasci example that works. > > Do you have hints where to dig to get something like > getResultFromExpression("2.0*sin(foo)") working? > Thanks > Martin > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.carrico at esterline.com Fri Jul 26 12:49:15 2013 From: paul.carrico at esterline.com (Carrico, Paul) Date: Fri, 26 Jul 2013 12:49:15 +0200 Subject: [Scilab-users] scilab and Centos Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9AED2@exchsrv.auxitrol.ad> Dear All Is there in the community somebody who's using Scilab under CentOS 6.4 ? The lastest Nightly build needs glibc2.14 (or ever newer) and the package is in 2.12 release ... any workaround ? (have see nothing in the devtools) Thanks for any support 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: From antoine.monmayrant at laas.fr Fri Jul 26 13:51:19 2013 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Fri, 26 Jul 2013 13:51:19 +0200 Subject: [Scilab-users] scilab and Centos In-Reply-To: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9AED2@exchsrv.auxitrol.ad> References: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9AED2@exchsrv.auxitrol.ad> Message-ID: <51F262B7.5070109@laas.fr> On 26/07/2013 12:49, Carrico, Paul wrote: > Dear All > > Is there in the community somebody who's using Scilab under CentOS 6.4 ? > I am using 5.4.1 under Centos 5.9 and 6.2 without any issue. I don't have access to a 6.4 to try my install on it. Antoine > > The lastest Nightly build needs glibc2.14 (or ever newer) and the > package is in 2.12 release ... any workaround ? (have see nothing in the > devtools) > > Thanks for any support > > 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. > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.carrico at esterline.com Fri Jul 26 13:57:29 2013 From: paul.carrico at esterline.com (Carrico, Paul) Date: Fri, 26 Jul 2013 13:57:29 +0200 Subject: [Scilab-users] scilab and Centos In-Reply-To: <51F262B7.5070109@laas.fr> References: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9AED2@exchsrv.auxitrol.ad> <51F262B7.5070109@laas.fr> Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9AED3@exchsrv.auxitrol.ad> I'm speaking about the latest NB (i.e. Scilab > 5.5.0) release that should correct a bug in the stable release (ok under Windows but I need the linux release) the 5.5.0 asks for glibc 2.14 (maybe newer) ... Paul ________________________________ De : users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de Antoine Monmayrant Envoy? : vendredi 26 juillet 2013 13:51 ? : International users mailing list for Scilab. Objet : Re: [Scilab-users] scilab and Centos On 26/07/2013 12:49, Carrico, Paul wrote: Dear All Is there in the community somebody who's using Scilab under CentOS 6.4 ? I am using 5.4.1 under Centos 5.9 and 6.2 without any issue. I don't have access to a 6.4 to try my install on it. Antoine The lastest Nightly build needs glibc2.14 (or ever newer) and the package is in 2.12 release ... any workaround ? (have see nothing in the devtools) Thanks for any support 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. _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -------------------------------------------------------------------------------- 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 sdr at durietz.se Fri Jul 26 20:29:56 2013 From: sdr at durietz.se (Stefan Du Rietz) Date: Fri, 26 Jul 2013 20:29:56 +0200 Subject: [Scilab-users] eomday Message-ID: <51F2C024.1000302@durietz.se> Hi, there is a bug in eomday. + If there is a leap year between two ordinary years, e.g. -->Y = [2011 2012 2013]' Y = 2011. 2012. 2013. -->M = [10 11 3]' M = 10. 11. 3. -->eomday(Y, M) !--error 15 Submatrix incorrectly defined. at line 31 of function eomday called by : eomday(Y, M) + Lines 28-33 of the function code, with my "pause" added at 29: 28 [nr,nc] = size(M); 29 pause 30 E( isLeapYear(Y) ) = leap_year( M( isLeapYear(Y)) ); 31 E( ~isLeapYear(Y) ) = common_year( M(~isLeapYear(Y)) ); 32 33 E = matrix(E,nr,nc); -->eomday(Y, M) -1->whereami whereami called under pause pause called at line 29 of macro eomday -1->E( isLeapYear(Y) ) = leap_year( M( isLeapYear(Y)) ) E = 0. 30. -1->E( ~isLeapYear(Y) ) = common_year( M(~isLeapYear(Y)) ); E( ~isLeapYear(Y) ) = common_year( M(~isLeapYear(Y)) ) !--error 15 Submatrix incorrectly defined. -1->size( ~isLeapYear(Y) ) ans = 4. 1. + Because E is not pre-dimensioned, the index is longer than the vector. + Make E a vector with an equal number of elements as M: -1->E = zeros(1,nr*nc); + Now the next lines work: -1->E( isLeapYear(Y) ) = leap_year( M( isLeapYear(Y)) ); E = 0. 30. 0. 0. -1->E( ~isLeapYear(Y) ) = common_year( M(~isLeapYear(Y)) ) E = 31. 30. 31. 31. -1->E = matrix(E,nr,nc) E = 31. 30. 31. 31. + So, a new line 29 is needed: 29 E = zeros(1,nr*nc); Regards Stefan From sdr at durietz.se Fri Jul 26 21:55:04 2013 From: sdr at durietz.se (Stefan Du Rietz) Date: Fri, 26 Jul 2013 21:55:04 +0200 Subject: [Scilab-users] gcf() Message-ID: <51F2D418.8070107@durietz.se> Hi, if there is no figure, gcf() should return an empty handle, shouldn't it? Now you get a handle to a new default figure, which is opened. That is the expected (and actual) response from scf(). Is this a bug in gcf()? Regards Stefan From Serge.Steer at inria.fr Fri Jul 26 22:42:27 2013 From: Serge.Steer at inria.fr (Serge Steer) Date: Fri, 26 Jul 2013 22:42:27 +0200 Subject: [Scilab-users] gcf() In-Reply-To: <51F2D418.8070107@durietz.se> References: <51F2D418.8070107@durietz.se> Message-ID: <51F2DF33.9030602@inria.fr> Le 26/07/2013 21:55, Stefan Du Rietz a ?crit : > Hi, > if there is no figure, gcf() should return an empty handle, shouldn't > it? Now you get a handle to a new default figure, which is opened. > That is the expected (and actual) response from scf(). > > Is this a bug in gcf()? > It should be a logical choice, but changing the gcf and get("current_figure") behavior will breaks compatibility. A solution for testing if there is no figure is to check winsid()==[] Serge > Regards > Stefan > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From vogt at centre-cired.fr Fri Jul 26 23:29:11 2013 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Fri, 26 Jul 2013 23:29:11 +0200 Subject: [Scilab-users] gcf() In-Reply-To: <51F2DF33.9030602@inria.fr> References: <51F2D418.8070107@durietz.se> <51F2DF33.9030602@inria.fr> Message-ID: <51F2EA27.7060907@centre-cired.fr> On 26/07/2013 22:42, Serge Steer wrote: > Le 26/07/2013 21:55, Stefan Du Rietz a ?crit : >> Hi, >> if there is no figure, gcf() should return an empty handle, shouldn't >> it? Now you get a handle to a new default figure, which is opened. >> That is the expected (and actual) response from scf(). >> >> Is this a bug in gcf()? >> > It should be a logical choice, but changing the gcf and > get("current_figure") behavior will breaks compatibility. > A solution for testing if there is no figure is to check winsid()==[] > > Serge I thought that ==[] should be discouraged. Then isempty(winsid()) would be a better solution Adrien -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdr at durietz.se Fri Jul 26 23:37:24 2013 From: sdr at durietz.se (Stefan Du Rietz) Date: Fri, 26 Jul 2013 23:37:24 +0200 Subject: [Scilab-users] gcf() In-Reply-To: <51F2EA27.7060907@centre-cired.fr> References: <51F2D418.8070107@durietz.se> <51F2DF33.9030602@inria.fr> <51F2EA27.7060907@centre-cired.fr> Message-ID: <51F2EC14.9090605@durietz.se> On 2013-07-26 23:29, Adrien Vogt-Schilb wrote: -------------------- > On 26/07/2013 22:42, Serge Steer wrote: >> Le 26/07/2013 21:55, Stefan Du Rietz a ?crit : >>> Hi, >>> if there is no figure, gcf() should return an empty handle, >>> shouldn't it? Now you get a handle to a new default figure, which >>> is opened. That is the expected (and actual) response from scf(). >>> >>> Is this a bug in gcf()? >>> >> It should be a logical choice, but changing the gcf and >> get("current_figure") behavior will breaks compatibility. >> A solution for testing if there is no figure is to check winsid()==[] >> >> Serge > I thought that ==[] should be discouraged. > Then isempty(winsid()) would be a better solution > > Adrien That is exactly what I did. ;-) Stefan > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From paul.carrico at free.fr Sat Jul 27 22:58:27 2013 From: paul.carrico at free.fr (Paul Carrico) Date: Sat, 27 Jul 2013 22:58:27 +0200 Subject: [Scilab-users] Scilab compiling Message-ID: <000001ce8b0c$0b554890$21ffd9b0$@carrico@free.fr> All I'm trying to compile Scilab due to glibc library issue ; I installed first hdf5 (not sure it's needed for my purposes, but I did -> -"-without-hdf5" may be used in a second time), and how can I specify the right path to the makefile ? (/usr/local/hdf5 here) Thanks Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.carrico at free.fr Sat Jul 27 23:08:09 2013 From: paul.carrico at free.fr (Paul Carrico) Date: Sat, 27 Jul 2013 23:08:09 +0200 Subject: [Scilab-users] Scilab compiling Message-ID: <000b01ce8b0d$662bb820$32832860$@carrico@free.fr> Additional remark : neither ./configure --without-hdf5 nor ./configure --with-hdf5=/usr/local/hdf5 Works Paul De : Paul Carrico [mailto:paul.carrico at free.fr] Envoy? : samedi 27 juillet 2013 22:58 ? : 'International users mailing list for Scilab.' Objet : Scilab compiling All I?m trying to compile Scilab due to glibc library issue ; I installed first hdf5 (not sure it?s needed for my purposes, but I did -> -?-without-hdf5? may be used in a second time), and how can I specify the right path to the makefile ? (/usr/local/hdf5 here) Thanks Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.carrico at free.fr Sun Jul 28 16:53:05 2013 From: paul.carrico at free.fr (Paul Carrico) Date: Sun, 28 Jul 2013 16:53:05 +0200 Subject: [Scilab-users] Scilab compiling In-Reply-To: <000b01ce8b0d$662bb820$32832860$@carrico@free.fr> References: <000b01ce8b0d$662bb820$32832860$@carrico@free.fr> Message-ID: <000001ce8ba2$2b6e6120$824b2360$@carrico@free.fr> Finally I found the answer in the hdf5.m4 file ; the right sentences are : ./configure --with-hdf5-include=/usr/local/hdf5/include --with-hdf5-library=/usr/local/hdf5/lib Nevertheless after declaring the jdk path for javac, I?ve an error indicating : ?java home variable not defined? ? Where is it declared ? is it necessary to add the path manually in the makefile.in file ? Paul De : users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de Paul Carrico Envoy? : samedi 27 juillet 2013 23:08 ? : 'International users mailing list for Scilab.' Objet : Re: [Scilab-users] Scilab compiling Additional remark : neither ./configure --without-hdf5 nor ./configure --with-hdf5=/usr/local/hdf5 Works Paul De : Paul Carrico [mailto:paul.carrico at free.fr] Envoy? : samedi 27 juillet 2013 22:58 ? : 'International users mailing list for Scilab.' Objet : Scilab compiling All I?m trying to compile Scilab due to glibc library issue ; I installed first hdf5 (not sure it?s needed for my purposes, but I did -> -?-without-hdf5? may be used in a second time), and how can I specify the right path to the makefile ? (/usr/local/hdf5 here) Thanks Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: From stef.schmidt at gmx.de Sun Jul 28 18:20:16 2013 From: stef.schmidt at gmx.de (stef296) Date: Sun, 28 Jul 2013 09:20:16 -0700 (PDT) Subject: [Scilab-users] Loading data from URL Message-ID: <1375028416135-4027104.post@n3.nabble.com> Hi guys, In Matlab you can do some like the below to read data from a CSV file at a given URL. Anybody know how to accomplish this in Scilab? Thanks. Stef ----------------------------- url_string = 'http://ichart.finance.yahoo.com/table.csv?'; url_string = strcat(url_string, '&s=', mtlb_upper(stock_symbol) ); url_string = strcat(url_string, '&d=', mtlb_num2str(this_month-1) ); url_string = strcat(url_string, '&e=', mtlb_num2str(this_day) ); url_string = strcat(url_string, '&f=', mtlb_num2str(this_year) ); url_string = strcat(url_string, '&g=d&a=0&b=1&c=', start_year); url_string = strcat(url_string, '&ignore.csv'); //% Open a connection to the URL and retrieve data into a buffer buffer = java.io.BufferedReader(... java.io.InputStreamReader(... openStream(... java.net.URL(url_string)))); //% Read the first line (a header) and discard dummy = readLine(buffer); -- View this message in context: http://mailinglists.scilab.org/Loading-data-from-URL-tp4027104.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From papriwalprateek at gmail.com Mon Jul 29 07:51:21 2013 From: papriwalprateek at gmail.com (prateek papriwal) Date: Mon, 29 Jul 2013 11:21:21 +0530 Subject: [Scilab-users] Loading data from URL In-Reply-To: <1375028416135-4027104.post@n3.nabble.com> References: <1375028416135-4027104.post@n3.nabble.com> Message-ID: Check out this http://forge.scilab.org/index.php/p/JIMS/ ... This might help you !! On Sun, Jul 28, 2013 at 9:50 PM, stef296 wrote: > Hi guys, > > In Matlab you can do some like the below to read data from a CSV file at a > given URL. Anybody know how to accomplish this in Scilab? > > Thanks. > > Stef > > ----------------------------- > > url_string = 'http://ichart.finance.yahoo.com/table.csv?'; > url_string = strcat(url_string, '&s=', mtlb_upper(stock_symbol) ); > url_string = strcat(url_string, '&d=', mtlb_num2str(this_month-1) ); > url_string = strcat(url_string, '&e=', mtlb_num2str(this_day) ); > url_string = strcat(url_string, '&f=', mtlb_num2str(this_year) ); > url_string = strcat(url_string, '&g=d&a=0&b=1&c=', start_year); > url_string = strcat(url_string, '&ignore.csv'); > > //% Open a connection to the URL and retrieve data into a buffer > buffer = java.io.BufferedReader(... > java.io.InputStreamReader(... > openStream(... > java.net.URL(url_string)))); > > > //% Read the first line (a header) and discard > dummy = readLine(buffer); > > > > > -- > View this message in context: > http://mailinglists.scilab.org/Loading-data-from-URL-tp4027104.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive > at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -- Thanks and Regards Prateek Papriwal B.Tech, Electrical IIT Delhi -------------- next part -------------- An HTML attachment was scrubbed... URL: From jacquih01 at internode.on.net Mon Jul 29 09:00:28 2013 From: jacquih01 at internode.on.net (Jacqui Howe) Date: Mon, 29 Jul 2013 17:00:28 +1000 Subject: [Scilab-users] Problems installing Scilab_XLL in Excel 2007 Message-ID: <000801ce8c29$500c6360$f0252a20$@on.net> Dear Scilab users, I'm having problems integrating the Scilab_XLL add-in into Excel 2007. I have a 64-bit version of Windows 7, but Excel is 32-bit. I've tried both the 64 and 32-bit versions of Scilab 5.4.1, but I can't locate the Scilab_XLL add-in files via Excel, as per the instructions in the Scilab_XLL help files. Scilab gives the location of the add-in files as SCIHOME\atoms\Scilab_XLL\0.1.1-1, but I can't find this location on my system. The only location that seems to have any add-in files is in User\AppData\scilab\atoms\Scilab_XLL\0.1.1-1\src\AddIns\, but Excel says that none of the files in that folder are valid add-in files. Help, please?! Regards, Jacquih -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christophe.Dang at sidel.com Mon Jul 29 10:33:07 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Mon, 29 Jul 2013 10:33:07 +0200 Subject: [Scilab-users] gcf() In-Reply-To: <51F2EA27.7060907@centre-cired.fr> References: <51F2D418.8070107@durietz.se> <51F2DF33.9030602@inria.fr> <51F2EA27.7060907@centre-cired.fr> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F31E90B0CB@301EX00100.sidel.com> Hello, > De : Adrien Vogt-Schilb > Envoy? : vendredi 26 juillet 2013 23:29 > > I thought that ==[] should be discouraged. For which reason? Regards -- Christophe Dang Ngoc Chan Mechanical calculation engineer ______________________________________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ______________________________________________________________________ From rajeshphy1727 at gmail.com Sat Jul 27 18:25:14 2013 From: rajeshphy1727 at gmail.com (rajesh kannan) Date: Sat, 27 Jul 2013 21:55:14 +0530 Subject: [Scilab-users] scilab figure window toolbar icon remove Message-ID: hello, I am using scilab for displaying a graph. Is there any way to remove selected icons from the tool bar. For example, if I want to remove 3d rotation, data tip and help icon, what should be done? I need sample codes also. Thanks in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.E.Howe at utas.edu.au Mon Jul 29 09:45:12 2013 From: J.E.Howe at utas.edu.au (Jacqueline Howe) Date: Mon, 29 Jul 2013 07:45:12 +0000 Subject: [Scilab-users] Problems installing Scilab_XLL in Excel 2007 Message-ID: <4176D0D988E260488D594EBD2E5E0407135720EE@MBXSBYN3.utas.ad.internal> Dear all, Please ignore my previous post this topic. I've just had an email from Tech Support; apparently the build files are missing in Scilab_XLL. New release to follow soon. Cheers, jacquih -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.carrico at free.fr Sun Jul 28 19:43:03 2013 From: paul.carrico at free.fr (Paul Carrico) Date: Sun, 28 Jul 2013 19:43:03 +0200 Subject: [Scilab-users] Scilab NB building & compiling In-Reply-To: <000b01ce8b0d$662bb820$32832860$@carrico@free.fr> References: <000b01ce8b0d$662bb820$32832860$@carrico@free.fr> Message-ID: <000601ce8bb9$e9a8af80$bcfa0e80$@carrico@free.fr> Dear all After some difficulties, I passed the first step i.e. building scilab NB: I failed building scilab including GUI because of flexbook issue while I've been using the latest one On the next step i.e. the compiling, it failed due to javac issues (see attachment) : is there a specific release for the Nightly build release ? Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: config.log Type: application/octet-stream Size: 178936 bytes Desc: not available URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: pb_make.txt URL: From vogt at centre-cired.fr Mon Jul 29 14:40:14 2013 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Mon, 29 Jul 2013 14:40:14 +0200 Subject: [Scilab-users] gcf() In-Reply-To: <3B5FFC67498DFF49AE7271A584867D16F31E90B0CB@301EX00100.sidel.com> References: <51F2D418.8070107@durietz.se> <51F2DF33.9030602@inria.fr> <51F2EA27.7060907@centre-cired.fr> <3B5FFC67498DFF49AE7271A584867D16F31E90B0CB@301EX00100.sidel.com> Message-ID: <51F662AE.5080503@centre-cired.fr> On 29/07/2013 10:33, Dang, Christophe wrote: > Hello, > >> De : Adrien Vogt-Schilb >> Envoy? : vendredi 26 juillet 2013 23:29 >> >> I thought that ==[] should be discouraged. > For which reason? > > Regards > hey I don't remember! I remember that in general empty matrices are tricky when used with booleans, for instance this example displays nothing: if find([1 2 3]==4) disp yes end if ~find([1 2 3]==4) disp no end and is therefore different from this one if find([1 2 3]==4) disp yes else disp no end I also vaguely remember that [] counts as true in some languages and false in some other languages. And that x==[] "should" return false for any x, but returns true is x is empty in scilab, which is not standard (if i remember well). Quite far from the original winsid()==[] (which works fine btw), but the idea is to get used not to test empty matrices when coding because it's messy. (again, I'm not sure about this) -- Adrien Vogt-Schilb (Cired) +33 (0) 1 43 94 73 83 From Christophe.Dang at sidel.com Mon Jul 29 14:47:19 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Mon, 29 Jul 2013 14:47:19 +0200 Subject: [Scilab-users] gcf() In-Reply-To: <51F662AE.5080503@centre-cired.fr> References: <51F2D418.8070107@durietz.se> <51F2DF33.9030602@inria.fr> <51F2EA27.7060907@centre-cired.fr> <3B5FFC67498DFF49AE7271A584867D16F31E90B0CB@301EX00100.sidel.com> <51F662AE.5080503@centre-cired.fr> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F31E90B53F@301EX00100.sidel.com> > De la part de Adrien Vogt-Schilb > Envoy? : lundi 29 juillet 2013 14:40 > > I also vaguely remember that [] counts as true in some languages and > false in some other languages. Thanks for your answer. -- Christophe Dang Ngoc Chan Mechanical calculation engineer ______________________________________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ______________________________________________________________________ From Serge.Steer at inria.fr Mon Jul 29 16:19:10 2013 From: Serge.Steer at inria.fr (Serge Steer) Date: Mon, 29 Jul 2013 16:19:10 +0200 Subject: [Scilab-users] gcf() In-Reply-To: <3B5FFC67498DFF49AE7271A584867D16F31E90B0CB@301EX00100.sidel.com> References: <51F2D418.8070107@durietz.se> <51F2DF33.9030602@inria.fr> <51F2EA27.7060907@centre-cired.fr> <3B5FFC67498DFF49AE7271A584867D16F31E90B0CB@301EX00100.sidel.com> Message-ID: <51F679DE.7070709@inria.fr> Le 29/07/2013 10:33, Dang, Christophe a ?crit : > Hello, > >> De : Adrien Vogt-Schilb >> Envoy? : vendredi 26 juillet 2013 23:29 >> >> I thought that ==[] should be discouraged. > For which reason? May be in the future there will be different empty arrays like n by 0 array empty array with data type.... So using isempty may make codes more robust with respect to such evolution. Serge > > Regards > From Serge.Steer at inria.fr Mon Jul 29 16:21:59 2013 From: Serge.Steer at inria.fr (Serge Steer) Date: Mon, 29 Jul 2013 16:21:59 +0200 Subject: [Scilab-users] scilab figure window toolbar icon remove In-Reply-To: References: Message-ID: <51F67A87.9050105@inria.fr> You can use toolbar(winnumber,'off') but it hides all the tools of the toolbar Serge Le 27/07/2013 18:25, rajesh kannan a ?crit : > hello, > I am using scilab for displaying a graph. Is there any way to remove > selected icons from the tool bar. For example, if I want to remove 3d > rotation, data tip and help icon, what should be done? I need sample > codes also. > > > Thanks in advance > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From unix.nima at gmail.com Mon Jul 29 17:30:09 2013 From: unix.nima at gmail.com (Nima Sahraneshin-Samani) Date: Mon, 29 Jul 2013 20:00:09 +0430 Subject: [Scilab-users] link Wrong value for input argument Message-ID: Hi I have a problem with SciAO tool box in Windows XP . Startup execution: loading initial environment load SciAO toolbox link(+SCICOS+'scicos.dll',scicos_functions,'C'); !--error 999 link Wrong value for input argument #3: 'f' or 'c' expected. at line 268 of exec file called by : exec("C:\PROGRA~1\SCILAB~1.1\contrib\SciAO\\loader.sce"); in execstr instruction called by : 402a874b07:-7fa2");execstr(toolboxes(1));if exists("%oldgcbo") then gcbo = %oldg while executing a callback regards, Nima From Christophe.Dang at sidel.com Mon Jul 29 17:39:52 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Mon, 29 Jul 2013 17:39:52 +0200 Subject: [Scilab-users] gcf() In-Reply-To: <51F679DE.7070709@inria.fr> References: <51F2D418.8070107@durietz.se> <51F2DF33.9030602@inria.fr> <51F2EA27.7060907@centre-cired.fr> <3B5FFC67498DFF49AE7271A584867D16F31E90B0CB@301EX00100.sidel.com> <51F679DE.7070709@inria.fr> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F31E90B85D@301EX00100.sidel.com> > De la part de Serge Steer > Envoy? : lundi 29 juillet 2013 16:19 > > May be in the future there will be different empty arrays > [...] So using isempty may make codes more robust Thanks -- Christophe Dang Ngoc Chan Mechanical calculation engineer ______________________________________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ______________________________________________________________________ From sgougeon at free.fr Mon Jul 29 20:51:26 2013 From: sgougeon at free.fr (Samuel Gougeon) Date: Mon, 29 Jul 2013 20:51:26 +0200 Subject: [Scilab-users] Loading data from URL In-Reply-To: <1375028416135-4027104.post@n3.nabble.com> References: <1375028416135-4027104.post@n3.nabble.com> Message-ID: <51F6B9AE.8050905@free.fr> Hello, getURL(..) will be introduced in Scilab 5.5.0 to read/load some remote content. It is already available in the master branch of Scilab 5.5.0 : http://www.scilab.org/fr/development/nightly_builds/master HTH Samuel From sgougeon at free.fr Mon Jul 29 20:58:15 2013 From: sgougeon at free.fr (Samuel Gougeon) Date: Mon, 29 Jul 2013 20:58:15 +0200 Subject: [Scilab-users] scilab figure window toolbar icon remove In-Reply-To: References: Message-ID: <51F6BB47.7000904@free.fr> Hello, Buttons of the figures windows are defined in the file SCI\modules\gui\etc\graphics_toolbar.xml If you modify it, forthcoming figures windows will be modified, without having to restart Scilab. So if you have admin rights for the directory where your Scilab is installed, you can do what you want. For instance, you may define several versions of this files, and switch from one to another just by renaming the chosen one into graphics_toolbar.xml HTH Samuel Le 27/07/2013 18:25, rajesh kannan a ?crit : > hello, > I am using scilab for displaying a graph. Is there any way to remove > selected icons from the tool bar. For example, if I want to remove 3d > rotation, data tip and help icon, what should be done? I need sample > codes also. > Thanks in advance From sdr at durietz.se Mon Jul 29 21:23:08 2013 From: sdr at durietz.se (Stefan Du Rietz) Date: Mon, 29 Jul 2013 21:23:08 +0200 Subject: [Scilab-users] scilab figure window toolbar icon remove In-Reply-To: <51F6BB47.7000904@free.fr> References: <51F6BB47.7000904@free.fr> Message-ID: <51F6C11C.2030508@durietz.se> Hello Samuel, magnificent! Just by renaming the file, I could directly get my figures without a toolbar! Can I remove the extra title bar in a similar way? Stefan On 2013-07-29 20:58, Samuel Gougeon wrote: -------------------- > Hello, > > Buttons of the figures windows are defined in the file > SCI\modules\gui\etc\graphics_toolbar.xml > > If you modify it, forthcoming figures windows will be modified, without > having to restart Scilab. > So if you have admin rights for the directory where your Scilab is > installed, > you can do what you want. For instance, you may define several versions > of this files, and switch from one to another just by renaming the > chosen one into graphics_toolbar.xml > > HTH > Samuel > > > Le 27/07/2013 18:25, rajesh kannan a ?crit : >> hello, >> I am using scilab for displaying a graph. Is there any way to remove >> selected icons from the tool bar. For example, if I want to remove >> 3d rotation, data tip and help icon, what should be done? I need >> sample codes also. >> Thanks in advance > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From janusz_magrian at o2.pl Tue Jul 30 12:55:14 2013 From: janusz_magrian at o2.pl (Janusz Magrian) Date: Tue, 30 Jul 2013 12:55:14 +0200 Subject: [Scilab-users] C Block code editor Message-ID: <1375181714.12926.13.camel@janusz-ThinkPad-R61> Hello, I would like to test some of my ideas and XCOS (with C Block) seems to be perfect for that but this editor is kind of retarded with fixed window size and "save" option that deletes entire code if any mistake found. I remember having this problem back in version 3 of Scilab and since now nothing has changed. So it's either no one using this block or me doing it wrong. Anyway are there any plans to improve this editor? Not much really needed: proper "save" option and resizable window. Copy/Paste with most common shotcuts (CTRL+C, CTRL+V) would be also nice. Regards Janusz From akhorshidi at live.com Tue Jul 30 18:39:15 2013 From: akhorshidi at live.com (A Khorshidi) Date: Tue, 30 Jul 2013 09:39:15 -0700 (PDT) Subject: [Scilab-users] link Wrong value for input argument In-Reply-To: References: Message-ID: <1375202355933-4027127.post@n3.nabble.com> Hi; You should edit the associated line in the loader script with lower case letter "c". Please pay attention that this toolbox is written for Scilab family 4, however you can still use it under Scicoslab. Please visit: www.scicoslab.org I wish it can help. Mehran _ ----- A Khorshidi | Mechanical Engineering Student at IAU, Tehran, Iran -- View this message in context: http://mailinglists.scilab.org/Scilab-users-link-Wrong-value-for-input-argument-tp4027116p4027127.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From akhorshidi at live.com Tue Jul 30 18:49:45 2013 From: akhorshidi at live.com (A Khorshidi) Date: Tue, 30 Jul 2013 09:49:45 -0700 (PDT) Subject: [Scilab-users] link Wrong value for input argument In-Reply-To: References: Message-ID: <1375202985710-4027128.post@n3.nabble.com> Nima Sahraneshin-Samani wrote > [..] > link(+SCICOS+'scicos.dll',scicos_functions,'C'); > !--error 999 > link Wrong value for input argument #3: 'f' or 'c' expected. > at line 268 of exec file called by : > exec("C:\PROGRA~1\SCILAB~1.1\contrib\SciAO\\loader.sce"); > [..] Hi; You should edit the associated line in the loader script with lower case letter "c". Please pay attention that this toolbox has been written for Scilab family 4, however you can still use it under Scicoslab. Please visit: www.scicoslab.org I wish it can help. Mehran _ ----- A Khorshidi | Mechanical Engineering Student at IAU, Tehran, Iran -- View this message in context: http://mailinglists.scilab.org/Scilab-users-link-Wrong-value-for-input-argument-tp4027116p4027128.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sandy_eze at yahoo.com Tue Jul 30 17:35:31 2013 From: sandy_eze at yahoo.com (Eze-Okoli Ifeoma Sandra) Date: Tue, 30 Jul 2013 15:35:31 +0000 Subject: [Scilab-users] (no subject) Message-ID: <1654234877-1375198493-cardhu_decombobulator_blackberry.rim.net-1529393317-@b16.c11.bise7.blackberry> Good day, i would like to know how to design a multi-component flash distillation system using scilab From pascal.buehler at ch.sauter-bc.com Wed Jul 31 14:15:51 2013 From: pascal.buehler at ch.sauter-bc.com (Pascal Buehler) Date: Wed, 31 Jul 2013 14:15:51 +0200 Subject: [Scilab-users] STEP- Datei Message-ID: Hi there, my name is Pascal, i want to load a STEP file into Scilab. Now, my problem is to seperate the koordinates from the String! I tried various things but non of the is satifying. the goal ist to make the koordinates from string into a matrix of nubers and to display in a figure. Anyone who knows an elegant way? Here the files PS: Something like Opacity in the Scirendere would be nice. with best regards / mit freundlichen Gr?ssen Pascal B?hler Qualit?t-Hardware / Pr?fingenieur SAUTER HeadOffice Fr. Sauter AG Im Surinam 55, CH-4016 Basel Telefon +41 (0)61 695 5646 Telefax +41 (0)61 695 5619 http://www.sauter-controls.com DISCLAIMER: This communication, and the information it contains is for the sole use of the intended recipient. It is confidential, may be legally privileged and protected by law. Unauthorized use, copying or disclosure of any part thereof may be unlawful. If you have received this communication in error, please destroy all copies and kindly notify the sender. Before printing out this e-mail or its attachments, please consider whether it is really necessary to do so. Using less paper helps the environment. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Read_STEP.sce Type: application/octet-stream Size: 624 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: as1-ug-214.stp Type: application/octet-stream Size: 75298 bytes Desc: not available URL: From ezequielsoule at gmail.com Wed Jul 31 14:51:35 2013 From: ezequielsoule at gmail.com (Ezequiel Soule) Date: Wed, 31 Jul 2013 09:51:35 -0300 Subject: [Scilab-users] problem loading environments Message-ID: <51F90857.801@gmail.com> Hello, I keep having this problem, when I try to load a saved ennironments, I get an error "incompatible output arguments" in some function of the environment, and it doesn?t load anything. The function that gives the error works fine, and I don?t get any error when I execute or call the function, just when loading the environment. It is not one particular function, it happened many times, with different environements and different functions. I can load some of the variables if I specifiy then, but I can?t load the whole thing. This happens wiht versions 5.4.0 and 5.4.1, I haven?t try older versions. Any ideas? From sgougeon at free.fr Wed Jul 31 16:49:13 2013 From: sgougeon at free.fr (Samuel Gougeon) Date: Wed, 31 Jul 2013 16:49:13 +0200 Subject: [Scilab-users] STEP- Datei In-Reply-To: References: Message-ID: <51F923E9.7070107@free.fr> Hello, Le 31/07/2013 14:15, Pascal Buehler a ?crit : > .../... > PS: Something like Opacity in the Scirendere would be nice. You may comment and wake up the discussion here: https://bugzilla.scilab.org/show_bug.cgi?id=6053 and have a look there: https://codereview.scilab.org/#/c/12169/ Best regards Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Wed Jul 31 17:37:41 2013 From: sgougeon at free.fr (Samuel Gougeon) Date: Wed, 31 Jul 2013 17:37:41 +0200 Subject: [Scilab-users] STEP- Datei In-Reply-To: References: Message-ID: <51F92F45.4030808@free.fr> Le 31/07/2013 14:15, Pascal Buehler a ?crit : > Hi there, my name is Pascal, > > i want to load a STEP file into Scilab. Now, my problem is to seperate > the koordinates from the String! > I tried various things but non of the is satifying. > the goal ist to make the koordinates from string into a matrix of > nubers and to display in a figure. > Anyone who knows an elegant way? -->Cartesian_Point Cartesian_Point = !#1326=CARTESIAN_POINT('',(0.,0.,0.)); ! .../... ! ! !#1383=CARTESIAN_POINT('centre point',(90.,75.,10.)); ! How do you want to manage the 'centre point' attribute, as well as the "#nnnn" identifier? To grab the 3 coordinates from each of these CARTESIAN_POINT line, you may use: points = []; for cpd = Cartesian_Point' [i,i,m] = regexp(cpd,"/\d{1,}\.\d*/"); points($+1,:) = m.'; end points HTH Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christophe.Dang at sidel.com Wed Jul 31 18:06:43 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Wed, 31 Jul 2013 18:06:43 +0200 Subject: [Scilab-users] (no subject) In-Reply-To: <1654234877-1375198493-cardhu_decombobulator_blackberry.rim.net-1529393317-@b16.c11.bise7.blackberry> References: <1654234877-1375198493-cardhu_decombobulator_blackberry.rim.net-1529393317-@b16.c11.bise7.blackberry> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F31E9C1A2A@301EX00100.sidel.com> Hello, > De la part de Eze-Okoli Ifeoma Sandra > Envoy? : mardi 30 juillet 2013 17:36 > > Good day, i would like to know how to design a multi-component flash > distillation system using scilab This seems to be a physical/chemical engineering problem. Scilab performs calculations, but you decide which calculations. So, first decide what you have to calculate and how, and then we might be able to help you. Best regards -- Christophe Dang Ngoc Chan Mechanical calculation engineer ______________________________________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ______________________________________________________________________ From jasper at amsterchem.com Wed Jul 31 19:15:39 2013 From: jasper at amsterchem.com (jasper van baten) Date: Wed, 31 Jul 2013 19:15:39 +0200 Subject: [Scilab-users] (no subject) In-Reply-To: <3B5FFC67498DFF49AE7271A584867D16F31E9C1A2A@301EX00100.sidel.com> References: <1654234877-1375198493-cardhu_decombobulator_blackberry.rim.net-1529393317-@b16.c11.bise7.blackberry> <3B5FFC67498DFF49AE7271A584867D16F31E9C1A2A@301EX00100.sidel.com> Message-ID: <51F9463B.2090503@amsterchem.com> Hello, First, you will need physical property models that will provide you with fugacity (or fugacity coefficient, or log fugacity coefficient). See here: http://www.amsterchem.com/scilabthermo.html http://www.amsterchem.com/scilabunitop.html (Both only for Window). If you are planning on writing phase-equilibrium based distillation models, that should suffice. For rate-limited based models, you will need to come up with mass transfer coefficient models, diffusion coefficient models, etc. But as Christophe says, you will have to decide on what exactly you want to model. Hope that helps, best wishes, Jasper, AmsterCHEM On 7/31/2013 18:06, Dang, Christophe wrote: > Hello, > >> De la part de Eze-Okoli Ifeoma Sandra >> Envoy? : mardi 30 juillet 2013 17:36 >> >> Good day, i would like to know how to design a multi-component flash >> distillation system using scilab > This seems to be a physical/chemical engineering problem. > > Scilab performs calculations, but you decide which calculations. > > So, first decide what you have to calculate and how, > and then we might be able to help you. > > Best regards > -------------- next part -------------- An HTML attachment was scrubbed... URL: