From mirek@zind.ikem.pwr.wroc.pl Sun Feb 1 11:10:21 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n11HALjV021473 for ; Sun, 1 Feb 2009 11:10:21 -0600 (CST) Received: from dionizos.zind.ikem.pwr.wroc.pl (dionizos.zind.ikem.pwr.wroc.pl [156.17.14.253]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n11HA5eY003487 for ; Sun, 1 Feb 2009 11:10:21 -0600 X-SPF-Record: a.mx.a:infrared.zind.ikem.pwr.wroc.pl.mx:sun1000.pwr.wroc.pl.ip4:156.17.14.89.ip4:156.17.14.252.include:pwr.wroc.pl.-all Received: from dionizos.zind.ikem.pwr.wroc.pl (localhost [127.0.0.1]) by dionizos.zind.ikem.pwr.wroc.pl (8.13.4/8.13.4/check_local-5) with ESMTP id n11H9aPS015628 for ; Sun, 1 Feb 2009 18:09:46 +0100 X-Spam-Filter: check_local@dionizos.zind.ikem.pwr.wroc.pl by digitalanswers.org Received: (from mirek@localhost) by dionizos.zind.ikem.pwr.wroc.pl (8.13.4/8.13.4/Submit) id n11H9Y3h015626 for help-octave@octave.org; Sun, 1 Feb 2009 18:09:35 +0100 Date: Sun, 1 Feb 2009 18:09:32 +0100 From: Miroslaw Kwasniak To: help-octave@octave.org Subject: Re: Maximum size for mesh() plot? Message-ID: <20090201170932.GC14884@zind.ikem.pwr.wroc.pl> Mail-Followup-To: help-octave@octave.org References: <21739152.post@talk.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Feb 2009 17:10:22 -0000 On Fri, Jan 30, 2009 at 10:28:55PM -0500, Ben Abbott wrote: > I tried the 2nd example. A half hour later, gnuplot is still sucking > my cpu, but still no result. Checking my Mac OSX activity monitor, > gnuplot is using about 1GB of memory ... real (18*MB) and virtual (796 > MB) memory. Curious memory usage on OSX ;) Linux (Debian/Lenny): jhandles [*] Usage for octave-3.0.1 (11962): 428572 kB, 16.83s user, 8.86s sys gnuplot [*] Usage for gnuplot (14705): 20736 kB, 0.04s user, 0.00s sys [*] Usage for gnuplot (14704): 257840 kB, 9149.85s user, 73.26s sys [*] Usage for gnuplot_x11 (14706): 76048 kB, 12.95s user, 11.64s sys [*] Usage for octave-3.0.1 (14700): 146088 kB, 14.60s user, 6.57s sys Memory was measured as VMPeak, it should be VMWHM - for jhandles it gives a big differece VMWHM=150MB, for gnuplot it isn't important. From etienne@isr.ist.utl.pt Sun Feb 1 13:43:23 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n11JhNfb029738 for ; Sun, 1 Feb 2009 13:43:23 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n11JhMFN011985 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 1 Feb 2009 13:43:23 -0600 Received: from soma.isr.ist.utl.pt (soma.isr.ist.utl.pt [193.136.138.8]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n11Jh7XM031229 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 1 Feb 2009 13:43:22 -0600 Received: from soma.isr.ist.utl.pt (IDENT:80@localhost [127.0.0.1]) by soma.isr.ist.utl.pt (8.14.1/8.14.1) with ESMTP id n11Kglfc011091 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 1 Feb 2009 20:42:47 GMT Received: (from apache@localhost) by soma.isr.ist.utl.pt (8.14.1/8.14.1/Submit) id n11KgkMk011090; Sun, 1 Feb 2009 12:42:46 -0800 X-Authentication-Warning: soma.isr.ist.utl.pt: apache set sender to etienne@isr.ist.utl.pt using -f Received: from c-67-188-125-222.hsd1.ca.comcast.net (c-67-188-125-222.hsd1.ca.comcast.net [67.188.125.222]) by webmail.isr.ist.utl.pt (Horde Framework) with HTTP; Sun, 01 Feb 2009 12:42:46 -0800 Message-ID: <20090201124246.50684buib12ox268@webmail.isr.ist.utl.pt> Date: Sun, 01 Feb 2009 12:42:46 -0800 From: etienne@isr.ist.utl.pt To: James Moliere Subject: Re: drawing primatives with GNU Octave... References: <1233415063.6427.10.camel@jmoliere-astart> In-Reply-To: <1233415063.6427.10.camel@jmoliere-astart> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline User-Agent: Internet Messaging Program (IMP) H3 (4.3) X-Greylist: Sender is SPF-compliant, not delayed by milter-greylist-4.0 (soma.isr.ist.utl.pt [0.0.0.0]); Sun, 01 Feb 2009 20:42:47 +0000 (WET) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n11JhNfb029738 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, SPF_HELO_PASS Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Feb 2009 19:43:24 -0000 Hi James, may I point you to octave-forge? It has a vrml package that allows to generate vrml code and view it from octave. To view a cylinder parallel to the X axis, of diameter 0.5 and length 2, you can do e.g. ------------------------------------------------------------------------- >> vrml_browse (vrml_cyl ([-1 1; 0 0; 0 0], "col",[1 0 0], "rad",0.5)) ------------------------------------------------------------------------- >> help vrml_cyl s = vrml_cyl(x,...) Makes a cylinder that links x(:,1) to x(:,2) Options : "tran", transparency : Transparency default = 0 "col" , col : Color default = [ 0.3 0.4 0.9 ] "rad" , radius : Radius of segments default = 0.05 "balls" : Add balls to extremities "brad" : Radius of balls default = rad "emit", bool : Use or not emissiveColor "noemit" : Same as emit,0 "arrow" : Last segment is an arrow "hcol", hcol : Set color of the head of the arrow. default = col -------------------------------------------------------------------------- which may not be exactly what you want but ... Hth, Etienne Quoting James Moliere (Sat, 31 Jan 2009 07:17:43 -0800): > Hello, > I'd like to draw 3D primitives with Octave such as cubes, cylinders, > spheres, etc. I don't want to enter equations for these, I'd prefer to > use something like openGL commands such as > > drawCylinder(x, y, z, radius, length, slices); > > If this exists, please show me. I don't want to use equations to draw > these primitives. If not, can anyone direct me on how to integrate a 3D > library like OpenSceneGraph into Octave? I would prefer something like > a guide instead of source code. > > Thanks! > > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > -- http://www.isr.ist.utl.pt/~etienne ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From etienne@isr.ist.utl.pt Sun Feb 1 13:47:18 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n11JlE8T001128 for ; Sun, 1 Feb 2009 13:47:18 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n11JlEcA013662 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 1 Feb 2009 13:47:14 -0600 Received: from soma.isr.ist.utl.pt (soma.isr.ist.utl.pt [193.136.138.8]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n11JlC6N020168 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 1 Feb 2009 13:47:14 -0600 Received: from soma.isr.ist.utl.pt (IDENT:80@localhost [127.0.0.1]) by soma.isr.ist.utl.pt (8.14.1/8.14.1) with ESMTP id n11Kkwkk011107 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 1 Feb 2009 20:46:58 GMT Received: (from apache@localhost) by soma.isr.ist.utl.pt (8.14.1/8.14.1/Submit) id n11KkwXM011106; Sun, 1 Feb 2009 12:46:58 -0800 X-Authentication-Warning: soma.isr.ist.utl.pt: apache set sender to etienne@isr.ist.utl.pt using -f Received: from c-67-188-125-222.hsd1.ca.comcast.net (c-67-188-125-222.hsd1.ca.comcast.net [67.188.125.222]) by webmail.isr.ist.utl.pt (Horde Framework) with HTTP; Sun, 01 Feb 2009 12:46:58 -0800 Message-ID: <20090201124658.62461wx7cru7lb28@webmail.isr.ist.utl.pt> Date: Sun, 01 Feb 2009 12:46:58 -0800 From: etienne@isr.ist.utl.pt To: James Moliere Subject: Re: drawing primatives with GNU Octave... References: <1233415063.6427.10.camel@jmoliere-astart> In-Reply-To: <1233415063.6427.10.camel@jmoliere-astart> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline User-Agent: Internet Messaging Program (IMP) H3 (4.3) X-Greylist: Sender is SPF-compliant, not delayed by milter-greylist-4.0 (soma.isr.ist.utl.pt [0.0.0.0]); Sun, 01 Feb 2009 20:46:58 +0000 (WET) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n11JlE8T001128 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, SPF_HELO_PASS Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Feb 2009 19:47:19 -0000 Hi again, I forgot to add: the viewing is done by the browser freewrl, or whatever browser the global variable vrml_b_name points to. octave:21> global vrml_b_name octave:22> vrml_b_name vrml_b_name = freewrl Hth, Etienne Quoting James Moliere (Sat, 31 Jan 2009 07:17:43 -0800): > Hello, > I'd like to draw 3D primitives with Octave such as cubes, cylinders, > spheres, etc. I don't want to enter equations for these, I'd prefer to > use something like openGL commands such as > > drawCylinder(x, y, z, radius, length, slices); > > If this exists, please show me. I don't want to use equations to draw > these primitives. If not, can anyone direct me on how to integrate a 3D > library like OpenSceneGraph into Octave? I would prefer something like > a guide instead of source code. > > Thanks! > > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > -- http://www.isr.ist.utl.pt/~etienne ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From mbrennwa@gmail.com Mon Feb 2 02:44:28 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n128iSJQ024155 for ; Mon, 2 Feb 2009 02:44:28 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n128iSn4020319 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 2 Feb 2009 02:44:28 -0600 Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.187]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n128iQUA001879 for ; Mon, 2 Feb 2009 02:44:28 -0600 Received: by fk-out-0910.google.com with SMTP id 18so1198708fks.8 for ; Mon, 02 Feb 2009 00:44:25 -0800 (PST) Received: by 10.181.49.3 with SMTP id b3mr1601957bkk.21.1233564265427; Mon, 02 Feb 2009 00:44:25 -0800 (PST) Received: from wut-brennwald.eawag.wroot.emp-eaw.ch (wut-brennwald.eawag.wroot.emp-eaw.ch [152.88.162.52]) by mx.google.com with ESMTPS id 1sm2963701bwz.60.2009.02.02.00.44.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 02 Feb 2009 00:44:24 -0800 (PST) Sender: Matthias Brennwald Message-Id: From: Matthias Brennwald To: help@octave.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: splitting strings? Date: Mon, 2 Feb 2009 09:44:23 +0100 X-Mailer: Apple Mail (2.930.3) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2009 08:44:30 -0000 Dear all I used the 'split' command to split stings in Octave. However, running this code in Matlab results in an error saying that 'split' is unknown to Matlab. Is there an alternative that works on both Octave and Matlab? Matthias From Thomas.Treichl@gmx.net Mon Feb 2 14:13:57 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n12KDvEq019945 for ; Mon, 2 Feb 2009 14:13:57 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n12KDv7Z004412 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 2 Feb 2009 14:13:57 -0600 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n12KDq8b004310 for ; Mon, 2 Feb 2009 14:13:56 -0600 Received: (qmail invoked by alias); 02 Feb 2009 20:13:43 -0000 Received: from e181113201.adsl.alicedsl.de (EHLO MacMini.local) [85.181.113.201] by mail.gmx.net (mp037) with SMTP; 02 Feb 2009 21:13:43 +0100 X-Authenticated: #13438314 X-Provags-ID: V01U2FsdGVkX1/2uOQjgun2hB58RKiCDtTUJpNsOP+DUGtMIaokuV Ce8AYF8yu6jH+4 Message-ID: <498753F2.6030600@gmx.net> Date: Mon, 02 Feb 2009 21:13:38 +0100 From: Thomas Treichl User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Matthias Brennwald Subject: Re: splitting strings? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.63 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2009 20:13:59 -0000 Matthias Brennwald schrieb: > Dear all > > I used the 'split' command to split stings in Octave. However, running > this code in Matlab results in an error saying that 'split' is unknown > to Matlab. Is there an alternative that works on both Octave and Matlab? Hi Matthias, on a 3.0.3 system you can test if the strtok function can be used for your needs, type "help strtok" to get an explanation for this function. The split example from the help message rewritten with the strtok function is N = 2; vstr = "Test string"; for vcnt = 1:N [vres{vcnt}, vstr] = strtok (vstr, "t"); endfor vres{end} = [vres{end}, vstr]; vres or without N, something like vstr = "Test string"; vcnt = 1; while (~isempty (vstr)) [vres{vcnt}, vstr] = strtok (vstr, "t"); vcnt = vcnt + 1; endwhile vres{end} = [vres{end}, vstr]; vres Best regards, Thomas From mbrennwa@gmail.com Tue Feb 3 01:23:48 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n137NlnP009700 for ; Tue, 3 Feb 2009 01:23:48 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n137NlVO031597 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 3 Feb 2009 01:23:47 -0600 Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.187]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n137NjuI023413 for ; Tue, 3 Feb 2009 01:23:47 -0600 Received: by fk-out-0910.google.com with SMTP id 18so1605665fks.8 for ; Mon, 02 Feb 2009 23:23:44 -0800 (PST) Received: by 10.181.234.5 with SMTP id l5mr1982628bkr.124.1233645824386; Mon, 02 Feb 2009 23:23:44 -0800 (PST) Received: from wut-brennwald.eawag.wroot.emp-eaw.ch (wut-brennwald.eawag.wroot.emp-eaw.ch [152.88.162.52]) by mx.google.com with ESMTPS id 7sm3681092bwz.71.2009.02.02.23.23.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 02 Feb 2009 23:23:43 -0800 (PST) Sender: Matthias Brennwald Message-Id: From: Matthias Brennwald To: help@octave.org In-Reply-To: <498753F2.6030600@gmx.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: splitting strings? Date: Tue, 3 Feb 2009 08:23:42 +0100 References: <498753F2.6030600@gmx.net> X-Mailer: Apple Mail (2.930.3) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2009 07:23:49 -0000 On Feb 2, 2009, at 9:13 PM, Thomas Treichl wrote: > Matthias Brennwald schrieb: >> Dear all >> I used the 'split' command to split stings in Octave. However, >> running this code in Matlab results in an error saying that >> 'split' is unknown to Matlab. Is there an alternative that works >> on both Octave and Matlab? > > Hi Matthias, > > on a 3.0.3 system you can test if the strtok function can be used > for your needs, type "help strtok" to get an explanation for this > function. The split example from the help message rewritten with the > strtok function is > > N = 2; > vstr = "Test string"; > > for vcnt = 1:N > [vres{vcnt}, vstr] = strtok (vstr, "t"); > endfor > > vres{end} = [vres{end}, vstr]; > vres > > or without N, something like > > vstr = "Test string"; > vcnt = 1; > > while (~isempty (vstr)) > [vres{vcnt}, vstr] = strtok (vstr, "t"); > vcnt = vcnt + 1; > endwhile > > vres{end} = [vres{end}, vstr]; > vres > > Best regards, > > Thomas Thanks! The second example did the trick (the first seems to loose the last part of the initial string). I had to modify the code a bit to make it work with Matlab too. Just for the record, this is it: -------- vstr = sprintf ('Cars suck\tMotorbikes too\tBicycles are way cool!'); vcnt = 1; while (~isempty (vstr)) [vres{vcnt}, vstr] = strtok (vstr, sprintf ('\t')); vcnt = vcnt + 1; end vres{end} = [vres{end}, vstr]; vres -------- Matthias From djcalderone@gmail.com Tue Feb 3 18:19:23 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n140JNO0020813 for ; Tue, 3 Feb 2009 18:19:23 -0600 (CST) Received: from mail-gx0-f16.google.com (mail-gx0-f16.google.com [209.85.217.16]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n140JMi4006813 for ; Tue, 3 Feb 2009 18:19:23 -0600 Received: by gxk9 with SMTP id 9so2016687gxk.0 for ; Tue, 03 Feb 2009 16:19:16 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.15.73 with SMTP id j9mr67487iba.52.1233706756547; Tue, 03 Feb 2009 16:19:16 -0800 (PST) Date: Tue, 3 Feb 2009 19:19:16 -0500 Message-ID: <367c41ee0902031619q664d9f6dlb97e949c927d8f91@mail.gmail.com> Subject: problem with makeinfo? From: Daniel Calderone To: help-octave@octave.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2009 00:19:24 -0000 I am trying to install octave, and get the error below from the make command. I searched the internet and found other people having this problem, and the solution always seems to be 'install makeinfo'. But I already have it installed. I have GNU make, and "which makeinfo" returns this: /usr/local/bin/makeinfo And this is certainly in my $PATH. What to do? WARNING: `makeinfo' is missing on your system. You should only need it if you modified a `.texi' or `.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy `make' (AIX, DU, IRIX). You might want to install the `Texinfo' package or the `GNU make' package. Grab either from any GNU archive site. You may also need `makeinfo' if you obtained this package from the CVS archive because files that can be automatically generated are not considered source files and are not checked in to the CVS archive. You may also need `makeinfo' if you ran make maintainer-clean and removed files that can be automatically generated but that are normally distributed as part of the package for convenience. make[3]: [../../INSTALL.OCTAVE] Error 1 (ignored) mv INSTALL ../../INSTALL.OCTAVE mv: cannot stat `INSTALL': No such file or directory make[3]: *** [../../INSTALL.OCTAVE] Error 1 make[3]: Leaving directory `/home/Dan/Documents/octave-3.0.3/doc/interpreter' make[2]: *** [../INSTALL.OCTAVE] Error 2 make[2]: Leaving directory `/home/Dan/Documents/octave-3.0.3/doc' make[1]: *** [INSTALL.OCTAVE] Error 2 make[1]: Leaving directory `/home/Dan/Documents/octave-3.0.3' make: *** [all] Error 2 Thanks, Dan From Potorti@isti.cnr.it Wed Feb 4 04:40:39 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n14Aedcf002109 for ; Wed, 4 Feb 2009 04:40:39 -0600 (CST) Received: from ITANIUM.ISTI.CNR.IT (mx4.isti.cnr.it [194.119.192.6]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n14AeYXw018004 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 4 Feb 2009 04:40:39 -0600 Received: from conversionlocal.isti.cnr.it by mx.isti.cnr.it (PMDF V6.4 #31598) id <01N53LF47EZK9LWGRL@mx.isti.cnr.it> for help-octave@octave.org; Wed, 04 Feb 2009 11:39:52 +0100 (MET) Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by mx.isti.cnr.it (PMDF V6.4 #31598) with ESMTPSA id <01N53LFLT97M9FOSAK@mx.isti.cnr.it> for help-octave@octave.org; Wed, 04 Feb 2009 11:40:16 +0100 Received: from pot by tucano.isti.cnr.it with local (Exim 4.69) (envelope-from ) id 1LUfB2-0006Py-0R for help-octave@octave.org; Wed, 04 Feb 2009 11:40:16 +0100 Date: Wed, 04 Feb 2009 11:40:16 +0100 From: Francesco =?iso-8859-1?Q?Potort=EC?= Subject: petition against software patents To: Octave users list Message-id: Organization: MIME-version: 1.0 Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 8BIT X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, SUBJECT_FUZZY_TION, URIBL_BLACK X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2009 10:40:40 -0000 Especially given the recent discussions about alternatives to Octave, I think that the following should be of interest to members of this list. It is an excerpt from the FFII newsletter regarding software patents and the endless extension of copyright duration. Specifically, the first news calls for signing a petition which I invite you to sign. The web site also contains documentation and examples on why software patents are bad. - -------------------- 2009 software patent petition -------------------- Members of our community have once again developed a European petition to overcome the software patent crisis at http://stopsoftwarepatents.eu/ as a contribution to the European Year of Creativity and Innovation 2009. The situation for software innovators remains cumbersome. European courts sometimes accept the validity of granted software patents. The campaign asks for clarifications to substantive patent law. A worldwide campaign site http://stopsoftwarepatents.org/ is also underway. Please contribute to our mailing list for software patents: https://lists.ffii.org/mailman/listinfo/softwarepatents - ----------- Center Left lost trust in Commissioner McCreevy ----------- Internal Market Commissioner Charlie McCreevy was a key defender of the software patent directive. Recently the PES group wrote an angry letter to Commission President Barroso because of McCreevy's alleged inadequate response to the financial crisis: "This is too much. Commissioner McCreevy’s actions demonstrate a total absence of respect for the European Parliament, and appear to be more appropriate for a paid lobbyist of the finance industry than a European Commissioner.[..] We have lost trust and confidence in Commissioner McCreevy." http://www.pes.org/downloads/Letter_to_JMBarroso-16Dec08_EN.pdf - ----------------------- Brimelow's Referral --------------------------- The European Patent Office moves towards a decision on its software patent granting practice. EPO President Brimelow has asked the Enlarged Board of Appeal (EBoA) to provide 'recommendations' concerning the crucial matter of technical character for the patentability of software. http://tinyurl.com/brimelow-referral - ------------------------ Czech Presidency ----------------------------- The Presidency of the European Council rotated to the Czech Republic, which announced to prioritize on the community patent and the European central patent court. http://www.eu2009.cz/scripts/file.php?id=6226&down=yes Watch the presentation of our new President Benjamin Henrion at the 25C3 conference about "Software Patents in Europe via the case law of a Central Court" http://www.slideshare.net/zoobab/stop-software-patents-25c3-presentation http://fr.youtube.com/watch?v=SyC4nktJQbQ - ------------------------ UK Symbian Case ------------------------------ The UK-based company Symbian Ltd. appealed a decision which was against accepting the validity of one of its software related patent applications - which is about a dynamic linking at software compilation time. Mr Justice Patten ruled that the UKIPO was wrong rejecting it. The ruling of Mr Justice Patten can be read at http://www.bailii.org/ew/cases/EWCA/Civ/2008/1066.html The UKIPO has already updated its practice notes regarding software patents: http://www.ipo.gov.uk/pro-types/pro-patent/p-law/p-pn/p-pn-computer.htm - ----------------------------- ACTA ------------------------------------ In 2008 the EU Commission started negotiations on an "Anti-Counterfeiting Trade Agreement" (ACTA) with major trading partners. ACTA's procedural secrecy fuels concerns that the agreement may give 'patent trolls' the means to extort companies, and mandate surveillance of communication over the net. The FFII tries to formally obtain undisclosed documents. Our latest press releases http://tinyurl.com/7g4lyn and others are found on http://press.ffii.org/ We send press releases always to a dedicated distribution list you can join at http://lists.ffii.org/mailman/listinfo/news - -------- Agreement between Microsoft and the Greek government --------- On February 2006, the Greek government and Microsoft announced a strategic partnership agreement. At least 6 questions by the parliament remained unanswered by the government. On January 2008, the government passed the law. The FFII Greece and the Hellenic Linux Users Group filed a complaint to the European Commission, which is still under investigation. See the full story at http://www.ffii.gr/ms-gov-agreement-en - ------------------------ European Disney Act -------------------------- The European Commission proposed to retroactively extend the copyright protection for recordings from 50 to 95 years. The European Parliament discusses the proposal under Rapporteur Brian Crowley http://www.europarl.europa.eu/oeil/file.jsp?id=5667672 The record industry supports the proposal but a British campaign finds it counterproductive: http://www.openrightsgroup.org/ Petition: http://www.soundcopyright.eu/petition Event in Brussels (27.1.2009): http://soundcopyright.eventbrite.com/ Entertaining video: How copyright term extention actually works: http://www.youtube.com/watch?v=kijON_XODUk The FFII General Assembly hold the view that copyright is an effective and accurate form of ownership for software, though the life+70 duration was considered far too long for software. The GA 2008 wants the association to take a strong stance against any attempt to use author's rights to attack the infrastructure of the net. - ------------------- SPLT (Substantive Patent Law Treaty) -------------- For years there have been WIPO deliberations for harmonization of substantive patent law. It was reaffirmed in the 2008 Japan G8 meeting: http://www.mofa.go.jp/policy/economy/summit/2008/doc/doc080709_01_en.html "reaffirm the importance of global patent harmonization and expanding international patent collaboration, including accelerated discussions on the Substantive Patent Law Treaty;" The FFII has observer status at WIPO and is monitoring these developments. - --------------------------------- Quote ------------------------------- "The current 'patent thicket,' in which anyone who writes a successful software programme is sued for alleged patent infringement, highlights the current IP system’s failure to encourage innovation" - - Joseph Stiglitz (Nobel Laureate in Economics) http://www.ip-watch.org/weblog/index.php?p=1129 - ---------------------------- About the FFII --------------------------- The FFII is a not-for-profit association active in over fifty countries, dedicated to the development of information goods for the public benefit, based on copyright, free competition, and open standards. More than 850 members, 3,500 companies and 100,000 supporters have entrusted the FFII to act as their voice in public policy questions concerning exclusion rights (intellectual property) in data processing. - ----------------------- How to support the FFII ---------------------- The FFII is divided in working groups. We welcome new active people in our working groups which are listed at https://action.ffii.org If you consider our work important but you are not able to help actively, you can become a passive sustaining member of the FFII, starting at 15 EUR per year. See http://action.ffii.org/member_application Donations are also welcome. See https://ffii.org/Donations - ------------------------- How to contact us -------------------------- FFII e.V. Blutenburgstr. 17 80636 Munich Germany https://www.ffii.org office@ffii.org Tel. +49 30 417 22 597 Fax: +49 30 417 22 597 IRC: #bxl-ffii @ irc.freenode.net Blogs: http://planet.ffii.org/ Tax number: 143 / 843 / 17600 at the German tax office in Munich. IBAN: DE78701500000031112097, SWIFT/BIC: SSKMDEMM ------- End of forwarded message ------- From f.manseau@ebri.it Wed Feb 4 05:01:32 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n14B1Wa4006458 for ; Wed, 4 Feb 2009 05:01:32 -0600 (CST) Received: from smtp.srt.cnr.it (smtp.srt.cnr.it [150.146.204.6]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n14B1SPN000498 for ; Wed, 4 Feb 2009 05:01:32 -0600 Message-Id: <200902041101.n14B1SPN000498@mx2.cae.wisc.edu> Received: (qmail 30935 invoked by uid 509); 4 Feb 2009 11:01:16 -0000 Received: from 150.146.26.101 by NFSServer1 (envelope-from , uid 501) with qmail-scanner-1.25-st-qms (clamdscan: 0.88.2/1428. spamassassin: 3.1.1. perlscan: 1.25-st-qms. Clear:RC:1(150.146.26.101):. Processed in 0.061308 secs); 04 Feb 2009 11:01:16 -0000 Received: from pcebri.inemm.cnr.it (HELO lab145c) ([150.146.26.101]) (envelope-sender ) by smtp.srt.cnr.it (qmail-ldap-1.03) with SMTP for ; 4 Feb 2009 11:01:16 -0000 From: "frederic manseau" To: Subject: matlab code for filter Date: Wed, 4 Feb 2009 12:01:16 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0000_01C986C0.489C1080" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcmGt7nLyRT0Pcp4SF+bmxiLm10KJg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Qmail-Scanner-Message-ID: <1233745276109630923@NFSServer1> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE, MSGID_FROM_MTA_HEADER X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2009 11:01:34 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0000_01C986C0.489C1080 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, I found this Matlab code for filtering data which is supposed to do a Local regression using weighted linear least squares and a 1st degree polynomial model. pethsmooth=smooth(x,50,'rloess');%%%%%%this uses a Matlab function 'rloess' to smooth the data based on how ever number of points you want belowzero=pethsmooth<0;%%%%%% this detects points below zero (you can't have a negative firing rate) pethsmooth(belowzero)=0; %%%%this sets all those <0 points to 0 in the smoothed PETH Would anyone know if it's possible to adapt this so that it can be used in Octave? Thank you for your help, Frederic Manseau ------=_NextPart_000_0000_01C986C0.489C1080 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

I found this Matlab code for filtering data which is supposed to do a Local regression using weighted linear least squares = and a 1st degree polynomial model.

 

pethsmooth=3Dsmooth(x,50,'rloess');%%%%%%this uses a = Matlab function 'rloess' to smooth the data based on how ever number of points = you want

belowzero=3Dpethsmooth<0;%%%%%% this detects = points below zero (you can't have a negative firing = rate)

pethsmooth(belowzero)=3D0; %%%%this sets all those = <0 points to 0 in the smoothed PETH

 

Would anyone know if it’s possible to adapt = this so that it can be used in Octave?

 

 

Thank you for your help,

 

Frederic Manseau

 

------=_NextPart_000_0000_01C986C0.489C1080-- From bharat@arithos.com Wed Feb 4 05:22:23 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n14BMNSW010326 for ; Wed, 4 Feb 2009 05:22:23 -0600 (CST) Received: from randy.asmallorange.com (randy.asmallorange.com [64.22.96.78]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n14BMJki010798 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 4 Feb 2009 05:22:22 -0600 Received: from localhost ([127.0.0.1]:37513 helo=arithos.com) by randy.asmallorange.com with esmtpa (Exim 4.69) (envelope-from ) id 1LUfpf-0007je-3n for help-octave@octave.org; Wed, 04 Feb 2009 06:22:15 -0500 Received: from 59.92.185.193 ([59.92.185.193]) (SquirrelMail authenticated user bharat@arithos.com) by arithos.com with HTTP; Wed, 4 Feb 2009 06:22:15 -0500 (EST) Message-ID: <50490.59.92.185.193.1233746535.squirrel@arithos.com> Date: Wed, 4 Feb 2009 06:22:15 -0500 (EST) Subject: "help functionname" giving errors on windows vista?? From: bharat@arithos.com To: help-octave@octave.org User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - randy.asmallorange.com X-AntiAbuse: Original Domain - octave.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - arithos.com X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2009 11:22:24 -0000 Dear All, I am facing a strange problem on the help function. Summary is as it goes,,, if I say..... > help plot I get the following error, AllocationBase 0x0, Baseaddress 0x715B0000, RegionSize 0x150000, State 0x10000 D:\install\octave\msys\bin\sed.exe: *** couldn’t reserve space for cygwin's heap win32 error 0 D:\install\octave\share\octave\3.0.1\m\plot\plot.m ================================================================== What could be the problem? I am running octave-3.0.1 on windows vista home edition. The exe was downloaded from octave-forge (non-cygwin version). Do I need to install cygwin for help to function properly?? Regards Bharat Pathak From highegg@gmail.com Wed Feb 4 05:33:54 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n14BXsOd012475 for ; Wed, 4 Feb 2009 05:33:54 -0600 (CST) Received: from mail-fx0-f18.google.com (mail-fx0-f18.google.com [209.85.220.18]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n14BXpiG020882 for ; Wed, 4 Feb 2009 05:33:53 -0600 Received: by fxm11 with SMTP id 11so3096075fxm.0 for ; Wed, 04 Feb 2009 03:33:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.246.1 with SMTP id y1mr1383445mur.116.1233747225460; Wed, 04 Feb 2009 03:33:45 -0800 (PST) In-Reply-To: References: Date: Wed, 4 Feb 2009 12:33:45 +0100 Message-ID: <69d8d540902040333h264e3ea2oe71bdc2b9a33fc5e@mail.gmail.com> Subject: Re: petition against software patents From: Jaroslav Hajek To: =?ISO-8859-1?Q?Francesco_Potort=EC?= Content-Type: text/plain; charset=ISO-8859-1 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n14BXsOd012475 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, SUBJECT_FUZZY_TION Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2009 11:33:55 -0000 On Wed, Feb 4, 2009 at 11:40 AM, Francesco Potortì wrote: > Especially given the recent discussions about alternatives to Octave, I > think that the following should be of interest to members of this list. > It is an excerpt from the FFII newsletter regarding software patents and > the endless extension of copyright duration. > > Specifically, the first news calls for signing a petition which I invite > you to sign. The web site also contains documentation and examples on > why software patents are bad. > Blimey, I had no idea ACTA and European patents were amongst the Czech presidency priorities! What a shame. I'm signing right away. cheers -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From bpabbott@mac.com Wed Feb 4 06:09:56 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n14C9uvp019939 for ; Wed, 4 Feb 2009 06:09:56 -0600 (CST) Received: from asmtpout012.mac.com (asmtpout012.mac.com [17.148.16.87]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n14C9spE020256 for ; Wed, 4 Feb 2009 06:09:56 -0600 MIME-version: 1.0 Content-type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Received: from [10.0.1.196] ([97.100.1.226]) by asmtp012.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPA id <0KEJ00D46J4BMQ60@asmtp012.mac.com> for help-octave@octave.org; Wed, 04 Feb 2009 04:09:49 -0800 (PST) Message-id: <74FEEB19-9E50-4766-A840-B0717BFB3013@mac.com> From: Ben Abbott To: frederic manseau In-reply-to: <200902041101.n14B1SPN000498@mx2.cae.wisc.edu> Subject: Re: matlab code for filter Date: Wed, 04 Feb 2009 07:09:47 -0500 References: <200902041101.n14B1SPN000498@mx2.cae.wisc.edu> X-Mailer: Apple Mail (2.930.3) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n14C9uvp019939 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, FU_LONG_QUERY3 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2009 12:09:58 -0000 On Feb 4, 2009, at 6:01 AM, frederic manseau wrote: > Hi, > > I found this Matlab code for filtering data which is supposed to do > a Local regression using weighted linear least squares and a 1st > degree polynomial model. > > pethsmooth=smooth(x,50,'rloess');%%%%%%this uses a Matlab function > 'rloess' to smooth the data based on how ever number of points you > want > belowzero=pethsmooth<0;%%%%%% this detects points below zero (you > can't have a negative firing rate) > pethsmooth(belowzero)=0; %%%%this sets all those <0 points to 0 in > the smoothed PETH > > Would anyone know if it’s possible to adapt this so that it can be > used in Octave? > > > Thank you for your help, > > Frederic Manseau I assume smooth() is part of MathWorks Curve Fitting Toolbox? http://www.mathworks.com/access/helpdesk/help/toolbox/curvefit/index.html?/access/helpdesk/help/toolbox/curvefit/smooth.html&http://www.google.com/search ?client=safari&rls=en-us&q=matlab+smooth&ie=UTF-8&oe=UTF-8 As far as I can tell there is no non-proprietary implementation that includes the "rloess' option. If a moving average is sufficient, you might try applying the function below. http://www.koders.com/matlab/fidF98C4038125ED2B735FD1A470193BE6D0527537C.aspx The one below uses splines http://www.koders.com/matlab/fid4EB3DAE35400131296D09E63B306CB1A01624579.aspx?s=Chebyshev I haven't tried any of these, so I can't attest to their capabilities. The two lines below, will run fine in Octave. > belowzero=pethsmooth<0; > pethsmooth(belowzero)=0; It would be easier (and I think clearer) to write pethsmooth (pethsmooth<0) = 0; Ben From soren@hauberg.org Wed Feb 4 06:16:09 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n14CG9Wx021874 for ; Wed, 4 Feb 2009 06:16:09 -0600 (CST) Received: from mailserver.fabermail.dk (cpe.atm4-0-71392.0x50c46ba6.bynxx17.customer.tele.dk [80.196.107.166]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n14CG8ro003288 for ; Wed, 4 Feb 2009 06:16:09 -0600 Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id A050ED39FF; Wed, 4 Feb 2009 13:16:00 +0100 (CET) X-Virus-Scanned: by amavisd-new Received: from mailserver.fabermail.dk ([127.0.0.1]) by localhost (mailserver.fabermail.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yMdBwNYivpFW; Wed, 4 Feb 2009 13:15:59 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id 6A11FD3A00; Wed, 4 Feb 2009 13:15:59 +0100 (CET) Received: from [192.168.16.213] (unknown [192.38.109.188]) by mailserver.fabermail.dk (Postfix) with ESMTP id 2E9A8D39FF; Wed, 4 Feb 2009 13:15:58 +0100 (CET) Subject: Re: matlab code for filter From: =?ISO-8859-1?Q?S=F8ren?= Hauberg To: Ben Abbott In-Reply-To: <74FEEB19-9E50-4766-A840-B0717BFB3013@mac.com> References: <200902041101.n14B1SPN000498@mx2.cae.wisc.edu> <74FEEB19-9E50-4766-A840-B0717BFB3013@mac.com> Content-Type: text/plain; charset="UTF-8" Date: Wed, 04 Feb 2009 13:16:00 +0100 Message-Id: <1233749760.8252.27.camel@sh-t400> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 8bit X-Seen-By: Mailfromd 3.1.3 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RDNS_DYNAMIC Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2009 12:16:10 -0000 ons, 04 02 2009 kl. 07:09 -0500, skrev Ben Abbott: > The two lines below, will run fine in Octave. > > > belowzero=pethsmooth<0; > > pethsmooth(belowzero)=0; > > It would be easier (and I think clearer) to write > > pethsmooth (pethsmooth<0) = 0; Or pethsmooth = max (pethsmooth, 0); Søren From pathak.bharat@gmail.com Sun Feb 1 21:42:31 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n123gUiM024845 for ; Sun, 1 Feb 2009 21:42:30 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n123gU4x023072 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 1 Feb 2009 21:42:30 -0600 Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.184]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n123gR38003773 for ; Sun, 1 Feb 2009 21:42:30 -0600 Received: by ti-out-0910.google.com with SMTP id w7so696914tib.6 for ; Sun, 01 Feb 2009 19:42:26 -0800 (PST) Received: by 10.110.40.8 with SMTP id n8mr5764817tin.5.1233546146416; Sun, 01 Feb 2009 19:42:26 -0800 (PST) Received: from bharatPC ([59.92.142.86]) by mx.google.com with ESMTPS id j5sm8196391tid.18.2009.02.01.19.42.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 01 Feb 2009 19:42:24 -0800 (PST) Message-ID: <7BA27DD011B9486C9DDCAD54B4490635@bharatPC> From: "bharat pathak" To: Subject: help is giving errors Date: Mon, 2 Feb 2009 09:12:12 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0024_01C98516.55579E30" X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 12.0.1606 X-MimeOLE: Produced By Microsoft MimeOLE V12.0.1606 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, HTML_MESSAGE X-Mailman-Approved-At: Wed, 04 Feb 2009 08:59:23 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2009 03:42:32 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0024_01C98516.55579E30 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, If I say,,=20 > help plot I get the following error, AllocationBase 0x0, Baseaddress 0x715B0000, RegionSize 0x150000, = State 0x10000 D:\install\octave\msys\bin\sed.exe: *** couldn't reserve space for = cygwin's heap win32 error 0 D:\install\octave\share\octave\3.0.1\m\plot\plot.m =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D What could be the problem? I am running octave-3.0.1 on windows vista = home edition. The exe was downloaded from octave-forge (non-cygwin version). Do I need to install cygwin for help to function properly?? Regards Bharat Pathak ------=_NextPart_000_0024_01C98516.55579E30 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
 
    If I say,, =
 
   > help = plot
 
   I get the following=20 error,
 
   AllocationBase 0x0, = Baseaddress=20 0x715B0000, RegionSize 0x150000, State 0x10000
   = D:\install\octave\msys\bin\sed.exe:=20 *** couldn=92t reserve space for cygwin's heap
   win32 error 0
 
  =20 D:\install\octave\share\octave\3.0.1\m\plot\plot.m
 
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 
   What could be the problem? = I am=20 running octave-3.0.1 on windows vista home edition.
 
   The exe was downloaded = from=20 octave-forge (non-cygwin version).
 
   Do I need to install = cygwin for help=20 to function properly??
 
Regards
Bharat = Pathak
------=_NextPart_000_0024_01C98516.55579E30-- From filippo.dacarro@eucentre.it Wed Feb 4 07:45:02 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n14Dj2st010212 for ; Wed, 4 Feb 2009 07:45:02 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n14Dj234017742 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 4 Feb 2009 07:45:02 -0600 Received: from eucentre.hypergrid.it (tecnica1.unipv.it [193.206.66.14]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n14DitpM003685 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Wed, 4 Feb 2009 07:45:01 -0600 Received: (qmail 15774 invoked by uid 1005); 4 Feb 2009 13:44:51 -0000 Received: from 172.16.10.164 by eucentre (envelope-from , uid 1002) with qmail-scanner-2.02st (uvscan: v5.1.00/v5515. spamassassin: 3.2.5. perlscan: 2.02st. Clear:RC:1(172.16.10.164):. Processed in 0.039481 secs); 04 Feb 2009 13:44:51 -0000 Received: from unknown (HELO VAI5000149) (172.16.10.164) by 0 with SMTP; 4 Feb 2009 13:44:51 -0000 From: "Filippo Dacarro" To: Subject: installation Date: Wed, 4 Feb 2009 14:48:55 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_010E_01C986D7.B47E3370" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcmGz1J5NXHOsYAOR6m3lIIkU9Z14A== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Message-ID: <1233755091101515762@eucentre> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, HTML_MESSAGE X-Mailman-Approved-At: Wed, 04 Feb 2009 08:59:23 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2009 13:45:03 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_010E_01C986D7.B47E3370 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I had downloaded octave-3.0.3.tar.gz but I do not understand how to = install. =20 Thanks Filippo =20 Dott. Ing. Filippo Dacarro EUCENTRE - European Centre for Training and Research in Earthquake Engineering Polo Cravino - Universit=E0 degli Studi di Pavia Via Ferrata, 1 - 27100 Pavia - Italy Tel.: (+39) 0382.516919 Fax: (+39) 0382.516928 E-mail: = Laboratorio@eucentre.it E-mail: filippo.dacarro@eucentre.it Website: www.eucentre.it =20 =20 ------=_NextPart_000_010E_01C986D7.B47E3370 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

I had downloaded octave-3.0.3.tar.gz but I do = not understand how to install.

 

Thanks=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = Filippo

 

Dott. Ing. Filippo = Dacarro
EUCENTRE - European Centre for = Training
and Research = in Earthquake Engineering
Polo Cravino = - Universit=E0 degli Studi di Pavia
Via Ferrata, = 1 - 27100 Pavia - Italy
Tel.: (+39) = 0382.516919
Fax: (+39) = 0382.516928
E-mail: =
Laborat= orio@eucentre.it
E-mail: filippo= .dacarro@eucentre.it
Website: www.euc= entre.it

 

 

------=_NextPart_000_010E_01C986D7.B47E3370-- From ivan.sutoris@gmail.com Wed Feb 4 09:18:34 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n14FIXIf004506 for ; Wed, 4 Feb 2009 09:18:33 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n14FIXeJ001066 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 4 Feb 2009 09:18:33 -0600 Received: from ey-out-1920.google.com (ey-out-1920.google.com [74.125.78.149]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n14FIWn4016179 for ; Wed, 4 Feb 2009 09:18:33 -0600 Received: by ey-out-1920.google.com with SMTP id 3so292048eyh.48 for ; Wed, 04 Feb 2009 07:18:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.250.1 with SMTP id c1mr850244mus.64.1233760711308; Wed, 04 Feb 2009 07:18:31 -0800 (PST) In-Reply-To: <1233755091101515762@eucentre> References: <1233755091101515762@eucentre> Date: Wed, 4 Feb 2009 16:18:31 +0100 Message-ID: <65d1f7fc0902040718y1afd2e4cr536d9ca047260208@mail.gmail.com> Subject: Re: installation From: Ivan Sutoris To: Filippo Dacarro Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2009 15:18:35 -0000 On Wed, Feb 4, 2009 at 2:48 PM, Filippo Dacarro wrote: > I had downloaded octave-3.0.3.tar.gz but I do not understand how to install. > > > > Thanks Filippo You have downloaded source code, which has to be compiled. If you just want to use (and not modify) Octave, it is usually easier to use binary packages - if you are using Windows, there is standard installer available from octave.sourceforge.net (click on Windows installer, then choose octave-3.0.3-setup.exe). If you are using Linux, it is possible that your distribution already allows to install octave through its package-management system (e.g. apt-get in Debian, Yast in SUSE etc.). Regards Ivan Sutoris From michael.goffioul@gmail.com Wed Feb 4 09:23:45 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n14FNjRr005766 for ; Wed, 4 Feb 2009 09:23:45 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n14FNjw1004089 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 4 Feb 2009 09:23:45 -0600 Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.186]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n14FNf8g020569 for ; Wed, 4 Feb 2009 09:23:45 -0600 Received: by mu-out-0910.google.com with SMTP id g7so475099muf.4 for ; Wed, 04 Feb 2009 07:23:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.181.226.5 with SMTP id d5mr754624bkr.116.1233761020750; Wed, 04 Feb 2009 07:23:40 -0800 (PST) In-Reply-To: <7BA27DD011B9486C9DDCAD54B4490635@bharatPC> References: <7BA27DD011B9486C9DDCAD54B4490635@bharatPC> Date: Wed, 4 Feb 2009 15:23:40 +0000 Message-ID: <128f38bd0902040723t6491c5b8wd1644e304f372e8c@mail.gmail.com> Subject: Re: help is giving errors From: Michael Goffioul To: bharat pathak Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2009 15:23:46 -0000 On Mon, Feb 2, 2009 at 3:42 AM, bharat pathak wrote: > Hello, > > If I say,, > > > help plot > > I get the following error, > > AllocationBase 0x0, Baseaddress 0x715B0000, RegionSize 0x150000, State > 0x10000 > D:\install\octave\msys\bin\sed.exe: *** couldn't reserve space for > cygwin's heap > win32 error 0 > > D:\install\octave\share\octave\3.0.1\m\plot\plot.m > > ================================================================== > > What could be the problem? I am running octave-3.0.1 on windows vista > home edition. > > The exe was downloaded from octave-forge (non-cygwin version). > > Do I need to install cygwin for help to function properly?? No. The message is confusing, because msys is re-using some code from cygwin project, but you don't need cygwin. This does not solve your problem, but at the moment, I can't figure out why this is happening. Michael. From Fred.Touwslager@PolymerVision.com Wed Feb 4 10:25:18 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n14GPIQN019954 for ; Wed, 4 Feb 2009 10:25:18 -0600 (CST) Received: from htc25.hightechcampus.nl (htc25.hightechcampus.nl [194.171.252.58]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n14GPG4M023364 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 4 Feb 2009 10:25:18 -0600 Received: from c3mail1.hightechcampus.nl (c3mail1.hightechcampus.nl [10.56.136.241]) by htc25.hightechcampus.nl (8.12.11.20060308/8.12.11) with ESMTP id n14GPFlQ001273 for ; Wed, 4 Feb 2009 17:25:15 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C986E5.29948152" Subject: use of convhulln to calculate total area and volume Date: Wed, 4 Feb 2009 17:25:15 +0100 Message-ID: <7A0346AB80BF9D4DB4A662F70CC06C99FD86F7@c3mail1.hightechcampus.nl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: use of convhulln to calculate total area and volume Thread-Index: AcmG5SkQm+gksJgESLy1ksB9hscMsA== From: "Fred Touwslager" To: X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, HTML_MESSAGE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2009 16:25:19 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C986E5.29948152 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable According to the documentation of qhull I should be able to compute the volume of a convex hull in 3 dimensions by using the option: s FA. Using the qhull program in a Cygwin environment this works.=20 =20 However, using convhulln(P,{"s","FA"}) in Octave gives me only the index vector to the points of the enclosing convex hull, and not the volume. =20 In MatLab the use is: [l v] =3D convhull(P); =20 But I'm not able to get this working in Octave 3.0.3 (under Windows XP). =20 Anybody any Idea what I'm doing wrong? =20 Kind regards,=20 Fred J. Touwslager=20 ------_=_NextPart_001_01C986E5.29948152 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
According to the=20 documentation of qhull I should be able to compute the volume of a = convex hull=20 in 3 dimensions by using the option: s FA.
Using = the qhull=20 program in a Cygwin environment this works.
 
However, using=20 convhulln(P,{"s","FA"}) in Octave gives me only the index vector to the = points=20 of the enclosing convex hull, and not the volume.
 
In = MatLab the use=20 is: [l v] =3D convhull(P);
 
But = I'm not able to=20 get this working in Octave 3.0.3 (under Windows XP).
 
Anybody any Idea=20 what I'm doing wrong?
 

Kind regards,=20

Fred J. = Touwslager

------_=_NextPart_001_01C986E5.29948152-- From jos@ccrma.stanford.edu Wed Feb 4 13:18:27 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n14JIREQ029995 for ; Wed, 4 Feb 2009 13:18:27 -0600 (CST) Received: from quasor.lunarpages.com (quasor.lunarpages.com [67.210.126.125]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n14JIPp9005602 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 4 Feb 2009 13:18:27 -0600 Message-Id: <200902041918.n14JIPp9005602@mx1.cae.wisc.edu> Received: from adsl-63-195-51-145.dsl.snfc21.pacbell.net ([63.195.51.145] helo=JOS-VMware.ccrma.stanford.edu) by quasor.lunarpages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LUnGO-0002zh-1Z; Wed, 04 Feb 2009 11:18:20 -0800 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Wed, 04 Feb 2009 11:17:56 -0800 To: Jordi Burguet Castell From: Julius Smith Subject: Re: does freqresp exist in octave? In-Reply-To: <1d6905490901291534i15bd235gedf5ec386ac6f82a@mail.gmail.com > References: <1d6905490901291534i15bd235gedf5ec386ac6f82a@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/html; charset="us-ascii" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - quasor.lunarpages.com X-AntiAbuse: Original Domain - octave.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - ccrma.stanford.edu X-Source: X-Source-Args: X-Source-Dir: X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE, MIME_HTML_ONLY, MSGID_FROM_MTA_HEADER Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2009 19:18:29 -0000 I would probably write this as ss2tf followed by either freqz or freqs, as appropriate - jos

At 03:34 PM 1/29/2009, Jordi Burguet Castell wrote:
Hello,

I'd like to know if the function freqresp, which can be found in
matlab's Control System Toolbox, is also present in octave or any of
the packages... I've seen __freqresp__ exists, but I cannot find
documentation for it ("Undocumented internal function"). Is it just a
placeholder or something?

The function I am referring to is documented in:
http://www.mathworks.com/access/helpdesk/help/toolbox/control/index.html?/access/helpdesk/help/toolbox/control/ref/freqresp.html

Thanks!
jordi
_______________________________________________
Help-octave mailing list
Help-octave@octave.org
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave


Julius O. Smith III <jos@ccrma.stanford.edu>
Prof. of Music and Assoc. Prof. (by courtesy) of Electrical Engineering
CCRMA, Stanford University
http://ccrma.stanford.edu/~jos/
From jos@ccrma.stanford.edu Wed Feb 4 13:18:28 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n14JIRKF029999 for ; Wed, 4 Feb 2009 13:18:27 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n14JIRxS007958 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 4 Feb 2009 13:18:27 -0600 Received: from quasor.lunarpages.com (quasor.lunarpages.com [67.210.126.125]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n14JIPkM026760 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 4 Feb 2009 13:18:27 -0600 Message-Id: <200902041918.n14JIPkM026760@mx3.cae.wisc.edu> Received: from adsl-63-195-51-145.dsl.snfc21.pacbell.net ([63.195.51.145] helo=JOS-VMware.ccrma.stanford.edu) by quasor.lunarpages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LUnGN-0002zh-Mk; Wed, 04 Feb 2009 11:18:19 -0800 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Wed, 04 Feb 2009 11:05:10 -0800 To: Michael Goffioul From: Julius Smith Subject: Re: help is giving errors In-Reply-To: <128f38bd0902040723t6491c5b8wd1644e304f372e8c@mail.gmail.co m> References: <7BA27DD011B9486C9DDCAD54B4490635@bharatPC> <128f38bd0902040723t6491c5b8wd1644e304f372e8c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/html; charset="us-ascii" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - quasor.lunarpages.com X-AntiAbuse: Original Domain - octave.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - ccrma.stanford.edu X-Source: X-Source-Args: X-Source-Dir: X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE, MIME_HTML_ONLY, MSGID_FROM_MTA_HEADER Cc: bharat pathak , help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2009 19:18:29 -0000 It sounds like memory allocation failed - maybe a full disk? - jos

At 07:23 AM 2/4/2009, Michael Goffioul wrote:

On Mon, Feb 2, 2009 at 3:42 AM, bharat pathak <pathak.bharat@gmail.com> wrote:
> Hello,
>
>     If I say,,
>
>    > help plot
>
>    I get the following error,
>
>    AllocationBase 0x0, Baseaddress 0x715B0000, RegionSize 0x150000, State
> 0x10000
>    D:\install\octave\msys\bin\sed.exe: *** couldn't reserve space for
> cygwin's heap
>    win32 error 0
>
>    D:\install\octave\share\octave\3.0.1\m\plot\plot.m
>
> ==================================================================
>
>    What could be the problem? I am running octave-3.0.1 on windows vista
> home edition.
>
>    The exe was downloaded from octave-forge (non-cygwin version).
>
>    Do I need to install cygwin for help to function properly??

No. The message is confusing, because msys is re-using some code from
cygwin project, but you don't need cygwin.

This does not solve your problem, but at the moment, I can't figure
out why this is happening.

Michael.
_______________________________________________
Help-octave mailing list
Help-octave@octave.org
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave


Julius O. Smith III <jos@ccrma.stanford.edu>
Prof. of Music and Assoc. Prof. (by courtesy) of Electrical Engineering
CCRMA, Stanford University
http://ccrma.stanford.edu/~jos/
From tmacchant@yahoo.co.jp Wed Feb 4 20:42:45 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n152gi6B020605 for ; Wed, 4 Feb 2009 20:42:44 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n152gifH001426 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 4 Feb 2009 20:42:44 -0600 Received: from web3809.mail.bbt.yahoo.co.jp (web3809.mail.bbt.yahoo.co.jp [202.93.85.239]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n152geHx023114 for ; Wed, 4 Feb 2009 20:42:43 -0600 Received: (qmail 42460 invoked by uid 60001); 5 Feb 2009 02:42:33 -0000 Message-ID: <20090205024233.42458.qmail@web3809.mail.bbt.yahoo.co.jp> Received: from [133.6.57.2] by web3809.mail.bbt.yahoo.co.jp via HTTP; Thu, 05 Feb 2009 11:42:32 JST Date: Thu, 5 Feb 2009 11:42:32 +0900 (JST) From: Tatsuro MATSUOKA Subject: OctaveForWindows Wiki is updated. ( relase of octave-3.0.3 for cygwin ) To: help@octave.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: MATSUOKA Tatsuro X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: tmacchant@yahoo.co.jp List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2009 02:42:46 -0000 Hello I have updated OctaveForWindows Wiki. http://wiki.octave.org/wiki.pl?OctaveForWindows Relase of octave-3.0.3 for cygwin is reported. Regards Tatsuro -------------------------------------- Yahoo! JAPAN - Internet safety for children and parents. http://pr.mail.yahoo.co.jp/security/ From pathak.bharat@gmail.com Wed Feb 4 21:26:24 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n153QOP1004188 for ; Wed, 4 Feb 2009 21:26:24 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n153QOtm020633 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 4 Feb 2009 21:26:24 -0600 Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.186]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n153QLtL023677 for ; Wed, 4 Feb 2009 21:26:23 -0600 Received: by ti-out-0910.google.com with SMTP id 24so35405tim.6 for ; Wed, 04 Feb 2009 19:26:20 -0800 (PST) Received: by 10.110.73.3 with SMTP id v3mr4964tia.7.1233804380400; Wed, 04 Feb 2009 19:26:20 -0800 (PST) Received: from bharatPC ([59.92.177.166]) by mx.google.com with ESMTPS id 14sm136500tim.9.2009.02.04.19.26.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 04 Feb 2009 19:26:17 -0800 (PST) Message-ID: From: "bharat pathak" To: "Michael Goffioul" , "Julius Smith" References: <7BA27DD011B9486C9DDCAD54B4490635@bharatPC> <128f38bd0902040723t6491c5b8wd1644e304f372e8c@mail.gmail.com> <4989e9fe.050bca0a.54f5.4af8SMTPIN_ADDED@mx.google.com> Subject: Re: help is giving errors Date: Thu, 5 Feb 2009 08:56:02 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0010_01C9876F.924A9210" X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 12.0.1606 X-MimeOLE: Produced By Microsoft MimeOLE V12.0.1606 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE, RCVD_IN_BL_SPAMCOP_NET X-Mailman-Approved-At: Thu, 05 Feb 2009 05:07:36 -0600 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2009 03:26:26 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0010_01C9876F.924A9210 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable julius, disk is not full as in D drive where octave is installed 18 gb of free = space is there. where os is installed on C drive 26gb of free space is there. also I tried installing different version like the higher ones, but I = keep getting into same problems. rgds bharat From: Julius Smith=20 Sent: Thursday, February 05, 2009 12:35 AM To: Michael Goffioul=20 Cc: bharat pathak ; help@octave.org=20 Subject: Re: help is giving errors It sounds like memory allocation failed - maybe a full disk? - jos At 07:23 AM 2/4/2009, Michael Goffioul wrote: On Mon, Feb 2, 2009 at 3:42 AM, bharat pathak = wrote: > Hello, > > If I say,, > > > help plot > > I get the following error, > > AllocationBase 0x0, Baseaddress 0x715B0000, RegionSize 0x150000, = State > 0x10000 > D:\install\octave\msys\bin\sed.exe: *** couldn't reserve space = for > cygwin's heap > win32 error 0 > > D:\install\octave\share\octave\3.0.1\m\plot\plot.m > > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > What could be the problem? I am running octave-3.0.1 on windows = vista > home edition. > > The exe was downloaded from octave-forge (non-cygwin version). > > Do I need to install cygwin for help to function properly?? No. The message is confusing, because msys is re-using some code from cygwin project, but you don't need cygwin. This does not solve your problem, but at the moment, I can't figure out why this is happening. Michael. _______________________________________________ Help-octave mailing list Help-octave@octave.org https://www-old.cae.wisc.edu/mailman/listinfo/help-octave Julius O. Smith III Prof. of Music and Assoc. Prof. (by courtesy) of Electrical Engineering CCRMA, Stanford University http://ccrma.stanford.edu/~jos/=20 ------=_NextPart_000_0010_01C9876F.924A9210 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

julius,
 
disk is not full as in D drive where = octave is=20 installed 18 gb of free space is there.
 
where os is installed on C drive 26gb = of free space=20 is there.
 
also I tried installing different = version like the=20 higher ones, but I keep getting into
same problems.
 
rgds
bharat

Sent: Thursday, February 05, 2009 12:35 AM
Cc: bharat pathak ; help@octave.org
Subject: Re: help is giving errors

It sounds like memory allocation failed - = maybe a=20 full disk? - jos

At 07:23 AM 2/4/2009, Michael Goffioul = wrote:
On Mon, Feb 2, 2009 at = 3:42 AM,=20 bharat pathak <pathak.bharat@gmail.com>=20 wrote:
> Hello,
>
>     If I=20 say,,
>
>    > help=20 plot
>
>    I get the following=20 error,
>
>    AllocationBase 0x0, = Baseaddress=20 0x715B0000, RegionSize 0x150000, State
>=20 0x10000
>    D:\install\octave\msys\bin\sed.exe: = ***=20 couldn't reserve space for
> cygwin's = heap
>   =20 win32 error 0
>
>   =20 D:\install\octave\share\octave\3.0.1\m\plot\plot.m
>
>=20 = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> &nb= sp; =20 What could be the problem? I am running octave-3.0.1 on windows = vista
>=20 home edition.
>
>    The exe was downloaded = from=20 octave-forge (non-cygwin version).
>
>    = Do I need=20 to install cygwin for help to function properly??

No. The = message is=20 confusing, because msys is re-using some code from
cygwin project, = but you=20 don't need cygwin.

This does not solve your problem, but at the = moment,=20 I can't figure
out why this is=20 = happening.

Michael.
___________________________________________= ____
Help-octave=20 mailing list
Help-octave@octave.org
https://www-old.cae.wisc.edu/mailman/listinfo/help-oct= ave


Julius O. Smith III = <jos@ccrma.stanford.edu>
Prof. of=20 Music and Assoc. Prof. (by courtesy) of Electrical Engineering
CCRMA, = Stanford University
http://ccrma.stanford.edu/~jos/ =

------=_NextPart_000_0010_01C9876F.924A9210-- From oscarbayonacandel@hotmail.com Thu Feb 5 08:46:58 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n15Ekwpl028433 for ; Thu, 5 Feb 2009 08:46:58 -0600 (CST) Received: from col0-omc2-s16.col0.hotmail.com (col0-omc2-s16.col0.hotmail.com [65.55.34.90]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n15EkuwB032300 for ; Thu, 5 Feb 2009 08:46:58 -0600 Received: from COL118-W37 ([65.55.34.71]) by col0-omc2-s16.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 5 Feb 2009 06:46:51 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_36317b26-b317-4aa3-a5f2-30dca69f01d5_" X-Originating-IP: [84.123.70.156] From: Oscar Bayona Candel To: oCTAVE Subject: Time series analysis Date: Thu, 5 Feb 2009 15:46:51 +0100 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 05 Feb 2009 14:46:51.0608 (UTC) FILETIME=[94B38580:01C987A0] X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2009 14:46:59 -0000 --_36317b26-b317-4aa3-a5f2-30dca69f01d5_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all=2C =20 There is some econometric package related with time series analysis and spe= cifically related with GARCH stimation? =20 Thanks in advance. _________________________________________________________________ Descubre c=F3mo compartir tus fotos con Windows Live. =A1Pru=E9balo ya!=20 http://home.live.com/= --_36317b26-b317-4aa3-a5f2-30dca69f01d5_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all=2C
 =3B
There is some econometric package related with time series analysis and spe= cifically related with GARCH stimation?
 =3B
Thanks in advance.



El doble de diversi=F3n: Con Windows Live Messenger comparte fotos mientras hablas. = --_36317b26-b317-4aa3-a5f2-30dca69f01d5_-- From highegg@gmail.com Thu Feb 5 10:16:32 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n15GGWYA017540 for ; Thu, 5 Feb 2009 10:16:32 -0600 (CST) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n15GGUuZ031202 for ; Thu, 5 Feb 2009 10:16:32 -0600 Received: by ewy14 with SMTP id 14so503712ewy.13 for ; Thu, 05 Feb 2009 08:16:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.5.14 with SMTP id h14mr273054mui.108.1233850584221; Thu, 05 Feb 2009 08:16:24 -0800 (PST) Date: Thu, 5 Feb 2009 17:16:24 +0100 Message-ID: <69d8d540902050816j6cae9f9ayde97bab2286d334e@mail.gmail.com> Subject: profiling Octave From: Jaroslav Hajek To: Octave users list Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2009 16:16:33 -0000 hi, has anyone experience profiling with gcc/g++? I wanted to try profiling Octave to identify hot spots in the interpreter, but can't get it to work. I configured using configure CFLAGS="-O2 -pg" CXXFLAGS="-O2 -pg" LDFLAGS=-pg, then built and ran ./run-octave on a test script. It produced a gmon.out file, but `gprof src/octave' does not show anything. So far I was unable to find any useful information how to get this working. A similar strategy works on a single sample C++ file (g++ -pg, then gprof). Has anyone experience with this? I would really prefer to do this with GCC rather than a commercial compiler. best regards -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From romeyke@cbs.mpg.de Thu Feb 5 10:44:11 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n15GiBac023286 for ; Thu, 5 Feb 2009 10:44:11 -0600 (CST) Received: from zimbra.cbs.mpg.de (zimbra.cbs.mpg.de [194.95.183.231]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n15Gi8UC021428 for ; Thu, 5 Feb 2009 10:44:11 -0600 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.cbs.mpg.de (Postfix) with ESMTP id 807752CC151 for ; Thu, 5 Feb 2009 17:44:02 +0100 (CET) X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Score: -2.583 X-Spam-Level: X-Spam-Status: No, score=-2.583 tagged_above=-10 required=6.6 tests=[AWL=0.016, BAYES_00=-2.599] Received: from zimbra.cbs.mpg.de ([127.0.0.1]) by localhost (zimbra.cbs.mpg.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D9R0qcYVJtsq for ; Thu, 5 Feb 2009 17:44:02 +0100 (CET) Received: from francium.cbs.mpg.de (onyx.cbs.mpg.de [194.95.183.252]) by zimbra.cbs.mpg.de (Postfix) with ESMTP id 394552CC146 for ; Thu, 5 Feb 2009 17:44:02 +0100 (CET) Date: Thu, 5 Feb 2009 17:43:57 +0100 From: Andreas Romeyke To: help-octave@octave.org Subject: Re: profiling Octave Message-ID: <20090205174357.765f37f7@francium.cbs.mpg.de> In-Reply-To: <69d8d540902050816j6cae9f9ayde97bab2286d334e@mail.gmail.com> References: <69d8d540902050816j6cae9f9ayde97bab2286d334e@mail.gmail.com> Organization: Max-Planck-Institute for Neuro- and Cognitive Science, Leipzig X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/DOIfE9j+OhYlLHurDK7lSZm"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Seen-By: Mailfromd 3.1.3 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2009 16:44:12 -0000 --Sig_/DOIfE9j+OhYlLHurDK7lSZm Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello, Am Thu, 5 Feb 2009 17:16:24 +0100 schrieb Jaroslav Hajek : > has anyone experience profiling with gcc/g++? > I wanted to try profiling Octave to identify hot spots in the > interpreter, but can't get it to work. > I configured using configure CFLAGS=3D"-O2 -pg" CXXFLAGS=3D"-O2 -pg" > LDFLAGS=3D-pg, then built and ran ./run-octave on a test script. Do you sure that the options are used recursively to compile all stuff? > It produced a gmon.out file, but `gprof src/octave' does not show > anything. So far I was unable to find any useful information how to > get this working. A similar strategy works on a single sample C++ file > (g++ -pg, then gprof). The gmon-file still exists?=20 The gprof-man-page warns, that "the profiled program must(!) call "exit" or return normally for the profiling information to be saved in the gmon.out file.", sure Octave exit normally? bye Andreas --=20 Software Developer / Dipl. Inform. (FH) Max Planck Institute for Human Cognitive and Brain Sciences Department of Psychology Stephanstr. 1a, 04103 Leipzig, Germany --Sig_/DOIfE9j+OhYlLHurDK7lSZm Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkmLF00ACgkQGBhgJGthyeFTngCgtde8Z8Gp9sgMcG+dUCBh5trI gSYAoJrvTxHfBK9/tpS2cTbKXZ6LIJSG =w5LB -----END PGP SIGNATURE----- --Sig_/DOIfE9j+OhYlLHurDK7lSZm-- From jwe@octave.org Thu Feb 5 11:14:23 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n15HENpp029718 for ; Thu, 5 Feb 2009 11:14:23 -0600 (CST) Received: from spaceymail-a5.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n15HEMvE021785 for ; Thu, 5 Feb 2009 11:14:23 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a5.g.dreamhost.com (Postfix) with ESMTP id E6013870C8; Thu, 5 Feb 2009 09:14:20 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18827.7787.434789.762324@segfault.lan> Date: Thu, 5 Feb 2009 12:14:19 -0500 To: Jaroslav Hajek Subject: profiling Octave In-Reply-To: <69d8d540902050816j6cae9f9ayde97bab2286d334e@mail.gmail.com> References: <69d8d540902050816j6cae9f9ayde97bab2286d334e@mail.gmail.com> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2009 17:14:24 -0000 On 5-Feb-2009, Jaroslav Hajek wrote: | has anyone experience profiling with gcc/g++? | I wanted to try profiling Octave to identify hot spots in the | interpreter, but can't get it to work. | I configured using configure CFLAGS="-O2 -pg" CXXFLAGS="-O2 -pg" | LDFLAGS=-pg, then built and ran ./run-octave on a test script. | It produced a gmon.out file, but `gprof src/octave' does not show | anything. So far I was unable to find any useful information how to | get this working. A similar strategy works on a single sample C++ file | (g++ -pg, then gprof). | Has anyone experience with this? I would really prefer to do this with | GCC rather than a commercial compiler. Can gprof handle shared libraries? You might need to build a copy of Octave that is statically linked. jwe From torquil@gmail.com Thu Feb 5 11:18:05 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n15HI5Ig000986 for ; Thu, 5 Feb 2009 11:18:05 -0600 (CST) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n15HI2Kb027944 for ; Thu, 5 Feb 2009 11:18:04 -0600 Received: by fg-out-1718.google.com with SMTP id 16so213112fgg.12 for ; Thu, 05 Feb 2009 09:18:01 -0800 (PST) Received: by 10.86.4.14 with SMTP id 14mr443227fgd.76.1233854281251; Thu, 05 Feb 2009 09:18:01 -0800 (PST) Received: from dagda.uio.no (dagda.uio.no [129.240.223.119]) by mx.google.com with ESMTPS id d6sm1294054fga.49.2009.02.05.09.18.00 (version=SSLv3 cipher=RC4-MD5); Thu, 05 Feb 2009 09:18:00 -0800 (PST) Message-ID: <498B1F47.80709@gmail.com> Date: Thu, 05 Feb 2009 18:17:59 +0100 From: =?ISO-8859-1?Q?Torquil_Macdonald_S=F8rensen?= User-Agent: Thunderbird 2.0.0.19 (X11/20081209) MIME-Version: 1.0 To: Octave users list Subject: Integration of function containing if-test Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2009 17:18:06 -0000 Hi! I am having some problems with integration of the following function (this is really a simplification of my function, but the problem I illustrate is the same). I have a function nu(x) that is defined using an if-test. It has a special value (0) at x = 0, and is defined in terms of an ordinary function f(x) everywhere else. Therefore I have: function y = nu(x) if (x == 0) y = 0; else y = f(x); endif endfunction When I pass it a 0 it returns a zero. But when I pass it a vector [0 1] it doesn't work, because the if-test is apparently not executed on each element of the vector individually, but on the vector x as a whole. Since x = [0 1] is not equal to 0, the first part of the if-test is never entered, and therefore f(x) is evaluated at both 0 and 1, thereby returning the wrong result. In my case it returns [ NaN 1], since f(0) = Nan and f(1) = 1. So I get problems when integrating this function e.g. with quadl, if the list of values at which it is evaluated contains 0. Is there an elegant way to define this function nu(x) so that is actually returns a 0 for each zero element of its input vector argument that is given to it by quadl? Best regards Torquil Sørensen Norway From Jeremy.Harbinson@wur.nl Thu Feb 5 11:20:32 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n15HKW64001492 for ; Thu, 5 Feb 2009 11:20:32 -0600 (CST) Received: from net4.wur.nl (net4.wur.nl [137.224.8.4]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n15HKNUj029780 for ; Thu, 5 Feb 2009 11:20:31 -0600 Received: from mppd (localhost.localdomain [127.0.0.1]) by net4.wur.nl (Postfix) with ESMTP id 3C61C50182 for ; Thu, 5 Feb 2009 18:20:18 +0100 (CET) Received: from scomp0237.wurnet.nl (scomp0237.wurnet.nl [10.91.3.10]) by net4.wur.nl (Postfix) with ESMTP id C7C14501F9 for ; Thu, 5 Feb 2009 18:19:58 +0100 (CET) Received: from scomp0039.wurnet.nl ([10.91.3.6]) by scomp0237.wurnet.nl with Microsoft SMTPSVC(6.0.3790.3959); Thu, 5 Feb 2009 18:19:58 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C987B5.F88BB2B6" Subject: fitting functions which contain 'i' Date: Thu, 5 Feb 2009 18:19:58 +0100 Message-ID: <14EFCC12CC0CA642940526E074A2251D0171275D@scomp0039.wurnet.nl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: fitting functions which contain 'i' Thread-Index: AcmHtfhtMmCQmI1nQNazssE2GSeKNw== From: "Harbinson, Jeremy" To: X-OriginalArrivalTime: 05 Feb 2009 17:19:58.0753 (UTC) FILETIME=[F8AA9910:01C987B5] X-CTCH-RefID: str=0001.0A0B0209.498B1FBF.01B4,ss=1,fgs=0 X-Scanned-By: MPP/Commtouch http://www.messagepartners.com X-Scanned-By: This message was scanned by MPP v.3 (www.messagepartners.com) X-CMAE-Analysis: v=1.0 c=1 a=j9lnGjcZWWkA:10 a=UwxlYEgcfKYtTj68mfMA:9 a=RZHExwJGk10O-ms6iegA:7 a=G9zaPB2p_k6o26dg9yxkzR3qFHQA:4 a=50e4U0PicR4A:10 a=UUYz01YeZIveuPpn8WMA:9 a=J8Jb-H458O6NU0zXYtkA:7 a=3wSxj-q8jKI9Ab2XkjlR2SOvf8YA:4 a=AfD3MYMu9mQA:10 X-Scanned-By: MPP/Cloudmark http://www.messagepartners.com X-Spam-Score-W: -2.90 X-Spam-Rules: AWL,BAYES_00,HTML_MESSAGE X-Scanned-By: MPP/Spamassassin http://www.messagepartners.com X-Scanned-By: MPP/Clamd http://www.messagepartners.com X-Scanned-By: MPP/UVScan http://www.messagepartners.com X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE, SPF_HELO_PASS X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2009 17:20:33 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C987B5.F88BB2B6 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Does Octave have any ability to fit a function which contains 'i' (the square root of -1 in case 'i' is as unclear on your screen as it is on mine). The least squares fitting tool does not seem to work, or at least I could not get to work, and these are two quite different things, of course.=20 I need something that can be used to fit bioimpedance data and to date I have been using the LEVM programme, and though this works very well for me it is somewhat user unfriendly and certainly for our students 'somewhat user unfriendly' means, in most cases, total collapse.=20 all the best, Jeremy Harbinson=20 ------_=_NextPart_001_01C987B5.F88BB2B6 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable fitting functions which contain 'i'

Hi,
Does Octave have any ability to fit a = function which contains 'i' (the square root of -1 in case 'i' is as = unclear on your screen as it is on mine). The least squares fitting tool = does not seem to work, or at least I could not get to work, and these = are two quite different things, of course.

I need something that can be used to = fit bioimpedance data and to date I have been using the LEVM programme, = and though this works very well for me it is somewhat user unfriendly = and certainly for our students 'somewhat user unfriendly' means, in most = cases, total collapse.

all the best,
Jeremy Harbinson

------_=_NextPart_001_01C987B5.F88BB2B6-- From jordigh@gmail.com Thu Feb 5 11:32:55 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n15HWt4b003871 for ; Thu, 5 Feb 2009 11:32:55 -0600 (CST) Received: from mail-gx0-f16.google.com (mail-gx0-f16.google.com [209.85.217.16]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n15HWrxw027813 for ; Thu, 5 Feb 2009 11:32:54 -0600 Received: by gxk9 with SMTP id 9so379754gxk.0 for ; Thu, 05 Feb 2009 09:32:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.151.108.5 with SMTP id k5mr728921ybm.194.1233855167742; Thu, 05 Feb 2009 09:32:47 -0800 (PST) In-Reply-To: <69d8d540902050816j6cae9f9ayde97bab2286d334e@mail.gmail.com> References: <69d8d540902050816j6cae9f9ayde97bab2286d334e@mail.gmail.com> Date: Thu, 5 Feb 2009 11:32:47 -0600 Message-ID: <9543b3a40902050932s6c8d911cm2a6e6fa193f725f7@mail.gmail.com> Subject: Re: profiling Octave From: =?UTF-8?Q?Jordi_Guti=C3=A9rrez_Hermoso?= To: Jaroslav Hajek Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2009 17:32:56 -0000 2009/2/5 Jaroslav Hajek : > It produced a gmon.out file, but `gprof src/octave' does not show > anything. I don't think it makes a difference, but I've used kprof in order to view the profiling output (which may call gprof in turn, not sure). - Jordi G. H. From dbateman@dbateman.org Thu Feb 5 12:50:48 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n15Iombu020232 for ; Thu, 5 Feb 2009 12:50:48 -0600 (CST) Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n15IoTwJ002593; Thu, 5 Feb 2009 12:50:34 -0600 Received: from smtp2-g21.free.fr (localhost [127.0.0.1]) by smtp2-g21.free.fr (Postfix) with ESMTP id 057004B004B; Thu, 5 Feb 2009 19:50:25 +0100 (CET) Received: from pandorra.fladenmuller.org (puce.fladenmuller.org [81.57.137.98]) by smtp2-g21.free.fr (Postfix) with ESMTP id D455B4B01BA; Thu, 5 Feb 2009 19:50:22 +0100 (CET) Received: from [192.168.2.9] (unknown [192.168.2.9]) by pandorra.fladenmuller.org (Postfix) with ESMTP id 6853F3BE60; Thu, 5 Feb 2009 19:50:22 +0100 (CET) Message-ID: <498B34EC.6070602@dbateman.org> Date: Thu, 05 Feb 2009 19:50:20 +0100 From: David Bateman User-Agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018) MIME-Version: 1.0 To: "John W. Eaton" Subject: Re: profiling Octave References: <69d8d540902050816j6cae9f9ayde97bab2286d334e@mail.gmail.com> <18827.7787.434789.762324@segfault.lan> In-Reply-To: <18827.7787.434789.762324@segfault.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, WHOIS_MYPRIVREG Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2009 18:50:49 -0000 John W. Eaton wrote: > On 5-Feb-2009, Jaroslav Hajek wrote: > > | has anyone experience profiling with gcc/g++? > | I wanted to try profiling Octave to identify hot spots in the > | interpreter, but can't get it to work. > | I configured using configure CFLAGS="-O2 -pg" CXXFLAGS="-O2 -pg" > | LDFLAGS=-pg, then built and ran ./run-octave on a test script. > | It produced a gmon.out file, but `gprof src/octave' does not show > | anything. So far I was unable to find any useful information how to > | get this working. A similar strategy works on a single sample C++ file > | (g++ -pg, then gprof). > | Has anyone experience with this? I would really prefer to do this with > | GCC rather than a commercial compiler. > > Can gprof handle shared libraries? You might need to build a copy of > Octave that is statically linked. > > jwe > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > > I did a bit of profiling a year or so ago in the thread http://www.nabble.com/speed-of-octave-symbol-table-code-to13353730.html and can confirm that I needed a statically linked version of octave D. -- David Bateman dbateman@dbateman.org 35 rue Gambetta +33 1 46 04 02 18 (Home) 92100 Boulogne-Billancourt FRANCE +33 6 72 01 06 33 (Mob) From soren@hauberg.org Thu Feb 5 13:01:57 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n15J1vFA022554 for ; Thu, 5 Feb 2009 13:01:57 -0600 (CST) Received: from mailserver.fabermail.dk (cpe.atm4-0-71392.0x50c46ba6.bynxx17.customer.tele.dk [80.196.107.166]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n15J1pEh011954 for ; Thu, 5 Feb 2009 13:01:57 -0600 Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id 42721D39FF; Thu, 5 Feb 2009 20:01:39 +0100 (CET) X-Virus-Scanned: by amavisd-new Received: from mailserver.fabermail.dk ([127.0.0.1]) by localhost (mailserver.fabermail.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UUhYjbLHsSK7; Thu, 5 Feb 2009 20:01:38 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id 40E9DD3A00; Thu, 5 Feb 2009 20:01:38 +0100 (CET) Received: from [10.0.0.2] (1385165240.dhcp.dbnet.dk [82.143.241.184]) by mailserver.fabermail.dk (Postfix) with ESMTP id EEC7BD39FF; Thu, 5 Feb 2009 20:01:37 +0100 (CET) Subject: Re: Integration of function containing if-test From: =?ISO-8859-1?Q?S=F8ren?= Hauberg To: Torquil Macdonald =?ISO-8859-1?Q?S=F8rensen?= In-Reply-To: <498B1F47.80709@gmail.com> References: <498B1F47.80709@gmail.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 05 Feb 2009 20:01:42 +0100 Message-Id: <1233860502.7433.4.camel@sh-t400> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 8bit X-Seen-By: Mailfromd 3.1.3 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RDNS_DYNAMIC Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2009 19:01:58 -0000 tor, 05 02 2009 kl. 18:17 +0100, skrev Torquil Macdonald Sørensen: > Hi! > > I am having some problems with integration of the following function > (this is really a simplification of my function, but the problem I > illustrate is the same). > > I have a function nu(x) that is defined using an if-test. It has a > special value (0) at x = 0, and is defined in terms of an ordinary > function f(x) everywhere else. Therefore I have: > > function y = nu(x) > if (x == 0) > y = 0; > else > y = f(x); > endif > endfunction > > When I pass it a 0 it returns a zero. But when I pass it a vector [0 1] > it doesn't work, because the if-test is apparently not executed on each > element of the vector individually, but on the vector x as a whole. > Since x = [0 1] is not equal to 0, the first part of the if-test is > never entered, and therefore f(x) is evaluated at both 0 and 1, thereby > returning the wrong result. In my case it returns [ NaN 1], since f(0) = > Nan and f(1) = 1. I'm not quite I understand your problem, but: 1) Can you just do function y = nu(x) if any (x == 0) y = 0; else y = f(x); endif endfunction ? Notice the 'any'. 2) Since you only have a finite number of points where 'x' is zero, then I would have thought you could just ignore them when doing integration. Can't you just integrate 'f (x)' directly? Søren From ivan.sutoris@gmail.com Thu Feb 5 13:42:01 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n15Jg1K4000687 for ; Thu, 5 Feb 2009 13:42:01 -0600 (CST) Received: from ey-out-1920.google.com (ey-out-1920.google.com [74.125.78.145]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n15JfwT4022541 for ; Thu, 5 Feb 2009 13:42:00 -0600 Received: by ey-out-1920.google.com with SMTP id 3so60711eyh.48 for ; Thu, 05 Feb 2009 11:41:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.160.10 with SMTP id m10mr367393muo.50.1233862917559; Thu, 05 Feb 2009 11:41:57 -0800 (PST) In-Reply-To: <498B1F47.80709@gmail.com> References: <498B1F47.80709@gmail.com> Date: Thu, 5 Feb 2009 20:41:57 +0100 Message-ID: <65d1f7fc0902051141t2147a527ld2d9856aada80da0@mail.gmail.com> Subject: Re: Integration of function containing if-test From: Ivan Sutoris To: =?ISO-8859-1?Q?Torquil_Macdonald_S=F8rensen?= Content-Type: text/plain; charset=ISO-8859-1 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n15Jg1K4000687 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2009 19:42:02 -0000 On Thu, Feb 5, 2009 at 6:17 PM, Torquil Macdonald Sørensen wrote: > Hi! > > I am having some problems with integration of the following function > (this is really a simplification of my function, but the problem I > illustrate is the same). > > I have a function nu(x) that is defined using an if-test. It has a > special value (0) at x = 0, and is defined in terms of an ordinary > function f(x) everywhere else. Therefore I have: > > function y = nu(x) > if (x == 0) > y = 0; > else > y = f(x); > endif > endfunction > > When I pass it a 0 it returns a zero. But when I pass it a vector [0 1] > it doesn't work, because the if-test is apparently not executed on each > element of the vector individually, but on the vector x as a whole. > Since x = [0 1] is not equal to 0, the first part of the if-test is > never entered, and therefore f(x) is evaluated at both 0 and 1, thereby > returning the wrong result. In my case it returns [ NaN 1], since f(0) = > Nan and f(1) = 1. > > So I get problems when integrating this function e.g. with quadl, if the > list of values at which it is evaluated contains 0. > > Is there an elegant way to define this function nu(x) so that is > actually returns a 0 for each zero element of its input vector argument > that is given to it by quadl? > > Best regards > Torquil Sørensen > Norway Hi as Soren has written, for integration, value at one point should not matter. Anyway, about your question: if "f" accepts vector arguments, you can just compute f(x) for each element and then set y to zero for those elements where x==0: function y = nu(x) y = f(x); y(x==0) = 0; endfunction Alternatively, you can always vectorize your function by computing value at each element individually with "for" cycle: function y = nu(x) y = zeros(size(x)); for i=1:numel(x) if (x(i) == 0) y(i) = 0; else y(i) = f(x(i)); endif endfor endfunction Regards Ivan Sutoris From highegg@gmail.com Thu Feb 5 14:10:47 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n15KAlR0007082 for ; Thu, 5 Feb 2009 14:10:47 -0600 (CST) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n15KAjBV005047 for ; Thu, 5 Feb 2009 14:10:46 -0600 Received: by ug-out-1314.google.com with SMTP id o4so189293uge.40 for ; Thu, 05 Feb 2009 12:10:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.178.17 with SMTP id f17mr378188mup.45.1233864644300; Thu, 05 Feb 2009 12:10:44 -0800 (PST) In-Reply-To: <14EFCC12CC0CA642940526E074A2251D0171275D@scomp0039.wurnet.nl> References: <14EFCC12CC0CA642940526E074A2251D0171275D@scomp0039.wurnet.nl> Date: Thu, 5 Feb 2009 21:10:44 +0100 Message-ID: <69d8d540902051210m4080caccid419ffc0d40a3e09@mail.gmail.com> Subject: Re: fitting functions which contain 'i' From: Jaroslav Hajek To: "Harbinson, Jeremy" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2009 20:10:48 -0000 On Thu, Feb 5, 2009 at 6:19 PM, Harbinson, Jeremy wrote: > Hi, > Does Octave have any ability to fit a function which contains 'i' (the > square root of -1 in case 'i' is as unclear on your screen as it is on > mine). The least squares fitting tool does not seem to work, or at least I > could not get to work, and these are two quite different things, of course. > A least squares problem with complex equations but real variables can easily be turned into a real one by decomposing the real and complex part. The same, of course holds for a complex/complex problem, but it is sub-optimal if the equations posess a complex derivative, in which case it's better to work with complex jacobian directly. I think the new Octave's fsolve (to be available in 3.2) should work with complex numbers, too, though I haven't yet tested. > I need something that can be used to fit bioimpedance data and to date I > have been using the LEVM programme, and though this works very well for me > it is somewhat user unfriendly and certainly for our students 'somewhat user > unfriendly' means, in most cases, total collapse. > > all the best, > Jeremy Harbinson > Perhaps if you describe the problem more closely, you may get more detailed help. cheers -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From highegg@gmail.com Thu Feb 5 14:16:51 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n15KGo43008470 for ; Thu, 5 Feb 2009 14:16:51 -0600 (CST) Received: from mail-ew0-f17.google.com (mail-ew0-f17.google.com [209.85.219.17]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n15KGlRM012218; Thu, 5 Feb 2009 14:16:50 -0600 Received: by ewy10 with SMTP id 10so658230ewy.0 for ; Thu, 05 Feb 2009 12:16:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.160.9 with SMTP id m9mr112658muo.96.1233864926203; Thu, 05 Feb 2009 12:15:26 -0800 (PST) In-Reply-To: <498B34EC.6070602@dbateman.org> References: <69d8d540902050816j6cae9f9ayde97bab2286d334e@mail.gmail.com> <18827.7787.434789.762324@segfault.lan> <498B34EC.6070602@dbateman.org> Date: Thu, 5 Feb 2009 21:15:26 +0100 Message-ID: <69d8d540902051215r40be7b9ax722cb1a579f7a9e9@mail.gmail.com> Subject: Re: profiling Octave From: Jaroslav Hajek To: David Bateman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, WHOIS_MYPRIVREG Cc: "John W. Eaton" , Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2009 20:16:52 -0000 On Thu, Feb 5, 2009 at 7:50 PM, David Bateman wrote: > John W. Eaton wrote: >> >> On 5-Feb-2009, Jaroslav Hajek wrote: >> >> | has anyone experience profiling with gcc/g++? >> | I wanted to try profiling Octave to identify hot spots in the >> | interpreter, but can't get it to work. >> | I configured using configure CFLAGS="-O2 -pg" CXXFLAGS="-O2 -pg" >> | LDFLAGS=-pg, then built and ran ./run-octave on a test script. >> | It produced a gmon.out file, but `gprof src/octave' does not show >> | anything. So far I was unable to find any useful information how to >> | get this working. A similar strategy works on a single sample C++ file >> | (g++ -pg, then gprof). >> | Has anyone experience with this? I would really prefer to do this with >> | GCC rather than a commercial compiler. >> >> Can gprof handle shared libraries? You might need to build a copy of >> Octave that is statically linked. >> >> jwe >> _______________________________________________ >> Help-octave mailing list >> Help-octave@octave.org >> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave >> >> > > I did a bit of profiling a year or so ago in the thread > > http://www.nabble.com/speed-of-octave-symbol-table-code-to13353730.html > > and can confirm that I needed a statically linked version of octave > > D. > OK, that could have occured to me. I'll try with a static version. Thanks to all -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From przemek@jazz.ncnr.nist.gov Thu Feb 5 15:12:14 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n15LCE8H020658 for ; Thu, 5 Feb 2009 15:12:14 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n15LCEgH004830 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 5 Feb 2009 15:12:14 -0600 Received: from jazz.ncnr.nist.gov (jazz.ncnr.nist.gov [129.6.120.31]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n15LCBgJ028622 for ; Thu, 5 Feb 2009 15:12:14 -0600 Received: (from przemek@localhost) by jazz.ncnr.nist.gov (SGI-8.9.3/8.9.3) id QAA23985; Thu, 5 Feb 2009 16:12:09 -0500 (EST) Date: Thu, 5 Feb 2009 16:12:09 -0500 (EST) Message-Id: <200902052112.QAA23985@jazz.ncnr.nist.gov> From: Przemek Klosowski To: Jeremy.Harbinson@wur.nl, help@octave.org In-reply-to: <14EFCC12CC0CA642940526E074A2251D0171275D@scomp0039.wurnet.nl> (Jeremy.Harbinson@wur.nl) Subject: Re: fitting functions which contain 'i' References: <14EFCC12CC0CA642940526E074A2251D0171275D@scomp0039.wurnet.nl> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2009 21:12:15 -0000 Does Octave have any ability to fit a function which contains 'i' (the square root of -1 in case 'i' is as unclear on your screen as it is on mine). The least squares fitting tool does not seem to work, or at least I could not get to work, and these are two quite different things, of course.=20 I know the feeling :) Which least squares fitting tool did you use? More importantly, how are you using the complex numbers---is your fitted function complex-valued? That can be seen as two-dimensional fitting, so you can convert it to a single-dimensional figure of merit by taking the sum of squares of deviations (possibly divided by errors), i.e. the standard chi-square metric. If this is not appropriate for your data, you need to come up with another single-dimensional figure of merit, because it is impossible to optimize a 2-dimensional quantity---there is no strict ordering in a complex plane. Please describe more about your data and fitting requirements. From stefan.pofahl@googlemail.com Thu Feb 5 15:59:36 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n15LxaBe002991 for ; Thu, 5 Feb 2009 15:59:36 -0600 (CST) Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.156]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n15LxYn2017134 for ; Thu, 5 Feb 2009 15:59:35 -0600 Received: by yw-out-1718.google.com with SMTP id 9so224060ywk.24 for ; Thu, 05 Feb 2009 13:59:33 -0800 (PST) MIME-Version: 1.0 Sender: stefan.pofahl@googlemail.com Received: by 10.151.42.12 with SMTP id u12mr944872ybj.111.1233871173718; Thu, 05 Feb 2009 13:59:33 -0800 (PST) Date: Thu, 5 Feb 2009 22:59:33 +0100 X-Google-Sender-Auth: 50eb04976d927ab1 Message-ID: Subject: Second axis (second-x or second y-axis, x2y1, y2x1, etc.) From: Stefan Pofahl To: help-octave@octave.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, WEIRD_QUOTING X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: stefan@pofahl.de List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2009 21:59:37 -0000 Hello, is there a chance to tell octave to use the second axis? I can export the data in text file an can plot it with gnuplot, but perhaps there is a more clever way, I invetigated the object "line" (child of object "axis") to find a way to do it, Isearched the mailing lists and found only the advice to use gplot. So is there a chance to tell the object "line" that it belongs e.g. to x1y2? Attached I send you my test function to invetigate the topic. I hope it is of interest for newcomers. Regards, Stefan -- Tel.: 0731-3805149 Ochsensteige 48 89075 Ulm Germany __________________________________________________________________ __________________________________________________________________ function test_set_and_get_command() clf(); # Get Handle of "line" line_hdl = plot(0); # Get Handle of axes axes_hdl = gca(); # Investigate Object Properties of Object axes clc; disp(""); disp("Investigate Object Properties of Object axes") printf("%s\n","get(gca()) or axes_hdl = gca(); get(axes_hdl)"); get(axes_hdl) # ------------------------------------------------------------------------------- printf("-------------------------------------------------------------------\n"); printf("-------------------------------------------------------------------\n"); # disp("First hit q (quit) and than another key"); # pause(); # --- clc; disp(""); disp("Investigate Object Properties of Object axes, child 'Title'") printf("%s\n","title_hdl = get(axes_hdl, ""title""):"); title_hdl = get(axes_hdl, "title") printf("%s\n","get(title_hdl):"); get(title_hdl) # ------------------------------------------------------------------------------- printf("-------------------------------------------------------------------\n"); printf("-------------------------------------------------------------------\n"); # disp("Hit any key"); # pause(); # --- disp(""); printf("%s\n","Investigate Properties of Object 'axes', child 'children'"); printf("%s\n","children_hdl = get(axes_hdl, ""children""):"); children_hdl = get(axes_hdl, "children") printf("%s\n","get(children_hdl):"); get(children_hdl) # ------------------------------------------------------------------------------- printf("-------------------------------------------------------------------\n"); printf("-------------------------------------------------------------------\n"); # disp("Hit any key"); # pause; # --- Investigate Properties of Object "line" clc; disp(""); printf("%s\n","Investigate Properties of Object 'line':"); get(line_hdl) # ------------------------------------------------------------------------------- printf("-------------------------------------------------------------------\n"); printf("-------------------------------------------------------------------\n"); # disp("Hit any key"); # pause; # --- clc; disp(""); printf("%s\n","Investigate property 'keylabel' of object 'line':"); get(line_hdl, "keylabel") # ------------------------------------------------------------------------------- printf("-------------------------------------------------------------------\n"); printf("-------------------------------------------------------------------\n"); # disp("Hit any key") # pause; #################################################################################### #################################################################################### ## Now comes a real plot: X=(0.25:0.01:0.72)'; Y1= X.^-2.5/2; Y2= X.^-3/2; Y3= X.^-3.5/2; Y4= X.^-4/2; # Get Handle of "line" line_hdl = plot(X,Y1,";Y1;",X,Y2,";Y2;",X,Y3,";Y3;",X,Y4,";Y4;"); # Get Handle of axes axes_hdl = gca(); # printf("%s\n","Investigate property 'keylabel' of object 'line':"); get(line_hdl, "keylabel") # Set axis properties (two way are possible): set(gca(), "key", "on"); set(axes_hdl, "key", "on"); # "title", is a child of object "axis" and has its own handle: set(title_hdl, "string", "Plot Title") # Set line properties, if one axis objects hold more than one child # children are the lines, than the handle variable is vector: printf("%s\n","In a next step we change the ""line-labels"":"); for i = 1:size(line_hdl) keylabel = ["keylabel: ", num2str(i,"%2.2i")]; set(line_hdl(i), "keylabel", keylabel); endfor printf("-------------------------------------------------------------------\n"); # plot into a file ('e:' is disk specification is MS-Windows style) my_string = "e:/TEMP/foo2.ps"; printf("my_string: %s\n", my_string) print(my_string, '-landscape', '-dps'); endfunction From jwe@octave.org Thu Feb 5 16:16:51 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n15MGp0Y008483 for ; Thu, 5 Feb 2009 16:16:51 -0600 (CST) Received: from spaceymail-a5.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n15MGpdR017404 for ; Thu, 5 Feb 2009 16:16:51 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a5.g.dreamhost.com (Postfix) with ESMTP id 3145E8705F; Thu, 5 Feb 2009 14:16:49 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18827.25935.29478.694950@segfault.lan> Date: Thu, 5 Feb 2009 17:16:47 -0500 To: stefan@pofahl.de Subject: Second axis (second-x or second y-axis, x2y1, y2x1, etc.) In-Reply-To: References: X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2009 22:16:52 -0000 On 5-Feb-2009, Stefan Pofahl wrote: | is there a chance to tell octave to use the second axis? The current development sources have a working plotyy function. jwe From torquil@gmail.com Thu Feb 5 18:05:50 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1605omE004689 for ; Thu, 5 Feb 2009 18:05:50 -0600 (CST) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1605kBq029446 for ; Thu, 5 Feb 2009 18:05:50 -0600 Received: by fg-out-1718.google.com with SMTP id 16so295334fgg.12 for ; Thu, 05 Feb 2009 16:05:46 -0800 (PST) Received: by 10.86.91.3 with SMTP id o3mr640292fgb.35.1233878746145; Thu, 05 Feb 2009 16:05:46 -0800 (PST) Received: from ?193.157.236.213? (kri1-1x-dhcp209.studby.uio.no [193.157.236.213]) by mx.google.com with ESMTPS id 4sm1927181fge.44.2009.02.05.16.05.45 (version=SSLv3 cipher=RC4-MD5); Thu, 05 Feb 2009 16:05:45 -0800 (PST) Message-ID: <498B7EB7.4080705@gmail.com> Date: Fri, 06 Feb 2009 01:05:11 +0100 From: =?UTF-8?B?VG9ycXVpbCBNYWNkb25hbGQgU8O4cmVuc2Vu?= User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: =?UTF-8?B?U8O4cmVuIEhhdWJlcmc=?= Subject: Re: Integration of function containing if-test References: <498B1F47.80709@gmail.com> <1233860502.7433.4.camel@sh-t400> In-Reply-To: <1233860502.7433.4.camel@sh-t400> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 00:05:51 -0000 Søren Hauberg wrote: > tor, 05 02 2009 kl. 18:17 +0100, skrev Torquil Macdonald Sørensen: >> Hi! >> >> I am having some problems with integration of the following function >> (this is really a simplification of my function, but the problem I >> illustrate is the same). >> >> I have a function nu(x) that is defined using an if-test. It has a >> special value (0) at x = 0, and is defined in terms of an ordinary >> function f(x) everywhere else. Therefore I have: >> >> function y = nu(x) >> if (x == 0) >> y = 0; >> else >> y = f(x); >> endif >> endfunction >> >> When I pass it a 0 it returns a zero. But when I pass it a vector [0 1] >> it doesn't work, because the if-test is apparently not executed on each >> element of the vector individually, but on the vector x as a whole. >> Since x = [0 1] is not equal to 0, the first part of the if-test is >> never entered, and therefore f(x) is evaluated at both 0 and 1, thereby >> returning the wrong result. In my case it returns [ NaN 1], since f(0) = >> Nan and f(1) = 1. > > I'm not quite I understand your problem, but: > > 1) Can you just do > > function y = nu(x) > if any (x == 0) > y = 0; > else > y = f(x); > endif > endfunction > > ? Notice the 'any'. Thanks Søren, actually this method didn't work for me as is stands, because I need it to return a vector even if one of the input values are 0. This returns "0" of at least one element of x is 0. > 2) Since you only have a finite number of points where 'x' is zero, then > I would have thought you could just ignore them when doing integration. > Can't you just integrate 'f (x)' directly? Yes, I decided to do this and it works fine. I had looked at the help for quadl, not quad, so I didn't think of the possibility to specify a point where the function is "singular", as described in "help quad". Actually the function I want to integrate is well-defined at x = 0, but its defining expression in octave is given as x*x*g(x) where g(0) = NaN. And since 0*NaN is also NaN, I need to treat it as a special case. Thanks again Torquil Sørensen From Potorti@isti.cnr.it Thu Feb 5 19:06:14 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1616Dta022185 for ; Thu, 5 Feb 2009 19:06:13 -0600 (CST) Received: from ITANIUM.ISTI.CNR.IT (mx4.isti.cnr.it [194.119.192.6]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n16168Wq008229 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 5 Feb 2009 19:06:13 -0600 Received: from conversionlocal.isti.cnr.it by mx.isti.cnr.it (PMDF V6.4 #31598) id <01N55TXCM4CW9LYE8W@mx.isti.cnr.it> for help-octave@octave.org; Fri, 06 Feb 2009 02:05:14 +0100 (MET) Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by mx.isti.cnr.it (PMDF V6.4 #31598) with ESMTPSA id <01N55TXZWPYO9N55PC@mx.isti.cnr.it>; Fri, 06 Feb 2009 02:05:45 +0100 (MET) Received: from pot by tucano.isti.cnr.it with local (Exim 4.69) (envelope-from ) id 1LVFA8-0003tr-D0; Fri, 06 Feb 2009 02:05:44 +0100 Date: Fri, 06 Feb 2009 02:05:44 +0100 From: Francesco =?iso-8859-1?Q?Potort=EC?= Subject: Re: Integration of function containing if-test In-reply-to: <498B1F47.80709@gmail.com> To: Torquil Macdonald =?UNKNOWN?Q?S=F8rensen?= Message-id: Organization: ISTI-CNR, via Moruzzi 1, I-56124 Pisa, +39-0503153058 MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 References: <498B1F47.80709@gmail.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 01:06:15 -0000 >I have a function nu(x) that is defined using an if-test. It has a >special value (0) at x = 0, and is defined in terms of an ordinary >function f(x) everywhere else. Therefore I have: > >function y = nu(x) > if (x == 0) > y = 0; > else > y = f(x); > endif >endfunction > >When I pass it a 0 it returns a zero. But when I pass it a vector [0 1] >it doesn't work If the function f works with vectors, then: function y = nu(x) y = zeros (size (x)); notzero = x(x != 0); y(notzero) = f (x(notzero)); endfunction -- Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.2111) ISTI - Area della ricerca CNR Fax: +39 050 315 2040 via G. Moruzzi 1, I-56124 Pisa Email: Potorti@isti.cnr.it (entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/ From davidforel@yahoo.com Thu Feb 5 23:48:14 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n165mEkc010767 for ; Thu, 5 Feb 2009 23:48:14 -0600 (CST) Received: from web63407.mail.re1.yahoo.com (web63407.mail.re1.yahoo.com [69.147.97.47]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n165mCKP019011 for ; Thu, 5 Feb 2009 23:48:14 -0600 Received: (qmail 54366 invoked by uid 60001); 6 Feb 2009 05:48:06 -0000 X-YMail-OSG: sAMGQ3gVM1nlvhCmTcHAXibKVw7KrdjjySPLpsCMfqcfsa.Cg4OO8jN0LCM8xa1zMPJJMWpfQ1DZ5OrAjxm63caCKRuYgHWBQ2MJLSBrGI_.DOGxP4stt2KBE5qw0yyGgFSBsNkjmA3RgRoJa1VsLbKwDomKsOIy40AvjSvoWfNA0DSonPwsX0k4BNgR Received: from [76.25.234.192] by web63407.mail.re1.yahoo.com via HTTP; Thu, 05 Feb 2009 21:48:06 PST X-Mailer: YahooMailRC/1155.45 YahooMailWebService/0.7.260.1 Date: Thu, 5 Feb 2009 21:48:06 -0800 (PST) From: David Forel Subject: please help me plot To: help-octave@octave.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <874105.53687.qm@web63407.mail.re1.yahoo.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: David Forel List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 05:48:16 -0000 Hello - I just installed Cygwin on an XP Home laptop. Below are the two Octave commands I entered and the result. octave:1> x = 1:1:5; octave:2> plot(x); octave:3> gnuplot> set terminal aqua 1 enhanced ^ line 0: unknown or ambiguous terminal type; type just 'set terminal' for a list gnuplot> plot "-" using ($1):($2) axes x1y1 title "" with lines linestyle 1 ; ^ line 0: use 'set term' to set terminal type first gnuplot> 1 1 ^ line 0: invalid command gnuplot> 2 2 ^ line 0: invalid command gnuplot> 3 3 ^ line 0: invalid command gnuplot> 4 4 ^ line 0: invalid command gnuplot> 5 5 ^ line 0: invalid command gnuplot> e ^ line 0: invalid command From bharat@arithos.com Fri Feb 6 00:13:16 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n166DGbg016937 for ; Fri, 6 Feb 2009 00:13:16 -0600 (CST) Received: from randy.asmallorange.com (randy.asmallorange.com [64.22.96.78]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n166DAjY003545 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 6 Feb 2009 00:13:16 -0600 Received: from localhost ([127.0.0.1]:42208 helo=arithos.com) by randy.asmallorange.com with esmtpa (Exim 4.69) (envelope-from ) id 1LVJxY-0007Fz-3S; Fri, 06 Feb 2009 01:13:04 -0500 Received: from 59.92.184.61 ([59.92.184.61]) (SquirrelMail authenticated user bharat@arithos.com) by arithos.com with HTTP; Fri, 6 Feb 2009 01:13:04 -0500 (EST) Message-ID: <50347.59.92.184.61.1233900784.squirrel@arithos.com> In-Reply-To: <874105.53687.qm@web63407.mail.re1.yahoo.com> References: <874105.53687.qm@web63407.mail.re1.yahoo.com> Date: Fri, 6 Feb 2009 01:13:04 -0500 (EST) Subject: Re: please help me plot From: bharat@arithos.com To: "David Forel" User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - randy.asmallorange.com X-AntiAbuse: Original Domain - octave.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - arithos.com X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 06:13:18 -0000 David, Cygwin's Octave versions are outdated, and they would use GNUPLOT which gives enough headaches on XP/windows machines. On my vista machine with cygwin installed invoking octave itself used to be a training exercise, like waking your baby to go to school early morning. My suggestion is download version 3.0.1 (pretty stable) The newer ones are not stable though, they crashed with one of my filter design program. I am yet to report to octave-help on this. I am talking about 3.0.3. 1. Remove Cygwin from winxp machine, unless u need it for some other reasons. Removing cygwin is also unclean and I used to delete the folder (barbaric act acc to windows OS). 2. Download Octave3.0.1 from Octave-Forge. 3. Install with jhandles as graphics backend. later you can always change to gnuplot if u dont like jhandles in octave environment. 4. These are my personal experiences, which many people have all rights to agree/disagree. I am still facing issue with help command in Octave on Vista machine. So my take is if u are using linux then octave is for u, but if u are using windows try Scilab, their version 5 is promising for signal and audio processing applications. though somewhat slow and no I/O provided for image/video processing, i suppose even octave does not do well on audio on windows, and aviread/aviwrite and movieplay functions are far fetched. Regards Bharat > Hello - I just installed Cygwin on an XP Home laptop. Below are the two > Octave commands I entered and the result. > > > > octave:1> x = 1:1:5; > octave:2> plot(x); > octave:3> > gnuplot> set terminal aqua 1 enhanced > ^ > line 0: unknown or ambiguous terminal type; type just 'set > terminal' for a list > > > gnuplot> plot "-" using ($1):($2) axes x1y1 title "" with lines linestyle > 1 ; > ^ > line 0: use 'set term' to set terminal type first > > > gnuplot> 1 1 > ^ > line 0: invalid command > > > gnuplot> 2 2 > ^ > line 0: invalid command > > > gnuplot> 3 3 > ^ > line 0: invalid command > > > gnuplot> 4 4 > ^ > line 0: invalid command > > > gnuplot> 5 5 > ^ > line 0: invalid command > > > gnuplot> e > ^ > line 0: invalid command > > > > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > From riccardocorradini@yahoo.it Fri Feb 6 04:43:49 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n16Ahnr2022459 for ; Fri, 6 Feb 2009 04:43:49 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n16AhnsQ005712 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 6 Feb 2009 04:43:49 -0600 Received: from web25502.mail.ukl.yahoo.com (web25502.mail.ukl.yahoo.com [217.12.10.148]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n16AhjnB020621 for ; Fri, 6 Feb 2009 04:43:48 -0600 Received: (qmail 8072 invoked by uid 60001); 6 Feb 2009 10:43:38 -0000 Message-ID: <885499.7828.qm@web25502.mail.ukl.yahoo.com> Received: from [193.204.90.67] by web25502.mail.ukl.yahoo.com via HTTP; Fri, 06 Feb 2009 10:43:38 GMT X-Mailer: YahooMailWebService/0.7.260.1 Date: Fri, 6 Feb 2009 10:43:38 +0000 (GMT) From: Riccardo Corradini Subject: eps precision in C++ octave file To: help@octave.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-678622189-1233917018=:7828" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: riccardocorradini@yahoo.it List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 10:43:50 -0000 --0-678622189-1233917018=:7828 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, I would like to insert eps(1) in an octave c++ file, without using feval. How is possible? Thanks a lot Bests Riccardo =0A=0A=0A Passa a Yahoo! Mail.=0A=0ALa webmail che ti offre GRATIS spa= zio illimitato, =0Aantispam e messenger integrato.=0Ahttp://it.mail.yahoo.c= om/=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 --0-678622189-1233917018=:7828 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi,
I would like to insert eps(1) in an oc= tave c++ file, without using feval.
How is possible?
Thanks a lot
= Bests
Riccardo

=0A=0A=0A=0A
= =0APassa a Yahoo! Mail.=0A
=0ALa webmail che ti = offre GRATIS spazio illimitato, antispam e messenger integrato.=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 --0-678622189-1233917018=:7828-- From highegg@gmail.com Fri Feb 6 04:53:14 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n16ArEo4024641 for ; Fri, 6 Feb 2009 04:53:14 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n16ArEaq010038 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 6 Feb 2009 04:53:14 -0600 Received: from mail-fx0-f18.google.com (mail-fx0-f18.google.com [209.85.220.18]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n16ArCBt029914 for ; Fri, 6 Feb 2009 04:53:13 -0600 Received: by fxm11 with SMTP id 11so1109744fxm.0 for ; Fri, 06 Feb 2009 02:53:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.191.12 with SMTP id t12mr668874mup.49.1233917586071; Fri, 06 Feb 2009 02:53:06 -0800 (PST) In-Reply-To: <885499.7828.qm@web25502.mail.ukl.yahoo.com> References: <885499.7828.qm@web25502.mail.ukl.yahoo.com> Date: Fri, 6 Feb 2009 11:53:06 +0100 Message-ID: <69d8d540902060253u22300410g723588f50dc9f508@mail.gmail.com> Subject: Re: eps precision in C++ octave file From: Jaroslav Hajek To: riccardocorradini@yahoo.it Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 10:53:15 -0000 On Fri, Feb 6, 2009 at 11:43 AM, Riccardo Corradini wrote: > Hi, > I would like to insert eps(1) in an octave c++ file, without using feval. > How is possible? > Thanks a lot > Bests > Riccardo > Why not just use std::numeric_limits::epsilon ()? -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From ivan.sutoris@gmail.com Fri Feb 6 05:13:35 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n16BDZUj029118 for ; Fri, 6 Feb 2009 05:13:35 -0600 (CST) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.185]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n16BDUSK009292 for ; Fri, 6 Feb 2009 05:13:34 -0600 Received: by mu-out-0910.google.com with SMTP id g7so552435muf.4 for ; Fri, 06 Feb 2009 03:13:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.244.4 with SMTP id w4mr679434mur.11.1233918809851; Fri, 06 Feb 2009 03:13:29 -0800 (PST) In-Reply-To: <50347.59.92.184.61.1233900784.squirrel@arithos.com> References: <874105.53687.qm@web63407.mail.re1.yahoo.com> <50347.59.92.184.61.1233900784.squirrel@arithos.com> Date: Fri, 6 Feb 2009 12:13:29 +0100 Message-ID: <65d1f7fc0902060313x54fdb554t641eced5fbdbd6ed@mail.gmail.com> Subject: Re: please help me plot From: Ivan Sutoris To: bharat@arithos.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 11:13:36 -0000 On Fri, Feb 6, 2009 at 7:13 AM, wrote: > David, > > Cygwin's Octave versions are outdated, and they would use > GNUPLOT which gives enough headaches on XP/windows machines. > On my vista machine with cygwin installed invoking octave > itself used to be a training exercise, like waking your > baby to go to school early morning. > > My suggestion is download version 3.0.1 (pretty stable) > The newer ones are not stable though, they crashed with > one of my filter design program. I am yet to report to > octave-help on this. I am talking about 3.0.3. > > 1. Remove Cygwin from winxp machine, unless u need it > for some other reasons. Removing cygwin is also > unclean and I used to delete the folder (barbaric act > acc to windows OS). > > 2. Download Octave3.0.1 from Octave-Forge. > > 3. Install with jhandles as graphics backend. later you > can always change to gnuplot if u dont like jhandles > in octave environment. > > 4. These are my personal experiences, which many people > have all rights to agree/disagree. I am still facing > issue with help command in Octave on Vista machine. So > my take is if u are using linux then octave is for u, > but if u are using windows try Scilab, their version 5 > is promising for signal and audio processing applications. > though somewhat slow and no I/O provided for image/video > processing, i suppose even octave does not do well on > audio on windows, and aviread/aviwrite and movieplay > functions are far fetched. > > Regards > Bharat > > > > >> Hello - I just installed Cygwin on an XP Home laptop. Below are the two >> Octave commands I entered and the result. >> >> >> >> octave:1> x = 1:1:5; >> octave:2> plot(x); >> octave:3> >> gnuplot> set terminal aqua 1 enhanced >> ^ >> line 0: unknown or ambiguous terminal type; type just 'set >> terminal' for a list >> >> >> gnuplot> plot "-" using ($1):($2) axes x1y1 title "" with lines linestyle >> 1 ; >> ^ >> line 0: use 'set term' to set terminal type first >> >> >> gnuplot> 1 1 >> ^ >> line 0: invalid command >> >> >> gnuplot> 2 2 >> ^ >> line 0: invalid command >> >> >> gnuplot> 3 3 >> ^ >> line 0: invalid command >> >> >> gnuplot> 4 4 >> ^ >> line 0: invalid command >> >> >> gnuplot> 5 5 >> ^ >> line 0: invalid command >> >> >> gnuplot> e >> ^ >> line 0: invalid command To use gnuplot in Cygwin (ie for plotting in graphical window), you need to start Cygwin X server (if you have it installed, ways to do it are described in [1]). I've had mixed experience with Cygwin X, sometimes it worked, sometimes not (not sure why, I didn't investigate further), so I stick to using native Windows version from Octave Forge. Regarding bharat's comments, I'm using windows version of Octave 3.0.3 from Octave Forge and everything works fine for me, so unless you need Cygwin for some specific reason, I suggest you give it a try (although I prefer using gnuplot as graphics engine, it's more mature). [1] http://x.cygwin.com/docs/ug/using.html#using-starting Regards Ivan Sutoris From highegg@gmail.com Fri Feb 6 05:18:56 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n16BIuTP000622 for ; Fri, 6 Feb 2009 05:18:56 -0600 (CST) Received: from mail-fx0-f18.google.com (mail-fx0-f18.google.com [209.85.220.18]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n16BIs04012602; Fri, 6 Feb 2009 05:18:55 -0600 Received: by fxm11 with SMTP id 11so1129331fxm.0 for ; Fri, 06 Feb 2009 03:18:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.168.5 with SMTP id v5mr673758muo.77.1233919128167; Fri, 06 Feb 2009 03:18:48 -0800 (PST) In-Reply-To: <498B34EC.6070602@dbateman.org> References: <69d8d540902050816j6cae9f9ayde97bab2286d334e@mail.gmail.com> <18827.7787.434789.762324@segfault.lan> <498B34EC.6070602@dbateman.org> Date: Fri, 6 Feb 2009 12:18:48 +0100 Message-ID: <69d8d540902060318r30877b44u92b24405d4bedbcd@mail.gmail.com> Subject: Re: profiling Octave From: Jaroslav Hajek To: David Bateman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, WHOIS_MYPRIVREG Cc: "John W. Eaton" , Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 11:18:57 -0000 On Thu, Feb 5, 2009 at 7:50 PM, David Bateman wrote: > John W. Eaton wrote: >> >> On 5-Feb-2009, Jaroslav Hajek wrote: >> >> | has anyone experience profiling with gcc/g++? >> | I wanted to try profiling Octave to identify hot spots in the >> | interpreter, but can't get it to work. >> | I configured using configure CFLAGS="-O2 -pg" CXXFLAGS="-O2 -pg" >> | LDFLAGS=-pg, then built and ran ./run-octave on a test script. >> | It produced a gmon.out file, but `gprof src/octave' does not show >> | anything. So far I was unable to find any useful information how to >> | get this working. A similar strategy works on a single sample C++ file >> | (g++ -pg, then gprof). >> | Has anyone experience with this? I would really prefer to do this with >> | GCC rather than a commercial compiler. >> >> Can gprof handle shared libraries? You might need to build a copy of >> Octave that is statically linked. >> >> jwe >> _______________________________________________ >> Help-octave mailing list >> Help-octave@octave.org >> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave >> >> > > I did a bit of profiling a year or so ago in the thread > > http://www.nabble.com/speed-of-octave-symbol-table-code-to13353730.html > > and can confirm that I needed a statically linked version of octave > > D. > > -- > David Bateman dbateman@dbateman.org > 35 rue Gambetta +33 1 46 04 02 18 (Home) > 92100 Boulogne-Billancourt FRANCE +33 6 72 01 06 33 (Mob) > > I'm feeling a bit ignorant, but could you please share some knowledge? I've configured with ./configure --enable-static --without-cholmod CFLAGS="-O2 -static -pg" CXXFLAGS="-O2 -static -pg" LDFLAGS="-static -pg" ; make -j2 (cholmod was cusing problems) but ended up at the final linking stage with a number of complaints for unresolved symbols from system runtime libs (g++, gfortran, x11). Do I need to install static versions of those? Or is there a way to overcome this? thanks -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From bpabbott@mac.com Fri Feb 6 06:37:22 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n16CbMML019161 for ; Fri, 6 Feb 2009 06:37:22 -0600 (CST) Received: from asmtpout013.mac.com (asmtpout013.mac.com [17.148.16.88]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n16CbLrx009961 for ; Fri, 6 Feb 2009 06:37:22 -0600 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [10.0.1.196] ([97.100.1.226]) by asmtp013.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPA id <0KEN0064E9Q2SD10@asmtp013.mac.com> for help-octave@octave.org; Fri, 06 Feb 2009 04:37:15 -0800 (PST) Message-id: From: Ben Abbott To: David Forel In-reply-to: <874105.53687.qm@web63407.mail.re1.yahoo.com> Subject: Re: please help me plot Date: Fri, 06 Feb 2009 07:37:14 -0500 References: <874105.53687.qm@web63407.mail.re1.yahoo.com> X-Mailer: Apple Mail (2.930.3) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 12:37:23 -0000 On Feb 6, 2009, at 12:48 AM, David Forel wrote: > Hello - I just installed Cygwin on an XP Home laptop. Below are the > two Octave commands I entered and the result. > > octave:1> x = 1:1:5; > octave:2> plot(x); > octave:3> > gnuplot> set terminal aqua 1 enhanced > ^ > line 0: unknown or ambiguous terminal type; type just 'set > terminal' for a list > "Aqua" is a Mac OSX only terminal type. Do you have the environment variable "GNUTERM" set to "aqua"? If I recall correctly, it should either not be set or set to "windows". Ben From bpabbott@mac.com Fri Feb 6 06:39:23 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n16CdNlK019451 for ; Fri, 6 Feb 2009 06:39:23 -0600 (CST) Received: from asmtpout017.mac.com (asmtpout017.mac.com [17.148.16.92]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n16CdMlE010442 for ; Fri, 6 Feb 2009 06:39:23 -0600 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [10.0.1.196] ([97.100.1.226]) by asmtp017.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPA id <0KEN00F0K9TFVB80@asmtp017.mac.com> for help-octave@octave.org; Fri, 06 Feb 2009 04:39:17 -0800 (PST) Message-id: <51276110-32E6-47AA-9A46-52627EA4719D@mac.com> From: Ben Abbott To: Ben Abbott In-reply-to: Subject: Re: please help me plot Date: Fri, 06 Feb 2009 07:39:15 -0500 References: <874105.53687.qm@web63407.mail.re1.yahoo.com> X-Mailer: Apple Mail (2.930.3) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 12:39:25 -0000 On Feb 6, 2009, at 7:37 AM, Ben Abbott wrote: > > On Feb 6, 2009, at 12:48 AM, David Forel wrote: > >> Hello - I just installed Cygwin on an XP Home laptop. Below are the >> two Octave commands I entered and the result. >> >> octave:1> x = 1:1:5; >> octave:2> plot(x); >> octave:3> >> gnuplot> set terminal aqua 1 enhanced >> ^ >> line 0: unknown or ambiguous terminal type; type just 'set >> terminal' for a list >> > > > "Aqua" is a Mac OSX only terminal type. > > Do you have the environment variable "GNUTERM" set to "aqua"? > > If I recall correctly, it should either not be set or set to > "windows". > > Ben I just noticed Ivan's response ... my recollections was incorrect. Ben From jwe@octave.org Fri Feb 6 08:32:49 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n16EWmjL018753 for ; Fri, 6 Feb 2009 08:32:48 -0600 (CST) Received: from spaceymail-a7.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n16EWlbe008868 for ; Fri, 6 Feb 2009 08:32:48 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a7.g.dreamhost.com (Postfix) with ESMTP id EFC52142BE; Fri, 6 Feb 2009 06:32:45 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18828.18956.194016.545949@segfault.lan> Date: Fri, 6 Feb 2009 09:32:44 -0500 To: bharat@arithos.com Subject: Re: please help me plot In-Reply-To: <50347.59.92.184.61.1233900784.squirrel@arithos.com> References: <874105.53687.qm@web63407.mail.re1.yahoo.com> <50347.59.92.184.61.1233900784.squirrel@arithos.com> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 14:32:50 -0000 On 6-Feb-2009, bharat@arithos.com wrote: | issue with help command in Octave on Vista machine. So | my take is if u are using linux then octave is for u, | but if u are using windows try Scilab, their version 5 Is Scilab really an alternative if you need compatibility with Matlab? But anyway, let me know when you start a software project so I can post to your mailing lists and tell people to use something else... Thanks, jwe From bharat@arithos.com Fri Feb 6 09:57:15 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n16FvF7M010146 for ; Fri, 6 Feb 2009 09:57:15 -0600 (CST) Received: from randy.asmallorange.com (randy.asmallorange.com [64.22.96.78]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n16Fv9cq019141 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 6 Feb 2009 09:57:14 -0600 Received: from localhost ([127.0.0.1]:33757 helo=arithos.com) by randy.asmallorange.com with esmtpa (Exim 4.69) (envelope-from ) id 1LVT4j-00041o-T4; Fri, 06 Feb 2009 10:57:06 -0500 Received: from 121.245.18.132 ([121.245.18.132]) (SquirrelMail authenticated user bharat@arithos.com) by arithos.com with HTTP; Fri, 6 Feb 2009 10:57:06 -0500 (EST) Message-ID: <50042.121.245.18.132.1233935826.squirrel@arithos.com> In-Reply-To: <18828.18956.194016.545949@segfault.lan> References: <874105.53687.qm@web63407.mail.re1.yahoo.com> <50347.59.92.184.61.1233900784.squirrel@arithos.com> <18828.18956.194016.545949@segfault.lan> Date: Fri, 6 Feb 2009 10:57:06 -0500 (EST) Subject: Re: please help me plot From: bharat@arithos.com To: "John W. Eaton" User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - randy.asmallorange.com X-AntiAbuse: Original Domain - octave.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - arithos.com X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 15:57:16 -0000 John, This was not meant to hurt any of the feelings of dedicated hardworkers of Octave. Sorry if I have done so. Regards Bharat Pathak > On 6-Feb-2009, bharat@arithos.com wrote: > > | issue with help command in Octave on Vista machine. So > | my take is if u are using linux then octave is for u, > | but if u are using windows try Scilab, their version 5 > > Is Scilab really an alternative if you need compatibility with Matlab? > > But anyway, let me know when you start a software project so I can > post to your mailing lists and tell people to use something else... > > Thanks, > > jwe > From jwe@octave.org Fri Feb 6 10:04:19 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n16G4JKJ012119 for ; Fri, 6 Feb 2009 10:04:19 -0600 (CST) Received: from spaceymail-a7.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n16G4Iak022759 for ; Fri, 6 Feb 2009 10:04:18 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a7.g.dreamhost.com (Postfix) with ESMTP id 16A00142C4; Fri, 6 Feb 2009 08:04:16 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18828.24447.834820.512701@segfault.lan> Date: Fri, 6 Feb 2009 11:04:15 -0500 To: Jaroslav Hajek Subject: Re: profiling Octave In-Reply-To: <69d8d540902060318r30877b44u92b24405d4bedbcd@mail.gmail.com> References: <69d8d540902050816j6cae9f9ayde97bab2286d334e@mail.gmail.com> <18827.7787.434789.762324@segfault.lan> <498B34EC.6070602@dbateman.org> <69d8d540902060318r30877b44u92b24405d4bedbcd@mail.gmail.com> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 16:04:20 -0000 On 6-Feb-2009, Jaroslav Hajek wrote: | I'm feeling a bit ignorant, but could you please share some knowledge? | I've configured with | ./configure --enable-static --without-cholmod CFLAGS="-O2 -static -pg" | CXXFLAGS="-O2 -static -pg" LDFLAGS="-static -pg" ; make -j2 | | (cholmod was cusing problems) but ended up at the final linking stage | with a number of complaints for unresolved symbols from system runtime | libs (g++, gfortran, x11). Do I need to install static versions of | those? Or is there a way to overcome this? I was able to get a complete build with --disable-shared --disable-dl --enable-static F77=gfortran FFLAGS="-O2 -pg" CXXFLAGS="-O2 -pg" CFLAGS="-O2 -pg" LDFLAGS="-pg" I also needed to make these changes: diff --git a/run-octave.in b/run-octave.in --- a/run-octave.in +++ b/run-octave.in @@ -67,7 +67,7 @@ fi OCTAVE_SITE_INITFILE="$top_srcdir/scripts/startup/main-rcfile" \ -LD_PRELOAD="$liboctinterp $liboctave $libcruft" \ +#LD_PRELOAD="$liboctinterp $liboctave $libcruft" \ %library_path_var%="$builddir/src:$builddir/liboctave:$builddir/libcruft:$%library_path_var%" \ exec $driver "$builddir/src/octave" --no-initial-path --path="$LOADPATH" --image-path="$IMAGEPATH" --info-file="$INFOFILE" "$@" diff --git a/src/Makefile.in b/src/Makefile.in --- a/src/Makefile.in +++ b/src/Makefile.in @@ -373,7 +373,8 @@ $(OCTAVE_LIBS) \ $(LEXLIB) $(UMFPACK_LIBS) $(AMD_LIBS) $(CAMD_LIBS) $(COLAMD_LIBS) \ $(CHOLMOD_LIBS) $(CCOLAMD_LIBS) $(CXSPARSE_LIBS) $(BLAS_LIBS) \ - $(FFTW_LIBS) $(QRUPDATE_LIBS) $(ARPACK_LIBS) $(OPENGL_LIBS) \ + $(FFTW_LIBS) $(QRUPDATE_LIBS) $(ARPACK_LIBS) $(CURL_LIBS) \ + $(GRAPHICS_LIBS) $(FT2_LIBS) $(OPENGL_LIBS) \ $(X11_LIBS) $(LIBS) $(FLIBS) stmp-pic: pic On startup, Octave complains about missing .oct files (not surprising, they aren't built with the above configuration): warning: autoload: `besselj.oct' is not an absolute file name ... I guess it's been a while since I (or maybe anyone else) has tried to build a completely static version of Octave. Maybe we should fix the build process so that it works again. Simply starting this copy of Octave and exiting generates an 8.6MB gmon.out file on my system. jwe From Jeremy.Harbinson@wur.nl Fri Feb 6 10:21:04 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n16GL485016773 for ; Fri, 6 Feb 2009 10:21:04 -0600 (CST) Received: from net4.wur.nl (net4.wur.nl [137.224.8.4]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n16GL359025885 for ; Fri, 6 Feb 2009 10:21:04 -0600 Received: from mppd (localhost.localdomain [127.0.0.1]) by net4.wur.nl (Postfix) with ESMTP id EAB0750232 for ; Fri, 6 Feb 2009 17:20:57 +0100 (CET) Received: from scomp0236.wurnet.nl (scomp0236.wurnet.nl [10.90.3.89]) by net4.wur.nl (Postfix) with ESMTP id B47EF50207 for ; Fri, 6 Feb 2009 17:20:27 +0100 (CET) Received: from scomp0039.wurnet.nl ([10.91.3.6]) by scomp0236.wurnet.nl with Microsoft SMTPSVC(6.0.3790.3959); Fri, 6 Feb 2009 17:20:27 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: Re: fitting functions which contain 'i': more details Date: Fri, 6 Feb 2009 17:20:27 +0100 Message-ID: <14EFCC12CC0CA642940526E074A2251D012DC301@scomp0039.wurnet.nl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: fitting functions which contain 'i': more details Thread-Index: AcmIdtJVV+74DdCfQ6K5F/K8r3nDEw== From: "Harbinson, Jeremy" To: X-OriginalArrivalTime: 06 Feb 2009 16:20:27.0660 (UTC) FILETIME=[D28ACCC0:01C98876] X-CTCH-RefID: str=0001.0A0B0201.498C6369.006B,ss=1,fgs=0 X-Scanned-By: MPP/Commtouch http://www.messagepartners.com X-Scanned-By: This message was scanned by MPP v.3 (www.messagepartners.com) X-CMAE-Analysis: v=1.0 c=1 a=tLxY49e28MsA:10 a=GsGKpcVYirMA:10 a=IRKGKvgytWylMx5Ix3gA:9 a=A8NthVpgnxSj--SYYSvsnkG8gKUA:4 a=3SmO1NJXDBsA:10 a=1Fs-wy382pl4dqqB:21 a=pJVxI9Rbjd4lGaOZ:21 X-Scanned-By: MPP/Cloudmark http://www.messagepartners.com X-Spam-Score-W: -2.90 X-Spam-Rules: AWL,BAYES_00 X-Scanned-By: MPP/Spamassassin http://www.messagepartners.com X-Scanned-By: MPP/Clamd http://www.messagepartners.com X-Scanned-By: MPP/UVScan http://www.messagepartners.com X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n16GL485016773 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, SPF_HELO_PASS X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 16:21:05 -0000 Hi, The function I need to fit is one that describes the frequency dependence of the electrical impedance (Z) of biological tissue in terms of four parameters: capacitance, two limiting resistances, and alpha, which basically compensates for the fact that biological materials do not behave as ideal Resistor-Capacitor systems. It is difficult to clearly write the function here as it has lots of subscripts etc, but here is the function in Latex: Z\left(freq\right)=R_{\infty}+\frac{R_{0}-R_{\infty}}{1+i\omega C\left(R_{0}-R_{\infty}\right)^{\alpha}} C is capacitance, and R0 and Rinfinity are the limiting resistances. If C is non-zero the function returns an complex number that contains the real and imaginary parts of the impedance. If the real and imaginary parts of the impedance are plotted against each other (real on x, imaginary on y) the result is a so-called Cole-Cole plot. I think it is also sometimes called a Nyquist diagram. The data I collect is the complex impedance (Z) as a function of frequency (omega). I would like to estimate the parameters R0, Rinfinity, C and alpha from this data by the fitting the above function to it. So I need some fitting tool that is happy working with complex numbers. I have a recollection that this is/was possible with a function in the basic Matlab package, but I do not know which. An alternative approach to fitting the function above is to fit the Cole-Cole plot (the real and imaginary components plotted against each other) with a circle, as the locus of the points on a Cole-Cole plot is a chord or semicircle whose centre is shifted away from the origin of the graph. Problems with this approach are that the least-squares fitting routine does not (so far as I know) fit parametric equations (maybe fsolve does?) and real data often deviates from the chord/semicircle of the ideal Cole-Cole plot (typical biology - we are not ideal). These distorted responses are relatively easy to deal with by tweaking the basic function shown above, but not so easy to work with via the graphical approach of the Cole-Cole plot. Hope this clarifies things a bit, all the best, Jeremy From bounces@nabble.com Fri Feb 6 10:04:56 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n16G4u1h012237 for ; Fri, 6 Feb 2009 10:04:56 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n16G4mD8024995 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 6 Feb 2009 10:04:56 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LVTCB-0002Z1-Ud for help-octave@octave.org; Fri, 06 Feb 2009 08:04:47 -0800 Message-ID: <21875383.post@talk.nabble.com> Date: Fri, 6 Feb 2009 08:04:47 -0800 (PST) From: Depo To: help-octave@octave.org Subject: very very very slow computing MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ste_depo@yahoo.it X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-Mailman-Approved-At: Fri, 06 Feb 2009 11:13:47 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 16:04:58 -0000 Hi everybody, I was just trying making some simple operations on a large matrix (10, 3000) and I faced off o very slow computational time comparing to the simple operation I was attempting to do. Looking for the problem I saw that even copying same values to a new matrix was a computationally huge operation!!!!!!!!!!!!! That is the code: clear new_sign_difference; #to ensure it is emty i=1; k=1; while (k <= n_rows) #I have used while statement instead of for because some says it is faster... while (i <= n_cols) new_sign_difference(k,i)=sign_difference(k,i) #reassign same values to a new matrix disp(i); disp(k); i++; endwhile k++; i=1; endwhile the matrix sign_difference has size 10x3'000, so this is a 30'000-operation loop. It takes up to 10 minutes!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! If I only visualize on screen matrix' values it takes 1 second............................., here is the code: clear new_sign_difference; i=1; k=1; while (k <= n_rows) while (i <= n_cols) sign_difference(k,i) #only to screen, without writing on a new matrix disp(i); disp(k); i++; endwhile k++; i=1; endwhile How is it possible????????????????????????????????????? Please help me, I'm getting crazy and I can't work at all at these conditions.......................... Tanks everybody -- View this message in context: http://www.nabble.com/very-very-very-slow-computing-tp21875383p21875383.html Sent from the Octave - General mailing list archive at Nabble.com. From ivan.sutoris@gmail.com Fri Feb 6 11:53:25 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n16HrPfU009740 for ; Fri, 6 Feb 2009 11:53:25 -0600 (CST) Received: from mail-ew0-f17.google.com (mail-ew0-f17.google.com [209.85.219.17]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n16HrOMb007635 for ; Fri, 6 Feb 2009 11:53:25 -0600 Received: by ewy10 with SMTP id 10so1291681ewy.0 for ; Fri, 06 Feb 2009 09:53:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.102.218.5 with SMTP id q5mr848224mug.99.1233942798489; Fri, 06 Feb 2009 09:53:18 -0800 (PST) In-Reply-To: <21875383.post@talk.nabble.com> References: <21875383.post@talk.nabble.com> Date: Fri, 6 Feb 2009 18:53:18 +0100 Message-ID: <65d1f7fc0902060953k7807d900g1a35684272b5acb@mail.gmail.com> Subject: Re: very very very slow computing From: Ivan Sutoris To: Depo Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 17:53:26 -0000 On Fri, Feb 6, 2009 at 5:04 PM, Depo wrote: > > Hi everybody, > > I was just trying making some simple operations on a large matrix (10, 3000) > and I faced off o very slow computational time comparing to the simple > operation I was attempting to do. Looking for the problem I saw that even > copying same values to a new matrix was a computationally huge > operation!!!!!!!!!!!!! > > That is the code: > > clear new_sign_difference; #to ensure > it is emty > i=1; k=1; > while (k <= n_rows) #I have > used while statement instead of for because some says it is faster... > while (i <= n_cols) > new_sign_difference(k,i)=sign_difference(k,i) #reassign same > values to a new matrix > disp(i); > disp(k); > i++; > endwhile > k++; i=1; > endwhile > > the matrix sign_difference has size 10x3'000, so this is a 30'000-operation > loop. It takes up to 10 > minutes!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > > If I only visualize on screen matrix' values it takes 1 > second............................., here is the code: > > > clear new_sign_difference; > i=1; k=1; > while (k <= n_rows) > while (i <= n_cols) > sign_difference(k,i) #only to screen, without writing on a > new matrix > disp(i); > disp(k); > i++; > endwhile > k++; i=1; > endwhile > > > How is it possible????????????????????????????????????? > Please help me, I'm getting crazy and I can't work at all at these > conditions.......................... > > > Tanks everybody Hi I guess your problem is missing semicolon in line new_sign_difference(k,i)=sign_difference(k,i) which means that whole matrix is printed in every cycle . After I removed output to screen by adding semicolon and removing both disp() commands, the assignment takes about 2.5 secs on my computer (for 10*3000 matrix). Regards Ivan Sutoris From rob@utk.edu Fri Feb 6 11:58:30 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n16HwUrq010734 for ; Fri, 6 Feb 2009 11:58:30 -0600 (CST) Received: from jaguar.mail.utk.edu (jaguar.mail.utk.edu [160.36.0.84]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n16HwSa2008131 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 6 Feb 2009 11:58:30 -0600 Received: from [192.168.2.100] (adsl-242-100-120.tys.bellsouth.net [74.242.100.120]) (authenticated bits=0) by jaguar.mail.utk.edu (8.13.6/8.13.4) with ESMTP id n16HwRPD027331 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 6 Feb 2009 12:58:28 -0500 In-Reply-To: <21875383.post@talk.nabble.com> References: <21875383.post@talk.nabble.com> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <278864CE-3759-4DF7-BE1B-DE435A305322@utk.edu> Content-Transfer-Encoding: 7bit From: Rob Mahurin Subject: Re: very very very slow computing Date: Fri, 6 Feb 2009 12:58:25 -0500 To: Depo X-Mailer: Apple Mail (2.753.1) X-SMTP-Auth: auth_authen=mwahaha X-Spam-Status: Message recipients not local. X-Scanned-By: MIMEDefang 2.53 on 160.36.0.84 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, RCVD_IN_DNSWL_MED Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 17:58:31 -0000 On Feb 6, 2009, at 11:04 AM, Depo wrote: > Hi everybody, > > I was just trying making some simple operations on a large matrix > (10, 3000) and I faced off o very slow computational time comparing > to the simple operation I was attempting to do. Looking for the > problem I saw that even copying same values to a new matrix was a > computationally huge operation!!!!!!!!!!!!! > > That is the code: > > clear new_sign_difference; #to ensure it is emty > i=1; k=1; > while (k <= n_rows) #I have used while statement instead of for > because some says it is faster... > while (i <= n_cols) > new_sign_difference(k,i)=sign_difference(k,i) #reassign same > values to a new matrix > disp(i); > disp(k); > i++; > endwhile > k++; i=1; > endwhile This code does the same thing as the statement new_sign_difference = sign_difference which copies the entire matrix at once, very quickly. If you have some expression you need to do element-by-element, use "vectorize" to make sure you haven't missed any *,/,^ operators. If you have some code that doesn't vectorize (hey, it happens), define matrices for your results before starting so that your loop doesn't waste time reallocating memory when the matrix grows: new_sign_difference = zeros(size(sign_difference)); for (i = 1:numel(sign_difference)) new_sign_difference(i) = [something] > the matrix sign_difference has size 10x3'000, so this is a 30'000- > operation loop. It takes up to 10 minutes! > > If I only visualize on screen matrix' values it takes 1 > second............................., here is the code: > > > clear new_sign_difference; > i=1; k=1; > while (k <= n_rows) while (i <= n_cols) > sign_difference(k,i) #only to screen, without writing on a new matrix > [...] Sounds like your problem was repeatedly re-allocating memory. Allocate, clear, allocate a little more every time turns a 30,000 operation loop to a (30,000)^2 operation loop. Cheers, Rob -- Rob Mahurin Department of Physics and Astronomy University of Tennessee 865 207 2594 Knoxville, TN 37996 rob@utk.edu From lijun.li.opt@gmail.com Fri Feb 6 12:01:05 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n16I15w5011893 for ; Fri, 6 Feb 2009 12:01:05 -0600 (CST) Received: from rv-out-0708.google.com (rv-out-0708.google.com [209.85.198.241]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n16I13n0008583 for ; Fri, 6 Feb 2009 12:01:04 -0600 Received: by rv-out-0708.google.com with SMTP id c5so877235rvf.24 for ; Fri, 06 Feb 2009 10:01:02 -0800 (PST) MIME-Version: 1.0 Sender: lijun.li.opt@gmail.com Received: by 10.141.86.4 with SMTP id o4mr68015rvl.172.1233943262833; Fri, 06 Feb 2009 10:01:02 -0800 (PST) Date: Fri, 6 Feb 2009 13:01:02 -0500 X-Google-Sender-Auth: 1c91dddb1e9bdfa9 Message-ID: <5c002d3b0902061001g55af62ah2a4d6e58d74967ab@mail.gmail.com> Subject: how to extract the diagonal entries out of a matrix From: Edward To: Help-octave@octave.org Content-Type: multipart/alternative; boundary=00151748e70adaac2b046243cd3d X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, HTML_MESSAGE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 18:01:06 -0000 --00151748e70adaac2b046243cd3d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, For example, there is a matrix like: [ 1 2 3 4 5 6 7 8 3 5 7 0 4 8 2 5 ] and I want to get the diagonal elements out of the matrix and make into a vector: [ 1 6 7 5] . I know I could write some lines to do it, but I just want to know if there is a built-in function can do the job. Thank you. -- Edward --00151748e70adaac2b046243cd3d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi,

For example, there is a matrix like:

[ 1 2 3 4
 = 5 6 7 8
  3 5 7 0
  4 8 2 5 ]
and I want to get the di= agonal elements out of the matrix and make into a vector: [ 1 6 7 5]  = .

I know I could write some lines to do it, but I just want to know = if there is a built-in function can do the job. Thank you.

--
Edward
--00151748e70adaac2b046243cd3d-- From daviddoria@gmail.com Fri Feb 6 12:02:55 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n16I2qrU012047 for ; Fri, 6 Feb 2009 12:02:55 -0600 (CST) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n16I2ndF009638 for ; Fri, 6 Feb 2009 12:02:51 -0600 Received: by wf-out-1314.google.com with SMTP id 27so939014wfd.15 for ; Fri, 06 Feb 2009 10:02:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.173.8 with SMTP id v8mr1085363wfe.181.1233943369510; Fri, 06 Feb 2009 10:02:49 -0800 (PST) In-Reply-To: <5c002d3b0902061001g55af62ah2a4d6e58d74967ab@mail.gmail.com> References: <5c002d3b0902061001g55af62ah2a4d6e58d74967ab@mail.gmail.com> Date: Fri, 6 Feb 2009 13:02:49 -0500 Message-ID: Subject: Re: how to extract the diagonal entries out of a matrix From: David Doria To: Edward Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 Cc: Help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 18:02:57 -0000 A = rand(3,3); B = diag(A); Dave On Fri, Feb 6, 2009 at 1:01 PM, Edward wrote: > Hi, > > For example, there is a matrix like: > > [ 1 2 3 4 > 5 6 7 8 > 3 5 7 0 > 4 8 2 5 ] > and I want to get the diagonal elements out of the matrix and make into a > vector: [ 1 6 7 5] . > > I know I could write some lines to do it, but I just want to know if there > is a built-in function can do the job. Thank you. > > -- > Edward > > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > > -- Thanks, David From Rolf.Schirmacher@MuellerBBM.de Fri Feb 6 12:04:10 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n16I49Z1012214 for ; Fri, 6 Feb 2009 12:04:09 -0600 (CST) Received: from mx1.mbbm.de (mx1.mbbm.de [195.145.220.68]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n16I46n4011917 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 6 Feb 2009 12:04:09 -0600 Received: from mxmuc.mbbm.de (mxmuc.mbbm.de [172.29.8.101]) by mx1.mbbm.de (8.14.2/8.14.2) with ESMTP id n16I3x3u001891; Fri, 6 Feb 2009 19:04:00 +0100 (envelope-from Rolf.Schirmacher@MuellerBBM.de) Received: from smex01.muc.mbbm.de (smex01.mbbm.de [172.29.0.22]) by mxmuc.mbbm.de (8.13.8/8.13.8) with ESMTP id n16I3xpb022899; Fri, 6 Feb 2009 19:03:59 +0100 Received: by smex01.mbbm.de with Internet Mail Service (5.5.2657.72) id <1D5ANN2H>; Fri, 6 Feb 2009 19:03:59 +0100 Message-ID: <2417729F3416D511A27E0090273A963B02910C83@smex01.mbbm.de> From: "Schirmacher, Rolf" To: "'Depo'" , help-octave@octave.org Subject: RE: very very very slow computing Date: Fri, 6 Feb 2009 19:03:58 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="ISO-8859-1" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 18:04:11 -0000 > -----Original Message----- > From: Depo [mailto:ste_depo@yahoo.it] > Sent: Friday, February 06, 2009 5:05 PM > To: help-octave@octave.org > Subject: very very very slow computing > > > > Hi everybody, > > I was just trying making some simple operations on a large > matrix (10, 3000) > and I faced off o very slow computational time comparing to the simple > operation I was attempting to do. Looking for the problem I > saw that even > copying same values to a new matrix was a computationally huge > operation!!!!!!!!!!!!! > > That is the code: > > clear new_sign_difference; > #to ensure > it is emty > i=1; k=1; > while (k <= n_rows) > #I have > used while statement instead of for because some says it is faster... > while (i <= n_cols) > new_sign_difference(k,i)=sign_difference(k,i) #reassign same > values to a new matrix > disp(i); > disp(k); > i++; > endwhile > k++; i=1; > endwhile > > the matrix sign_difference has size 10x3'000, so this is a > 30'000-operation > loop. It takes up to 10 > minutes!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > > If I only visualize on screen matrix' values it takes 1 > second............................., here is the code: > > > clear new_sign_difference; > i=1; k=1; > while (k <= n_rows) > while (i <= n_cols) > sign_difference(k,i) #only to screen, without > writing on a > new matrix > disp(i); > disp(k); > i++; > endwhile > k++; i=1; > endwhile > > > How is it possible????????????????????????????????????? > Please help me, I'm getting crazy and I can't work at all at these > conditions.......................... > > > Tanks everybody > -- > View this message in context: > http://www.nabble.com/very-very-very-slow-computing-tp21875383 p21875383.html Sent from the Octave - General mailing list archive at Nabble.com. The way you set up your code, there are 30000 times where the new matrix requires to allocate new memory and get resized. Please try to allocate one chunk of memory before you enter the loops, e.g. by new_sign_difference=zeros(size(sign_difference)); Should help you a lot ;-) Rolf From kruvalig@pnz.ru Fri Feb 6 15:50:10 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n16LoARn003539 for ; Fri, 6 Feb 2009 15:50:10 -0600 (CST) Received: from mail.pnz.ru (mail.pnz.ru [85.234.33.17]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n16Ln3nc025837 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 6 Feb 2009 15:50:09 -0600 Received: from [77.108.213.161] (helo=kruvaligcomp) by mail.pnz.ru with esmtpa (Exim 4.50) id 1LVYV2-0007pm-9J for help-octave@octave.org; Sat, 07 Feb 2009 00:44:36 +0300 Date: Sat, 07 Feb 2009 00:48:58 +0300 To: help-octave@octave.org Subject: legendre.m is not updated in windows distribution. From: kruvalig Content-Type: multipart/mixed; boundary=----------AoBzShaAq8Hgi0Qx6qoPCS MIME-Version: 1.0 Message-ID: User-Agent: Opera Mail/9.27 (Win32) X-Antivirus: avast! (VPS 090206-0, 06.02.2009), Outbound message X-Antivirus-Status: Clean X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 21:50:14 -0000 ------------AoBzShaAq8Hgi0Qx6qoPCS Content-Type: text/plain; format=flowed; delsp=yes; charset=windows-1251 Content-Transfer-Encoding: 7bit I install octave 3.0.3 under windwos. And found that in share\octave\3.0.3\m\specfun\ placed old version of legendre.m. In this maillist was discussion, and as result of it was function with normalization. I don't have enough experience to update it. Could anybody to change this function to this: ------------AoBzShaAq8Hgi0Qx6qoPCS Content-Disposition: attachment; filename=legendre.m Content-Type: .m; name=legendre.m Content-Transfer-Encoding: Quoted-Printable ## Copyright (C) 2000, 2006, 2007 Kai Habel ## Copyright (C) 2008 Marco Caliari ## ## This file is part of Octave. ## ## Octave is free software; you can redistribute it and/or modify it ## under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 3 of the License, or (at= ## your option) any later version. ## ## Octave is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with Octave; see the file COPYING. If not, see ## . ## -*- texinfo -*- ## @deftypefn {Function File} {@var{l} =3D} legendre (@var{n}, @var{x}) ## @deftypefnx {Function File} {@var{l} =3D} legendre (@var{n}, @var{x},= @var{normalization}) ## Compute the Legendre function of degree @var{n} and order = ## @var{m} =3D 0 ... N. The optional argument, @var{normalization}, = ## may be one of @code{"unnorm"}, @code{"sch"}, or @code{"norm"}. ## The default is @code{"unnorm"}. The value of @var{n} must be a = ## non-negative scalar integer. = ## ## If the optional argument @var{normalization} is missing or is ## @code{"unnorm"}, compute the Legendre function of degree @var{n} and ## order @var{m} and return all values for @var{m} =3D 0 @dots{} @var{n}= . ## The return value has one dimension more than @var{x}. ## ## The Legendre Function of degree @var{n} and order @var{m}: ## ## @example ## @group ## m m 2 m/2 d^m ## P(x) =3D (-1) * (1-x ) * ---- P (x) ## n dx^m n ## @end group ## @end example ## ## @noindent ## with Legendre polynomial of degree @var{n}: ## ## @example ## @group ## 1 d^n 2 n ## P (x) =3D ------ [----(x - 1) ] ## n 2^n n! dx^n ## @end group ## @end example ## ## @noindent ## @code{legendre (3, [-1.0, -0.9, -0.8])} returns the matrix: ## ## @example ## @group ## x | -1.0 | -0.9 | -0.8 ## ------------------------------------ ## m=3D0 | -1.00000 | -0.47250 | -0.08000 ## m=3D1 | 0.00000 | -1.99420 | -1.98000 ## m=3D2 | 0.00000 | -2.56500 | -4.32000 ## m=3D3 | 0.00000 | -1.24229 | -3.24000 = ## @end group ## @end example ## ## If the optional argument @code{normalization} is @code{"sch"}, = ## compute the Schmidt semi-normalized associated Legendre function. ## The Schmidt semi-normalized associated Legendre function is related ## to the unnormalized Legendre functions by the following: ## ## For Legendre functions of degree n and order 0: ## ## @example ## @group ## 0 0 ## SP (x) =3D P (x) ## n n ## @end group ## @end example ## ## For Legendre functions of degree n and order m: ## ## @example ## @group ## m m m 2(n-m)! 0.5 ## SP (x) =3D P (x) * (-1) * [-------] ## n n (n+m)! ## @end group ## @end example ## ## If the optional argument @var{normalization} is @code{"norm"}, = ## compute the fully normalized associated Legendre function. ## The fully normalized associated Legendre function is related ## to the unnormalized Legendre functions by the following: ## ## For Legendre functions of degree @var{n} and order @var{m} ## ## @example ## @group ## m m m (n+0.5)(n-m)! 0.5 ## NP (x) =3D P (x) * (-1) * [-------------] ## n n (n+m)! = ## @end group ## @end example ## @end deftypefn ## Author: Marco Caliari function retval =3D legendre (n, x, normalization) if (nargin < 2 || nargin > 3) print_usage (); endif if (nargin =3D=3D 3) normalization =3D lower (normalization); else normalization =3D "unnorm"; endif if (! isscalar (n) || n < 0 || n !=3D fix (n)) error ("legendre: n must be a non-negative scalar integer"); endif if (! isvector (x) || any (x < -1 || x > 1)) error ("legendre: x must be vector in range -1 <=3D x <=3D 1"); endif switch (normalization) case "norm" scale =3D sqrt (n+0.5); case "sch" scale =3D sqrt (2); case "unnorm" scale =3D 1; otherwise error ("legendre: expecting normalization option to be \"norm\", \= "sch\", or \"unnorm\""); endswitch ## Based on the recurrence relation below ## m m m ## (n-m+1) * P (x) =3D (2*n+1)*x*P (x) - (n+1)*P (x) ## n+1 n n-1 ## http://en.wikipedia.org/wiki/Associated_Legendre_function for m =3D 1:n lpm1 =3D scale; lpm2 =3D (2*m-1) .* x .* scale; = lpm3 =3D lpm2; for k =3D m+1:n lpm3 =3D ((2*k-1) .* x .* lpm2 - (k+m-2) .* lpm1)/(k-m+1); lpm1 =3D lpm2; lpm2 =3D lpm3; endfor retval(m,:) =3D lpm3; if (strcmp (normalization, "unnorm")) scale =3D -scale * (2*m-1); else ## normalization =3D=3D "sch" or normalization =3D=3D "norm" scale =3D scale / sqrt ((n-m+1)*(n+m))*(2*m-1); endif scale =3D scale .* sqrt(1-x.^2); endfor retval(n+1,:) =3D scale; if (strcmp (normalization, "sch")) retval(1,:) =3D retval(1,:) / sqrt (2); endif endfunction %!test %! result =3D legendre (3, [-1.0 -0.9 -0.8]); %! expected =3D [ %! -1.00000 -0.47250 -0.08000 %! 0.00000 -1.99420 -1.98000 %! 0.00000 -2.56500 -4.32000 %! 0.00000 -1.24229 -3.24000 %! ]; %! assert (result, expected, 1e-5); %!test %! result =3D legendre (3, [-1.0 -0.9 -0.8], "sch"); %! expected =3D [ %! -1.00000 -0.47250 -0.08000 %! 0.00000 0.81413 0.80833 %! -0.00000 -0.33114 -0.55771 %! 0.00000 0.06547 0.17076 %! ]; %! assert (result, expected, 1e-5); %!test %! result =3D legendre (3, [-1.0 -0.9 -0.8], "norm"); %! expected =3D [ %! -1.87083 -0.88397 -0.14967 %! 0.00000 1.07699 1.06932 %! -0.00000 -0.43806 -0.73778 %! 0.00000 0.08661 0.22590 %! ]; %! assert (result, expected, 1e-5); %!test %! result =3D legendre (151, 0); %! ## Don't compare to "-Inf" since it would fail on 64 bit systems. %! assert (result(end) < -1.7976e308 && all (isfinite (result(1:end-1)))= ); %!test %! result =3D legendre (150, 0); %! ## This agrees with Matlab's result. %! assert (result(end), 3.7532741115719e+306, 0.0000000000001e+306) ------------AoBzShaAq8Hgi0Qx6qoPCS-- From bounces@nabble.com Fri Feb 6 18:20:50 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n170KoRs003693 for ; Fri, 6 Feb 2009 18:20:50 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n170Kgrm005839 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 6 Feb 2009 18:20:50 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LVaw4-0007yQ-AC for help-octave@octave.org; Fri, 06 Feb 2009 16:20:40 -0800 Message-ID: <21883449.post@talk.nabble.com> Date: Fri, 6 Feb 2009 16:20:40 -0800 (PST) From: dmelliott To: help-octave@octave.org Subject: Re: Text on plots In-Reply-To: <29497663676824203629744809651102752091-Webmail@me.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: dmelliott@charter.net References: <861817E6254B4D90BAD2273E0322901C@cb289178a> <29497663676824203629744809651102752091-Webmail@me.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 00:20:53 -0000 Ben Abbott wrote: > > > On Wednesday, January 28, 2009, at 08:15AM, "dmelliott" > wrote: >> >> ----- Original Message ----- >> From: Ben Abbott >> To: dmelliott >> Cc: GNU Octave ; michael.goffioul@gmail.com >> Sent: Tuesday, January 27, 2009 9:33 AM >> Subject: Re: Text on plots >> >> >> On Tuesday, January 27, 2009, at 10:10AM, "dmelliott" >> wrote: >> > >> > ----- Original Message ----- >> > From: Ben Abbott >> > To: dmelliott >> > Cc: GNU Octave >> > Sent: Monday, January 26, 2009 7:52 AM >> > Subject: Re: Text on plots >> > >> > >> >On Monday, January 26, 2009, at 08:14AM, "dmelliott" >> wrote: >> > >> >> ----- Original Message ----- >> >> From: Ben Abbott >> >> To: dmelliott >> >> Cc: help-octave@octave.org >> >> Sent: Sunday, January 25, 2009 2:49 PM >> >> Subject: Re: Text on plots >> >> >> >> On Jan 25, 2009, at 1:26 PM, dmelliott wrote: >> >> >> >> > >> >> > Dear Help, >> >> > >> >> > When I copy the example in the "octave help" at the beginning >> of >> >> > section 15.1.3 Plot Annotations into an m-file and try to run it, >> >> > absolutely no text appears on the graph other than the axis >> numbering. >> >> > I have tried the methods that I used, successfully, in Matlab, >> >> > and they do not work either. How can I make a graph title and >> axis >> >> > labels on a figure generated with "plot"? >> >> > I am using the handle graphics. >> >> > >> >> > >> >> > >> More >> >> > than a bit frustrated, >> >> > >> >> > >> Douglas >> >> > M Elliott >> >> >> >> I assume you are trying something like what is below? >> >> >> >> set (get (gca, 'xlabel'), 'string', 'some xlabel')) >> >> >> >> Depending upon the version of octave you are running that may not >> work. >> >> >> >> It does work for me (Octave 3.0.3). What version of Octave are your >> >> running? >> >> >> >> If you are running an older version, you can update your octave or >> >> take the advice offered by Bill and Ivan. >> >> >> >> Ben >> >> >> >> >> >>Dear Mr. Abbott, >> >> >> >> Thank you for your very speedy reply. >> >> >> >> The way you suggest makes perfect sense to me, having used Matlab >> for years. However, I can not get it to work. If I could ask a small >> favor of you, it would be greatly appreciated. >> >> >> >> Could you rewrite and test the example from the directions: >> >> >> >> >> >> x=-10:0.1:10; >> >> plot(x,sin(x)); >> >> title("sin(x) for >> x=-10:0.1:10"); >> >> xlabel("x"); >> >> ylabel("sin(x)"); >> >> text(pi,0.7,"arbitrary text"); >> >> legend("sin(x)"); >> >> >> >> >> >>and send the working code back. If I had something that I know should >> work, then I might be able to proceed. >> >> >> >> I have tried every combination of things that I can think of, with >> no success. I uninstalled V3.0.3, download it again, and installed it >> only to have exactly the same results. The OS is XP. When installing, >> every possible option was chosen. >> >> >> >> There are several things that are working just fine such as line, >> toolbar, numbertitle, figure name and position, axes tics, grid, and >> number formatting, etc. Everything but the text. >> >> >> >> >> >> >> Thanking you in advance, >> >> >> >> >> Douglas M. Elliott >> > >> > >> >Your code works perfectly for me. I have no experience with octave on >> XP. In the event someone else can help, I've cc'd the help list again (we >> dropped of at some point). >> > >> >It may be that octave is working properly and that the trouble is with >> gnuplot. Please try to determine what version of gnuplot you have >> installed, and were you got it from. It may also be useful to know where >> you obtained Octave from. >> > >> >Regarding gnuplot, we can take a look at the information being sent >> from octave to gnuplot. That should help us determine where your problem >> lies. You can save the gnuplot stream by typing the following after the >> plot commands have been executed. >> > >> > drawnow ("windows", "/dev/null", true, "windows.gp") >> > >> >Please attach the result to your next reply and I'll look it over. >> > >> >Ben >> > >> >p.s. please respond at the bottom so that others who join the >> discussion have an easier time following along. Thanks. >> > >> > >> >___________________________________ >> > >> > >> >Dear Mr. Abbott, >> > >> > Whatever it is that I have, I got from: >> > >> > >> http://sourceforge.net/project/showfiles.php?group_id=2888&package_id=40078 >> > >> >selecting V3.0.3. >> > >> > >> > As to the gnuplot version, using the function given in the included >> docs: >> > >> > version=__gnuplot_version__() >> > >> >version 4.3 is reported. This strikes me as odd since SourceForge's >> latest is 4.2.4. The executables themselves were, for some reason, >> written without a "properties" section, so I can not tell from that. >> > >> > >> > Alternatively, it could be in the mfiles. I was advised earlier, >> for a related problem, to try: >> > >> > pkg load jhandles >> > help uicontrol >> > >> >by Mr. Goffioul, and got an error message saying that uicontrol was not >> documented. I get any number of "not there's" when I try to set >> properties that the directions say I should be able to, so it could be in >> the mfile interfaces. >> > >> > >> > I note that there is a caution for the 4.2 versions at SourceForge: >> > >> >"- Octave has recently changed its method of sending data to gnuplot >> for plotting; data is passed in-line through the pipe to gnuplot's >> stdin. Unfortunately, the current Gnuplot 4.2 code does not support >> mouse interaction with in-line data. This problem is fixed in the CVS >> version, but not in the current release version 4.2.4." >> > >> >Now if I knew where the CVS version was, I might be able to download >> it. >> > >> > >> > I tried your suggestion: >> > >> > drawnow ("windows","/dev/null",true,"windows.gp") >> > >> >thank you, and got: >> > >> > error: unsupported output format: windows >> >> ok, as I don't have a windows box, it is likely I got that wrong. Try >> >> drawnow ("x11", "/dev/null", true, "x11.gp") >> >> You will get some errors, but the x11.gp file should be written to the >> current directory. >> >> >This makes sense given the function file content: >> > >> > function drawnow (term, file, mono, debugfile) >> > >> > h = get(0, 'currentfigure'); >> > if (! isempty (h) && h != 0 && ishandle (h)) >> > fig = __get_object__ (h); >> > if (nargin == 0) >> > fig.redraw (); >> > elseif (nargin >= 2) >> > elt = cellstr (split (term, " ")); >> > switch elt{1} >> > case {"png", "postscript"} >> > fig.print (elt{1}, file); >> > otherwise >> > error ("unsupported output format: %s", term); >> > endswitch >> > endif >> > endif >> > >> > endfunction >> >> hmmm ... that is definitely not the correct file. I'd guess you had an >> earlier octave install and your present installation is pointed at its >> path. >> >> What do you get when you type the following >> >> path >> >> In any event, try typing the following lines ... >> >> path (pathdef); >> savepath; >> >> ... and then try some more plots. Hopefully, that will fix your problem. >> >> Ben >>____________________________________________________________________________________ >> >> >>Dear Mr. Abbott, >> >> I forgot that you are using a different installation then mine. The >> "drawmow" that jhandles uses is the above. There is another "drawnow", >> which I suspect is the one you thought would be used. The above is in: >> >> "X:\Octave\share\octave\packages\jhandles-0.3.4" >> >>whereas the one I think you wanted is in: >> >> "X:\Octave\share\octave\3.0.3\m\plot" > > ok, I missed that you were using jhandles. Jhandles doesn't install on my > Mac, so I won't be any help with that. > >>Since I was using jhandles, the copied one is the one in the jhandles path. There are any number of similar files for both, since graphics is graphics. >> >> I decided to try the other graphics, so I uninstalled and reinstalled >> Octave using the second copy obtained from the above source, and chose >> gnuplot as the default. Then I again tried the sample in the >> instructions just after the start of section 15.1.3. This yielded: >> >>>>(pgnuplot.exe:1572): Pango-WARNING **: couldn't load font "Helvetica Not-Rotated 200", falling back to "Sans Not-Rotated 200", expect ugly output.<< >> >>Apparently, there is some corruption in the plotting font file! If both graphics use the same font source, and the handle stuff is less mature, thus having a bit weaker error trapping, this might be why no text appeared in the handle graph, and there was no warning. > > This sort of error isn't that unusual. Was a plot produced? > > You can suppress the warning by setting the default axes font to something > your system supports. Apparently you don't have a Helvetica font available > (is that normal gnuplot on Windows ?). Try the command below before > plotting (it looks like you have "Sans" available, but I'm only guessing > what a proper fontname would be). > > set (0,"defaultaxesfontname", "Sans") > > Ben > > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > > -- View this message in context: http://www.nabble.com/Text-on-plots-tp21654908p21883449.html Sent from the Octave - General mailing list archive at Nabble.com. From dmelliott@charter.net Fri Feb 6 18:48:09 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n170m96B009190 for ; Fri, 6 Feb 2009 18:48:09 -0600 (CST) Received: from mta31.charter.net (mta31.charter.net [216.33.127.82]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n170m81j013767 for ; Fri, 6 Feb 2009 18:48:09 -0600 Received: from aarprv06.charter.net ([10.20.200.76]) by mta31.charter.net (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20090207004751.WHHW21772.mta31.charter.net@aarprv06.charter.net> for ; Fri, 6 Feb 2009 19:47:51 -0500 Received: from cb289178a ([96.42.67.115]) by aarprv06.charter.net with SMTP id <20090207004751.WMLB128.aarprv06.charter.net@cb289178a> for ; Fri, 6 Feb 2009 19:47:51 -0500 Message-ID: <3FDC50FACE63406880AB759E22C18D7B@cb289178a> From: "dmelliott" To: Subject: Available Fonts Date: Fri, 6 Feb 2009 18:56:21 -0600 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0018_01C9888C.9A144B30" X-Priority: 3 X-Unsent: 1 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-Vipre-Scanned: 2AC26F890009F82AC270D6-TDI X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Chzlrs: 0 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: ** X-Spam-Reason: BAYES_00, FORGED_MUA_OUTLOOK, HTML_MESSAGE, SARE_HEAD_XUNSENT X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 00:48:11 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0018_01C9888C.9A144B30 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Dear Help, In a recent correspondence from a user of "the other OS", there was = a statement that he did not know the name of the corresponding font on = my OS, MS. This prompted me to search for what fonts were available to Octave. = As far as I can tell, this can not be discerned from within Octave by = any method other than hunt and peck. Rummaging through the files also = yielded a null result. This is rather serious since not having the = names is about the same as not having the fonts! What I did find is that Octave responded to the "Open" fonts on my = machine. Also, Helvetica is replaced by Arial, which is good since MS = does not have Helvetica. Would it be difficult to incorporate a show font example list? = Thanks again, = Douglas M. Elliott =20 ------=_NextPart_000_0018_01C9888C.9A144B30 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
 
Dear Help,
 
    In a = recent=20 correspondence from a user of "the other OS", there was a statement that = he did=20 not know the name of the corresponding font on my OS, = MS.
 
    This = prompted me to=20 search for what fonts were available to Octave.  As far as I can = tell, this=20 can not be discerned from within Octave by any method other than hunt = and=20 peck.  Rummaging through the files also yielded a null = result.  This=20 is rather serious since not having the names is about the same as not = having the=20 fonts!
 
    What I = did find is=20 that Octave responded to the "Open" fonts on my machine.  Also, = Helvetica=20 is replaced by Arial, which is good since MS does not have=20 Helvetica.
 
    Would it = be difficult=20 to incorporate a show font example list?
 
 
       =20             =    =20             =    =20             =    =20             =    =20             =    =20             =    =20 Thanks again,
 
          &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;            = ;            =      Douglas=20 M. Elliott
 
 
 
 
 
 
 
   
 
   =20
------=_NextPart_000_0018_01C9888C.9A144B30-- From jordigh@gmail.com Fri Feb 6 22:54:47 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n174sllM002717; Fri, 6 Feb 2009 22:54:47 -0600 (CST) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.179]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n174sj6F028871; Fri, 6 Feb 2009 22:54:46 -0600 Received: by el-out-1112.google.com with SMTP id v27so867031ele.24 for ; Fri, 06 Feb 2009 20:54:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.150.203.8 with SMTP id a8mr124792ybg.78.1233982484973; Fri, 06 Feb 2009 20:54:44 -0800 (PST) Date: Fri, 6 Feb 2009 22:54:44 -0600 Message-ID: <9543b3a40902062054q6bb72696gd5734f2b2d116d7c@mail.gmail.com> Subject: Octave review From: =?UTF-8?Q?Jordi_Guti=C3=A9rrez_Hermoso?= To: Octave Maintainers List , Octave users list Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 04:54:50 -0000 Hello. It's come to my attention that a writeup of mine comes as the first Google hit when looking for "octave review", so now I am starting to feel more responsible for what I wrote in it. I rewrote it today updating what I know, but I know I probably have some facts wrong, and I also probably neglected to mention other important advantages and drawbacks of Octave as it currently stands. Although I wouldn't want to wikify it (I want to keep my voice in it, as it has to be for a review) I am writing to request that anyone who can point out omissions or improvements to it, please do so. The review can be found here: http://www.everything2.com/title/GNU+Octave Thanks, - Jordi G. H. From jwe@octave.org Sat Feb 7 00:35:27 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n176ZRkO022850 for ; Sat, 7 Feb 2009 00:35:27 -0600 (CST) Received: from spaceymail-a5.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n176ZRgC008479 for ; Sat, 7 Feb 2009 00:35:27 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a5.g.dreamhost.com (Postfix) with ESMTP id BB47B8705D; Fri, 6 Feb 2009 22:35:26 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18829.11181.405626.802547@segfault.lan> Date: Sat, 7 Feb 2009 01:35:25 -0500 To: David Doria Subject: Re: how to extract the diagonal entries out of a matrix In-Reply-To: References: <5c002d3b0902061001g55af62ah2a4d6e58d74967ab@mail.gmail.com> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 06:35:29 -0000 On 6-Feb-2009, David Doria wrote: | A = rand(3,3); | B = diag(A); Be careful with diag on arbitrary matrices. If your matrix happens to sometimes be a vector with more than one element, then diag does something completely different. For example, try diag (rand (2, 3)) diag (rand (1, 3)) You can thank Cleve for this (mis)feature. jwe From dastew@sympatico.ca Sat Feb 7 05:51:03 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n17Bp36n026486 for ; Sat, 7 Feb 2009 05:51:03 -0600 (CST) Received: from tomts36-srv.bellnexxia.net (tomts36.bellnexxia.net [209.226.175.93]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n17Bovc8022548 for ; Sat, 7 Feb 2009 05:51:03 -0600 Received: from toip3.srvr.bell.ca ([209.226.175.86]) by tomts36-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20090207115056.JBPA6807.tomts36-srv.bellnexxia.net@toip3.srvr.bell.ca> for ; Sat, 7 Feb 2009 06:50:56 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ak8BAHYAjUlA5161/2dsb2JhbAAIzXOEGgY Received: from bas4-london14-1088904885.dsl.bell.ca (HELO [192.168.1.102]) ([64.231.94.181]) by toip3.srvr.bell.ca with ESMTP; 07 Feb 2009 06:45:47 -0500 Message-ID: <498D75D3.6010005@sympatico.ca> Date: Sat, 07 Feb 2009 06:51:47 -0500 From: Doug Stewart User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Jordi_Guti=E9rrez_Hermoso?= Subject: Re: Octave review References: <9543b3a40902062054q6bb72696gd5734f2b2d116d7c@mail.gmail.com> In-Reply-To: <9543b3a40902062054q6bb72696gd5734f2b2d116d7c@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 11:51:05 -0000 Jordi Gutiérrez Hermoso wrote: > Hello. > > It's come to my attention that a writeup of mine comes as the first > Google hit when looking for "octave review", so now I am starting to > feel more responsible for what I wrote in it. > > I rewrote it today updating what I know, but I know I probably have > some facts wrong, and I also probably neglected to mention other > important advantages and drawbacks of Octave as it currently stands. > > Although I wouldn't want to wikify it (I want to keep my voice in it, > as it has to be for a review) I am writing to request that anyone who > can point out omissions or improvements to it, please do so. > > some typos In the following section it should be In there own words compatibility with Matlab. In the own words of the developers as seen in the mailing lists, Octave doesn't purport to be a bug-for-bug copy of Matlab, so things sometimes differ intentionally, but the grand eventual goal might be to make all the existing and vast codebase written for Matlab to work in Octave, today still not completely attained. Matlab codebase that has us gotten us into this fine mess to begin with. The Matlab users almost always and one addition: you say Octave in particular has nothing like Simulink , which I've never personally used but I understand is an important reason for the foothold Matlab has as a de-facto standard in the numeric community. I have also not heard of any attempts at making anything like Simulink for Octave. scilab ( free software ) does have a "Simulink" compatable package called scicos. see http://www.scilab.org/doc/scicos/index.html You could add this info to show that there is also a free replacement for simulink Doug Stewart > The review can be found here: > > http://www.everything2.com/title/GNU+Octave > > Thanks, > - Jordi G. H. > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > > > From jgpallero@gmail.com Sat Feb 7 06:13:14 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n17CDEIj000119 for ; Sat, 7 Feb 2009 06:13:14 -0600 (CST) Received: from yx-out-1718.google.com (yx-out-1718.google.com [74.125.44.154]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n17CDBDW004885 for ; Sat, 7 Feb 2009 06:13:13 -0600 Received: by yx-out-1718.google.com with SMTP id 36so515098yxh.24 for ; Sat, 07 Feb 2009 04:13:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.150.198.11 with SMTP id v11mr317928ybf.15.1234008791528; Sat, 07 Feb 2009 04:13:11 -0800 (PST) In-Reply-To: <498D75D3.6010005@sympatico.ca> References: <9543b3a40902062054q6bb72696gd5734f2b2d116d7c@mail.gmail.com> <498D75D3.6010005@sympatico.ca> Date: Sat, 7 Feb 2009 13:13:11 +0100 Message-ID: <323eda50902070413p7174c89an5b57a18b423f30ff@mail.gmail.com> Subject: Re: Octave review From: =?ISO-8859-1?Q?Jos=E9_Luis_Garc=EDa_Pallero?= To: Doug Stewart Content-Type: multipart/alternative; boundary=000e0cd34888ab36a60462530f78 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 12:13:15 -0000 --000e0cd34888ab36a60462530f78 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello, I think that you review is really nice. It would be a good idea to improve the wikipedia article about GNU Octave with this contribution. 2009/2/7 Doug Stewart > Jordi Guti=E9rrez Hermoso wrote: > > Hello. > > > > It's come to my attention that a writeup of mine comes as the first > > Google hit when looking for "octave review", so now I am starting to > > feel more responsible for what I wrote in it. > > > > I rewrote it today updating what I know, but I know I probably have > > some facts wrong, and I also probably neglected to mention other > > important advantages and drawbacks of Octave as it currently stands. > > > > Although I wouldn't want to wikify it (I want to keep my voice in it, > > as it has to be for a review) I am writing to request that anyone who > > can point out omissions or improvements to it, please do so. > > > > > some typos > > In the following section it should be In there own words > > compatibility with Matlab. In the own words of the developers as seen in > the mailing lists, Octave doesn't purport to be a bug-for-bug > < > http://www.everything2.com/title/imitation%2520is%2520the%2520highest%252= 0form%2520of%2520flattery > > > copy of Matlab, so things sometimes differ intentionally, but the grand > eventual goal might be to make all the existing and vast codebase > written for Matlab to work in Octave, today still not completely attained= . > > > Matlab codebase that has us gotten us into this fine mess to begin with. > The Matlab users almost always > > > > and one addition: > you say > Octave in particular has nothing like Simulink > , which I've never personally > used but I understand is an important reason for the foothold Matlab has > as a de-facto standard in the numeric community. I have also not heard > of any attempts at making anything like Simulink for Octave. > > scilab ( free software ) does have a "Simulink" compatable package > called scicos. > > see > http://www.scilab.org/doc/scicos/index.html > > > You could add this info to show that there is also a free replacement > for simulink > > Doug Stewart > > > > The review can be found here: > > > > http://www.everything2.com/title/GNU+Octave > > > > Thanks, > > - Jordi G. H. > > _______________________________________________ > > Help-octave mailing list > > Help-octave@octave.org > > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > > > > > > > > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > --=20 ***************************************** Jos=E9 Luis Garc=EDa Pallero jgpallero@gmail.com (o< / / \ V_/_ Use Debian GNU/Linux and enjoy! ***************************************** --000e0cd34888ab36a60462530f78 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,
I think that you review is really nice. It would be a good idea t= o improve the wikipedia article about GNU Octave with this contribution.
2009/2/7 Doug Stewart <= ;dastew@sympatico.ca><= br>
Jordi Guti=E9rrez= Hermoso wrote:
> Hello.
>
> It's come to my attention that a writeup of mine comes as the firs= t
> Google hit when looking for "octave review", so now I am sta= rting to
> feel more responsible for what I wrote in it.
>
> I rewrote it today updating what I know, but I know I probably have > some facts wrong, and I also probably neglected to mention other
> important advantages and drawbacks of Octave as it currently stands. >
> Although I wouldn't want to wikify it (I want to keep my voice in = it,
> as it has to be for a review) I am writing to request that anyone who<= br> > can point out omissions or improvements to it, please do so.
>
>
some typos

In the following  section  it should be     In there ow= n words

compatibility with Matlab. In the own words of the developers as seen in the mailing lists, Octave doesn't purport to be a bug-for-bug
<http://www.everyt= hing2.com/title/imitation%2520is%2520the%2520highest%2520form%2520of%2520fl= attery>
copy of Matlab, so things sometimes differ intentionally, but the grand
eventual goal might be to make all the existing and vast codebase
written for Matlab to work in Octave, today still not completely attained.<= br>

Matlab codebase that has us gotten us into this fine mess to begin with. The Matlab users almost always



and one addition:
you say
Octave in particular has nothing like Simulink
<http://www.everything2.com/title/Simulink>, which I've never pe= rsonally
used but I understand is an important reason for the foothold Matlab has as a de-facto standard in the numeric community. I have also not heard
of any attempts at making anything like Simulink for Octave.

scilab  (  free software )  does have a "Simulink"= compatable  package
called scicos.

see
h= ttp://www.scilab.org/doc/scicos/index.html


You could add this info to show that there is also a free replacement
for simulink

Doug Stewart


> The review can be found here:
>
>      http://www.everything2.com/title/GNU+Octave
>
> Thanks,
> - Jordi G. H.
> _______________________________________________
> Help-octave mailing list
> Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave=
>
>
>

_______________________________________________
Help-octave mailing list
Help-octave@octave.org
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave<= br>



--
***********************= ******************
Jos=E9 Luis Garc=EDa Pallero
jgpallero@gmail.com
(o<
/ / \
V_/_
Use= Debian GNU/Linux and enjoy!
*****************************************
--000e0cd34888ab36a60462530f78-- From bharat@arithos.com Sat Feb 7 06:39:01 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n17Cd0FA005185 for ; Sat, 7 Feb 2009 06:39:00 -0600 (CST) Received: from randy.asmallorange.com (randy.asmallorange.com [64.22.96.78]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n17CcxMT031201 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 7 Feb 2009 06:39:00 -0600 Received: from localhost ([127.0.0.1]:40514 helo=arithos.com) by randy.asmallorange.com with esmtpa (Exim 4.69) (envelope-from ) id 1LVmSU-0000L8-Pu; Sat, 07 Feb 2009 07:38:54 -0500 Received: from 219.64.182.141 ([219.64.182.141]) (SquirrelMail authenticated user bharat@arithos.com) by arithos.com with HTTP; Sat, 7 Feb 2009 07:38:54 -0500 (EST) Message-ID: <50501.219.64.182.141.1234010334.squirrel@arithos.com> In-Reply-To: <323eda50902070413p7174c89an5b57a18b423f30ff@mail.gmail.com> References: <9543b3a40902062054q6bb72696gd5734f2b2d116d7c@mail.gmail.com> <498D75D3.6010005@sympatico.ca> <323eda50902070413p7174c89an5b57a18b423f30ff@mail.gmail.com> Date: Sat, 7 Feb 2009 07:38:54 -0500 (EST) Subject: Re: Octave review From: bharat@arithos.com To: =?iso-8859-1?Q?Jos=E9_Luis_Garc=EDa_Pallero?= User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - randy.asmallorange.com X-AntiAbuse: Original Domain - octave.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - arithos.com X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 12:39:02 -0000 More feathers will be added to the review if some benchmark data is available. Like speed of execution, ease of use, learning curve etc. I am planning to benchmark Matlab, Octave, Scilab and Python for Signal Processing Application. If anyone wishes to include any other free s/w in this benchmark comparison please let me know. My email Id is bharat@arithos.com, also if some prior benchmark data is available then please let me know. Regards Bharat Pathak Arithos Designs www.Arithos.com DSP Design Consultancy and VLSI Training Company. > Hello, > I think that you review is really nice. It would be a good idea to improve > the wikipedia article about GNU Octave with this contribution. > > 2009/2/7 Doug Stewart > >> Jordi Gutiérrez Hermoso wrote: >> > Hello. >> > >> > It's come to my attention that a writeup of mine comes as the first >> > Google hit when looking for "octave review", so now I am starting to >> > feel more responsible for what I wrote in it. >> > >> > I rewrote it today updating what I know, but I know I probably have >> > some facts wrong, and I also probably neglected to mention other >> > important advantages and drawbacks of Octave as it currently stands. >> > >> > Although I wouldn't want to wikify it (I want to keep my voice in it, >> > as it has to be for a review) I am writing to request that anyone who >> > can point out omissions or improvements to it, please do so. >> > >> > >> some typos >> >> In the following section it should be In there own words >> >> compatibility with Matlab. In the own words of the developers as seen in >> the mailing lists, Octave doesn't purport to be a bug-for-bug >> < >> http://www.everything2.com/title/imitation%2520is%2520the%2520highest%2520form%2520of%2520flattery >> > >> copy of Matlab, so things sometimes differ intentionally, but the grand >> eventual goal might be to make all the existing and vast codebase >> written for Matlab to work in Octave, today still not completely >> attained. >> >> >> Matlab codebase that has us gotten us into this fine mess to begin with. >> The Matlab users almost always >> >> >> >> and one addition: >> you say >> Octave in particular has nothing like Simulink >> , which I've never personally >> used but I understand is an important reason for the foothold Matlab has >> as a de-facto standard in the numeric community. I have also not heard >> of any attempts at making anything like Simulink for Octave. >> >> scilab ( free software ) does have a "Simulink" compatable package >> called scicos. >> >> see >> http://www.scilab.org/doc/scicos/index.html >> >> >> You could add this info to show that there is also a free replacement >> for simulink >> >> Doug Stewart >> >> >> > The review can be found here: >> > >> > http://www.everything2.com/title/GNU+Octave >> > >> > Thanks, >> > - Jordi G. H. >> > _______________________________________________ >> > Help-octave mailing list >> > Help-octave@octave.org >> > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave >> > >> > >> > >> >> _______________________________________________ >> Help-octave mailing list >> Help-octave@octave.org >> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave >> > > > > -- > ***************************************** > José Luis García Pallero > jgpallero@gmail.com > (o< > / / \ > V_/_ > Use Debian GNU/Linux and enjoy! > ***************************************** > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > From bounces@nabble.com Sat Feb 7 06:47:01 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n17Cl1Pj007063 for ; Sat, 7 Feb 2009 06:47:01 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n17Ckra8008501 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Sat, 7 Feb 2009 06:47:01 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LVmaC-0006eP-4D for help-octave@octave.org; Sat, 07 Feb 2009 04:46:52 -0800 Message-ID: <21887950.post@talk.nabble.com> Date: Sat, 7 Feb 2009 04:46:52 -0800 (PST) From: Depo To: help-octave@octave.org Subject: Re: very very very slow computing In-Reply-To: <65d1f7fc0902060953k7807d900g1a35684272b5acb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ste_depo@yahoo.it References: <21875383.post@talk.nabble.com> <65d1f7fc0902060953k7807d900g1a35684272b5acb@mail.gmail.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-Mailman-Approved-At: Sat, 07 Feb 2009 07:44:59 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 12:47:02 -0000 > I guess your problem is missing semicolon in line > new_sign_difference(k,i)=sign_difference(k,i) > which means that whole matrix is printed in every cycle . After I > removed output to screen by adding semicolon and removing both disp() > commands, the assignment takes about 2.5 secs on my computer (for > 10*3000 matrix). That was the problem!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Even in my computer works -- View this message in context: http://www.nabble.com/very-very-very-slow-computing-tp21875383p21887950.html Sent from the Octave - General mailing list archive at Nabble.com. From jwe@octave.org Sat Feb 7 07:56:30 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n17DuTvi019871 for ; Sat, 7 Feb 2009 07:56:30 -0600 (CST) Received: from spaceymail-a5.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n17DuTYt001086 for ; Sat, 7 Feb 2009 07:56:29 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a5.g.dreamhost.com (Postfix) with ESMTP id 013FB8705D; Sat, 7 Feb 2009 05:56:28 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18829.37643.338315.648102@segfault.lan> Date: Sat, 7 Feb 2009 08:56:27 -0500 To: Depo Subject: Re: very very very slow computing In-Reply-To: <21887950.post@talk.nabble.com> References: <21875383.post@talk.nabble.com> <65d1f7fc0902060953k7807d900g1a35684272b5acb@mail.gmail.com> <21887950.post@talk.nabble.com> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 13:56:32 -0000 On 7-Feb-2009, Depo wrote: | | > I guess your problem is missing semicolon in line | > new_sign_difference(k,i)=sign_difference(k,i) | > which means that whole matrix is printed in every cycle . After I | > removed output to screen by adding semicolon and removing both disp() | > commands, the assignment takes about 2.5 secs on my computer (for | > 10*3000 matrix). | | That was the problem!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Even in my computer | works Dude, take it easy on the ! key. Or does that key on your keyboard sometimes get stuck? Please tell us that you did also understand the advice about Octave providing an array-based language, and that you should not be writing loops to copy matrices. All you need to do to copy a matrix is mx = rand (3); new_mx = mx; Nice, simple, and fast. A second copy is not even really made until you modify some element of mx or new_mx. Magic!!!!!!!!!!!!! (oops, stuck key). jwe From jordigh@gmail.com Sat Feb 7 09:53:20 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n17FrKE3012667 for ; Sat, 7 Feb 2009 09:53:20 -0600 (CST) Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.153]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n17FrJ2T026170 for ; Sat, 7 Feb 2009 09:53:20 -0600 Received: by yw-out-1718.google.com with SMTP id 5so190724ywm.24 for ; Sat, 07 Feb 2009 07:53:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.150.134.21 with SMTP id h21mr2831546ybd.199.1234021999201; Sat, 07 Feb 2009 07:53:19 -0800 (PST) In-Reply-To: <50501.219.64.182.141.1234010334.squirrel@arithos.com> References: <9543b3a40902062054q6bb72696gd5734f2b2d116d7c@mail.gmail.com> <498D75D3.6010005@sympatico.ca> <323eda50902070413p7174c89an5b57a18b423f30ff@mail.gmail.com> <50501.219.64.182.141.1234010334.squirrel@arithos.com> Date: Sat, 7 Feb 2009 09:53:19 -0600 Message-ID: <9543b3a40902070753i325c157cpe8ffa609189a7b78@mail.gmail.com> Subject: Re: Octave review From: =?UTF-8?Q?Jordi_Guti=C3=A9rrez_Hermoso?= To: bharat@arithos.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 15:53:21 -0000 2009/2/7 : > More feathers will be added to the review if some benchmark > data is available. Benchmarking is nice, but be careful to do it correctly. In particular, > Like speed of execution, This one is fairly objective, but make sure to benchmark things that are actually commonly used. E.g. a FFT, a matrix exponential, a particular piece of identical code with many for-loops... > ease of use, learning curve etc. These are very subjective and not subject to benchmarking unless you run some sort of sociological and psychological experiment that is almost impossible to perform, since you need specialised test subjects that are very hard to find (i.e. people with a solid abstract foundational knowledge of numerical analysis but who have never used any of the options you want to benchmark). > I am planning to benchmark Matlab, Octave, > Scilab and Python Octave and Matlab are easy to benchmark because they can run the exact same code for many examples, but the others have different syntax, and depending on how you translate the Octave and Matlab code into Scilab and Python, you may get different performance, just as you would get different performance within Octave itself if you were to vectorise the code. - Jordi G. H. From jordigh@gmail.com Sat Feb 7 09:58:22 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n17FwMO2013551; Sat, 7 Feb 2009 09:58:22 -0600 (CST) Received: from mail-gx0-f16.google.com (mail-gx0-f16.google.com [209.85.217.16]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n17FwKrN013688; Sat, 7 Feb 2009 09:58:21 -0600 Received: by gxk9 with SMTP id 9so1280095gxk.0 for ; Sat, 07 Feb 2009 07:58:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.150.51.2 with SMTP id y2mr1027836yby.210.1234022294693; Sat, 07 Feb 2009 07:58:14 -0800 (PST) In-Reply-To: <18829.10659.676091.703305@segfault.lan> References: <9543b3a40902062054q6bb72696gd5734f2b2d116d7c@mail.gmail.com> <18829.10659.676091.703305@segfault.lan> Date: Sat, 7 Feb 2009 09:58:14 -0600 Message-ID: <9543b3a40902070758j15cf8f55m7ee0f6245b37a913@mail.gmail.com> Subject: Re: Octave review From: =?UTF-8?Q?Jordi_Guti=C3=A9rrez_Hermoso?= To: "John W. Eaton" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list , Octave Maintainers List X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 15:58:25 -0000 2009/2/7 John W. Eaton : > Here are some comments about specific passages. > > At any rate, jwe first wrote Octave for his chemical engineering > students, so that they would have something to work with > > I've never had students. Oops, fixed. > so that is the real reason that I started work on Octave. Edited that. > I was the original author of what is now the man-db package. > But there have been a number of other implementations of the man > program, and I'm not sure mine could even be considered the first used > on early GNU/Linux systems. I've edited this slightly to say that you wrote the original man-db package, and I'll leave it at that. > > Since Octave is free software, its development is quite open > > The ideas of free software (the freedom to share and modify, etc.) > does not necessarily imply a collaborative development process. But surely there is some connection? I've rewritten this to read: "In part due because Octave is free software..." > It used to be that jwe had the final authority on what code could be > committed to the sources, but since he moved the code from an > antiquated CVS repository to Mercurial, many other developers have > been granted write access to the source tree, fostering a more > bazaar-like collaboration mode > > I think this confuses the details of the particular version control > system with the development model. Okay, I have reworded this to suggest that the change of write access to the source tree happening with the move from CVS to Mercurial is simply a coincidence. > The syntax is identical to Matlab's syntax > > It's close, but there are some differences. What are we missing as far as syntax goes? I thought it was only specific functions that are missing, or features like object orientation. I've reworded this to say that the syntax is near identical to Matlab's. > Simulink, which I've never personally used but I understand is an > important reason for the foothold Matlab has as a de-facto standard > in the numeric community > > I think simulink is a fairly specialized tool and I don't get the > sense that it is somehow responsible for Matlab's success. It seems that in discussions of Matlab's success, Simulink frequently comes up as a touted Matlab feature. I've rewritten this to make it seem like a less important reason. > it has been determined by the developers that implementing just-in > time compiling for Octave is prohibitively expensive and not really > worth it in the end > > I wouldn't say it isn't worth it, but that it is not a trivial > project. I've rewritten this too, omitting any indication if it's worth it or not. Thanks for your suggestions. - Jordi G. H. From jordigh@gmail.com Sat Feb 7 09:58:30 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n17FwUrb013560 for ; Sat, 7 Feb 2009 09:58:30 -0600 (CST) Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.152]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n17FwRbD030168 for ; Sat, 7 Feb 2009 09:58:30 -0600 Received: by yw-out-1718.google.com with SMTP id 5so191228ywm.24 for ; Sat, 07 Feb 2009 07:58:27 -0800 (PST) MIME-Version: 1.0 Received: by 10.150.121.6 with SMTP id t6mr2837162ybc.118.1234022307110; Sat, 07 Feb 2009 07:58:27 -0800 (PST) In-Reply-To: <498D75D3.6010005@sympatico.ca> References: <9543b3a40902062054q6bb72696gd5734f2b2d116d7c@mail.gmail.com> <498D75D3.6010005@sympatico.ca> Date: Sat, 7 Feb 2009 09:58:27 -0600 Message-ID: <9543b3a40902070758s784b602ck81b75e60fc4cdad7@mail.gmail.com> Subject: Re: Octave review From: =?UTF-8?Q?Jordi_Guti=C3=A9rrez_Hermoso?= To: Doug Stewart Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 15:58:31 -0000 2009/2/7 Doug Stewart : > some typos > > In the following section it should be In there own words > > compatibility with Matlab. In the own words of the developers as seen in the > mailing lists, Oops, thanks, fixed it. > scilab ( free software ) does have a "Simulink" compatable package > called scicos. Thank you. I've added a reference to Scicos. - Jordi G.H. From floriankuehnlenz@googlemail.com Sat Feb 7 11:20:30 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n17HKUla002535 for ; Sat, 7 Feb 2009 11:20:30 -0600 (CST) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n17HKRrj020343 for ; Sat, 7 Feb 2009 11:20:29 -0600 Received: by fg-out-1718.google.com with SMTP id 16so672404fgg.12 for ; Sat, 07 Feb 2009 09:20:26 -0800 (PST) Received: by 10.103.239.10 with SMTP id q10mr1312628mur.67.1234027226385; Sat, 07 Feb 2009 09:20:26 -0800 (PST) Received: from FlosMacBook.Peltobad (p5B2B7596.dip.t-dialin.net [91.43.117.150]) by mx.google.com with ESMTPS id s10sm697568mue.16.2009.02.07.09.20.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 07 Feb 2009 09:20:26 -0800 (PST) Message-Id: <310DBE09-A09A-43D6-BE25-3F1DB9F55EED@gmail.com> From: "=?ISO-8859-1?Q?Florian_K=FChnlenz?=" To: help-octave@octave.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: octave, gnuplot and aquaterm Date: Sat, 7 Feb 2009 18:20:23 +0100 X-Mailer: Apple Mail (2.930.3) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 X-Mailman-Approved-At: Sat, 07 Feb 2009 12:53:20 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 17:20:31 -0000 Hello, I have installed octave and gnuplot via macports (aquaterm is installed automatically with gnuplot). I set it all up to use aquaterm which works fine in gnuplot itself: gnuplot> plot sin(x) will open aquaterm but in octave: octave>fplot("cos",[0,2*pi]) will open an window in X11 can someone give me a hint what I have to do to plot in aquaterm from octave as well? From daniel.sebald@ieee.org Sat Feb 7 12:30:41 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n17IUeoK016248; Sat, 7 Feb 2009 12:30:41 -0600 (CST) Received: from deneb.hostpapa.com (deneb.hostpapa.com [69.42.58.10]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n17IUQ88023419 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 7 Feb 2009 12:30:28 -0600 Received: from adsl-76-238-10-80.dsl.emhril.sbcglobal.net ([76.238.10.80] helo=[192.168.1.64]) by deneb.hostpapa.com with esmtpa (Exim 4.69) (envelope-from ) id 1LVrwd-0007fq-2M; Sat, 07 Feb 2009 13:30:23 -0500 Message-ID: <498DD335.3030402@ieee.org> Date: Sat, 07 Feb 2009 12:30:13 -0600 From: Daniel J Sebald User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?UTF-8?B?Sm9yZGkgR3V0acOpcnJleiBIZXJtb3Nv?= Subject: Re: Octave review References: <9543b3a40902062054q6bb72696gd5734f2b2d116d7c@mail.gmail.com> <18829.10659.676091.703305@segfault.lan> <9543b3a40902070758j15cf8f55m7ee0f6245b37a913@mail.gmail.com> In-Reply-To: <9543b3a40902070758j15cf8f55m7ee0f6245b37a913@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - deneb.hostpapa.com X-AntiAbuse: Original Domain - octave.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - ieee.org X-Source: X-Source-Args: X-Source-Dir: X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, SPF_HELO_PASS X-Mailman-Approved-At: Sat, 07 Feb 2009 12:53:20 -0600 Cc: "John W. Eaton" , Octave users list , Octave Maintainers List X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 18:30:44 -0000 Jordi Gutiérrez Hermoso wrote: > 2009/2/7 John W. Eaton : > >>Here are some comments about specific passages. >> >> At any rate, jwe first wrote Octave for his chemical engineering >> students, so that they would have something to work with >> >>I've never had students. > > > Oops, fixed. > > >>so that is the real reason that I started work on Octave. > > > Edited that. > > >>I was the original author of what is now the man-db package. >>But there have been a number of other implementations of the man >>program, and I'm not sure mine could even be considered the first used >>on early GNU/Linux systems. > > > I've edited this slightly to say that you wrote the original man-db > package, and I'll leave it at that. > > >> Since Octave is free software, its development is quite open >> >>The ideas of free software (the freedom to share and modify, etc.) >>does not necessarily imply a collaborative development process. > > > But surely there is some connection? I've rewritten this to read: "In > part due because Octave is free software..." > > >> It used to be that jwe had the final authority on what code could be >> committed to the sources, but since he moved the code from an >> antiquated CVS repository to Mercurial, many other developers have >> been granted write access to the source tree, fostering a more >> bazaar-like collaboration mode >> >>I think this confuses the details of the particular version control >>system with the development model. > > > Okay, I have reworded this to suggest that the change of write access > to the source tree happening with the move from CVS to Mercurial is > simply a coincidence. I think John meant that Octave's development model has been a bazaar-like collaboration for quite a while. >> The syntax is identical to Matlab's syntax >> >>It's close, but there are some differences. > > > What are we missing as far as syntax goes? I thought it was only > specific functions that are missing, or features like object > orientation. > > I've reworded this to say that the syntax is near identical to Matlab's. More accurately, Octave's language is a superset of Matlab's. One can transfer Matlab scripts to run under Octave fairly easily, but not necessarily the other way around. Octave is more flexible in allowing various forms of syntax and Octave's packages won't run under Matlab. >> Simulink, which I've never personally used but I understand is an >> important reason for the foothold Matlab has as a de-facto standard >> in the numeric community >> >>I think simulink is a fairly specialized tool and I don't get the >>sense that it is somehow responsible for Matlab's success. > > > It seems that in discussions of Matlab's success, Simulink frequently > comes up as a touted Matlab feature. I've rewritten this to make it > seem like a less important reason. True, it's a touted Matlab feature, but as I see it Simulink provides no extra functionality to the core of Matlab and adds little to what makes the language as useful as it is. Octave/Matlab's benefit is that of any computer language: efficient processing and analysis. Simulink adds little to that. One other thing about the review is that it tends to vilify Mathworks near the end. I'm not lobbying for changing the review, but defending the company perhaps. Sure they use the business model of making the software available to schools at reduced cost to increase the user base, but that's pretty standard. I don't see any questionable use of business practice (a bit pricey, perhaps). As far as I can tell, it's a fairly good team of people working with educators and researchers in the business sector. Octave will not supplant Matlab any time soon**, and I'm not sure that was ever John's intent. Rather, Octave puts a resource at the disposal of users who can't afford otherwise, i.e., one doesn't have to buy their way into a scientific research community. Dan ** An enjoyable read: http://www.nealstephenson.com/command/ From jordigh@gmail.com Sat Feb 7 12:54:04 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n17Is4cG020784; Sat, 7 Feb 2009 12:54:04 -0600 (CST) Received: from mail-gx0-f16.google.com (mail-gx0-f16.google.com [209.85.217.16]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n17Is2HR010251; Sat, 7 Feb 2009 12:54:03 -0600 Received: by gxk9 with SMTP id 9so1318233gxk.0 for ; Sat, 07 Feb 2009 10:53:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.150.91.4 with SMTP id o4mr2970941ybb.133.1234032837246; Sat, 07 Feb 2009 10:53:57 -0800 (PST) In-Reply-To: <498DD335.3030402@ieee.org> References: <9543b3a40902062054q6bb72696gd5734f2b2d116d7c@mail.gmail.com> <18829.10659.676091.703305@segfault.lan> <9543b3a40902070758j15cf8f55m7ee0f6245b37a913@mail.gmail.com> <498DD335.3030402@ieee.org> Date: Sat, 7 Feb 2009 12:53:57 -0600 Message-ID: <9543b3a40902071053qca7daa3q32261e8301037911@mail.gmail.com> Subject: Re: Octave review From: =?UTF-8?Q?Jordi_Guti=C3=A9rrez_Hermoso?= To: Daniel J Sebald Content-Type: text/plain; charset=UTF-8 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n17Is4cG020784 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: "John W. Eaton" , Octave users list , Octave Maintainers List X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 18:54:07 -0000 2009/2/7 Daniel J Sebald : > Jordi Gutiérrez Hermoso wrote: >> >> 2009/2/7 John W. Eaton : >>> The syntax is identical to Matlab's syntax >>> >>> It's close, but there are some differences. >> >> >> What are we missing as far as syntax goes? I thought it was only >> specific functions that are missing, or features like object >> orientation. >> >> I've reworded this to say that the syntax is near identical to Matlab's. > > More accurately, Octave's language is a superset of Matlab's. That's what I was trying to say too and say so further down in that same paragraph. >>> Simulink, which I've never personally used but I understand is an >>> important reason for the foothold Matlab has as a de-facto standard >>> in the numeric community >>> >>> I think simulink is a fairly specialized tool and I don't get the >>> sense that it is somehow responsible for Matlab's success. >> >> >> It seems that in discussions of Matlab's success, Simulink frequently >> comes up as a touted Matlab feature. I've rewritten this to make it >> seem like a less important reason. > > True, it's a touted Matlab feature, but as I see it Simulink provides no > extra functionality to the core of Matlab and adds little to what makes the > language as useful as it is. Octave/Matlab's benefit is that of any > computer language: efficient processing and analysis. Simulink adds little > to that. There seem to be many who disagree with you and use Matlab almost exclusively for Simulink. We also get more or less regular requests in the help mailing list if Octave has anything like Simulink. I'm going to leave this part as it is now. > One other thing about the review is that it tends to vilify Mathworks near > the end. That's intentional. It's a review, it's subjective, it's my voice, and I don't like the Mathworks. I don't approve of their business practices, I don't think that it's ok to be evil as long as you're making a profit, and I do not believe apologists who say, "you see, if they didn't do all the evil things they do, they wouldn't be making money." > Rather, Octave puts a resource at the disposal of users > who can't afford otherwise, i.e., one doesn't have to buy their way into a > scientific research community. I think jwe has been pretty clear in several instances that he doesn't see Octave as charity for those who can't pay for Matlab. He emphasises the freedom of the software, that it can be distributed and analysed without restriction except that it's forbidden to forbid. He also expects to receive code for the code he's made, and he frequently invites users to contribute to the code. Not charity. He wants something back: code, contribution, involvement. On a more personal note from myself, those who can't pay for Matlab already aren't doing so, but use it anyways. Ask Jaroslav Hájek, ask me, ask any user in the mailing list who isn't from the US or Western Europe (and possibly a few other places), is software around them copied with blithe disregard for copyright? Ask the Swedes and The Pirate Bay: http://thepiratebay.org/torrent/4510366/Mathworks.Matlab.R2008b.UNIX.DVD.ISO-TBE I frequently see dwellers of the US or Western Europe acting as if copyright infringement were impossible, or invisible, or immoral, but it is the norm everywhere except in the US or Western Europe. It is not always overt like with TPB, but it exists everywhere in the world, to various degrees. It is also very widespread in the same countries where these beliefs about copyright come from, but it is of course much less overt, and much more socially stigmatised. Er... yeah, I hope that doesn't sound too contentious. Because I do like to contend. :-) - Jordi G. H. From Thomas.Treichl@gmx.net Sat Feb 7 13:03:34 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n17J3Yr0022866 for ; Sat, 7 Feb 2009 13:03:34 -0600 (CST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n17J3Vku010384 for ; Sat, 7 Feb 2009 13:03:34 -0600 Received: (qmail invoked by alias); 07 Feb 2009 19:03:25 -0000 Received: from e181122205.adsl.alicedsl.de (EHLO MacMini.local) [85.181.122.205] by mail.gmx.net (mp069) with SMTP; 07 Feb 2009 20:03:25 +0100 X-Authenticated: #13438314 X-Provags-ID: V01U2FsdGVkX1+qhttswMiqQkGoHn5tM62s09jMYLXasXiRpKeXdw BEg/q3Y21DYj79 Message-ID: <498DDAFB.1030006@gmx.net> Date: Sat, 07 Feb 2009 20:03:23 +0100 From: Thomas Treichl User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Florian_K=FChnlenz?= Subject: Re: octave, gnuplot and aquaterm References: <310DBE09-A09A-43D6-BE25-3F1DB9F55EED@gmail.com> In-Reply-To: <310DBE09-A09A-43D6-BE25-3F1DB9F55EED@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.62 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 19:03:35 -0000 Florian Kühnlenz schrieb: > Hello, > > I have installed octave and gnuplot via macports (aquaterm is > installed automatically with gnuplot). I set it all up to use aquaterm > which works fine in gnuplot itself: > gnuplot> plot sin(x) > will open aquaterm > but in octave: > octave>fplot("cos",[0,2*pi]) > will open an window in X11 > can someone give me a hint what I have to do to plot in aquaterm from > octave as well? I don't know how the Macports distribution sets up your environment in detail, but something like this should normally also work on your system: octave-3.0.3:1> setenv ("GNUTERM", "aqua"); octave-3.0.3:2> sombrero; Best regards, Thomas From highegg@gmail.com Sat Feb 7 14:28:30 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n17KSUSV009521; Sat, 7 Feb 2009 14:28:30 -0600 (CST) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.190]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n17KSSO0021980; Sat, 7 Feb 2009 14:28:29 -0600 Received: by mu-out-0910.google.com with SMTP id g7so942844muf.4 for ; Sat, 07 Feb 2009 12:28:27 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.244.4 with SMTP id w4mr56858mur.11.1234038507257; Sat, 07 Feb 2009 12:28:27 -0800 (PST) In-Reply-To: <498DEA43.7010806@ieee.org> References: <9543b3a40902062054q6bb72696gd5734f2b2d116d7c@mail.gmail.com> <18829.10659.676091.703305@segfault.lan> <9543b3a40902070758j15cf8f55m7ee0f6245b37a913@mail.gmail.com> <498DD335.3030402@ieee.org> <9543b3a40902071053qca7daa3q32261e8301037911@mail.gmail.com> <498DEA43.7010806@ieee.org> Date: Sat, 7 Feb 2009 21:28:27 +0100 Message-ID: <69d8d540902071228t7f6f118j80c1445baa43ff80@mail.gmail.com> Subject: Re: Octave review From: Jaroslav Hajek To: Daniel J Sebald Content-Type: text/plain; charset=ISO-8859-1 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n17KSUSV009521 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: "John W. Eaton" , Octave users list , Octave Maintainers List X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 20:28:32 -0000 On Sat, Feb 7, 2009 at 9:08 PM, Daniel J Sebald wrote: > Jordi Gutiérrez Hermoso wrote: > >>> True, it's a touted Matlab feature, but as I see it Simulink provides no >>> extra functionality to the core of Matlab and adds little to what makes >>> the >>> language as useful as it is. Octave/Matlab's benefit is that of any >>> computer language: efficient processing and analysis. Simulink adds >>> little >>> to that. >> >> >> There seem to be many who disagree with you and use Matlab almost >> exclusively for Simulink. We also get more or less regular requests in >> the help mailing list if Octave has anything like Simulink. > > I didn't say that. I said Simulink adds little to efficiency and analysis. > It enshrouds Matlab with a layer of user interface that in some cases can > be useful for a specific application. I've not found Simulink too useful as > far as my analytic pursuits. (Note the reference I gave last time to > Stephenson's "In the beginning... was the command line.") > > >>> One other thing about the review is that it tends to vilify Mathworks >>> near >>> the end. >> >> >> That's intentional. It's a review, it's subjective, it's my voice, and >> I don't like the Mathworks. I don't approve of their business >> practices, I don't think that it's ok to be evil as long as you're >> making a profit, and I do not believe apologists who say, "you see, if >> they didn't do all the evil things they do, they wouldn't be making >> money." > > All the evil things they do may be more perception than reality. > > >>> Rather, Octave puts a resource at the disposal of users >>> who can't afford otherwise, i.e., one doesn't have to buy their way into >>> a >>> scientific research community. >> >> >> I think jwe has been pretty clear in several instances that he doesn't >> see Octave as charity for those who can't pay for Matlab. He >> emphasises the freedom of the software, that it can be distributed and >> analysed without restriction except that it's forbidden to forbid. He >> also expects to receive code for the code he's made, and he frequently >> invites users to contribute to the code. Not charity. He wants >> something back: code, contribution, involvement. > > Hence the "bazaar-like" development that has been there since before > transfer to Mercurial. > > >> On a more personal note from myself, those who can't pay for Matlab >> already aren't doing so, but use it anyways. Ask Jaroslav Hájek, ask >> me, ask any user in the mailing list who isn't from the US or Western >> Europe (and possibly a few other places), is software around them >> copied with blithe disregard for copyright? Ask the Swedes and The >> Pirate Bay: >> >> >> http://thepiratebay.org/torrent/4510366/Mathworks.Matlab.R2008b.UNIX.DVD.ISO-TBE >> >> I frequently see dwellers of the US or Western Europe acting as if >> copyright infringement were impossible, or invisible, or immoral, but >> it is the norm everywhere except in the US or Western Europe. It is >> not always overt like with TPB, but it exists everywhere in the world, >> to various degrees. It is also very widespread in the same countries >> where these beliefs about copyright come from, but it is of course >> much less overt, and much more socially stigmatised. > > I'm not disagreeing that that is the case; quite aware of it. However, this > point is a red herring as regards your original point. Anyway, copyrights > are a structured model of business. These rules date back a long way and > often were implemented to protect the intellectual property of small > business owners. Not in Czechia, for instance. Here, they basically date back roughly to the Velvet Revolution or a while after. And they started to be enforced primarily to protect the IP of western companies expanding here, or equivalently, to hold back the small Czech businesses from catching up too easily with the entering big players. I don't want to speculate whether this was the reason, but this was the effect. I think this was sort of Jordi's point. As a consequence, there's little natural respect for copyright in our country, it's mostly enforced respect. > As a consequence, they hold for bigger companies as well. > One could make a fairly good argument that structured business law has been > more productive than other models. (Not that I always look down on > anarchy.) > > Dan > -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From davidforel@yahoo.com Sat Feb 7 14:56:41 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n17Kufnh015178 for ; Sat, 7 Feb 2009 14:56:41 -0600 (CST) Received: from web63407.mail.re1.yahoo.com (web63407.mail.re1.yahoo.com [69.147.97.47]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n17KuewT024899 for ; Sat, 7 Feb 2009 14:56:41 -0600 Received: (qmail 46466 invoked by uid 60001); 7 Feb 2009 20:56:35 -0000 X-YMail-OSG: 2pBZE7EVM1lZK8oSoX8YLUVgEzQoq..OOnOpPL2s1ToqUkt8Yz8xRa7.MHj7tQAwGGm_uPSmrI82QTb6xBBJkrtPXbHI2CtfsGaEEBZzy3UAlUbeVhgxViGgu0g6D_QzSutmafZg9wWpuYtVHP8p5Ez13_5VdWRzKCkjxKnoozw1FGePvfoBOXNlSJvVNVu52g88P4j6gbRB21SiQVd2IN88okf55w-- Received: from [76.25.234.192] by web63407.mail.re1.yahoo.com via HTTP; Sat, 07 Feb 2009 12:56:34 PST X-Mailer: YahooMailRC/1155.45 YahooMailWebService/0.7.260.1 References: <874105.53687.qm@web63407.mail.re1.yahoo.com> <50347.59.92.184.61.1233900784.squirrel@arithos.com> <65d1f7fc0902060313x54fdb554t641eced5fbdbd6ed@mail.gmail.com> Date: Sat, 7 Feb 2009 12:56:34 -0800 (PST) From: David Forel Subject: Re: please help me plot To: Ivan Sutoris MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <7220.38857.qm@web63407.mail.re1.yahoo.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: David Forel List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 20:56:42 -0000 >> >> Hello - I just installed Cygwin on an XP Home laptop. Below are the two >> Octave commands I entered and the result. >> >> >> >> octave:1> x = 1:1:5; >> octave:2> plot(x); >> octave:3> >> gnuplot> set terminal aqua 1 enhanced >> ^ >> line 0: unknown or ambiguous terminal type; type just 'set >> terminal' for a list >> >> >> gnuplot> plot "-" using ($1):($2) axes x1y1 title "" with lines linestyle >> 1 ; >> ^ >> line 0: use 'set term' to set terminal type first >> >> >> gnuplot> 1 1 >> ^ >> line 0: invalid command >> >> >> gnuplot> 2 2 >> ^ >> line 0: invalid command >> >> >> gnuplot> 3 3 >> ^ >> line 0: invalid command >> >> >> gnuplot> 4 4 >> ^ >> line 0: invalid command >> >> >> gnuplot> 5 5 >> ^ >> line 0: invalid command >> >> >> gnuplot> e >> ^ >> line 0: invalid command To use gnuplot in Cygwin (ie for plotting in graphical window), you need to start Cygwin X server (if you have it installed, ways to do it are described in [1]). I've had mixed experience with Cygwin X, sometimes it worked, sometimes not (not sure why, I didn't investigate further), so I stick to using native Windows version from Octave Forge. Regarding bharat's comments, I'm using windows version of Octave 3.0.3 from Octave Forge and everything works fine for me, so unless you need Cygwin for some specific reason, I suggest you give it a try (although I prefer using gnuplot as graphics engine, it's more mature). [1] http://x.cygwin.com/docs/ug/using.html#using-starting Regards Ivan Sutoris ================================================== Thanks for the suggestion. Some web article, maybe very old, suggested using the Cygwin version of Octave. Oops! I installed 3.0.3 and things seem fine. (Well, an m-file that I didn't write has a problem that I will look at; an m-file that I wrote works fine.) I will state that I need Octave because I don't want to spend $2,000 for the pro license for Matlab, not counting add-ons. Thank the gods for Octave! Another plot question. I installed choosing the jhandles option, not gnuplot. I have book "GNU Octave Manual Version 3." Does this book contain enough information for me to get the plot commands I will want or do I have to buy/download something else to cover jhandles ? Thank you, David From highegg@gmail.com Sat Feb 7 15:54:38 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n17LscMB026673; Sat, 7 Feb 2009 15:54:38 -0600 (CST) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.187]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n17LsY77017600; Sat, 7 Feb 2009 15:54:37 -0600 Received: by mu-out-0910.google.com with SMTP id g7so954365muf.4 for ; Sat, 07 Feb 2009 13:54:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.192.2 with SMTP id u2mr1407103mup.2.1234043673772; Sat, 07 Feb 2009 13:54:33 -0800 (PST) In-Reply-To: <498DF541.8090203@ieee.org> References: <9543b3a40902062054q6bb72696gd5734f2b2d116d7c@mail.gmail.com> <18829.10659.676091.703305@segfault.lan> <9543b3a40902070758j15cf8f55m7ee0f6245b37a913@mail.gmail.com> <498DD335.3030402@ieee.org> <9543b3a40902071053qca7daa3q32261e8301037911@mail.gmail.com> <498DEA43.7010806@ieee.org> <69d8d540902071228t7f6f118j80c1445baa43ff80@mail.gmail.com> <498DF541.8090203@ieee.org> Date: Sat, 7 Feb 2009 22:54:33 +0100 Message-ID: <69d8d540902071354laee0ec7i104a130e4c928743@mail.gmail.com> Subject: Re: Octave review From: Jaroslav Hajek To: Daniel J Sebald Content-Type: text/plain; charset=ISO-8859-1 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n17LscMB026673 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: "John W. Eaton" , Octave users list , Octave Maintainers List X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 21:54:40 -0000 On Sat, Feb 7, 2009 at 9:55 PM, Daniel J Sebald wrote: > Jaroslav Hajek wrote: >> >> On Sat, Feb 7, 2009 at 9:08 PM, Daniel J Sebald >> wrote: >> >>> Jordi Gutiérrez Hermoso wrote: >>> >>> >>>>> True, it's a touted Matlab feature, but as I see it Simulink provides >>>>> no >>>>> extra functionality to the core of Matlab and adds little to what makes >>>>> the >>>>> language as useful as it is. Octave/Matlab's benefit is that of any >>>>> computer language: efficient processing and analysis. Simulink adds >>>>> little >>>>> to that. >>>> >>>> >>>> There seem to be many who disagree with you and use Matlab almost >>>> exclusively for Simulink. We also get more or less regular requests in >>>> the help mailing list if Octave has anything like Simulink. >>> >>> I didn't say that. I said Simulink adds little to efficiency and >>> analysis. >>> It enshrouds Matlab with a layer of user interface that in some cases can >>> be useful for a specific application. I've not found Simulink too useful >>> as >>> far as my analytic pursuits. (Note the reference I gave last time to >>> Stephenson's "In the beginning... was the command line.") >>> >>> >>> >>>>> One other thing about the review is that it tends to vilify Mathworks >>>>> near >>>>> the end. >>>> >>>> >>>> That's intentional. It's a review, it's subjective, it's my voice, and >>>> I don't like the Mathworks. I don't approve of their business >>>> practices, I don't think that it's ok to be evil as long as you're >>>> making a profit, and I do not believe apologists who say, "you see, if >>>> they didn't do all the evil things they do, they wouldn't be making >>>> money." >>> >>> All the evil things they do may be more perception than reality. >>> >>> >>> >>>>> Rather, Octave puts a resource at the disposal of users >>>>> who can't afford otherwise, i.e., one doesn't have to buy their way >>>>> into >>>>> a >>>>> scientific research community. >>>> >>>> >>>> I think jwe has been pretty clear in several instances that he doesn't >>>> see Octave as charity for those who can't pay for Matlab. He >>>> emphasises the freedom of the software, that it can be distributed and >>>> analysed without restriction except that it's forbidden to forbid. He >>>> also expects to receive code for the code he's made, and he frequently >>>> invites users to contribute to the code. Not charity. He wants >>>> something back: code, contribution, involvement. >>> >>> Hence the "bazaar-like" development that has been there since before >>> transfer to Mercurial. >>> >>> >>> >>>> On a more personal note from myself, those who can't pay for Matlab >>>> already aren't doing so, but use it anyways. Ask Jaroslav Hájek, ask >>>> me, ask any user in the mailing list who isn't from the US or Western >>>> Europe (and possibly a few other places), is software around them >>>> copied with blithe disregard for copyright? Ask the Swedes and The >>>> Pirate Bay: >>>> >>>> >>>> >>>> http://thepiratebay.org/torrent/4510366/Mathworks.Matlab.R2008b.UNIX.DVD.ISO-TBE >>>> >>>> I frequently see dwellers of the US or Western Europe acting as if >>>> copyright infringement were impossible, or invisible, or immoral, but >>>> it is the norm everywhere except in the US or Western Europe. It is >>>> not always overt like with TPB, but it exists everywhere in the world, >>>> to various degrees. It is also very widespread in the same countries >>>> where these beliefs about copyright come from, but it is of course >>>> much less overt, and much more socially stigmatised. >>> >>> I'm not disagreeing that that is the case; quite aware of it. However, >>> this >>> point is a red herring as regards your original point. Anyway, >>> copyrights >>> are a structured model of business. These rules date back a long way and >>> often were implemented to protect the intellectual property of small >>> business owners. >> >> >> Not in Czechia, for instance. Here, they basically date back roughly >> to the Velvet Revolution or a while after. And they started to be >> enforced primarily to protect the IP of western companies expanding >> here, or equivalently, to hold back the small Czech businesses from >> catching up too easily with the entering big players. I don't want to >> speculate whether this was the reason, but this was the effect. I >> think this was sort of Jordi's point. As a consequence, there's little >> natural respect for copyright in our country, it's mostly enforced >> respect. > > I said I'm aware of that point, but how does this matter on the business > practices of a company that appears to be acting within laws? I personally have pretty neutral feelings towards MathWorks. I just wanted to point out that the arguments you presented for support copyright laws may not apply well everywhere. > I understand > the forces and influence of big government, big corporations, imperialism, > etc. If less industrialized companies want to "catch up", as they should, > then their governments should write their laws to encourage that (have some > respect for the natural environment, of course) rather than thwart it. Nah, I don't think it's that easy. We can't just make copyright void by law, for example - we'd be facing penalties from everywhere. You have to play by the rules, or risk isolation... but to avoid getting OT, I'd just conclude that copyright and IP in general may not seem as natural outside the countries of their origin, and that's also why software piracy is hardly considered criminal in many such countries. I think you made a good point in that Octave makes it possible to enter the world of scientific computing without the need to pay in advance for the privilege (or use pirate copies). But the primary point is that Octave, as free software, grants everyone the freedom to study, understand and modify - these are essential for innovation. Octave encourages everyone to improve it, while Matlab's EULA in fact deems it a possibly criminal act if you create an improvement of one of its functions, for instance. That's why Octave actually plays a different league than Matlab; even if it were worse in all functional aspects (which it is far from), it would still be more free. -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From ivan.sutoris@gmail.com Sat Feb 7 17:45:54 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n17Njstd019464 for ; Sat, 7 Feb 2009 17:45:54 -0600 (CST) Received: from mail-fx0-f18.google.com (mail-fx0-f18.google.com [209.85.220.18]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n17NjqYe002633 for ; Sat, 7 Feb 2009 17:45:54 -0600 Received: by fxm11 with SMTP id 11so2102295fxm.0 for ; Sat, 07 Feb 2009 15:45:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.191.12 with SMTP id t12mr1431419mup.49.1234050346065; Sat, 07 Feb 2009 15:45:46 -0800 (PST) In-Reply-To: <7220.38857.qm@web63407.mail.re1.yahoo.com> References: <874105.53687.qm@web63407.mail.re1.yahoo.com> <50347.59.92.184.61.1233900784.squirrel@arithos.com> <65d1f7fc0902060313x54fdb554t641eced5fbdbd6ed@mail.gmail.com> <7220.38857.qm@web63407.mail.re1.yahoo.com> Date: Sun, 8 Feb 2009 00:45:45 +0100 Message-ID: <65d1f7fc0902071545n6b4a9d79if8f9209c85c4178@mail.gmail.com> Subject: Re: please help me plot From: Ivan Sutoris To: David Forel Content-Type: text/plain; charset=ISO-8859-1 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n17Njstd019464 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 23:45:56 -0000 On Sat, Feb 7, 2009 at 9:56 PM, David Forel wrote: > Thanks for the suggestion. Some web article, maybe very old, suggested using the Cygwin version of Octave. Oops! > > I installed 3.0.3 and things seem fine. (Well, an m-file that I didn't write has a problem that I will look at; an m-file that I wrote works fine.) > > I will state that I need Octave because I don't want to spend $2,000 for the pro license for Matlab, not counting add-ons. Thank the gods for Octave! > > Another plot question. I installed choosing the jhandles option, not gnuplot. I have book "GNU Octave Manual Version 3." Does this book contain enough information for me to get the plot commands I will want or do I have to buy/download something else to cover jhandles ? > > Thank you, David jhandles is just a "backend", so all basic plotting commands described in manual (plot, legend, title, ...) should work the same. You also should be able to disable jhandles (and use gnuplot) with command "pkg unload jhandles". Regards Ivan Sutoris From dushanm@spinn.net Sat Feb 7 22:16:10 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n184GArP010415 for ; Sat, 7 Feb 2009 22:16:10 -0600 (CST) Received: from mail.spinn.net (mail.spinn.net [216.223.224.151]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n184G7ev018190 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 7 Feb 2009 22:16:10 -0600 Received: (qmail 78203 invoked by uid 0); 8 Feb 2009 04:15:50 -0000 Received: from unknown (HELO 192.168.0.201) (216.223.233.137) by mail.spinn.net with SMTP; 8 Feb 2009 04:15:50 -0000 From: dushanm@spinn.net (Dushan Mitrovich) To: help-octave@octave.org Subject: Re: Octave review Date: Sun, 08 Feb 2009 00:19:14 -0700 Message-ID: X-Mailer: Yarn for OS/2 v0.92 X-Moon-Phase: The Moon is a Waxing Gibbous. (97% of Full). Lines: 24 User-Agent: VSoup v1.2.9.48Beta [OS/2] X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, DATE_IN_FUTURE_03_06 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2009 04:16:11 -0000 Doug Stewart wrote: >Jordi Guti?rrez Hermoso wrote: >> It's come to my attention that a writeup of mine comes as the first >> Google hit when looking for "octave review", so now I am starting to >> feel more responsible for what I wrote in it. >> >> I rewrote it today updating what I know, but I know I probably have >> some facts wrong, and I also probably neglected to mention other >> important advantages and drawbacks of Octave as it currently stands. >> >> Although I wouldn't want to wikify it (I want to keep my voice in it, >> as it has to be for a review) I am writing to request that anyone who >> can point out omissions or improvements to it, please do so. >> >> > some typos > > In the following section it should be In there own words ^^^^^ This should be 'In their own words...'. Does no one know English anymore? - Dushan From dbateman@dbateman.org Sun Feb 8 02:01:21 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1881KGb022371; Sun, 8 Feb 2009 02:01:20 -0600 (CST) Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1881EbC017114; Sun, 8 Feb 2009 02:01:17 -0600 Received: from smtp2-g21.free.fr (localhost [127.0.0.1]) by smtp2-g21.free.fr (Postfix) with ESMTP id 9B4A04B003F; Sun, 8 Feb 2009 09:01:09 +0100 (CET) Received: from pandorra.fladenmuller.org (puce.fladenmuller.org [81.57.137.98]) by smtp2-g21.free.fr (Postfix) with ESMTP id 96F974B00C8; Sun, 8 Feb 2009 09:01:06 +0100 (CET) Received: from [192.168.2.9] (unknown [192.168.2.9]) by pandorra.fladenmuller.org (Postfix) with ESMTP id B34E33C04C; Sun, 8 Feb 2009 09:01:05 +0100 (CET) Message-ID: <498E9141.8030205@dbateman.org> Date: Sun, 08 Feb 2009 09:01:05 +0100 From: David Bateman User-Agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018) MIME-Version: 1.0 To: =?UTF-8?B?Sm9yZGkgR3V0acOpcnJleiBIZXJtb3Nv?= Subject: Re: Octave review References: <9543b3a40902062054q6bb72696gd5734f2b2d116d7c@mail.gmail.com> <18829.10659.676091.703305@segfault.lan> <9543b3a40902070758j15cf8f55m7ee0f6245b37a913@mail.gmail.com> <498DD335.3030402@ieee.org> <9543b3a40902071053qca7daa3q32261e8301037911@mail.gmail.com> In-Reply-To: <9543b3a40902071053qca7daa3q32261e8301037911@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: "John W. Eaton" , Octave users list , Daniel J Sebald , Octave Maintainers List X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2009 08:01:24 -0000 Jordi, Small point, you didn't need to supply a link to a torrent of matlab to make the point that such torrents exist.. Taken out of context the existence of such a link on an Octave mailing list could be mis-construed as the Octave developers supporting the infringement of Mathworks copyright... Not a good place to be with a company that already has several copyright infringement cases underway.. D. -- David Bateman dbateman@dbateman.org 35 rue Gambetta +33 1 46 04 02 18 (Home) 92100 Boulogne-Billancourt FRANCE +33 6 72 01 06 33 (Mob) From Potorti@isti.cnr.it Sun Feb 8 04:37:07 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n18Ab7HW021971; Sun, 8 Feb 2009 04:37:07 -0600 (CST) Received: from ITANIUM.ISTI.CNR.IT (mx4.isti.cnr.it [194.119.192.6]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n18Ab2Hf000853 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 8 Feb 2009 04:37:06 -0600 Received: from conversionlocal.isti.cnr.it by mx.isti.cnr.it (PMDF V6.4 #31598) id <01N596GUBCR49ODBT3@mx.isti.cnr.it>; Sun, 08 Feb 2009 11:36:08 +0100 (MET) Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by mx.isti.cnr.it (PMDF V6.4 #31598) with ESMTPSA id <01N596GZC01A9QUYO7@mx.isti.cnr.it>; Sun, 08 Feb 2009 11:36:15 +0100 Received: from pot by tucano.isti.cnr.it with local (Exim 4.69) (envelope-from ) id 1LW71K-000402-G9; Sun, 08 Feb 2009 11:36:14 +0100 Date: Sun, 08 Feb 2009 11:36:14 +0100 From: Francesco =?iso-8859-1?Q?Potort=EC?= Subject: Re: Octave review In-reply-to: <9543b3a40902070758j15cf8f55m7ee0f6245b37a913@mail.gmail.com> To: Jordi =?UNKNOWN?Q?Guti=E9rrez?= Hermoso Message-id: Organization: ISTI-CNR, via Moruzzi 1, I-56124 Pisa, +39-0503153058 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 References: <9543b3a40902062054q6bb72696gd5734f2b2d116d7c@mail.gmail.com> <18829.10659.676091.703305@segfault.lan> <9543b3a40902070758j15cf8f55m7ee0f6245b37a913@mail.gmail.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: "John W. Eaton" , Octave users list , Octave Maintainers List X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2009 10:37:10 -0000 >> Since Octave is free software, its development is quite open >> >> The ideas of free software (the freedom to share and modify, etc.) >> does not necessarily imply a collaborative development process. > >But surely there is some connection? I've rewritten this to read: "In >part due because Octave is free software..." I would say: Octave is free software, that is, it is distributed with a license to copy, modify, and redistribute it. Its developement ... And, while it is true that if you want an open development, you will have difficulties without a free software license, it is also true that much free software does not have a very open development process, often simply because it cannot gather enough interest around it. -- Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.2111) ISTI - Area della ricerca CNR Fax: +39 050 315 2040 via G. Moruzzi 1, I-56124 Pisa Email: Potorti@isti.cnr.it (entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/ From daniel.sebald@ieee.org Sat Feb 7 14:08:43 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n17K8hhG005963; Sat, 7 Feb 2009 14:08:43 -0600 (CST) Received: from deneb.hostpapa.com (deneb.hostpapa.com [69.42.58.10]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n17K8gfa003794 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 7 Feb 2009 14:08:43 -0600 Received: from adsl-76-238-10-80.dsl.emhril.sbcglobal.net ([76.238.10.80] helo=[192.168.1.64]) by deneb.hostpapa.com with esmtpa (Exim 4.69) (envelope-from ) id 1LVtTi-000777-Va; Sat, 07 Feb 2009 15:08:39 -0500 Message-ID: <498DEA43.7010806@ieee.org> Date: Sat, 07 Feb 2009 14:08:35 -0600 From: Daniel J Sebald User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?UTF-8?B?Sm9yZGkgR3V0acOpcnJleiBIZXJtb3Nv?= Subject: Re: Octave review References: <9543b3a40902062054q6bb72696gd5734f2b2d116d7c@mail.gmail.com> <18829.10659.676091.703305@segfault.lan> <9543b3a40902070758j15cf8f55m7ee0f6245b37a913@mail.gmail.com> <498DD335.3030402@ieee.org> <9543b3a40902071053qca7daa3q32261e8301037911@mail.gmail.com> In-Reply-To: <9543b3a40902071053qca7daa3q32261e8301037911@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - deneb.hostpapa.com X-AntiAbuse: Original Domain - octave.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - ieee.org X-Source: X-Source-Args: X-Source-Dir: X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, SPF_HELO_PASS X-Mailman-Approved-At: Sun, 08 Feb 2009 05:50:54 -0600 Cc: "John W. Eaton" , Octave users list , Octave Maintainers List X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 20:08:46 -0000 Jordi Gutiérrez Hermoso wrote: >>True, it's a touted Matlab feature, but as I see it Simulink provides no >>extra functionality to the core of Matlab and adds little to what makes the >>language as useful as it is. Octave/Matlab's benefit is that of any >>computer language: efficient processing and analysis. Simulink adds little >>to that. > > > There seem to be many who disagree with you and use Matlab almost > exclusively for Simulink. We also get more or less regular requests in > the help mailing list if Octave has anything like Simulink. I didn't say that. I said Simulink adds little to efficiency and analysis. It enshrouds Matlab with a layer of user interface that in some cases can be useful for a specific application. I've not found Simulink too useful as far as my analytic pursuits. (Note the reference I gave last time to Stephenson's "In the beginning... was the command line.") >>One other thing about the review is that it tends to vilify Mathworks near >>the end. > > > That's intentional. It's a review, it's subjective, it's my voice, and > I don't like the Mathworks. I don't approve of their business > practices, I don't think that it's ok to be evil as long as you're > making a profit, and I do not believe apologists who say, "you see, if > they didn't do all the evil things they do, they wouldn't be making > money." All the evil things they do may be more perception than reality. >>Rather, Octave puts a resource at the disposal of users >>who can't afford otherwise, i.e., one doesn't have to buy their way into a >>scientific research community. > > > I think jwe has been pretty clear in several instances that he doesn't > see Octave as charity for those who can't pay for Matlab. He > emphasises the freedom of the software, that it can be distributed and > analysed without restriction except that it's forbidden to forbid. He > also expects to receive code for the code he's made, and he frequently > invites users to contribute to the code. Not charity. He wants > something back: code, contribution, involvement. Hence the "bazaar-like" development that has been there since before transfer to Mercurial. > On a more personal note from myself, those who can't pay for Matlab > already aren't doing so, but use it anyways. Ask Jaroslav Hájek, ask > me, ask any user in the mailing list who isn't from the US or Western > Europe (and possibly a few other places), is software around them > copied with blithe disregard for copyright? Ask the Swedes and The > Pirate Bay: > > http://thepiratebay.org/torrent/4510366/Mathworks.Matlab.R2008b.UNIX.DVD.ISO-TBE > > I frequently see dwellers of the US or Western Europe acting as if > copyright infringement were impossible, or invisible, or immoral, but > it is the norm everywhere except in the US or Western Europe. It is > not always overt like with TPB, but it exists everywhere in the world, > to various degrees. It is also very widespread in the same countries > where these beliefs about copyright come from, but it is of course > much less overt, and much more socially stigmatised. I'm not disagreeing that that is the case; quite aware of it. However, this point is a red herring as regards your original point. Anyway, copyrights are a structured model of business. These rules date back a long way and often were implemented to protect the intellectual property of small business owners. As a consequence, they hold for bigger companies as well. One could make a fairly good argument that structured business law has been more productive than other models. (Not that I always look down on anarchy.) Dan From daniel.sebald@ieee.org Sat Feb 7 14:55:37 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n17KtbXN014869; Sat, 7 Feb 2009 14:55:37 -0600 (CST) Received: from deneb.hostpapa.com (deneb.hostpapa.com [69.42.58.10]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n17KtaHl024738 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 7 Feb 2009 14:55:36 -0600 Received: from adsl-76-238-10-80.dsl.emhril.sbcglobal.net ([76.238.10.80] helo=[192.168.1.64]) by deneb.hostpapa.com with esmtpa (Exim 4.69) (envelope-from ) id 1LVuD7-0002Wa-KG; Sat, 07 Feb 2009 15:55:33 -0500 Message-ID: <498DF541.8090203@ieee.org> Date: Sat, 07 Feb 2009 14:55:29 -0600 From: Daniel J Sebald User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jaroslav Hajek Subject: Re: Octave review References: <9543b3a40902062054q6bb72696gd5734f2b2d116d7c@mail.gmail.com> <18829.10659.676091.703305@segfault.lan> <9543b3a40902070758j15cf8f55m7ee0f6245b37a913@mail.gmail.com> <498DD335.3030402@ieee.org> <9543b3a40902071053qca7daa3q32261e8301037911@mail.gmail.com> <498DEA43.7010806@ieee.org> <69d8d540902071228t7f6f118j80c1445baa43ff80@mail.gmail.com> In-Reply-To: <69d8d540902071228t7f6f118j80c1445baa43ff80@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - deneb.hostpapa.com X-AntiAbuse: Original Domain - octave.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - ieee.org X-Source: X-Source-Args: X-Source-Dir: X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, SPF_HELO_PASS X-Mailman-Approved-At: Sun, 08 Feb 2009 05:50:54 -0600 Cc: "John W. Eaton" , Octave users list , Octave Maintainers List X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 20:55:39 -0000 Jaroslav Hajek wrote: > On Sat, Feb 7, 2009 at 9:08 PM, Daniel J Sebald wrote: > >>Jordi Gutiérrez Hermoso wrote: >> >> >>>>True, it's a touted Matlab feature, but as I see it Simulink provides no >>>>extra functionality to the core of Matlab and adds little to what makes >>>>the >>>>language as useful as it is. Octave/Matlab's benefit is that of any >>>>computer language: efficient processing and analysis. Simulink adds >>>>little >>>>to that. >>> >>> >>>There seem to be many who disagree with you and use Matlab almost >>>exclusively for Simulink. We also get more or less regular requests in >>>the help mailing list if Octave has anything like Simulink. >> >>I didn't say that. I said Simulink adds little to efficiency and analysis. >> It enshrouds Matlab with a layer of user interface that in some cases can >>be useful for a specific application. I've not found Simulink too useful as >>far as my analytic pursuits. (Note the reference I gave last time to >>Stephenson's "In the beginning... was the command line.") >> >> >> >>>>One other thing about the review is that it tends to vilify Mathworks >>>>near >>>>the end. >>> >>> >>>That's intentional. It's a review, it's subjective, it's my voice, and >>>I don't like the Mathworks. I don't approve of their business >>>practices, I don't think that it's ok to be evil as long as you're >>>making a profit, and I do not believe apologists who say, "you see, if >>>they didn't do all the evil things they do, they wouldn't be making >>>money." >> >>All the evil things they do may be more perception than reality. >> >> >> >>>>Rather, Octave puts a resource at the disposal of users >>>>who can't afford otherwise, i.e., one doesn't have to buy their way into >>>>a >>>>scientific research community. >>> >>> >>>I think jwe has been pretty clear in several instances that he doesn't >>>see Octave as charity for those who can't pay for Matlab. He >>>emphasises the freedom of the software, that it can be distributed and >>>analysed without restriction except that it's forbidden to forbid. He >>>also expects to receive code for the code he's made, and he frequently >>>invites users to contribute to the code. Not charity. He wants >>>something back: code, contribution, involvement. >> >>Hence the "bazaar-like" development that has been there since before >>transfer to Mercurial. >> >> >> >>>On a more personal note from myself, those who can't pay for Matlab >>>already aren't doing so, but use it anyways. Ask Jaroslav Hájek, ask >>>me, ask any user in the mailing list who isn't from the US or Western >>>Europe (and possibly a few other places), is software around them >>>copied with blithe disregard for copyright? Ask the Swedes and The >>>Pirate Bay: >>> >>> >>>http://thepiratebay.org/torrent/4510366/Mathworks.Matlab.R2008b.UNIX.DVD.ISO-TBE >>> >>>I frequently see dwellers of the US or Western Europe acting as if >>>copyright infringement were impossible, or invisible, or immoral, but >>>it is the norm everywhere except in the US or Western Europe. It is >>>not always overt like with TPB, but it exists everywhere in the world, >>>to various degrees. It is also very widespread in the same countries >>>where these beliefs about copyright come from, but it is of course >>>much less overt, and much more socially stigmatised. >> >>I'm not disagreeing that that is the case; quite aware of it. However, this >>point is a red herring as regards your original point. Anyway, copyrights >>are a structured model of business. These rules date back a long way and >>often were implemented to protect the intellectual property of small >>business owners. > > > Not in Czechia, for instance. Here, they basically date back roughly > to the Velvet Revolution or a while after. And they started to be > enforced primarily to protect the IP of western companies expanding > here, or equivalently, to hold back the small Czech businesses from > catching up too easily with the entering big players. I don't want to > speculate whether this was the reason, but this was the effect. I > think this was sort of Jordi's point. As a consequence, there's little > natural respect for copyright in our country, it's mostly enforced > respect. I said I'm aware of that point, but how does this matter on the business practices of a company that appears to be acting within laws? I understand the forces and influence of big government, big corporations, imperialism, etc. If less industrialized companies want to "catch up", as they should, then their governments should write their laws to encourage that (have some respect for the natural environment, of course) rather than thwart it. Dan From daniel.sebald@ieee.org Sat Feb 7 20:32:10 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n182WAbf020813; Sat, 7 Feb 2009 20:32:10 -0600 (CST) Received: from deneb.hostpapa.com (deneb.hostpapa.com [69.42.58.10]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n182W8wI012666 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 7 Feb 2009 20:32:10 -0600 Received: from adsl-99-139-125-108.dsl.emhril.sbcglobal.net ([99.139.125.108] helo=[192.168.1.64]) by deneb.hostpapa.com with esmtpa (Exim 4.69) (envelope-from ) id 1LVzSp-0002gs-8o; Sat, 07 Feb 2009 21:32:07 -0500 Message-ID: <498E441E.10000@ieee.org> Date: Sat, 07 Feb 2009 20:31:58 -0600 From: Daniel J Sebald User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jaroslav Hajek Subject: Re: Octave review References: <9543b3a40902062054q6bb72696gd5734f2b2d116d7c@mail.gmail.com> <18829.10659.676091.703305@segfault.lan> <9543b3a40902070758j15cf8f55m7ee0f6245b37a913@mail.gmail.com> <498DD335.3030402@ieee.org> <9543b3a40902071053qca7daa3q32261e8301037911@mail.gmail.com> <498DEA43.7010806@ieee.org> <69d8d540902071228t7f6f118j80c1445baa43ff80@mail.gmail.com> <498DF541.8090203@ieee.org> <69d8d540902071354laee0ec7i104a130e4c928743@mail.gmail.com> In-Reply-To: <69d8d540902071354laee0ec7i104a130e4c928743@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - deneb.hostpapa.com X-AntiAbuse: Original Domain - octave.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - ieee.org X-Source: X-Source-Args: X-Source-Dir: X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, SPF_HELO_PASS X-Mailman-Approved-At: Sun, 08 Feb 2009 05:50:54 -0600 Cc: "John W. Eaton" , Octave users list , Octave Maintainers List X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2009 02:32:13 -0000 Jaroslav Hajek wrote: >>I understand >>the forces and influence of big government, big corporations, imperialism, >>etc. If less industrialized companies want to "catch up", as they should, >>then their governments should write their laws to encourage that (have some >>respect for the natural environment, of course) rather than thwart it. > > > Nah, I don't think it's that easy. We can't just make copyright void > by law, for example - we'd be facing penalties from everywhere. You > have to play by the rules, or risk isolation... I didn't intend to imply void copyright laws, but point taken. Every government has plenty of trade laws and they can be written to encourage development from business within its borders. In the U.S., individual states do that sort of thing. > I think you made a good point in that Octave makes it possible to > enter the world of scientific computing without the need to pay in > advance for the privilege (or use pirate copies). But the primary > point is that Octave, as free software, grants everyone the freedom > to study, understand and modify - these are essential for innovation. > Octave encourages everyone to improve it, while Matlab's EULA in fact > deems it a possibly criminal act if you create an improvement of one > of its functions, for instance. > That's why Octave actually plays a different league than Matlab; even > if it were worse in all functional aspects (which it is far from), it > would still be more free. Well said. Dan From bounces@nabble.com Sun Feb 8 05:38:04 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n18Bc4QM003161 for ; Sun, 8 Feb 2009 05:38:04 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n18BbuU7023156 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Sun, 8 Feb 2009 05:38:03 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LW7z0-0002BB-TP for help-octave@octave.org; Sun, 08 Feb 2009 03:37:54 -0800 Message-ID: <21897961.post@talk.nabble.com> Date: Sun, 8 Feb 2009 03:37:54 -0800 (PST) From: AlexG1 To: help-octave@octave.org Subject: Parsing a string into a vector MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: alxgel@gmail.com X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-Mailman-Approved-At: Sun, 08 Feb 2009 05:50:54 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2009 11:38:05 -0000 Hi, I need to parse a string containing numbers (e.g. '1 2 3 4 5') into a numeric vector. In Matlab I simply used the strread() function, but I don't see any equivalent for it in Octave. I've tried using strtok() but I can't get it work properly, and it's pretty ugly anyway. Can someone please post a code sample to help me with this? Thanks, Alex -- View this message in context: http://www.nabble.com/Parsing-a-string-into-a-vector-tp21897961p21897961.html Sent from the Octave - General mailing list archive at Nabble.com. From soren@hauberg.org Sun Feb 8 06:00:19 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n18C0JQ8007297 for ; Sun, 8 Feb 2009 06:00:19 -0600 (CST) Received: from mailserver.fabermail.dk (cpe.atm4-0-71392.0x50c46ba6.bynxx17.customer.tele.dk [80.196.107.166]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n18C0HIk000645 for ; Sun, 8 Feb 2009 06:00:19 -0600 Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id BA740D3A00; Sun, 8 Feb 2009 13:00:09 +0100 (CET) X-Virus-Scanned: by amavisd-new Received: from mailserver.fabermail.dk ([127.0.0.1]) by localhost (mailserver.fabermail.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cfGIiWG8j7sp; Sun, 8 Feb 2009 13:00:09 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id DCC81D3A01; Sun, 8 Feb 2009 13:00:08 +0100 (CET) Received: from [10.0.0.2] (1385165240.dhcp.dbnet.dk [82.143.241.184]) by mailserver.fabermail.dk (Postfix) with ESMTP id 9FA4FD3A00; Sun, 8 Feb 2009 13:00:08 +0100 (CET) Subject: Re: Parsing a string into a vector From: =?ISO-8859-1?Q?S=F8ren?= Hauberg To: AlexG1 In-Reply-To: <21897961.post@talk.nabble.com> References: <21897961.post@talk.nabble.com> Content-Type: text/plain; charset="UTF-8" Date: Sun, 08 Feb 2009 13:00:09 +0100 Message-Id: <1234094409.7294.4.camel@sh-t400> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 8bit X-Seen-By: Mailfromd 3.1.3 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RDNS_DYNAMIC Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2009 12:00:20 -0000 søn, 08 02 2009 kl. 03:37 -0800, skrev AlexG1: > I need to parse a string containing numbers (e.g. '1 2 3 4 5') into a > numeric vector. > In Matlab I simply used the strread() function, but I don't see any > equivalent for it in Octave. I've tried using strtok() but I can't get it > work properly, and it's pretty ugly anyway. Is 'str2num' what you want? str2num ('1 2 3 4 5') ans = 1 2 3 4 5 Søren From bounces@nabble.com Sun Feb 8 06:10:30 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n18CAUvY009214 for ; Sun, 8 Feb 2009 06:10:30 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n18CANkY018402 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Sun, 8 Feb 2009 06:10:30 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LW8UQ-0003Me-9B for help-octave@octave.org; Sun, 08 Feb 2009 04:10:22 -0800 Message-ID: <21898204.post@talk.nabble.com> Date: Sun, 8 Feb 2009 04:10:22 -0800 (PST) From: AlexG1 To: help-octave@octave.org Subject: Re: Parsing a string into a vector In-Reply-To: <1234094409.7294.4.camel@sh-t400> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Nabble-From: alxgel@gmail.com References: <21897961.post@talk.nabble.com> <1234094409.7294.4.camel@sh-t400> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n18CAUvY009214 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-Mailman-Approved-At: Sun, 08 Feb 2009 06:44:59 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2009 12:10:31 -0000 Søren Hauberg wrote: > > Is 'str2num' what you want? > > str2num ('1 2 3 4 5') > ans = > > 1 2 3 4 5 > > Søren > > Exactly that, thanks. I actually stumbled over this fubnction but the help description made me think it could only convert one number at a time. -- View this message in context: http://www.nabble.com/Parsing-a-string-into-a-vector-tp21897961p21898204.html Sent from the Octave - General mailing list archive at Nabble.com. From jmoliere@ucsd.edu Sun Feb 8 10:34:10 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n18GYA8F029650 for ; Sun, 8 Feb 2009 10:34:10 -0600 (CST) Received: from outbound1.ucsd.edu (outbound1.ucsd.edu [132.239.1.205]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n18GY6JV026018 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 8 Feb 2009 10:34:10 -0600 Received: from smtp.ucsd.edu (smtp.ucsd.edu [132.239.1.49]) by outbound1.ucsd.edu (8.13.6/8.13.6) with ESMTP id n18GY47a076032 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sun, 8 Feb 2009 08:34:05 -0800 (PST) Received: from tablet ([75.85.189.143]) (authenticated bits=0) by smtp.ucsd.edu (8.13.6/8.13.6) with ESMTP id n18GY37m017799 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Sun, 8 Feb 2009 08:34:04 -0800 (PST) X-Authentication-Warning: smtp.ucsd.edu: Host [75.85.189.143] claimed to be tablet From: "James Moliere" To: Subject: thnking about an Octave Game Engine... Date: Sun, 8 Feb 2009 08:33:52 -0800 Message-ID: <001a01c98a0b$0a7198e0$1f54caa0$@edu> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001B_01C989C7.FC4E7FF0" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcmKCwZVu5M6Qsq9TNWrlZcPdKBYNw== Content-Language: en-us X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE, RCVD_IN_DNSWL_MED, SPF_HELO_PASS X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2009 16:34:11 -0000 This is a multipart message in MIME format. ------=_NextPart_000_001B_01C989C7.FC4E7FF0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, I've been thinking about an Octave game engine where it's primarily written in C++ and uses an Octave interpreter. The C++ aspect of the game would have threads represent events and display so when mouse/key clicks are captured, events can be redirected to Octave methods. To me, Octave seems to be THE best tool for a 3D game engine and/or simulation engine just because of the vast numbers of graduates in Physics/Math/Engineering are by far more likely to understand Octave than any other computer language on the market today. I can't say that I will write such a program but I really would like some of the game-engine features that exist in 3D games. I will very likely create the features I need. Here's my observation Pros: Many graduates will have the ability to develop it as well as very likely to have advanced features early in development Octave is the most natural development language for 3D algorithms. Cons: ONLY single threaded Octave engine - synchronization could be a huge problem. No 3D-Primitives or 3D model support Lots of development is needed. Octave is not object oriented so it won't be a good simulation language. Octave may be too slow. If anyone can shoot down my observations or add to the list above, I'd appreciate it. James ------=_NextPart_000_001B_01C989C7.FC4E7FF0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

I’ve been thinking about an Octave game = engine where it’s primarily written in C++ and uses an Octave interpreter.  The C++ = aspect of the game would have threads represent events and display so when = mouse/key clicks are captured, events can be redirected to Octave = methods.

 

To me, Octave seems to be THE best tool for a 3D = game engine and/or simulation engine just because of the vast numbers of graduates = in Physics/Math/Engineering are by far more likely to understand Octave = than any other computer language on the market today.

 

I can’t say that I will write such a program = but I really would like some of the game-engine features that exist in 3D = games.  I will very likely create the features I need.

 

Here’s my observation

Pros:

Many graduates will have = the ability to develop it as well as very likely to have advanced features = early in development

Octave is the most = natural development language for 3D algorithms.

 

Cons:

ONLY single threaded = Octave engine – synchronization could be a huge problem.

No 3D-Primitives or 3D = model support

Lots of development is = needed.

         &= nbsp;      Octave is not object oriented so it won’t be a good simulation = language.

         &= nbsp;      Octave may be too slow.

 

If anyone can shoot down my observations or add to = the list above, I’d appreciate it.

 

James

 

 

------=_NextPart_000_001B_01C989C7.FC4E7FF0-- From soren@hauberg.org Sun Feb 8 10:42:19 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n18GgJ1k001158 for ; Sun, 8 Feb 2009 10:42:19 -0600 (CST) Received: from mailserver.fabermail.dk (cpe.atm4-0-71392.0x50c46ba6.bynxx17.customer.tele.dk [80.196.107.166]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n18GgEBQ027864 for ; Sun, 8 Feb 2009 10:42:18 -0600 Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id 89CFDD39FF; Sun, 8 Feb 2009 17:42:04 +0100 (CET) X-Virus-Scanned: by amavisd-new Received: from mailserver.fabermail.dk ([127.0.0.1]) by localhost (mailserver.fabermail.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ceqoUoJ+u4EG; Sun, 8 Feb 2009 17:42:03 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id A1621D3A00; Sun, 8 Feb 2009 17:42:03 +0100 (CET) Received: from [10.0.0.2] (1385165240.dhcp.dbnet.dk [82.143.241.184]) by mailserver.fabermail.dk (Postfix) with ESMTP id 6B661D39FF; Sun, 8 Feb 2009 17:42:02 +0100 (CET) Subject: Re: thnking about an Octave Game Engine... From: =?ISO-8859-1?Q?S=F8ren?= Hauberg To: James Moliere In-Reply-To: <001a01c98a0b$0a7198e0$1f54caa0$@edu> References: <001a01c98a0b$0a7198e0$1f54caa0$@edu> Content-Type: text/plain; charset="UTF-8" Date: Sun, 08 Feb 2009 17:42:06 +0100 Message-Id: <1234111326.14171.12.camel@sh-t400> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 8bit X-Seen-By: Mailfromd 3.1.3 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RDNS_DYNAMIC Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2009 16:42:20 -0000 søn, 08 02 2009 kl. 08:33 -0800, skrev James Moliere: > I’ve been thinking about an Octave game engine where it’s primarily > written in C++ and uses an Octave interpreter. The C++ aspect of the > game would have threads represent events and display so when mouse/key > clicks are captured, events can be redirected to Octave methods. I don't work with game development, but a few of my colleagues does, so from time to time I take part in discussions like this. It seems to me that the most important part, when choosing languages for game engines, the most important thing to keep in mind is the user of this language. Are you targeting game designers? If so, Octave is probably to "math-oriented". As to speed, etc., then I think Octave is just as fine (or better) than Lua or python. Søren From jordigh@gmail.com Sun Feb 8 14:47:42 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n18KlgjW019871; Sun, 8 Feb 2009 14:47:42 -0600 (CST) Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.156]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n18Kldss001915; Sun, 8 Feb 2009 14:47:42 -0600 Received: by yw-out-1718.google.com with SMTP id 5so339940ywm.24 for ; Sun, 08 Feb 2009 12:47:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.150.97.19 with SMTP id u19mr2004674ybb.153.1234126059268; Sun, 08 Feb 2009 12:47:39 -0800 (PST) In-Reply-To: References: <9543b3a40902062054q6bb72696gd5734f2b2d116d7c@mail.gmail.com> <18829.10659.676091.703305@segfault.lan> <9543b3a40902070758j15cf8f55m7ee0f6245b37a913@mail.gmail.com> Date: Sun, 8 Feb 2009 14:47:39 -0600 Message-ID: <9543b3a40902081247x1e52562en7027ae63f6f00eda@mail.gmail.com> Subject: Re: Octave review From: =?UTF-8?Q?Jordi_Guti=C3=A9rrez_Hermoso?= To: =?UTF-8?Q?Francesco_Potort=C3=AC?= Content-Type: text/plain; charset=UTF-8 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n18KlgjW019871 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: "John W. Eaton" , Octave users list , Octave Maintainers List X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2009 20:47:46 -0000 2009/2/8 Francesco Potortì : >>> Since Octave is free software, its development is quite open >>> >>> The ideas of free software (the freedom to share and modify, etc.) >>> does not necessarily imply a collaborative development process. >> >>But surely there is some connection? I've rewritten this to read: "In >>part due because Octave is free software..." > > I would say: > > Octave is free software, that is, it is distributed with a license to > copy, modify, and redistribute it. Its developement ... Thank you. I like this phrasing better. I'll change it. - Jordi G. H. From mbrennwa@gmail.com Mon Feb 9 01:09:18 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1979I2H018595 for ; Mon, 9 Feb 2009 01:09:18 -0600 (CST) Received: from mail-bw0-f161.google.com (mail-bw0-f161.google.com [209.85.218.161]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1979FvH014559 for ; Mon, 9 Feb 2009 01:09:17 -0600 Received: by bwz5 with SMTP id 5so1011395bwz.0 for ; Sun, 08 Feb 2009 23:09:09 -0800 (PST) Received: by 10.181.146.14 with SMTP id y14mr1398112bkn.70.1234163349791; Sun, 08 Feb 2009 23:09:09 -0800 (PST) Received: from wut-brennwald.eawag.wroot.emp-eaw.ch (wut-brennwald.eawag.wroot.emp-eaw.ch [152.88.162.52]) by mx.google.com with ESMTPS id 18sm4734556bwz.106.2009.02.08.23.09.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 08 Feb 2009 23:09:09 -0800 (PST) Sender: Matthias Brennwald Message-Id: From: Matthias Brennwald To: help-octave@octave.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: fitting functions which contain 'i': more details Date: Mon, 9 Feb 2009 08:09:08 +0100 References: X-Mailer: Apple Mail (2.930.3) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 07:09:19 -0000 On Feb 6, 2009, at 7:03 PM, help-octave-request@octave.org wrote: > Message: 4 > Date: Fri, 6 Feb 2009 17:20:27 +0100 > From: "Harbinson, Jeremy" > Subject: Re: fitting functions which contain 'i': more details > To: > Message-ID: > <14EFCC12CC0CA642940526E074A2251D012DC301@scomp0039.wurnet.nl> > Content-Type: text/plain; charset="iso-8859-1" > > > Hi, > The function I need to fit is one that describes the frequency > dependence of the electrical impedance (Z) of biological tissue in > terms of four parameters: > capacitance, > two limiting resistances, and > alpha, which basically compensates for the fact that biological > materials do not behave as ideal Resistor-Capacitor systems. > > It is difficult to clearly write the function here as it has lots of > subscripts etc, but here is the function in Latex: > > Z\left(freq\right)=R_{\infty}+\frac{R_{0}-R_{\infty}}{1+i\omega C > \left(R_{0}-R_{\infty}\right)^{\alpha}} > > C is capacitance, and R0 and Rinfinity are the limiting resistances. > > If C is non-zero the function returns an complex number that > contains the real and imaginary parts of the impedance. If the real > and imaginary parts of the impedance are plotted against each other > (real on x, imaginary on y) the result is a so-called Cole-Cole > plot. I think it is also sometimes called a Nyquist diagram. > > The data I collect is the complex impedance (Z) as a function of > frequency (omega). I would like to estimate the parameters R0, > Rinfinity, C and alpha from this data by the fitting the above > function to it. So I need some fitting tool that is happy working > with complex numbers. I have a recollection that this is/was > possible with a function in the basic Matlab package, but I do not > know which. > > An alternative approach to fitting the function above is to fit the > Cole-Cole plot (the real and imaginary components plotted against > each other) with a circle, as the locus of the points on a Cole-Cole > plot is a chord or semicircle whose centre is shifted away from the > origin of the graph. Problems with this approach are that the least- > squares fitting routine does not (so far as I know) fit parametric > equations (maybe fsolve does?) and real data often deviates from the > chord/semicircle of the ideal Cole-Cole plot (typical biology - we > are not ideal). These distorted responses are relatively easy to > deal with by tweaking the basic function shown above, but not so > easy to work with via the graphical approach of the Cole-Cole plot. > Hope this clarifies things a bit, > all the best, > Jeremy Dear Jeremy I'd try the following approach: write a function that gives the deviation between your data and your function for a given set of C, R0 and Rinfinity. By 'deviation' I mean, for instance, the sum of the squares of the differences between the data and the corresponding function values, taking into account both the real and imaginary parts. Then, use an optimizer function (e.g. fmins or fminsearch from the optimization package in Octave-Forge, see http://octave.sourceforge.net/doc/optimization.html) to find the best-fit values of C, R0 and Rinfinity. Does this make sense? Matthias From mbrennwa@gmail.com Mon Feb 9 02:12:06 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n198C6Uh000600 for ; Mon, 9 Feb 2009 02:12:06 -0600 (CST) Received: from mail-bw0-f161.google.com (mail-bw0-f161.google.com [209.85.218.161]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n198C5Gg026556 for ; Mon, 9 Feb 2009 02:12:06 -0600 Received: by bwz5 with SMTP id 5so1050803bwz.0 for ; Mon, 09 Feb 2009 00:11:59 -0800 (PST) Received: by 10.181.48.4 with SMTP id a4mr1736607bkk.59.1234167119121; Mon, 09 Feb 2009 00:11:59 -0800 (PST) Received: from wut-brennwald.eawag.wroot.emp-eaw.ch (wut-brennwald.eawag.wroot.emp-eaw.ch [152.88.162.52]) by mx.google.com with ESMTPS id 8sm1477007bwz.30.2009.02.09.00.11.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 09 Feb 2009 00:11:58 -0800 (PST) Sender: Matthias Brennwald Message-Id: <5B040805-95A9-4A0D-8CA7-5ABCDD4202CB@brennwald.org> From: Matthias Brennwald To: help-octave@octave.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: Re: Octave review Date: Mon, 9 Feb 2009 09:11:57 +0100 References: X-Mailer: Apple Mail (2.930.3) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 08:12:08 -0000 On Feb 7, 2009, at 7:03 PM, help-octave-request@octave.org wrote: >> The syntax is identical to Matlab's syntax >> >> It's close, but there are some differences. > > What are we missing as far as syntax goes? I thought it was only > specific functions that are missing, or features like object > orientation. There is very few missing from Octave, but there are quite a few things in Octave that are not in Matlab. Take comments as an example: the '#' works in Octave (and it's the default, in fact), but Matlab does not understand it. Or strings: mystring = "Hello?" will throw an Error in Matlab, but not in Octave. So, while the statement 'Octave syntax is almost identical to that of Matlab' is usually understood in the sense that Octave syntax is largely compatible with that of Matlab, the reverse is certainly not true. This may be a nice feature, but it may also be considered as a problem (especially if one uses Octave to write code that should also work with Matlab). Matthias From highegg@gmail.com Mon Feb 9 02:23:38 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n198Ncft002918 for ; Mon, 9 Feb 2009 02:23:38 -0600 (CST) Received: from mail-bw0-f161.google.com (mail-bw0-f161.google.com [209.85.218.161]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n198NaeY031592 for ; Mon, 9 Feb 2009 02:23:37 -0600 Received: by bwz5 with SMTP id 5so1060804bwz.0 for ; Mon, 09 Feb 2009 00:23:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.244.4 with SMTP id w4mr1973783mur.90.1234167809237; Mon, 09 Feb 2009 00:23:29 -0800 (PST) In-Reply-To: <14EFCC12CC0CA642940526E074A2251D012DC301@scomp0039.wurnet.nl> References: <14EFCC12CC0CA642940526E074A2251D012DC301@scomp0039.wurnet.nl> Date: Mon, 9 Feb 2009 09:23:29 +0100 Message-ID: <69d8d540902090023w36223d0n6e14f43138ab4f73@mail.gmail.com> Subject: Re: fitting functions which contain 'i': more details From: Jaroslav Hajek To: "Harbinson, Jeremy" Content-Type: text/plain; charset=ISO-8859-1 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n198Ncft002918 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 08:23:39 -0000 On Fri, Feb 6, 2009 at 5:20 PM, Harbinson, Jeremy wrote: > > Hi, > The function I need to fit is one that describes the frequency dependence of the electrical impedance (Z) of biological tissue in terms of four parameters: > capacitance, > two limiting resistances, and > alpha, which basically compensates for the fact that biological materials do not behave as ideal Resistor-Capacitor systems. > > It is difficult to clearly write the function here as it has lots of subscripts etc, but here is the function in Latex: > > Z\left(freq\right)=R_{\infty}+\frac{R_{0}-R_{\infty}}{1+i\omega C\left(R_{0}-R_{\infty}\right)^{\alpha}} > > C is capacitance, and R0 and Rinfinity are the limiting resistances. > > If C is non-zero the function returns an complex number that contains the real and imaginary parts of the impedance. If the real and imaginary parts of the impedance are plotted against each other (real on x, imaginary on y) the result is a so-called Cole-Cole plot. I think it is also sometimes called a Nyquist diagram. > > The data I collect is the complex impedance (Z) as a function of frequency (omega). I would like to estimate the parameters R0, Rinfinity, C and alpha from this data by the fitting the above function to it. So I need some fitting tool that is happy working with complex numbers. I have a recollection that this is/was possible with a function in the basic Matlab package, but I do not know which. > > An alternative approach to fitting the function above is to fit the Cole-Cole plot (the real and imaginary components plotted against each other) with a circle, as the locus of the points on a Cole-Cole plot is a chord or semicircle whose centre is shifted away from the origin of the graph. Problems with this approach are that the least-squares fitting routine does not (so far as I know) fit parametric equations (maybe fsolve does?) and real data often deviates from the chord/semicircle of the ideal Cole-Cole plot (typical biology - we are not ideal). These distorted responses are relatively easy to deal with by tweaking the basic function shown above, but not so easy to work with via the graphical approach of the Cole-Cole plot. > Hope this clarifies things a bit, > all the best, > Jeremy > Hi, sorry for the dealyed answer; for some reason this post got separated from the original thread. Now, pardon my physics ignorance - I assume capacitance and resistance are real numbers? In that case, you are facing a complex fit in real variables (or, equivalently, an overdetermined system of complex equations in real vars). In this case, there's little else you can do than to simply split each complex equation into real and imaginary part, and solve that real system. Any function that can handle this kind of fit is most probably doing the same, so it's a purely convenience issue. The same can, of course, be done for complex eqs in complex vars, but here this is sub-optimal if the equations posess a complex derivative. assuming you have the frequency and impedance observations stored as two vectors, omega and Z (Z is complex), you can do something akin to (untested yet): function r = impedance_fit (vars) global omega, Z, alpha; Rinf = vars(1); R0 = vars(2); C = vars(3); r = Z - Rinf - (R0 - Rinf) ./ (1 + i*omega * (R0 - Rinf)^alpha); # turn complex system into real one r = [real (r); imag (r)]; # assumes omega is column vector endfunction ... [vars, res, info] = fsolve (@impedance_fit, vars_guess); if you send me your data, I'll try to do the fit with fsolve for you. (or you can compile the development sources and try yourself). cheers -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From highegg@gmail.com Mon Feb 9 02:25:52 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n198Pq0n003645 for ; Mon, 9 Feb 2009 02:25:52 -0600 (CST) Received: from mail-bw0-f161.google.com (mail-bw0-f161.google.com [209.85.218.161]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n198PpGG032203 for ; Mon, 9 Feb 2009 02:25:51 -0600 Received: by bwz5 with SMTP id 5so1062777bwz.0 for ; Mon, 09 Feb 2009 00:25:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.245.18 with SMTP id x18mr1270199mur.62.1234167945939; Mon, 09 Feb 2009 00:25:45 -0800 (PST) In-Reply-To: <5B040805-95A9-4A0D-8CA7-5ABCDD4202CB@brennwald.org> References: <5B040805-95A9-4A0D-8CA7-5ABCDD4202CB@brennwald.org> Date: Mon, 9 Feb 2009 09:25:45 +0100 Message-ID: <69d8d540902090025j57574b18q158e1f2839ce1e68@mail.gmail.com> Subject: Re: Re: Octave review From: Jaroslav Hajek To: Matthias Brennwald Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 08:25:54 -0000 On Mon, Feb 9, 2009 at 9:11 AM, Matthias Brennwald wrote: > > On Feb 7, 2009, at 7:03 PM, help-octave-request@octave.org wrote: > >>> The syntax is identical to Matlab's syntax >>> >>> It's close, but there are some differences. >> >> What are we missing as far as syntax goes? I thought it was only >> specific functions that are missing, or features like object >> orientation. > > There is very few missing from Octave, but there are quite a few > things in Octave that are not in Matlab. Take comments as an example: > the '#' works in Octave (and it's the default, in fact), but Matlab > does not understand it. Or strings: mystring = "Hello?" will throw an > Error in Matlab, but not in Octave. > > So, while the statement 'Octave syntax is almost identical to that of > Matlab' is usually understood in the sense that Octave syntax is > largely compatible with that of Matlab, the reverse is certainly not > true. This may be a nice feature, but it may also be considered as a > problem (especially if one uses Octave to write code that should also > work with Matlab). > A problem? Anyone is, of course, free to restrict himself to the Matlab-compatible subset, at the cost of missing some really useful extensions (like, e.g., function default param values). -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From jgpallero@gmail.com Mon Feb 9 08:09:42 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n19E9gMf008229 for ; Mon, 9 Feb 2009 08:09:42 -0600 (CST) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n19E9dJg011571 for ; Mon, 9 Feb 2009 08:09:42 -0600 Received: by yx-out-2324.google.com with SMTP id 31so660547yxl.51 for ; Mon, 09 Feb 2009 06:09:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.151.156.1 with SMTP id i1mr65786ybo.247.1234188578924; Mon, 09 Feb 2009 06:09:38 -0800 (PST) Date: Mon, 9 Feb 2009 15:09:38 +0100 Message-ID: <323eda50902090609k3a8301e5s9bd20493ec0c33f8@mail.gmail.com> Subject: Compiling without debugging symbols From: =?ISO-8859-1?Q?Jos=E9_Luis_Garc=EDa_Pallero?= To: Octave users list Content-Type: multipart/alternative; boundary=00151750e4d8d5278e04627ceb57 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 14:09:43 -0000 --00151750e4d8d5278e04627ceb57 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On appendix E of the manual (Installing Octave) says: On an otherwise idle Pentium 133 running Linux, it will take somewhere between 1-1/2 to 3 hours to compile everything, depending on whether you ar= e building shared libraries. You will need about 100 megabytes of disk storag= e to work with (considerably less if you don't compile with debugging symbols). To do that, use the command make CFLAGS=3D-O CXXFLAGS=3D-O LDFLAGS=3D instead of just `make'. make CFLAGS=3D-O CXXFLAGS=3D-O LDFLAGS=3D is used to compile Octave without debugging symbols? I don't understand exactly if "To do that, use the command" appoint to the parenthesis words --=20 ***************************************** Jos=E9 Luis Garc=EDa Pallero jgpallero@gmail.com (o< / / \ V_/_ Use Debian GNU/Linux and enjoy! ***************************************** --00151750e4d8d5278e04627ceb57 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On appendix E of the manual (Installing Octave) says:

On an other= wise idle Pentium 133 running Linux, it will take somewhere between 1-1/2 to 3 hours to compile everything, depending on whether you are building shared libraries. You will need about 100 megabytes of disk storage to work with (considerably less if you don't compile with debug= ging symbols). To do that, use the command

          make CFLAGS=3D-O CXXFLAGS=3D-O LD=
FLAGS=3D

instead of just `make= '.

make CFLAGS=3D-O CXXFLAGS=3D=
-O LDFLAGS=3D is used to compile Octave without debugging symbols? I don=
9;t understand exactly if "To do that, use the command" appoint t=
o the parenthesis words
--
*****************************************
Jos=E9 Luis Garc=EDa Pa= llero
jgpallero@gmail.com
= (o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*************= ****************************
--00151750e4d8d5278e04627ceb57-- From jgpallero@gmail.com Mon Feb 9 09:37:29 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n19FbTdr026523 for ; Mon, 9 Feb 2009 09:37:29 -0600 (CST) Received: from mail-gx0-f16.google.com (mail-gx0-f16.google.com [209.85.217.16]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n19FbRVW032461 for ; Mon, 9 Feb 2009 09:37:28 -0600 Received: by gxk9 with SMTP id 9so1840366gxk.0 for ; Mon, 09 Feb 2009 07:37:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.150.227.9 with SMTP id z9mr1243340ybg.241.1234193842507; Mon, 09 Feb 2009 07:37:22 -0800 (PST) Date: Mon, 9 Feb 2009 16:37:22 +0100 Message-ID: <323eda50902090737p74ebf3b3w7abb454d5522233d@mail.gmail.com> Subject: Compiling problem: qrupdate From: =?ISO-8859-1?Q?Jos=E9_Luis_Garc=EDa_Pallero?= To: Octave users list Content-Type: multipart/alternative; boundary=000e0cd48494910e4304627e25b6 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 15:37:30 -0000 --000e0cd48494910e4304627e25b6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, I'm trying to compile the last mercurial repository version of Octave (changeset 314be237cd5b). I downloaded qrupdate, made the static and dynami= c versions (libqrupdate.a and .so) of the library and I put them in my /usr/local/lib folder. The configure script detects it and the compiling process looks like, but at the end the next error occurs: ../../run-octave -f -q -H -p . --eval "sparseimages ('gplot', 'txt');" /usr/local/src/octave/src/octave: error while loading shared libraries: libqrupdate.so: cannot open shared object file: No such file or directory Anyone have a similar problem --=20 ***************************************** Jos=E9 Luis Garc=EDa Pallero jgpallero@gmail.com (o< / / \ V_/_ Use Debian GNU/Linux and enjoy! ***************************************** --000e0cd48494910e4304627e25b6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,
I'm trying to compile the last mercurial repository version of O= ctave (changeset 314be237cd5b). I downloaded qrupdate, made the static and = dynamic versions (libqrupdate.a and .so) of the library and I put them in m= y /usr/local/lib folder. The configure script detects it and the compiling = process looks like, but at the end the next error occurs:

../../run-octave -f -q -H -p . --eval "sparseimages ('gplot= 9;, 'txt');"
/usr/local/src/octave/src/octave: error while = loading shared libraries: libqrupdate.so: cannot open shared object file: N= o such file or directory

Anyone have a similar problem

--
*************= ****************************
Jos=E9 Luis Garc=EDa Pallero
jgpallero@gmail.com
(o<
/ / \
V= _/_
Use Debian GNU/Linux and enjoy!
****************************************= *
--000e0cd48494910e4304627e25b6-- From luis.montes@qdusa.com Mon Feb 9 10:18:46 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n19GIkbH005317 for ; Mon, 9 Feb 2009 10:18:46 -0600 (CST) Received: from nino.qdusa.com (64-73-239-179.static-ip.telepacific.net [64.73.239.179]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n19GIcIg032242 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 9 Feb 2009 10:18:45 -0600 Received: from [192.168.1.74] (64-73-239-178.static-ip.telepacific.net [64.73.239.178]) by nino.qdusa.com (8.12.11.20060308/8.12.11) with ESMTP id n19GIa5Z030278 for ; Mon, 9 Feb 2009 08:18:37 -0800 Subject: global variables From: "Luis A. Montes" To: help-octave@octave.org Content-Type: text/plain Organization: Quantum Design Date: Mon, 09 Feb 2009 08:19:11 -0800 Message-Id: <1234196351.7121.16.camel@firmware> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 16:18:47 -0000 I'm having a strange problem with global variables. Searched the list but nothing seems to show up. Mind you that I'm a rather sporadic user of octave (or Matlab, for that matter), I was just trying to import some Matlab scripts to Octave running under Linux (Ubuntu Hardy) when I got the following: octave script.m GNU Octave, version 3.0.0 Copyright (C) 2007 John W. Eaton and others. [...] parse error near line 3 of file p10_1.m syntax error >>> global cost hr hx grid N N_2; ^ If I split the global declaration at the caret position so that I have: global cost hr hx grid; global N N_2; Then the syntax error goes away. I also renamed N variables to a longer name thinking that they could be clashing with other "default" global variables, but no dice. I don't understand the problem or the solution, so I'm wondering if there is a less obvious problem with the second form that will cause the script to fail in more subtle ways. Thanks From highegg@gmail.com Mon Feb 9 10:19:45 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n19GJjg2005519 for ; Mon, 9 Feb 2009 10:19:45 -0600 (CST) Received: from mail-bw0-f161.google.com (mail-bw0-f161.google.com [209.85.218.161]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n19GJh3R014609 for ; Mon, 9 Feb 2009 10:19:44 -0600 Received: by bwz5 with SMTP id 5so1624296bwz.0 for ; Mon, 09 Feb 2009 08:19:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.214.8 with SMTP id r8mr2188597muq.92.1234196378091; Mon, 09 Feb 2009 08:19:38 -0800 (PST) In-Reply-To: <323eda50902090737p74ebf3b3w7abb454d5522233d@mail.gmail.com> References: <323eda50902090737p74ebf3b3w7abb454d5522233d@mail.gmail.com> Date: Mon, 9 Feb 2009 17:19:38 +0100 Message-ID: <69d8d540902090819v67d6acfai1b0591c9c88ad2f2@mail.gmail.com> Subject: Re: Compiling problem: qrupdate From: Jaroslav Hajek To: =?ISO-8859-1?Q?Jos=E9_Luis_Garc=EDa_Pallero?= Content-Type: text/plain; charset=ISO-8859-1 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n19GJjg2005519 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 16:19:48 -0000 On Mon, Feb 9, 2009 at 4:37 PM, José Luis García Pallero wrote: > Hi, > I'm trying to compile the last mercurial repository version of Octave > (changeset 314be237cd5b). I downloaded qrupdate, made the static and dynamic > versions (libqrupdate.a and .so) of the library and I put them in my > /usr/local/lib folder. The configure script detects it and the compiling > process looks like, but at the end the next error occurs: > > ../../run-octave -f -q -H -p . --eval "sparseimages ('gplot', 'txt');" > /usr/local/src/octave/src/octave: error while loading shared libraries: > libqrupdate.so: cannot open shared object file: No such file or directory > Try ldd src/octave and ldd liboctave/liboctave.so - do they show paths to libqrupdate? I recall that sometimes it's needed to run "ldconfig" (as root) when installed a new shared library, so you can try. cheers > Anyone have a similar problem > > -- > ***************************************** > José Luis García Pallero > jgpallero@gmail.com > (o< > / / \ > V_/_ > Use Debian GNU/Linux and enjoy! > ***************************************** > > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > > -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From jwe@octave.org Mon Feb 9 10:36:31 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n19GaV1K009294 for ; Mon, 9 Feb 2009 10:36:31 -0600 (CST) Received: from spaceymail-a5.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n19GaUtK004207 for ; Mon, 9 Feb 2009 10:36:31 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a5.g.dreamhost.com (Postfix) with ESMTP id EA6C48704B; Mon, 9 Feb 2009 08:36:19 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18832.23426.607268.437909@segfault.lan> Date: Mon, 9 Feb 2009 11:36:18 -0500 To: "Luis A. Montes" Subject: global variables In-Reply-To: <1234196351.7121.16.camel@firmware> References: <1234196351.7121.16.camel@firmware> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 16:36:32 -0000 On 9-Feb-2009, Luis A. Montes wrote: | I'm having a strange problem with global variables. Searched the list | but nothing seems to show up. Mind you that I'm a rather sporadic user | of octave (or Matlab, for that matter), I was just trying to import some | Matlab scripts to Octave running under Linux (Ubuntu Hardy) when I got | the following: | | octave script.m | GNU Octave, version 3.0.0 | Copyright (C) 2007 John W. Eaton and others. | [...] | | parse error near line 3 of file p10_1.m | | syntax error | | >>> global cost hr hx grid N N_2; | ^ | | If I split the global declaration at the caret position so that I have: | | global cost hr hx grid; | global N N_2; | | Then the syntax error goes away. I also renamed N variables to a longer | name thinking that they could be clashing with other "default" global | variables, but no dice. | | I don't understand the problem or the solution, so I'm wondering if | there is a less obvious problem with the second form that will cause the | script to fail in more subtle ways. The problem is with the use of the name "grid", which is Octave is treated specially by the parser because it is a "command" name and may be used like grid on intead of grid ("on") But it is a bug, because in this context, Octave should not be recongnizing grid as a command name. jwe From ChuckDrake@ferris.edu Mon Feb 9 10:48:13 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n19GmDu3011823 for ; Mon, 9 Feb 2009 10:48:13 -0600 (CST) Received: from fsunotes1.ferris.edu (fsunotes1.ferris.edu [161.57.5.15]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n19GmAfj015893 for ; Mon, 9 Feb 2009 10:48:13 -0600 To: help-octave@octave.org Subject: Vista Problems with finding files MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.4 March 27, 2005 Message-ID: From: ChuckDrake@ferris.edu Date: Mon, 9 Feb 2009 11:48:14 -0500 X-MIMETrack: Serialize by Router on FSUNOTES1/FSU(Release 7.0.3|September 26, 2007) at 02/09/2009 11:48:19 AM, Serialize complete at 02/09/2009 11:48:19 AM Content-Type: multipart/alternative; boundary="=_alternative 005C4E7E85257558_=" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, HTML_MESSAGE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 16:48:14 -0000 This is a multipart message in MIME format. --=_alternative 005C4E7E85257558_= Content-Type: text/plain; charset="US-ASCII" Hi I have tried several editions of Octave and get the same problem. For example, I create a .m file with Edit and save the file to c:\Program Files\Octave. The file and location are verified using a file manager. However Octave can't find the file. Dir only shows sub-directories. Attempting to execute the file give me a "can't find file" message. Thanks. --=_alternative 005C4E7E85257558_= Content-Type: text/html; charset="US-ASCII"
Hi

I have tried several editions of Octave and get the same problem.  For example, I create a .m file with Edit and save the file to c:\Program Files\Octave.  The file and location are verified using a file manager.  However Octave can't find the file.  Dir only shows sub-directories.  Attempting to execute the file give me a "can't find file" message.  Thanks.


--=_alternative 005C4E7E85257558_=-- From jwe@octave.org Mon Feb 9 10:52:50 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n19GqoWh012767 for ; Mon, 9 Feb 2009 10:52:50 -0600 (CST) Received: from spaceymail-a3.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n19GqnKD014159 for ; Mon, 9 Feb 2009 10:52:49 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a3.g.dreamhost.com (Postfix) with ESMTP id F2D93194E7E; Mon, 9 Feb 2009 08:52:48 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18832.24415.634483.417882@segfault.lan> Date: Mon, 9 Feb 2009 11:52:47 -0500 To: ChuckDrake@ferris.edu Subject: Vista Problems with finding files In-Reply-To: References: X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 16:52:51 -0000 On 9-Feb-2009, ChuckDrake@ferris.edu wrote: | I have tried several editions of Octave and get the same problem. For | example, I create a .m file with Edit and save the file to c:\Program | Files\Octave. The file and location are verified using a file manager. | However Octave can't find the file. Dir only shows sub-directories. | Attempting to execute the file give me a "can't find file" message. When you are doing this, what does typing pwd at the Octave prompt print? What about If it is not c:\program files\octave, then is that directory listed in the output of path ? jwe From jgpallero@gmail.com Mon Feb 9 11:18:12 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n19HICQN018245 for ; Mon, 9 Feb 2009 11:18:12 -0600 (CST) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.189]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n19HIBiA003205 for ; Mon, 9 Feb 2009 11:18:12 -0600 Received: by rn-out-0910.google.com with SMTP id k32so1314376rnd.12 for ; Mon, 09 Feb 2009 09:18:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.150.200.8 with SMTP id x8mr111041ybf.193.1234199890973; Mon, 09 Feb 2009 09:18:10 -0800 (PST) Date: Mon, 9 Feb 2009 18:18:10 +0100 Message-ID: <323eda50902090918x3d36bb38h64d936ff08b2a66@mail.gmail.com> Subject: Compiling problem: qrupdate From: =?ISO-8859-1?Q?Jos=E9_Luis_Garc=EDa_Pallero?= To: Octave users list Content-Type: multipart/alternative; boundary=000e0cd3070a15563004627f8e27 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 17:18:13 -0000 --000e0cd3070a15563004627f8e27 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I recall that sometimes it's needed to run "ldconfig" (as root) when installed a new shared library, so you can try. OK, ldconfig was the solution. Thanks --=20 ***************************************** Jos=E9 Luis Garc=EDa Pallero jgpallero@gmail.com (o< / / \ V_/_ Use Debian GNU/Linux and enjoy! ***************************************** --000e0cd3070a15563004627f8e27 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I recall that sometimes it's needed to run "ldconfig" (a=
s root) when
installed a new shared library, so you can try.
OK, ld= config was the solution. Thanks

--
***************= **************************
Jos=E9 Luis Garc=EDa Pallero
jgpa= llero@gmail.com
(o<
/ / \
V_/_
Use Debian GNU/Linux and = enjoy!
*****************************************
--000e0cd3070a15563004627f8e27-- From jwe@octave.org Mon Feb 9 11:25:14 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n19HPDX1019590 for ; Mon, 9 Feb 2009 11:25:13 -0600 (CST) Received: from spaceymail-a2.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n19HPDga020052 for ; Mon, 9 Feb 2009 11:25:13 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a2.g.dreamhost.com (Postfix) with ESMTP id 08691EE3D7; Mon, 9 Feb 2009 09:25:11 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18832.26358.335553.187783@segfault.lan> Date: Mon, 9 Feb 2009 12:25:10 -0500 To: "Luis A. Montes" Subject: global variables In-Reply-To: <18832.23426.607268.437909@segfault.lan> References: <1234196351.7121.16.camel@firmware> <18832.23426.607268.437909@segfault.lan> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 17:25:16 -0000 On 9-Feb-2009, John W. Eaton wrote: | The problem is with the use of the name "grid", which is Octave is | treated specially by the parser because it is a "command" name and may | be used like | | grid on | | intead of | | grid ("on") | | But it is a bug, because in this context, Octave should not be | recongnizing grid as a command name. I checked in the following change for the current sources. I don't know whether this patch will apply cleanly for earlier versions. http://hg.savannah.gnu.org/hgweb/octave/rev/1652e39b934e jwe From Sven-Erik.Tiberg@ltu.se Mon Feb 9 14:52:39 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n19KqdXE003957 for ; Mon, 9 Feb 2009 14:52:39 -0600 (CST) Received: from mxi.ltu.se (mxi.ltu.se [130.240.42.23]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n19KqXjm003834 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 9 Feb 2009 14:52:38 -0600 Received: from EMMA.personal.adp.ltu.se (rachel.personal.adp.ltu.se [130.240.150.5]) by mxi.ltu.se (8.13.1/8.13.1) with ESMTP id n19KqVm7003540; Mon, 9 Feb 2009 21:52:31 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C98AF8.535C15C0" Subject: RE: thnking about an Octave Game Engine... Date: Mon, 9 Feb 2009 21:52:31 +0100 Message-ID: <668D1B8AD729C94DB91D17EC19B8BB9104E85046@EMMA.personal.adp.ltu.se> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: thnking about an Octave Game Engine... Thread-Index: AcmKCwZVu5M6Qsq9TNWrlZcPdKBYNwA6SyxE References: <001a01c98a0b$0a7198e0$1f54caa0$@edu> From: "Sven-Erik Tiberg" To: "James Moliere" , X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE, MIME_QP_LONG_LINE, RCVD_IN_DNSWL_LOW X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 20:52:40 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C98AF8.535C15C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi =20 If I may some comments. A game engine should run in pseudo-realtime, meaning that the game = calculation must run in loop where each timesteep in the loop must be = close to realtime.=20 Many game functions are based in time-depending calculations ( position, = velocity a.s.o. ). The engine need to interact with asyncrone states over the internet from = the 3Dbrowser. All this are not impossible to make with octave, as discussed in a = previous thread. =20 Next step are defining the protocol with the 3Dbrowser, this area are = under devolopment in the opensource comunity, and there are some = suggestion f.example a protocol based on Open Grid Protocol used by = SecondLife.=20 http://www.octaga.com/ are working on an open protocol to add a custom = made node as game engine to a simulation/game world.=20 One approach could be to make a simple UDP protocol using www.h3dapi.org = with twisted-python script as client, or make an interface to a = www.croquetproject.org client using smalltalk. There are certainly more ways to make a game engine to a 3D world. ( = www.pygame.org + www.h3dapi.org , http://www.modelica.org/ ). And then we have another thrilling challenge multi user game.=20 Ain't life exciting. =20 /Sven-Erik Tiberg Lulea Univ. of Technology / Sweden ________________________________ From: James Moliere [mailto:jmoliere@ucsd.edu] Sent: Sun 2/8/2009 5:33 PM To: help-octave@octave.org Subject: thnking about an Octave Game Engine... Hello, I've been thinking about an Octave game engine where it's primarily = written in C++ and uses an Octave interpreter. The C++ aspect of the = game would have threads represent events and display so when mouse/key = clicks are captured, events can be redirected to Octave methods. =20 To me, Octave seems to be THE best tool for a 3D game engine and/or = simulation engine just because of the vast numbers of graduates in = Physics/Math/Engineering are by far more likely to understand Octave = than any other computer language on the market today. =20 I can't say that I will write such a program but I really would like = some of the game-engine features that exist in 3D games. I will very = likely create the features I need. =20 Here's my observation Pros:=20 Many graduates will have the ability to develop it as well as very = likely to have advanced features early in development Octave is the most natural development language for 3D algorithms. =20 Cons: ONLY single threaded Octave engine - synchronization could be a huge = problem. No 3D-Primitives or 3D model support Lots of development is needed. Octave is not object oriented so it won't be a good = simulation language. Octave may be too slow. =20 If anyone can shoot down my observations or add to the list above, I'd = appreciate it. =20 James =20 =20 ------_=_NextPart_001_01C98AF8.535C15C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =0A= =0A= =0A= =0A= =0A= =0A=
=0A=
Hi
=0A=
 
=0A=
If I may some = comments.
=0A=
A game engine should run = in pseudo-realtime, meaning that the game calculation must run in loop = where each timesteep in the loop must be close to realtime.
=0A=
Many game functions are = based in time-depending calculations ( position, velocity a.s.o. = ).
=0A=
The engine need to interact = with asyncrone states over the internet from the 3Dbrowser.
=0A=
All this are not impossible = to make with octave, as discussed in a previous thread.
=0A=
 
=0A=
Next step are defining the = protocol with the 3Dbrowser, this area are under devolopment in the = opensource comunity, and there are some suggestion f.example a protocol = based on Open Grid Protocol used by SecondLife.
=0A=
http://www.octaga.com/ are = working on an open protocol to add a custom made node as game = engine to a simulation/game world. 
=0A=
One approach could be to make = a simple UDP protocol using www.h3dapi.org with twisted-python = script as client, or make an interface to a www.croquetproject.org cl= ient using smalltalk.
=0A=
There are certainly more ways to make a game engine to a = 3D world. ( www.pygame.org + www.h3dapi.org , http://www.modelica.org/ ).=0A=
And then we have another thrilling challenge multi user = game.
=0A=
Ain't life exciting.
=0A=
 
=0A=
/Sven-Erik Tiberg
=0A=
Lulea Univ. of Technology / Sweden
=0A=

=0A=
=0A= From: James Moliere = [mailto:jmoliere@ucsd.edu]
Sent: Sun 2/8/2009 5:33 = PM
To: help-octave@octave.org
Subject: thnking about = an Octave Game Engine...

=0A=
=0A=
=0A=

Hello,

=0A=

I’ve been thinking about an Octave game = engine where it’s primarily written in C++ and uses an Octave = interpreter.  The C++ aspect of the game would have threads = represent events and display so when mouse/key clicks are captured, = events can be redirected to Octave methods.

=0A=

 

=0A=

To me, Octave seems to be THE best tool for a 3D = game engine and/or simulation engine just because of the vast numbers of = graduates in Physics/Math/Engineering are by far more likely to = understand Octave than any other computer language on the market = today.

=0A=

 

=0A=

I can’t say that I will write such a program = but I really would like some of the game-engine features that exist in = 3D games.  I will very likely create the features I need.

=0A=

 

=0A=

Here’s my observation

=0A=

Pros:

=0A=

Many graduates will = have the ability to develop it as well as very likely to have advanced = features early in development

=0A=

Octave is the most = natural development language for 3D algorithms.

=0A=

 

=0A=

Cons:

=0A=

ONLY single threaded = Octave engine – synchronization could be a huge problem.

=0A=

No 3D-Primitives or 3D = model support

=0A=

Lots of development is = needed.

=0A=

         &= nbsp;      Octave is not object oriented so it = won’t be a good simulation language.

=0A=

         &= nbsp;      Octave may be too slow.

=0A=

 

=0A=

If anyone can shoot down my observations or add to = the list above, I’d appreciate it.

=0A=

 

=0A=

James

=0A=

 

=0A=

 

------_=_NextPart_001_01C98AF8.535C15C0-- From hubahopp@gmx.de Mon Feb 9 15:21:45 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n19LLju6010804 for ; Mon, 9 Feb 2009 15:21:45 -0600 (CST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n19LLe3J016635 for ; Mon, 9 Feb 2009 15:21:45 -0600 Received: (qmail 24785 invoked by uid 0); 9 Feb 2009 21:21:33 -0000 Received: from 143.54.100.89 by www160.gmx.net with HTTP; Mon, 09 Feb 2009 22:21:33 +0100 (CET) Content-Type: text/plain; charset="iso-8859-1" Date: Mon, 09 Feb 2009 22:21:33 +0100 From: "Wolfgang Schechinger" In-Reply-To: <5B040805-95A9-4A0D-8CA7-5ABCDD4202CB@brennwald.org> Message-ID: <20090209212133.155110@gmx.net> MIME-Version: 1.0 References: <5B040805-95A9-4A0D-8CA7-5ABCDD4202CB@brennwald.org> Subject: Re: Re: Octave review To: help-octave@octave.org X-Authenticated: #1170353 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX1/5KRE8oGv5seT/midk+0qp7PrvglNqlVHDGk1cmF VnQcX4sIyyuP1i4HSL4TUG3X5S9PfA5vexBA== Content-Transfer-Encoding: 8bit X-GMX-UID: aqalfdx2RkkNZcWhYmRqmbdudWkvKJOF X-FuHaFi: 0.76 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 21:21:46 -0000 > This may be a nice feature, but it may also be considered as a > problem (especially if one uses Octave to write code that should also > work with Matlab). > I would not want to miss these proprietary features! Octave is not a Matlab replacement, even it might be widely considered as one and many users have discovered Octave while they were looking for a no-cost-substitute for Matlab. Thus I consider it more important to be able to run Matlab code within Octave but not vice versa. If downward compatibility to Matlab is required, one might request a switch or option to force it within Octave - a modus that can produce warnings when statements are used which are not compatible with Matlab. This would ensure cross-compatibility. Best regards, Wolfgang -- Jetzt 1 Monat kostenlos! GMX FreeDSL - Telefonanschluss + DSL für nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a From luis.montes@qdusa.com Mon Feb 9 16:14:51 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n19MEpBW021953 for ; Mon, 9 Feb 2009 16:14:51 -0600 (CST) Received: from nino.qdusa.com (64-73-239-179.static-ip.telepacific.net [64.73.239.179]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n19MEiFV031269 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 9 Feb 2009 16:14:47 -0600 Received: from [192.168.1.74] (64-73-239-178.static-ip.telepacific.net [64.73.239.178]) by nino.qdusa.com (8.12.11.20060308/8.12.11) with ESMTP id n19MEihn007371; Mon, 9 Feb 2009 14:14:44 -0800 Subject: Re: global variables From: "Luis A. Montes" To: "John W. Eaton" In-Reply-To: <18832.26358.335553.187783@segfault.lan> References: <1234196351.7121.16.camel@firmware> <18832.23426.607268.437909@segfault.lan> <18832.26358.335553.187783@segfault.lan> Content-Type: text/plain Organization: Quantum Design Date: Mon, 09 Feb 2009 14:15:22 -0800 Message-Id: <1234217722.7121.22.camel@firmware> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 22:14:53 -0000 On Mon, 2009-02-09 at 12:25 -0500, John W. Eaton wrote: > On 9-Feb-2009, John W. Eaton wrote: > > | The problem is with the use of the name "grid", which is Octave is > | treated specially by the parser because it is a "command" name and may > | be used like > | > | grid on > | > | intead of > | > | grid ("on") > | > | But it is a bug, because in this context, Octave should not be > | recongnizing grid as a command name. > > I checked in the following change for the current sources. I don't > know whether this patch will apply cleanly for earlier versions. > > http://hg.savannah.gnu.org/hgweb/octave/rev/1652e39b934e > > jwe Wow, talk about great free support!!! I did not actually needed the patch(cause just renaming grid fixed it), but I figured the least I can do now is to make sure that this patch fixes the problem. So I patched the source and recompiled, fixed one reject and it works! Thanks! From tmacchant@yahoo.co.jp Mon Feb 9 21:54:53 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1A3sqdL003435 for ; Mon, 9 Feb 2009 21:54:52 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1A3sqox016046 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 9 Feb 2009 21:54:52 -0600 Received: from web3806.mail.bbt.yahoo.co.jp (web3806.mail.bbt.yahoo.co.jp [202.93.85.236]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1A3sml2007972 for ; Mon, 9 Feb 2009 21:54:52 -0600 Received: (qmail 5065 invoked by uid 60001); 10 Feb 2009 03:54:41 -0000 Message-ID: <20090210035441.5063.qmail@web3806.mail.bbt.yahoo.co.jp> Received: from [133.6.57.2] by web3806.mail.bbt.yahoo.co.jp via HTTP; Tue, 10 Feb 2009 12:54:41 JST Date: Tue, 10 Feb 2009 12:54:41 +0900 (JST) From: Tatsuro MATSUOKA Subject: int64NDArray.cc cannot be complied on gcc-3.45 mingw for octave-3.1.52 To: help@octave.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, WEIRD_PORT Cc: MATSUOKA Tatsuro X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: tmacchant@yahoo.co.jp List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2009 03:54:55 -0000 Hello I have tried to build octave-3.1.52 by gcc-3.45 on mingw. The code of 'int64NDArray.cc' cannot be complied on gcc-3.45 mingw for octave-3.1.52 oct-inttypes.h: In function `bool operator!=(const octave_int&, const double&) [with T = int64_t]': intNDArray.cc:56: instantiated from `bool intNDArray::any_element_not_one_or_zero() const [with T = octave_int64]' int64NDArray.cc:32: instantiated from here oct-inttypes.h:1059: error: call of overloaded `mop(int64_t, const double&)' is ambiguous oct-inttypes.h:193: note: candidates are: static bool octave_int_cmp_op::mop(T, double) [with xop = octave_int_cmp_op::n e, T = long long int] oct-inttypes.h:198: note: static bool octave_int_cmp_op::mop(double, T) [with xop = octave_int_cmp_op::n e, T = double] oct-inttypes.h:211: note: static bool octave_int_cmp_op::mop(double, uint64_t) [with xop = octave_int_cm p_op::ne] oct-inttypes.h:212: note: static bool octave_int_cmp_op::mop(double, int64_t) [with xop = octave_int_cmp _op::ne] oct-inttypes.h:213: note: static bool octave_int_cmp_op::mop(int64_t, double) [with xop = octave_int_cmp _op::ne] oct-inttypes.h:214: note: static bool octave_int_cmp_op::mop(uint64_t, double) [with xop = octave_int_cm p_op::ne] make[2]: *** [int64NDArray.o] Error 1 make[2]: Leaving directory `/home/octaves/octave-3.1.52/liboctave' make[1]: *** [liboctave] Error 2 make[1]: Leaving directory `/home/octaves/octave-3.1.52' make: *** [all] Error 2 Any suggestions? Regards Tatsuro -------------------------------------- Power up the Internet with Yahoo! Toolbar. http://pr.mail.yahoo.co.jp/toolbar/ From jwe@octave.org Mon Feb 9 22:03:21 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1A43KCN005620 for ; Mon, 9 Feb 2009 22:03:20 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1A43Kls020071 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 9 Feb 2009 22:03:20 -0600 Received: from spaceymail-a7.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1A43JWo028938 for ; Mon, 9 Feb 2009 22:03:20 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a7.g.dreamhost.com (Postfix) with ESMTP id AEB8114299; Mon, 9 Feb 2009 20:03:18 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18832.64644.679170.41364@segfault.lan> Date: Mon, 9 Feb 2009 23:03:16 -0500 To: tmacchant@yahoo.co.jp Subject: int64NDArray.cc cannot be complied on gcc-3.45 mingw for octave-3.1.52 In-Reply-To: <20090210035441.5063.qmail@web3806.mail.bbt.yahoo.co.jp> References: <20090210035441.5063.qmail@web3806.mail.bbt.yahoo.co.jp> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org, MATSUOKA Tatsuro X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2009 04:03:22 -0000 On 10-Feb-2009, Tatsuro MATSUOKA wrote: | Hello | | I have tried to build octave-3.1.52 by gcc-3.45 on mingw. | | The code of 'int64NDArray.cc' cannot be complied on gcc-3.45 mingw for octave-3.1.52 How about using a more recent version of GCC? Isn't the current release 4.3.3? GCC 3.4.x was first released April 20 2004, and GCC 3.4.5 was released more than four years ago (November 30, 2005). jwe From tmacchant@yahoo.co.jp Mon Feb 9 23:56:08 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1A5u7qf000083 for ; Mon, 9 Feb 2009 23:56:08 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1A5u7TU005989 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 9 Feb 2009 23:56:07 -0600 Received: from web3803.mail.bbt.yahoo.co.jp (web3803.mail.bbt.yahoo.co.jp [202.93.85.233]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1A5u4gr003153 for ; Mon, 9 Feb 2009 23:56:07 -0600 Received: (qmail 31007 invoked by uid 60001); 10 Feb 2009 05:49:18 -0000 Message-ID: <20090210054918.31003.qmail@web3803.mail.bbt.yahoo.co.jp> Received: from [133.6.57.2] by web3803.mail.bbt.yahoo.co.jp via HTTP; Tue, 10 Feb 2009 14:49:18 JST Date: Tue, 10 Feb 2009 14:49:18 +0900 (JST) From: Tatsuro MATSUOKA Subject: Re: int64NDArray.cc cannot be complied on gcc-3.45 mingw for octave-3.1.52 To: "John W. Eaton" In-Reply-To: <18832.64644.679170.41364@segfault.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org, MATSUOKA Tatsuro X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: tmacchant@yahoo.co.jp List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2009 05:56:09 -0000 Hello In mingw official site, gcc-3.4.5 is still official and gcc-4.3.0 is technology candidate release. Benjamin's used GCC-4.3.0 TDM release. The TDM releases are not official but widely used for mingw build. Benjamin does not use the simple procedure: ./configure make make check make install-strip This is because he would like to use libstdc++.dll. I have tried to build octave by gcc-4.3.0-TDM by the simple procedure indicated the above but not been successful yet. For octave-3.1.51, I have tried to build the binaries by gcc-3.4.5 and it was successful. So I have tried by gcc-3.4.5 as a trial. Anyway the gcc-3 is certainly out of date, I also think. Benjamin and Michael are now discussing about gcc-4 mingw build of octave. Perhaps my role is as a building tester octave for windows is to be finished. I will move to my role to maintain OctaveForgeWiki, test prebuild binaries of octave for windows and add supplementary explanation like to how to use mkoctfile and pkg install command on windows platform and so on. Regards Tatsuro --- "John W. Eaton" wrote: > On 10-Feb-2009, Tatsuro MATSUOKA wrote: > > | Hello > | > | I have tried to build octave-3.1.52 by gcc-3.45 on mingw. > | > | The code of 'int64NDArray.cc' cannot be complied on gcc-3.45 mingw for octave-3.1.52 > > How about using a more recent version of GCC? Isn't the current > release 4.3.3? GCC 3.4.x was first released April 20 2004, and GCC > 3.4.5 was released more than four years ago (November 30, 2005). > > jwe > -------------------------------------- Power up the Internet with Yahoo! Toolbar. http://pr.mail.yahoo.co.jp/toolbar/ From highegg@gmail.com Tue Feb 10 00:32:49 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1A6WmvD008789 for ; Tue, 10 Feb 2009 00:32:48 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1A6WmGr023159 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 10 Feb 2009 00:32:48 -0600 Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.191]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1A6WjfT003404 for ; Tue, 10 Feb 2009 00:32:48 -0600 Received: by mu-out-0910.google.com with SMTP id g7so1439072muf.4 for ; Mon, 09 Feb 2009 22:32:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.178.17 with SMTP id f17mr449076mup.45.1234247564532; Mon, 09 Feb 2009 22:32:44 -0800 (PST) In-Reply-To: <20090210035441.5063.qmail@web3806.mail.bbt.yahoo.co.jp> References: <20090210035441.5063.qmail@web3806.mail.bbt.yahoo.co.jp> Date: Tue, 10 Feb 2009 07:32:44 +0100 Message-ID: <69d8d540902092232i4ef69b4ak243cb8d6345f51ef@mail.gmail.com> Subject: Re: int64NDArray.cc cannot be complied on gcc-3.45 mingw for octave-3.1.52 From: Jaroslav Hajek To: tmacchant@yahoo.co.jp Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, WEIRD_PORT, WHOIS_MYPRIVREG Cc: help@octave.org, MATSUOKA Tatsuro X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2009 06:32:50 -0000 On Tue, Feb 10, 2009 at 4:54 AM, Tatsuro MATSUOKA wrote: > Hello > > I have tried to build octave-3.1.52 by gcc-3.45 on mingw. > > The code of 'int64NDArray.cc' cannot be complied on gcc-3.45 mingw for octave-3.1.52 > > > oct-inttypes.h: In function `bool operator!=(const octave_int&, const double&) [with T = int64_t]': > intNDArray.cc:56: instantiated from `bool intNDArray::any_element_not_one_or_zero() const [with T > = octave_int64]' > int64NDArray.cc:32: instantiated from here > oct-inttypes.h:1059: error: call of overloaded `mop(int64_t, const double&)' is ambiguous > oct-inttypes.h:193: note: candidates are: static bool octave_int_cmp_op::mop(T, double) [with xop = > octave_int_cmp_op::n > e, T = long long int] > oct-inttypes.h:198: note: static bool octave_int_cmp_op::mop(double, T) [with xop = > octave_int_cmp_op::n > e, T = double] > oct-inttypes.h:211: note: static bool octave_int_cmp_op::mop(double, uint64_t) [with > xop = octave_int_cm > p_op::ne] > oct-inttypes.h:212: note: static bool octave_int_cmp_op::mop(double, int64_t) [with > xop = octave_int_cmp > _op::ne] > oct-inttypes.h:213: note: static bool octave_int_cmp_op::mop(int64_t, double) [with > xop = octave_int_cmp > _op::ne] > oct-inttypes.h:214: note: static bool octave_int_cmp_op::mop(uint64_t, double) [with > xop = octave_int_cm > p_op::ne] > make[2]: *** [int64NDArray.o] Error 1 > make[2]: Leaving directory `/home/octaves/octave-3.1.52/liboctave' > make[1]: *** [liboctave] Error 2 > make[1]: Leaving directory `/home/octaves/octave-3.1.52' > make: *** [all] Error 2 > > Any suggestions? > > Regards > > Tatsuro > This is a known problem. The code is, however, standard-conforming c++, it's just g++ 3.4 is not able to resolve the calls. See the earlier threads: http://www.nabble.com/error-when-compiling-Octave-in-Cygwin-tp20966037p20966037.html http://www.nabble.com/Cast-ambiguity-compilation-error-tp21532844p21537554.html I'm not really keen on obscuring standard-conforming code in the mainstream sources to satisfy an obsolete compiler. Would you be happy with a backward compatibility patch specifically for cygwin? cheers -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From tmacchant@yahoo.co.jp Tue Feb 10 00:43:41 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1A6hfok010627 for ; Tue, 10 Feb 2009 00:43:41 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1A6hffI027769 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 10 Feb 2009 00:43:41 -0600 Received: from web3810.mail.bbt.yahoo.co.jp (web3810.mail.bbt.yahoo.co.jp [202.93.85.240]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1A6hcWX012385 for ; Tue, 10 Feb 2009 00:43:40 -0600 Received: (qmail 38133 invoked by uid 60001); 10 Feb 2009 06:43:31 -0000 Message-ID: <20090210064331.38131.qmail@web3810.mail.bbt.yahoo.co.jp> Received: from [133.6.57.2] by web3810.mail.bbt.yahoo.co.jp via HTTP; Tue, 10 Feb 2009 15:43:31 JST Date: Tue, 10 Feb 2009 15:43:31 +0900 (JST) From: Tatsuro MATSUOKA Subject: Re: int64NDArray.cc cannot be complied on gcc-3.45 mingw for octave-3.1.52 To: Jaroslav Hajek In-Reply-To: <69d8d540902092232i4ef69b4ak243cb8d6345f51ef@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, WHOIS_MYPRIVREG Cc: help@octave.org, MATSUOKA Tatsuro X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: tmacchant@yahoo.co.jp List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2009 06:43:42 -0000 Hello --- Jaroslav Hajek wrote: > > This is a known problem. The code is, however, standard-conforming > c++, it's just g++ 3.4 is not able to resolve the calls. > > See the earlier threads: > http://www.nabble.com/error-when-compiling-Octave-in-Cygwin-tp20966037p20966037.html > http://www.nabble.com/Cast-ambiguity-compilation-error-tp21532844p21537554.html > > I'm not really keen on obscuring standard-conforming code in the > mainstream sources to satisfy an obsolete compiler. > Would you be happy with a backward compatibility patch specifically for cygwin? > It is not required to do so. Anyway thank you for your kindness. Regards Tatsuro -------------------------------------- Power up the Internet with Yahoo! Toolbar. http://pr.mail.yahoo.co.jp/toolbar/ From mikulik@physics.muni.cz Tue Feb 10 01:29:45 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1A7TjuA019925 for ; Tue, 10 Feb 2009 01:29:45 -0600 (CST) Received: from minas.ics.muni.cz (root@minas.ics.muni.cz [147.251.4.40]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1A7Tam1020009 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 10 Feb 2009 01:29:44 -0600 Received: from monoceros.physics.muni.cz (postfix@monoceros.physics.muni.cz [147.251.27.2]) by minas.ics.muni.cz (8.13.8/8.13.8/SuSE Linux 0.8) with ESMTP id n1A7TXSX002574 for ; Tue, 10 Feb 2009 08:29:35 +0100 Received: by monoceros.physics.muni.cz (Postfix, from userid 16500) id 98EF4C1AD64; Tue, 10 Feb 2009 08:29:33 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by monoceros.physics.muni.cz (Postfix) with ESMTP id 95D63C1B83F for ; Tue, 10 Feb 2009 08:29:33 +0100 (CET) Date: Tue, 10 Feb 2009 08:29:33 +0100 (CET) From: Petr Mikulik To: help-octave@octave.org Subject: gnuplot in Octave review Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Muni-Spam-TestIP: 147.251.27.2 X-Muni-Envelope-From: mikulik@physics.muni.cz X-Muni-Virus-Test: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (minas.ics.muni.cz [147.251.4.35]); Tue, 10 Feb 2009 08:29:35 +0100 (CET) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RCVD_IN_DNSWL_MED X-Mailman-Approved-At: Tue, 10 Feb 2009 09:19:46 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2009 07:29:46 -0000 "Octave by default uses the curiously-named gnuplot (it has nothing to do with the GNU project)" Your review is about Octave, so why do you put this funny personal opinion into this text? Writing just "Octave by default uses gnuplot" would be objective and neutral. There is enough information about gnuplot's name in the link. "but complex 3d plotting or animations are beyond gnuplot's reach." Gnuplot supports animated gifs since March 2005. There was the matter with gif patents earlier. Other animation functionality is in hands of Octave. Gnuplot is not a tool for 3D scene modelling. It has indeed some other limitations. However, many properties changed in recent years. Which "complex 3d plotting" does not it support? Can you give examples? You are welcome to contribute to both sides, Octave as well as gnuplot. --- Petr Mikulik From Wonder.Sigwebela@sugar.org.za Tue Feb 10 08:24:51 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1AEOpM1015610 for ; Tue, 10 Feb 2009 08:24:51 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1AEOohM015290 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 10 Feb 2009 08:24:50 -0600 Received: from smtp.sasa.org.za (smtp.sasa.org.za [196.26.52.102]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1AEOdn0019656 for ; Tue, 10 Feb 2009 08:24:49 -0600 Received: from sasa17.sasa.net (Not Verified[172.16.1.52]) by smtp.sasa.org.za with MailMarshal (v6, 4, 6, 5922) id ; Tue, 10 Feb 2009 16:24:32 +0200 Received: from sasa18.sasa.net (172.16.1.56) by sasa17.sasa.net (172.16.1.52) with Microsoft SMTP Server (TLS) id 8.1.240.5; Tue, 10 Feb 2009 16:24:32 +0200 Received: from sasa18.sasa.net ([172.16.1.56]) by sasa18.sasa.net ([172.16.1.56]) with mapi; Tue, 10 Feb 2009 16:24:31 +0200 From: Wonder Sigwebela To: "help@octave.org" Date: Tue, 10 Feb 2009 16:24:29 +0200 Subject: Octave- Stn number: 41562941 Thread-Topic: Octave- Stn number: 41562941 Thread-Index: AcmLi0ilZbOhaZrmRFmo149a0Olfkw== Message-ID: <2027E7BBA3E6CF42B46543996A1B2FA102F9C92330@sasa18.sasa.net> Accept-Language: en-US, en-ZA Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-ZA Content-Type: multipart/alternative; boundary="_000_2027E7BBA3E6CF42B46543996A1B2FA102F9C92330sasa18sasanet_" MIME-Version: 1.0 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, HTML_MESSAGE, ROUND_THE_WORLD_LOCAL X-Mailman-Approved-At: Tue, 10 Feb 2009 09:19:45 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2009 14:24:52 -0000 --_000_2027E7BBA3E6CF42B46543996A1B2FA102F9C92330sasa18sasanet_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Please help me, what does the message require me to do. I need to submit my assignment as soon as possible. Million thanks Wonder Sigwebela. octave-3.0.0.exe:5> help format AllocationBase 0x0, BaseAddress 0x715B0000, RegionSize 0x130000, State 0x= 10000 C:\Documents and Settings\WONDER_SIGWEBELA\Desktop\Octave\msys\bin\sed.ex= e: *** Couldn't reserve space for cygwin's heap, Win32 error 6 format is a built-in command Additional help for built-in functions and operators is available in the on-line version of the manual. Use the command `doc ' to search the manual index. ********************************************************************* This email and all contents are subject to the following disclaimer: Http://www.sasa.org.za/emaildisclaimer.asp ********************************************************************* --_000_2027E7BBA3E6CF42B46543996A1B2FA102F9C92330sasa18sasanet_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Please help me, what does the message require me to do.

 

I need to submit my assignment as soon as possible.

 

Million thanks

Wonder Sigwebela.

 

 

octave-3.0.0.exe:5> help format

AllocationBase 0x0, BaseAddress 0x715B0000, RegionSize 0x130000, State 0x10000

C:\Documents and Settings\WONDER_SIGWEBELA\Desktop\Octave\msys\bin\sed.exe: ***

Couldn't reserve space for cygwin's heap, Win32 error 6

format is a built-in command

 

Additional help for built-in functions and operators is

available in the on-line version of the manual.  Use the command

`doc <topic>' to search the manual index.


This email and all contents are su= bject to=20 the following disclaimer: Http://www.sasa.org.z= a/emaildisclaimer.asp


--_000_2027E7BBA3E6CF42B46543996A1B2FA102F9C92330sasa18sasanet_-- From soren@hauberg.org Tue Feb 10 09:26:35 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1AFQZOo028894 for ; Tue, 10 Feb 2009 09:26:35 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1AFQYI2017053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 10 Feb 2009 09:26:34 -0600 Received: from mailserver.fabermail.dk (cpe.atm4-0-71392.0x50c46ba6.bynxx17.customer.tele.dk [80.196.107.166]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1AFQV3i024881 for ; Tue, 10 Feb 2009 09:26:34 -0600 Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id 9A6C4D3A00; Tue, 10 Feb 2009 16:26:20 +0100 (CET) X-Virus-Scanned: by amavisd-new Received: from mailserver.fabermail.dk ([127.0.0.1]) by localhost (mailserver.fabermail.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v8Q6o9KZkyKg; Tue, 10 Feb 2009 16:26:19 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id 52426D3A01; Tue, 10 Feb 2009 16:26:19 +0100 (CET) Received: from [10.0.0.2] (1385165240.dhcp.dbnet.dk [82.143.241.184]) by mailserver.fabermail.dk (Postfix) with ESMTP id 08449D3A00; Tue, 10 Feb 2009 16:26:18 +0100 (CET) Subject: Re: Octave- Stn number: 41562941 From: =?ISO-8859-1?Q?S=F8ren?= Hauberg To: Wonder Sigwebela In-Reply-To: <2027E7BBA3E6CF42B46543996A1B2FA102F9C92330@sasa18.sasa.net> References: <2027E7BBA3E6CF42B46543996A1B2FA102F9C92330@sasa18.sasa.net> Content-Type: text/plain; charset="UTF-8" Date: Tue, 10 Feb 2009 16:26:21 +0100 Message-Id: <1234279581.27044.0.camel@sh-t400> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 8bit X-Seen-By: Mailfromd 3.1.3 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RDNS_DYNAMIC Cc: "help@octave.org" X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2009 15:26:36 -0000 tir, 10 02 2009 kl. 16:24 +0200, skrev Wonder Sigwebela: > Please help me, what does the message require me to do. I cannot help you with your error as I'm not a windows user. However, instead of using the 'help' command, you can find the documentation online at http://octave.sourceforge.net/doc/index.html Søren From michael.goffioul@gmail.com Tue Feb 10 09:58:21 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1AFwL9e005753 for ; Tue, 10 Feb 2009 09:58:21 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1AFwLJn030477 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 10 Feb 2009 09:58:21 -0600 Received: from mail-bw0-f161.google.com (mail-bw0-f161.google.com [209.85.218.161]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1AFwI6C018525 for ; Tue, 10 Feb 2009 09:58:20 -0600 Received: by bwz5 with SMTP id 5so3043430bwz.0 for ; Tue, 10 Feb 2009 07:58:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.181.199.19 with SMTP id b19mr2272872bkq.191.1234281492637; Tue, 10 Feb 2009 07:58:12 -0800 (PST) In-Reply-To: <2027E7BBA3E6CF42B46543996A1B2FA102F9C92330@sasa18.sasa.net> References: <2027E7BBA3E6CF42B46543996A1B2FA102F9C92330@sasa18.sasa.net> Date: Tue, 10 Feb 2009 15:58:12 +0000 Message-ID: <128f38bd0902100758t75a92d2br24e72578f2148df@mail.gmail.com> Subject: Re: Octave- Stn number: 41562941 From: Michael Goffioul To: Wonder Sigwebela Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: "help@octave.org" X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2009 15:58:23 -0000 What you can try is to move C:\Documents and Settings\WONDER_SIGWEBELA\Desktop\Octave\msys\bin\sed.exe into C:\Documents and Settings\WONDER_SIGWEBELA\Desktop\Octave\msys\bin\sed.exe.bak This will force the use of C:\Documents and Settings\WONDER_SIGWEBELA\Desktop\Octave\bin\sed.exe which might work better. Michael. On Tue, Feb 10, 2009 at 2:24 PM, Wonder Sigwebela wrote: > Please help me, what does the message require me to do. > > > > I need to submit my assignment as soon as possible. > > > > Million thanks > > Wonder Sigwebela. > > > > > > octave-3.0.0.exe:5> help format > > AllocationBase 0x0, BaseAddress 0x715B0000, RegionSize 0x130000, State > 0x10000 > > C:\Documents and Settings\WONDER_SIGWEBELA\Desktop\Octave\msys\bin\sed.exe: > *** > > Couldn't reserve space for cygwin's heap, Win32 error 6 > > format is a built-in command > > > > Additional help for built-in functions and operators is > > available in the on-line version of the manual. Use the command > > `doc ' to search the manual index. > > ________________________________ > > This email and all contents are subject to the following disclaimer: > Http://www.sasa.org.za/emaildisclaimer.asp > > ________________________________ > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > > From stefan.pofahl@googlemail.com Tue Feb 10 11:09:41 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1AH9fCo021770 for ; Tue, 10 Feb 2009 11:09:41 -0600 (CST) Received: from yx-out-1718.google.com (yx-out-1718.google.com [74.125.44.154]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1AH9dR8022561 for ; Tue, 10 Feb 2009 11:09:41 -0600 Received: by yx-out-1718.google.com with SMTP id 3so300886yxi.24 for ; Tue, 10 Feb 2009 09:09:39 -0800 (PST) MIME-Version: 1.0 Sender: stefan.pofahl@googlemail.com Received: by 10.150.225.14 with SMTP id x14mr287976ybg.146.1234285779347; Tue, 10 Feb 2009 09:09:39 -0800 (PST) Date: Tue, 10 Feb 2009 18:09:39 +0100 X-Google-Sender-Auth: acaeccde142c3d38 Message-ID: Subject: Strict monotonic X-Values (filter duplicate entries) From: Stefan Pofahl To: help-octave@octave.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: stefan@pofahl.de List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2009 17:09:42 -0000 Hello, I wonder, if there is a function to chance a vector into a strict monotonic vector. I found nothing, so I wrote my on routine (see below). If there is more elegant way, it would be fine, if someone can tell me. Regards, Stefan -- Tel.: 0731-3805149 Ochsensteige 48 89075 Ulm ============================================================= function my_test() printf("1.) ------------------------------------------------------------------\n") x_in = [1,2,3,4,3,5,7] sorted_x = sort(x_in) [x, ix] = monotonic(x_in) x_in(ix) endfunction function [x, ix ] = monotonic (x_in) # to be strict monotonic the vector has to be sorted and we don't want double values # sx = sorted x, xnd = x with no duplicates [sx, isx] = sort(x_in); # check if there are duplicate entries and if so eliminate them if (is_duplicate_entry(sx) != 0) ix = repmat(1,1,max(size(sx))); xnd = repmat(1,1,max(size(sx))); for i = 1:max(size(sx)) ix(i) = i; endfor ii = 0; for i = 1:max(size(sx)) xnd(ii+1) = sx(i); if (is_duplicate_entry(xnd(1:ii+1)) == 0) ii++; # Indices may have changed after sorting ix(ii) = isx(i); xnd(ii) = sx(i); endif endfor ix = ix(1:ii); x = xnd(1:ii); else ix = isx; x = sx; endif endfunction From soren@hauberg.org Tue Feb 10 11:27:33 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1AHRXAJ026128 for ; Tue, 10 Feb 2009 11:27:33 -0600 (CST) Received: from mailserver.fabermail.dk (cpe.atm4-0-71392.0x50c46ba6.bynxx17.customer.tele.dk [80.196.107.166]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1AHRVDI030936 for ; Tue, 10 Feb 2009 11:27:32 -0600 Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id 29823D3A00; Tue, 10 Feb 2009 18:27:15 +0100 (CET) X-Virus-Scanned: by amavisd-new Received: from mailserver.fabermail.dk ([127.0.0.1]) by localhost (mailserver.fabermail.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K30l+77bvYCz; Tue, 10 Feb 2009 18:27:14 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id 6AD2AD3A01; Tue, 10 Feb 2009 18:27:14 +0100 (CET) Received: from [10.0.0.2] (1385165240.dhcp.dbnet.dk [82.143.241.184]) by mailserver.fabermail.dk (Postfix) with ESMTP id 300FAD3A00; Tue, 10 Feb 2009 18:27:14 +0100 (CET) Subject: Re: Strict monotonic X-Values (filter duplicate entries) From: =?ISO-8859-1?Q?S=F8ren?= Hauberg To: stefan@pofahl.de In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Tue, 10 Feb 2009 18:27:18 +0100 Message-Id: <1234286838.27044.13.camel@sh-t400> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 8bit X-Seen-By: Mailfromd 3.1.3 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RDNS_DYNAMIC Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2009 17:27:34 -0000 tir, 10 02 2009 kl. 18:09 +0100, skrev Stefan Pofahl: > Hello, > > I wonder, if there is a function to chance a vector into a strict > monotonic vector. > I found nothing, so I wrote my on routine (see below). > If there is more elegant way, it would be fine, if someone can tell me. I haven't tested this, but could you do sort (unique (x)) ? Søren From highegg@gmail.com Tue Feb 10 12:03:57 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1AI3vJ5004884 for ; Tue, 10 Feb 2009 12:03:57 -0600 (CST) Received: from mail-fx0-f18.google.com (mail-fx0-f18.google.com [209.85.220.18]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1AI3sC8001284 for ; Tue, 10 Feb 2009 12:03:56 -0600 Received: by fxm11 with SMTP id 11so2821214fxm.0 for ; Tue, 10 Feb 2009 10:03:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.93.18 with SMTP id v18mr346705mul.111.1234289009026; Tue, 10 Feb 2009 10:03:29 -0800 (PST) In-Reply-To: <1234286838.27044.13.camel@sh-t400> References: <1234286838.27044.13.camel@sh-t400> Date: Tue, 10 Feb 2009 19:03:28 +0100 Message-ID: <69d8d540902101003l19cc731es6534a5dc583407c9@mail.gmail.com> Subject: Re: Strict monotonic X-Values (filter duplicate entries) From: Jaroslav Hajek To: =?ISO-8859-1?Q?S=F8ren_Hauberg?= Content-Type: text/plain; charset=ISO-8859-1 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1AI3vJ5004884 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2009 18:03:58 -0000 On Tue, Feb 10, 2009 at 6:27 PM, Søren Hauberg wrote: > tir, 10 02 2009 kl. 18:09 +0100, skrev Stefan Pofahl: >> Hello, >> >> I wonder, if there is a function to chance a vector into a strict >> monotonic vector. >> I found nothing, so I wrote my on routine (see below). >> If there is more elegant way, it would be fine, if someone can tell me. > > I haven't tested this, but could you do > > sort (unique (x)) > > ? > > Søren > unique alone suffices - the result is already sorted. cheers -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From jordigh@gmail.com Tue Feb 10 18:17:19 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1B0HJS6024528 for ; Tue, 10 Feb 2009 18:17:19 -0600 (CST) Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.154]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1B0HHkl030668 for ; Tue, 10 Feb 2009 18:17:18 -0600 Received: by yw-out-1718.google.com with SMTP id 5so83965ywm.24 for ; Tue, 10 Feb 2009 16:17:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.150.192.4 with SMTP id p4mr807176ybf.105.1234311436949; Tue, 10 Feb 2009 16:17:16 -0800 (PST) In-Reply-To: References: Date: Tue, 10 Feb 2009 18:17:16 -0600 Message-ID: <9543b3a40902101617m3927a402t53583488dfe32c6@mail.gmail.com> Subject: Re: gnuplot in Octave review From: =?UTF-8?Q?Jordi_Guti=C3=A9rrez_Hermoso?= To: Petr Mikulik Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 00:17:20 -0000 2009/2/10 Petr Mikulik : > "Octave by default uses the curiously-named gnuplot (it has nothing to do > with the GNU project)" > > Your review is about Octave, so why do you put this funny personal opinion > into this text? There's nothing opinionated about it except "curiously named", but maybe you think it's natural to use "gnu" for free software that doesn't have anything to with GNU. Many other people, however, often believe gnuplot has something to do with GNU. > Gnuplot is not a tool for 3D scene modelling. It has indeed some other > limitations. However, many properties changed in recent years. Which > "complex 3d plotting" does not it support? Can you give examples? You are > welcome to contribute to both sides, Octave as well as gnuplot. Unless it's changed recently, gnuplot doesn't do lighting and shading... as I recall, it also had problems, with rending multiple 3d surfaces and which surface should be visible and which not, but maybe that has changed recently too. It also seems a little slow to me when trying to render surfaces at high resolution (e.g. 100x100 meshgrid), especially noticeable when trying to rotate said surface. Gnuplot's limitations are obvious in various ways, and the gradual move to the OpenGL backend is a generalised acknowledgment of this. Not to mention that its output is ugly compared to OpenGL: http://platinum.linux.pl/~jordi/piccies/gnuplot-vs-octaviz.png Something I would like some day in Octave (I know, I know, "show us the code") is something like Matlab's movie-making abilities. I think gnuplot is a bit limited for that purpose. Right now I generate individual frames and stitch them together with mplayer or ffmpeg. Perhaps if I can assume a dependency on ffmpeg or mplayer, I could be able to code up m-files that did movies in Octave as in Matlab. There's nothing wrong with gnuplot other than its funny name and that it doesn't do everything we want it to do. It's otherwise a fine piece of software. :-) - Jordi G. H. From jwe@octave.org Tue Feb 10 21:22:41 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1B3Mf71002186 for ; Tue, 10 Feb 2009 21:22:41 -0600 (CST) Received: from spaceymail-a5.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1B3MfFR013558 for ; Tue, 10 Feb 2009 21:22:41 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a5.g.dreamhost.com (Postfix) with ESMTP id BBC6F8704B; Tue, 10 Feb 2009 19:22:40 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Message-ID: <18834.17535.289080.590058@segfault.lan> Date: Tue, 10 Feb 2009 22:22:39 -0500 To: Jordi =?iso-8859-1?Q?Guti=E9rrez?= Hermoso Subject: Re: gnuplot in Octave review In-Reply-To: <9543b3a40902101617m3927a402t53583488dfe32c6@mail.gmail.com> References: <9543b3a40902101617m3927a402t53583488dfe32c6@mail.gmail.com> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1B3Mf71002186 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Petr Mikulik , help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 03:22:43 -0000 On 10-Feb-2009, Jordi Gutiérrez Hermoso wrote: | but | maybe you think it's natural to use "gnu" for free software that | doesn't have anything to with GNU. Many other people, however, often | believe gnuplot has something to do with GNU. As I understand it, RMS first announced the GNU project in September 1983, but didn't start work on it until sometime in 1984. The gnuplot copyright statement includes the date 1986. Although I was using computers at network-connected universities starting in 1983, I didn't know about the GNU project until late in 1987 or early 1988. So it doesn't surprise me that the gnuplot authors were not thinking about naming conflicts or confusion with the (largely unknown) GNU project way back then. However, I found about about gnuplot around the same time as I discovered the GNU project, and I did think the two were somehow related. jwe From bharat@arithos.com Tue Feb 10 21:33:18 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1B3XH4X004748 for ; Tue, 10 Feb 2009 21:33:17 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1B3XHm2018800 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 10 Feb 2009 21:33:17 -0600 Received: from randy.asmallorange.com (randy.asmallorange.com [64.22.96.78]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1B3XDd3015517 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 10 Feb 2009 21:33:17 -0600 Received: from localhost ([127.0.0.1]:57449 helo=arithos.com) by randy.asmallorange.com with esmtpa (Exim 4.69) (envelope-from ) id 1LX5qY-0007b7-Uw; Tue, 10 Feb 2009 22:33:11 -0500 Received: from 59.92.130.56 ([59.92.130.56]) (SquirrelMail authenticated user bharat@arithos.com) by arithos.com with HTTP; Tue, 10 Feb 2009 22:33:11 -0500 (EST) Message-ID: <50537.59.92.130.56.1234323191.squirrel@arithos.com> In-Reply-To: <128f38bd0902100758t75a92d2br24e72578f2148df@mail.gmail.com> References: <2027E7BBA3E6CF42B46543996A1B2FA102F9C92330@sasa18.sasa.net> <128f38bd0902100758t75a92d2br24e72578f2148df@mail.gmail.com> Date: Tue, 10 Feb 2009 22:33:11 -0500 (EST) Subject: Re: Octave- Stn number: 41562941 From: bharat@arithos.com To: "Michael Goffioul" User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - randy.asmallorange.com X-AntiAbuse: Original Domain - octave.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - arithos.com X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Wonder Sigwebela , "help@octave.org" X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 03:33:19 -0000 Thanks, This worked, Also I suppose info.exe also needs to be renamed to info.exe.bak and "doc fun_name" is giving same cygwin heap error. Rgds Bharat From michael.goffioul@gmail.com Wed Feb 11 02:51:13 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1B8pCPq017585 for ; Wed, 11 Feb 2009 02:51:13 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1B8pCCu019530 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 11 Feb 2009 02:51:12 -0600 Received: from mail-bw0-f161.google.com (mail-bw0-f161.google.com [209.85.218.161]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1B8pBr3005667 for ; Wed, 11 Feb 2009 02:51:12 -0600 Received: by bwz5 with SMTP id 5so111599bwz.0 for ; Wed, 11 Feb 2009 00:51:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.216.19 with SMTP id o19mr2041113bkg.54.1234342265516; Wed, 11 Feb 2009 00:51:05 -0800 (PST) In-Reply-To: <50537.59.92.130.56.1234323191.squirrel@arithos.com> References: <2027E7BBA3E6CF42B46543996A1B2FA102F9C92330@sasa18.sasa.net> <128f38bd0902100758t75a92d2br24e72578f2148df@mail.gmail.com> <50537.59.92.130.56.1234323191.squirrel@arithos.com> Date: Wed, 11 Feb 2009 08:51:05 +0000 Message-ID: <128f38bd0902110051p270080b8ya4a09342901488b2@mail.gmail.com> Subject: Re: Octave- Stn number: 41562941 From: Michael Goffioul To: bharat@arithos.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Wonder Sigwebela , "help@octave.org" X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 08:51:14 -0000 Indeed. Those software are not compiled by me, these are coming from standard MSYS distribution. Maybe the version I'm shipping is too old. MSYS tools are only needed if you intend to compile additional packages from octave-forge. If you don't, then you can disable it during installation. Octave will be installed anyway with the required tools to view help strings (sed and makeinfo, which are compiled by me, this time). Michael. On Wed, Feb 11, 2009 at 3:33 AM, wrote: > Thanks, > > This worked, Also I suppose info.exe also needs to be renamed > to info.exe.bak and "doc fun_name" is giving same cygwin heap > error. > > Rgds > Bharat > > From sergstesh@yahoo.com Wed Feb 11 06:14:40 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1BCEe02001961 for ; Wed, 11 Feb 2009 06:14:40 -0600 (CST) Received: from web35203.mail.mud.yahoo.com (web35203.mail.mud.yahoo.com [66.163.179.82]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1BCEcUO017903 for ; Wed, 11 Feb 2009 06:14:39 -0600 Received: (qmail 55017 invoked by uid 60001); 11 Feb 2009 12:14:33 -0000 X-YMail-OSG: BRjJB7QVM1lgtP0cHAMqV8IgKsbbzW2UfL5xkoqE5EWb.zaMIeMY9MyHGx8A7r8mMyRZftMMSc2SlkzOMrBNqa8EdSe1sGHwg_EzgqlESKfTrMhiolx9Tr1EcJruy60fakciIjE3YWHxcsDz1aloIozytxT87JxH_tHoUqgzTFYVN5ZvGfdZz1RVsOYma_61oWRzltpAVbndjgg- Received: from [87.69.49.127] by web35203.mail.mud.yahoo.com via HTTP; Wed, 11 Feb 2009 04:14:33 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Wed, 11 Feb 2009 04:14:33 -0800 (PST) From: Sergei Steshenko Subject: Re: gnuplot in Octave review To: =?iso-8859-1?Q?Jordi_Guti=E9rrez_Hermoso?= In-Reply-To: <9543b3a40902101617m3927a402t53583488dfe32c6@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Message-ID: <306331.54549.qm@web35203.mail.mud.yahoo.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1BCEe02001961 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: sergstesh@yahoo.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 12:14:41 -0000 --- On Tue, 2/10/09, Jordi Gutiérrez Hermoso wrote: > From: Jordi Gutiérrez Hermoso > Subject: Re: gnuplot in Octave review > To: "Petr Mikulik" > Cc: help-octave@octave.org > Date: Tuesday, February 10, 2009, 4:17 PM > 2009/2/10 Petr Mikulik : > > "Octave by default uses the curiously-named > gnuplot (it has nothing to do > > with the GNU project)" > > > > Your review is about Octave, so why do you put this > funny personal opinion > > into this text? > > There's nothing opinionated about it except > "curiously named", but > maybe you think it's natural to use "gnu" for > free software that > doesn't have anything to with GNU. Many other people, > however, often > believe gnuplot has something to do with GNU. > > > Gnuplot is not a tool for 3D scene modelling. It has > indeed some other > > limitations. However, many properties changed in > recent years. Which > > "complex 3d plotting" does not it support? > Can you give examples? You are > > welcome to contribute to both sides, Octave as well as > gnuplot. > > Unless it's changed recently, gnuplot doesn't do > lighting and > shading... as I recall, it also had problems, with rending > multiple 3d > surfaces and which surface should be visible and which not, > but maybe > that has changed recently too. It also seems a little slow > to me when > trying to render surfaces at high resolution (e.g. 100x100 > meshgrid), > especially noticeable when trying to rotate said surface. > > Gnuplot's limitations are obvious in various ways, and > the gradual > move to the OpenGL backend is a generalised acknowledgment > of this. > Not to mention that its output is ugly compared to OpenGL: > > > http://platinum.linux.pl/~jordi/piccies/gnuplot-vs-octaviz.png > > Something I would like some day in Octave (I know, I know, > "show us > the code") is something like Matlab's movie-making > abilities. I think > gnuplot is a bit limited for that purpose. Right now I > generate > individual frames and stitch them together with mplayer or > ffmpeg. > Perhaps if I can assume a dependency on ffmpeg or mplayer, > I could be > able to code up m-files that did movies in Octave as in > Matlab. > > There's nothing wrong with gnuplot other than its funny > name and that > it doesn't do everything we want it to do. It's > otherwise a fine piece > of software. :-) > > - Jordi G. H. > _______________________________________________ Whatever 'gnuplot' limitations are it has one _great_ advantage - it's a separate process. I once had 200+ 'gnuplot' windows created by just one 'octave' session, cumulative memory consumption of the session + the windows was much more that 4GB (architectural limit of a 32 bits system), and it was on a 32 bits system. So, I think it would be nice to have in the future an equally robust solution. I.e. I am in favor of plotting system implemented as separate processes. Jordi, if you agree with my praise for the present 'octave' + 'gnuplot' combination, you are more than welcome to add it to your review. Regards, Sergei. From oscarbayonacandel@hotmail.com Wed Feb 11 08:36:18 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1BEaI7B005812 for ; Wed, 11 Feb 2009 08:36:18 -0600 (CST) Received: from col0-omc2-s10.col0.hotmail.com (col0-omc2-s10.col0.hotmail.com [65.55.34.84]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1BEaFV5011741 for ; Wed, 11 Feb 2009 08:36:18 -0600 Received: from COL118-W79 ([65.55.34.71]) by col0-omc2-s10.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 11 Feb 2009 06:36:09 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_940dad7b-c4c6-4372-8623-8e89fff00dca_" X-Originating-IP: [84.123.64.133] From: Oscar Bayona Candel To: oCTAVE Subject: Plot dubt Date: Wed, 11 Feb 2009 15:36:09 +0100 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 11 Feb 2009 14:36:09.0994 (UTC) FILETIME=[14BF7EA0:01C98C56] X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 14:36:20 -0000 --_940dad7b-c4c6-4372-8623-8e89fff00dca_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I all I want to use in a same plot a bar/hstogram graph and a line graph =20 Imagine I have three vectors: =20 X=3D[11 12 17 14 9 15]=3B =20 Y=3D[12 11 12 14 10 9]=3B =20 Z=3D[6 11 8 10 7 9]=3B =20 I want to make a plot with the trhee variables bu the first I want to make = an hist or bar chart the other two with lines in the same graph. =20 Anyone can please help me=2C thanks in advance for you help=A1=A1=A1=A1=20 =20 =20 Other question this is secundary a 2-D plot always have two y axis (left an= d right axis) how can I repet the Y values in both? _________________________________________________________________ Consigue gratis el nuevo Messenger. =A1Desc=E1rgatelo!=20 http://download.live.com/= --_940dad7b-c4c6-4372-8623-8e89fff00dca_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I all I want to use in a same plot a bar/hstogram graph and a lin= e graph
 =3B
Imagine I have =3Bthree vectors:
 =3B
X=3D[11 12 17 14 9 15]=3B
 =3B
Y=3D[12 11 12 14 =3B10 9]=3B
 =3B
Z=3D[6 11 =3B8 10 =3B7 9]=3B
 =3B
I want to make a plot with the trhee variables bu the first I =3Bwant t= o make an hist or bar chart the other two with lines in the same graph.
 =3B
Anyone can please help me=2C thanks in advance for you help=A1=A1=A1=A1&nbs= p=3B
 =3B
 =3B
Other question this is secundary a 2-D plot always have two y axis (left an= d right axis) how can I repet the Y values in both?


Actual=EDzate=2C descubre el nuevo Windows Live Messenger. =A1Desc=E1rgatelo ya! = --_940dad7b-c4c6-4372-8623-8e89fff00dca_-- From jordigh@gmail.com Wed Feb 11 09:04:34 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1BF4YUA012498 for ; Wed, 11 Feb 2009 09:04:34 -0600 (CST) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.181]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1BF4XE2010445 for ; Wed, 11 Feb 2009 09:04:34 -0600 Received: by el-out-1112.google.com with SMTP id v27so258429ele.24 for ; Wed, 11 Feb 2009 07:04:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.150.146.14 with SMTP id t14mr1066373ybd.106.1234364672848; Wed, 11 Feb 2009 07:04:32 -0800 (PST) In-Reply-To: <306331.54549.qm@web35203.mail.mud.yahoo.com> References: <9543b3a40902101617m3927a402t53583488dfe32c6@mail.gmail.com> <306331.54549.qm@web35203.mail.mud.yahoo.com> Date: Wed, 11 Feb 2009 09:04:32 -0600 Message-ID: <9543b3a40902110704r1839eb7fl7afcbf71b0794631@mail.gmail.com> Subject: Re: gnuplot in Octave review From: =?UTF-8?Q?Jordi_Guti=C3=A9rrez_Hermoso?= To: sergstesh@yahoo.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 15:04:35 -0000 2009/2/11 Sergei Steshenko : > I once had 200+ 'gnuplot' windows created by just one 'octave' session, > cumulative memory consumption of the session + the windows was much more that 4GB (architectural limit of a 32 bits system), and it was on a > 32 bits system. I don't understand. Why is it good that the memory usage is much more than 4 GB? How could it be more than 4 GB on a 32 bit system? Wouldn't that bring your system to a trash? Moreover, why did you have 200 windows open? And why would a separate process be better to have 200 windows open? - Jordi G. H. From ilnseher@eit.uni-kl.de Wed Feb 11 09:24:32 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1BFOWoq016498 for ; Wed, 11 Feb 2009 09:24:32 -0600 (CST) Received: from mailgw1.uni-kl.de (mailgw1.uni-kl.de [131.246.120.220]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1BFOMsq020694 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 11 Feb 2009 09:24:32 -0600 Received: from postamt.eit.uni-kl.de (postamt.eit.uni-kl.de [131.246.73.100]) by mailgw1.uni-kl.de (8.13.8/8.13.8/Debian-3) with ESMTP id n1BFOHoF009752; Wed, 11 Feb 2009 16:24:17 +0100 Received: from [172.16.4.205] (zmk199.eit.uni-kl.de [131.246.73.199]) by postamt.eit.uni-kl.de (Postfix) with ESMTP id A531033871; Wed, 11 Feb 2009 16:24:17 +0100 (CET) Subject: Re: gnuplot in Octave review From: Thomas Ilnseher To: Jordi =?ISO-8859-1?Q?Guti=E9rrez?= Hermoso In-Reply-To: <9543b3a40902110704r1839eb7fl7afcbf71b0794631@mail.gmail.com> References: <9543b3a40902101617m3927a402t53583488dfe32c6@mail.gmail.com> <306331.54549.qm@web35203.mail.mud.yahoo.com> <9543b3a40902110704r1839eb7fl7afcbf71b0794631@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" Date: Wed, 11 Feb 2009 16:24:16 +0100 Message-Id: <1234365856.5680.101.camel@pcmik05.zmk.uni-kl.de> Mime-Version: 1.0 X-Mailer: Evolution 2.24.2 Content-Transfer-Encoding: 8bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RCVD_IN_DNSWL_MED Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 15:24:34 -0000 Am Mittwoch, den 11.02.2009, 09:04 -0600 schrieb Jordi Gutiérrez Hermoso: > 2009/2/11 Sergei Steshenko : > > I once had 200+ 'gnuplot' windows created by just one 'octave' session, > > cumulative memory consumption of the session + the windows was much more that 4GB (architectural limit of a 32 bits system), and it was on a > > 32 bits system. > > I don't understand. Why is it good that the memory usage is much more > than 4 GB? That isn't good, it's just the case when you have 200 windows open * > How could it be more than 4 GB on a 32 bit system? Wouldn't > that bring your system to a trash? No, It was the combined memory consumption of all 200 processes. even if every process 30 MByte, that will sum up to 6 GB. modern x86 processors can access more than 4 gb, you just need to plug that much ram in there. But You can't give a process access to more than 4 GB easily. > > Moreover, why did you have 200 windows open? dunno > And why would a separate > process be better to have 200 windows open? if the combined memory requirement for 200 Windows is > 4 GB, than this is better, else the system will crash. *) The executable code (.text) is loaded once into the physical memory, and then mapped into the adress space of every of your 200 processes. Thus, if eg. the .text is 10 MB, and you just sum up the address spaces (MEM), then you will end up with 2 GB even if it does just occupy 10 MB physical ram. IF all those 200 wins are generated by one process, then this will implode to only 10 MB address space (MEM). Same is true for shared libs (that's the idea behind shared libs, btw). If a 1 MB lib (with PIC) is mapped into the address spaces of different processes, and you sum up all the different address space sizes, you count the same lib over and over again. if the lib has textrels, you are doomed, but the counting is correct. > > - Jordi G. H. > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > -- Thomas Ilnseher From sergstesh@yahoo.com Wed Feb 11 09:49:16 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1BFnGBC022251 for ; Wed, 11 Feb 2009 09:49:16 -0600 (CST) Received: from web35207.mail.mud.yahoo.com (web35207.mail.mud.yahoo.com [66.163.179.86]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1BFnEYH024808 for ; Wed, 11 Feb 2009 09:49:16 -0600 Received: (qmail 5971 invoked by uid 60001); 11 Feb 2009 15:49:09 -0000 X-YMail-OSG: 3IjMmrMVM1lk4GtPDTjUrk.vKfskdnRs4d1t5_OTm4EM9aXk065F4NaUPeMSUCcyNvb5qOhnabylTw7lrIZ4HiUbyouOMRxhbAK253LarcP3cGIJSuvuNx4lPnrcgH2.s73ozUzKkXQQQHAIykW8xd3_lFZ7BKHB1r1_EeFR6lVT8lPdDFMbW8mVMKRG7oIU0Wa3ZwY274Tz5avrGg-- Received: from [87.69.49.127] by web35207.mail.mud.yahoo.com via HTTP; Wed, 11 Feb 2009 07:49:09 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Wed, 11 Feb 2009 07:49:09 -0800 (PST) From: Sergei Steshenko Subject: Re: gnuplot in Octave review To: =?iso-8859-1?Q?Jordi_Guti=E9rrez_Hermoso?= In-Reply-To: <9543b3a40902110704r1839eb7fl7afcbf71b0794631@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Message-ID: <637774.5895.qm@web35207.mail.mud.yahoo.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1BFnGBC022251 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: sergstesh@yahoo.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 15:49:18 -0000 --- On Wed, 2/11/09, Jordi Gutiérrez Hermoso wrote: > From: Jordi Gutiérrez Hermoso > Subject: Re: gnuplot in Octave review > To: sergstesh@yahoo.com > Cc: help-octave@octave.org > Date: Wednesday, February 11, 2009, 7:04 AM > 2009/2/11 Sergei Steshenko : > > I once had 200+ 'gnuplot' windows created by > just one 'octave' session, > > cumulative memory consumption of the session + the > windows was much more that 4GB (architectural limit of a 32 > bits system), and it was on a > > 32 bits system. > > I don't understand. Why is it good that the memory > usage is much more > than 4 GB? How could it be more than 4 GB on a 32 bit > system? Wouldn't > that bring your system to a trash? > > Moreover, why did you have 200 windows open? And why would > a separate > process be better to have 200 windows open? > > - Jordi G. H. Jordi, if you have a 32 bits system, the 4GB limit is _per process_. I had 8GB of swap in addition to 2GB of physical RAM. I had 200+ plot windows open because I wanted to see results from a number of inner loops. So, in this case the fact that 'gnuplot' is a separate process _did_ help. Had plotting been a part of 'octave' process, the whole run would have failed at 4GB memory consumption. With separate processes the OS allocates space per process, and since I wasn't looking at all the plots simultaneously, the processes of inactive plot windows were swapped out by the OS almost immediately. So, even though this conglomerate of processes consumed much more than 4GB, there was even no extensive thrashing - 'octave' was running at 100% CPU because it was _the_ active process. So, again, I think it's a _great_ advantage that currently plotting is implemented as separate processes. Regards, Sergei. From bounces@nabble.com Tue Feb 10 13:44:07 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1AJi7Bc026684 for ; Tue, 10 Feb 2009 13:44:07 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1AJhwip019912 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 10 Feb 2009 13:44:07 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LWyWT-0004t4-UV for help-octave@octave.org; Tue, 10 Feb 2009 11:43:57 -0800 Message-ID: <21939511.post@talk.nabble.com> Date: Tue, 10 Feb 2009 11:43:57 -0800 (PST) From: alberto_gh To: help-octave@octave.org Subject: Re: octaviz and color In-Reply-To: <435B143F.1010806@sbcglobal.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: albertogomezherrero@gmail.com References: <20051017163442.GQ3896@purple.com> <435B143F.1010806@sbcglobal.net> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-Mailman-Approved-At: Wed, 11 Feb 2009 10:06:52 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2009 19:44:08 -0000 Hi, Could you be more specific in how to assign scalar inputs and modifying a color scheme please? I have tried to plot only one triangle at each time with one color based in my curvature value at each of that triangle's peaks but I don't get a good result. Is there any way to do it as if it was a 4d plot, where the fourth dimension, represented as a color, takes values from a vector? Thanks very much Alberto Jonathan Stickel wrote: > > I would have responded sooner, but I have been away at a conference ... > > Jeff Abrahamson wrote: >> I've been playing with octaviz all morning. It's very nice. My need >> is to image surfaces for which I have triangular meshes, so I find >> myself using vtk_trisurf mostly. >> >> Near as I can tell, though, vtk_trisurf.m ignores anything I say about >> color. Am I confused? > > There are currently two ways to give color information to vtk_surf and > vtk_trisurf: either a set of scalars corresponding to the individual > points, or an [R,G,B] vector defining a single color for the entire > plot. For the former, the scalars are mapped through a color scheme to > produce the final color of the surface. In Octaviz CVS there is now a > function to change the color mapping (vtk_colormap). > >> >> What I want to be able to do is color certain triangles special >> colors, such as have a triangulated shape that is all light gray but a >> few regions I'll want to highlight in blue and a few others I'll want >> to highlight in red. >> >> As a toy example, suppose I want to discover regions of high >> curvature. I'd then want to highlight triangles adjacent to high >> curvature areas so I can see how well my curvature program works. >> > > Assigning scalar inputs and a color scheme may be sufficient for you. > Assign high scalar values to points of high curvature and low scalar > values elsewhere. Then choose a color scheme that you like (from > octave-forge functions). You could also define your own colormap. > > It is possible to use low level vtk programming to assign individual > points (or triangles) certain colors, but for that you will need to > learn VTK. I think you will get what you want quicker by using the > available scripts. > > Jonathan > > > > ------------------------------------------------------------- > Octave is freely available under the terms of the GNU GPL. > > Octave's home on the web: http://www.octave.org > How to fund new projects: http://www.octave.org/funding.html > Subscription information: http://www.octave.org/archive.html > ------------------------------------------------------------- > > > -- View this message in context: http://www.nabble.com/octaviz-and-color-tp1142608p21939511.html Sent from the Octave - General mailing list archive at Nabble.com. From derik.cloete@gmail.com Wed Feb 11 01:07:36 2009 Received: from mercury.cae.wisc.edu (mercury.cae.wisc.edu [144.92.12.48]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1B77a69023679 for ; Wed, 11 Feb 2009 01:07:36 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1B77arV019998 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 11 Feb 2009 01:07:36 -0600 Received: from mail-bw0-f161.google.com (mail-bw0-f161.google.com [209.85.218.161]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1B77XiT018806 for ; Wed, 11 Feb 2009 01:07:35 -0600 Received: by bwz5 with SMTP id 5so63405bwz.0 for ; Tue, 10 Feb 2009 23:07:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.106.68 with SMTP id w4mr2251150fao.20.1234336047936; Tue, 10 Feb 2009 23:07:27 -0800 (PST) Date: Wed, 11 Feb 2009 09:07:27 +0200 Message-ID: Subject: Octave on Windiws mobile From: Derik Cloete To: help@octave.org Content-Type: multipart/alternative; boundary=001636c594e2abb55f04629f411a X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, HTML_MESSAGE X-Mailman-Approved-At: Wed, 11 Feb 2009 10:06:52 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 07:07:37 -0000 --001636c594e2abb55f04629f411a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Good Day Sir, I am a second year engineering student and we are learning to use Octave at the moment. I also own a HTC (Hermes 200) Windows mobile enabled Pocket PC and I was wondering if there is any sort of support for Windows Mobile devices to run Octave. This would Really help me alot since I would be able to programme in class while the Lecturer is bussy explaining. Thank you for your time, Regards -- Derik Cloete 0728768115 derik.cloete@gmail.com VITRA --001636c594e2abb55f04629f411a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Good Day Sir,


I am a second year engineering student and we are = learning to use Octave at the moment. I also own a HTC (Hermes 200) Windows= mobile enabled Pocket PC and I was wondering if there is any sort of suppo= rt for Windows Mobile devices to run Octave. This would Really help me alot= since I would be able to programme in class while the Lecturer is bussy ex= plaining.


Thank you for your time, 

Regards 


--
Derik Cloete

0728768115
derik.cloete@gmail.com
VITRA
--001636c594e2abb55f04629f411a-- From bounces@nabble.com Wed Feb 11 10:19:18 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1BGJItv029641 for ; Wed, 11 Feb 2009 10:19:18 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1BGJASk026280 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 11 Feb 2009 10:19:18 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LXHnq-0007Yr-Cz for help-octave@octave.org; Wed, 11 Feb 2009 08:19:10 -0800 Message-ID: <21958235.post@talk.nabble.com> Date: Wed, 11 Feb 2009 08:19:10 -0800 (PST) From: tarabas To: help-octave@octave.org Subject: Plotting using octave within c++ and others.. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: blasdas@gmail.com X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-Mailman-Approved-At: Wed, 11 Feb 2009 10:32:32 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 16:19:19 -0000 Hi all, I am a new user (aka newbie) to the octace c++, meaning i just use the c++ library for my code. I have a couple of questions. For someone experienced i can imagine this wud be a piece of cake:-) 1) Is there a way to plot using octave calls from within c++ program e.g. using feval..?? That wud be very handy:-) a simple example: #include #include using namespace std; int main(argc, argv) { octave_main (argc, argv, 1);//this throws the octave message but can be avoided ColumnVector x(2), y(2); x(0) =1; x(1)=2; y(0) =10; y(1)=20; octave_value_list f_arg, f_ret; f_arg(0) = octave_value(x); f_arg(1) = octave_value(y); f_ret=feval("plot",f_arg,1); if (!error_state ) { cout << "ok" <; Wed, 11 Feb 2009 10:41:32 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1BGfWgQ016845 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 11 Feb 2009 10:41:32 -0600 Received: from mailserver.fabermail.dk (cpe.atm4-0-71392.0x50c46ba6.bynxx17.customer.tele.dk [80.196.107.166]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1BGfT8B003612 for ; Wed, 11 Feb 2009 10:41:32 -0600 Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id 3E87AD3A00; Wed, 11 Feb 2009 17:41:18 +0100 (CET) X-Virus-Scanned: by amavisd-new Received: from mailserver.fabermail.dk ([127.0.0.1]) by localhost (mailserver.fabermail.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rIjlddMuQD1g; Wed, 11 Feb 2009 17:41:17 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id 5EA48D3A01; Wed, 11 Feb 2009 17:41:17 +0100 (CET) Received: from [10.0.0.2] (1385165240.dhcp.dbnet.dk [82.143.241.184]) by mailserver.fabermail.dk (Postfix) with ESMTP id 1873FD3A00; Wed, 11 Feb 2009 17:41:16 +0100 (CET) Subject: Re: octave memory From: =?ISO-8859-1?Q?S=F8ren?= Hauberg To: jean francois sauvage , help@octave.org In-Reply-To: References: <1234368664.7424.0.camel@sh-t400> Content-Type: text/plain; charset="UTF-8" Date: Wed, 11 Feb 2009 17:41:20 +0100 Message-Id: <1234370480.7424.1.camel@sh-t400> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 8bit X-Seen-By: Mailfromd 3.1.3 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RDNS_DYNAMIC X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 16:41:33 -0000 ons, 11 02 2009 kl. 17:31 +0100, skrev jean francois sauvage: > 2) Actually, the "who" command gives information about the size of > variables. This is not exactly what I need. I need to know how much > memory has been allocated while the execution of a program. > > the function memory() of IDL returns 4 arguments : > - the actual amount of dynamic memory used by IDL > - the number of memory allocation since last call to memory() > - the number of memory unallocation since last call to memory() > - the maximum amount of dynamic memory readched since last call to memory() > > I am looking for something similar (particularly for the first and > fourth arguments) in octave. This I don't know how to do. I'm CC-ing the help list in case somebody has any ideas? Søren From jwe@octave.org Wed Feb 11 10:45:58 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1BGjwk3006594 for ; Wed, 11 Feb 2009 10:45:58 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1BGjwBW019606 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 11 Feb 2009 10:45:58 -0600 Received: from spaceymail-a7.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1BGjtp3009433 for ; Wed, 11 Feb 2009 10:45:58 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a7.g.dreamhost.com (Postfix) with ESMTP id 59310142B9; Wed, 11 Feb 2009 08:45:54 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Message-ID: <18835.193.233428.669105@segfault.lan> Date: Wed, 11 Feb 2009 11:45:53 -0500 To: =?iso-8859-1?Q?S=F8ren?= Hauberg Subject: Re: octave memory In-Reply-To: <1234370480.7424.1.camel@sh-t400> References: <1234368664.7424.0.camel@sh-t400> <1234370480.7424.1.camel@sh-t400> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1BGjwk3006594 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org, jean francois sauvage X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 16:45:59 -0000 On 11-Feb-2009, Søren Hauberg wrote: | ons, 11 02 2009 kl. 17:31 +0100, skrev jean francois sauvage: | > 2) Actually, the "who" command gives information about the size of | > variables. This is not exactly what I need. I need to know how much | > memory has been allocated while the execution of a program. | > | > the function memory() of IDL returns 4 arguments : | > - the actual amount of dynamic memory used by IDL | > - the number of memory allocation since last call to memory() | > - the number of memory unallocation since last call to memory() | > - the maximum amount of dynamic memory readched since last call to memory() | > | > I am looking for something similar (particularly for the first and | > fourth arguments) in octave. Octave doesn't keep track of these statistics. Why do you think you need this information? jwe From dmelliott@charter.net Wed Feb 11 11:22:49 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1BHMmF8015636 for ; Wed, 11 Feb 2009 11:22:48 -0600 (CST) Received: from mta11.charter.net (mta11.charter.net [216.33.127.80]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1BHMlgb010852 for ; Wed, 11 Feb 2009 11:22:48 -0600 Received: from aarprv04.charter.net ([10.20.200.74]) by mta11.charter.net (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20090211172229.TVFW21265.mta11.charter.net@aarprv04.charter.net> for ; Wed, 11 Feb 2009 12:22:29 -0500 Received: from cb289178a ([96.42.67.115]) by aarprv04.charter.net with SMTP id <20090211172229.SBBU25639.aarprv04.charter.net@cb289178a> for ; Wed, 11 Feb 2009 12:22:29 -0500 Message-ID: <5FC2D1BE06634ACDA8F20649A931CFF5@cb289178a> From: "dmelliott" To: Subject: I need Help Help Date: Wed, 11 Feb 2009 11:30:37 -0600 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000A_01C98C3C.29AC8BB0" X-Priority: 3 X-Unsent: 1 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-Vipre-Scanned: 42EA9CC4000A0042EA9E11-TDI X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Chzlrs: 0 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: ** X-Spam-Reason: BAYES_00, FORGED_MUA_OUTLOOK, HTML_MESSAGE, SARE_HEAD_XUNSENT X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 17:22:50 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_000A_01C98C3C.29AC8BB0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Dear Help, I looked for my last correspondence in the archives, and found that = it looked terrible! An HTML attachment had been scrubbed. What am I doing wrong? If plain text is the answer, then how do I get plain text out of = Outlook Express? = Douglas M. Elliott ------=_NextPart_000_000A_01C98C3C.29AC8BB0 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
 
Dear Help,
 
    I looked for my last = correspondence=20 in the archives, and found that it looked terrible!  An HTML = attachment had=20 been scrubbed.
 
    What am I doing=20 wrong?
 
    If plain text is the = answer, then=20 how do I get plain text out of Outlook Express?
 
 
       =20             =    =20             =    =20             =    =20             =    =20             =    =20             =    =20 Douglas M. Elliott
------=_NextPart_000_000A_01C98C3C.29AC8BB0-- From jf.sauvage@gmail.com Wed Feb 11 11:05:29 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1BH5To5011545 for ; Wed, 11 Feb 2009 11:05:29 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1BH5T8D032533 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 11 Feb 2009 11:05:29 -0600 Received: from mail-bw0-f161.google.com (mail-bw0-f161.google.com [209.85.218.161]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1BH5Rk6025398; Wed, 11 Feb 2009 11:05:28 -0600 Received: by bwz5 with SMTP id 5so471680bwz.0 for ; Wed, 11 Feb 2009 09:05:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.126.145 with SMTP id c17mr752542fas.102.1234371922335; Wed, 11 Feb 2009 09:05:22 -0800 (PST) In-Reply-To: <18835.193.233428.669105@segfault.lan> References: <1234368664.7424.0.camel@sh-t400> <1234370480.7424.1.camel@sh-t400> <18835.193.233428.669105@segfault.lan> Date: Wed, 11 Feb 2009 18:05:22 +0100 Message-ID: Subject: Re: octave memory From: jean francois sauvage To: "John W. Eaton" Content-Type: text/plain; charset=UTF-8 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1BH5To5011545 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 X-Mailman-Approved-At: Wed, 11 Feb 2009 11:23:18 -0600 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 17:05:31 -0000 hello I need these informations because I have to perform quite large simulations, that may be limited by the total amount of free memory. Basically, I want to know how much memory is used for the Cholesky decomposition of a NxN matrix, compared to a basic inversion. I know that the inversion of a N-elements matrix needs N^(3/2) free space in memory. but I'm using sparse matrix, so this rule is no more pertinent. Jeff On Wed, Feb 11, 2009 at 5:45 PM, John W. Eaton wrote: > On 11-Feb-2009, Søren Hauberg wrote: > > | ons, 11 02 2009 kl. 17:31 +0100, skrev jean francois sauvage: > | > 2) Actually, the "who" command gives information about the size of > | > variables. This is not exactly what I need. I need to know how much > | > memory has been allocated while the execution of a program. > | > > | > the function memory() of IDL returns 4 arguments : > | > - the actual amount of dynamic memory used by IDL > | > - the number of memory allocation since last call to memory() > | > - the number of memory unallocation since last call to memory() > | > - the maximum amount of dynamic memory readched since last call to memory() > | > > | > I am looking for something similar (particularly for the first and > | > fourth arguments) in octave. > > Octave doesn't keep track of these statistics. > > Why do you think you need this information? > > jwe > From dmelliott@charter.net Wed Feb 11 11:28:02 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1BHS14S017100 for ; Wed, 11 Feb 2009 11:28:02 -0600 (CST) Received: from mta11.charter.net (mta11.charter.net [216.33.127.80]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1BHS1vt014070 for ; Wed, 11 Feb 2009 11:28:01 -0600 Received: from aarprv06.charter.net ([10.20.200.76]) by mta11.charter.net (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20090211172756.UAIW21265.mta11.charter.net@aarprv06.charter.net> for ; Wed, 11 Feb 2009 12:27:56 -0500 Received: from cb289178a ([96.42.67.115]) by aarprv06.charter.net with SMTP id <20090211172756.KFSQ128.aarprv06.charter.net@cb289178a> for ; Wed, 11 Feb 2009 12:27:56 -0500 Message-ID: From: "dmelliott" To: Subject: Re: Help Help Date: Wed, 11 Feb 2009 11:38:05 -0600 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-Unsent: 1 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-Vipre-Scanned: 42EF9941000A0042EF9A8E-TDI X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Chzlrs: 0 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: **** X-Spam-Reason: AWL, BAYES_00, FAKE_REPLY_C, FORGED_MUA_OUTLOOK, SARE_HEAD_XUNSENT, STOX_REPLY_TYPE, TVD_FINGER_02 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 17:28:03 -0000 Dear Help, Never mind, I found it. Sorry, Douglas M. Elliott From rob@utk.edu Wed Feb 11 11:44:11 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1BHiB8s021232 for ; Wed, 11 Feb 2009 11:44:11 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1BHiBww025996 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 11 Feb 2009 11:44:11 -0600 Received: from panther.mail.utk.edu (panther.mail.utk.edu [160.36.178.33]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1BHiAUq006508 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 11 Feb 2009 11:44:11 -0600 Received: from [160.36.251.223] (chimera.nomads.utk.edu [160.36.251.223]) (authenticated bits=0) by panther.mail.utk.edu (8.13.6/8.13.4) with ESMTP id n1BHi5kC011061 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Wed, 11 Feb 2009 12:44:09 -0500 Mime-Version: 1.0 (Apple Message framework v753.1) In-Reply-To: <18835.193.233428.669105@segfault.lan> References: <1234368664.7424.0.camel@sh-t400> <1234370480.7424.1.camel@sh-t400> <18835.193.233428.669105@segfault.lan> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <1C6083A6-8EF2-40C9-BDE8-6B97F4AAE25D@utk.edu> From: Rob Mahurin Subject: Re: octave memory Date: Wed, 11 Feb 2009 12:44:04 -0500 To: help@octave.org X-Mailer: Apple Mail (2.753.1) X-SMTP-Auth: auth_authen=mwahaha X-Spam-Status: Message recipients not local. X-Scanned-By: MIMEDefang 2.53 on 160.36.178.33 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1BHiB8s021232 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RCVD_IN_DNSWL_MED X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 17:44:13 -0000 On Feb 11, 2009, at 11:45 AM, John W. Eaton wrote: > On 11-Feb-2009, Søren Hauberg wrote: > > | ons, 11 02 2009 kl. 17:31 +0100, skrev jean francois sauvage: > | > 2) Actually, the "who" command gives information about the size of > | > variables. This is not exactly what I need. I need to know how > much > | > memory has been allocated while the execution of a program. > | > > | > the function memory() of IDL returns 4 arguments : > | > - the actual amount of dynamic memory used by IDL > | > - the number of memory allocation since last call to memory() > | > - the number of memory unallocation since last call to memory() > | > - the maximum amount of dynamic memory readched since last > call to memory() > | > > | > I am looking for something similar (particularly for the first and > | > fourth arguments) in octave. > > Octave doesn't keep track of these statistics. > > Why do you think you need this information? I had a problem where this information would have been useful, and I wound up sort-of getting it from the operating system. I had several thousand data files, each containing a 48x100x10,000 = 200MB array of four-bit integers from a set of analog-to-digital converters (and about 100MB of other stuff). For some parts of my analysis I needed only to do arithmetic with these integers, and an ugly set of loops in Some Other Language was much harder to tweak than a few lines of reshape(), sum(), diff(). For other parts I needed to convert to floating-point, or a conversion to floating- point would happen implicitly somewhere. I spent a bunch of debugging time looking for those 400MB temporaries. I wound up keeping a running tally of the memory used with a shell script that called "free" and wrote to a file. An octave function where I could have written > memory; my_function(data); memory > ## maximum memory usage between calls: 1.5 GB would have sped this debugging along quite a bit. Cheers, Rob -- Rob Mahurin Department of Physics and Astronomy University of Tennessee 865 207 2594 Knoxville, TN 37996 rob@utk.edu From highegg@gmail.com Wed Feb 11 11:47:44 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1BHlhX8022329 for ; Wed, 11 Feb 2009 11:47:43 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1BHlhiA028625 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 11 Feb 2009 11:47:43 -0600 Received: from mail-fx0-f18.google.com (mail-fx0-f18.google.com [209.85.220.18]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1BHldUx012984; Wed, 11 Feb 2009 11:47:43 -0600 Received: by fxm11 with SMTP id 11so629231fxm.0 for ; Wed, 11 Feb 2009 09:47:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.221.5 with SMTP id y5mr653152muq.66.1234374290704; Wed, 11 Feb 2009 09:44:50 -0800 (PST) In-Reply-To: References: <1234368664.7424.0.camel@sh-t400> <1234370480.7424.1.camel@sh-t400> <18835.193.233428.669105@segfault.lan> Date: Wed, 11 Feb 2009 18:44:50 +0100 Message-ID: <69d8d540902110944x77ce1c5ey814928e14e7a8540@mail.gmail.com> Subject: Re: octave memory From: Jaroslav Hajek To: jean francois sauvage Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: "John W. Eaton" , help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 17:47:46 -0000 On Wed, Feb 11, 2009 at 6:05 PM, jean francois sauvage wrote: > hello > > I need these informations because I have to perform quite large > simulations, that may be limited by the total amount of free memory. > Basically, I want to know how much memory is used for the Cholesky > decomposition of a NxN matrix, compared to a basic inversion. > > I know that the inversion of a N-elements matrix needs N^(3/2) free > space in memory. but I'm using sparse matrix, so this rule is no more > pertinent. > > Jeff > The inverse of a sparse matrix is generally dense (unless the matrix is banded). Therefore, you should avoid it at nearly all costs. Working directly with Cholesky factorization will be better with probability almost 1. cheers -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From mikulik@physics.muni.cz Wed Feb 11 11:49:04 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1BHn431022830 for ; Wed, 11 Feb 2009 11:49:04 -0600 (CST) Received: from minas.ics.muni.cz (root@minas.ics.muni.cz [147.251.4.40]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1BHmtBh000345 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 11 Feb 2009 11:49:03 -0600 Received: from monoceros.physics.muni.cz (postfix@monoceros.physics.muni.cz [147.251.27.2]) by minas.ics.muni.cz (8.13.8/8.13.8/SuSE Linux 0.8) with ESMTP id n1BHmpNT012373; Wed, 11 Feb 2009 18:48:52 +0100 Received: by monoceros.physics.muni.cz (Postfix, from userid 16500) id 6259DC1AD64; Wed, 11 Feb 2009 18:48:51 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by monoceros.physics.muni.cz (Postfix) with ESMTP id 5CBBDC1B83F; Wed, 11 Feb 2009 18:48:51 +0100 (CET) Date: Wed, 11 Feb 2009 18:48:51 +0100 (CET) From: Petr Mikulik To: =?UTF-8?Q?Jordi_Guti=C3=A9rrez_Hermoso?= Subject: Re: gnuplot in Octave review In-Reply-To: <9543b3a40902101617m3927a402t53583488dfe32c6@mail.gmail.com> Message-ID: References: <9543b3a40902101617m3927a402t53583488dfe32c6@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Muni-Spam-TestIP: 147.251.27.2 X-Muni-Envelope-From: mikulik@physics.muni.cz X-Muni-Virus-Test: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (minas.ics.muni.cz [147.251.4.35]); Wed, 11 Feb 2009 18:48:52 +0100 (CET) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RCVD_IN_DNSWL_MED X-Mailman-Approved-At: Wed, 11 Feb 2009 12:07:14 -0600 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 17:49:05 -0000 > > Gnuplot is not a tool for 3D scene modelling. It has indeed some other > > limitations. However, many properties changed in recent years. Which > > "complex 3d plotting" does not it support? Can you give examples? You are > > welcome to contribute to both sides, Octave as well as gnuplot. > > it also had problems, with rending multiple 3d surfaces and which surface > should be visible and which not "hidden3d" in gnuplot works OK for line graphics. "set pm3d depthorder" should work for faceted surfaces but may produce artefact on intersections of large facets > Unless it's changed recently, gnuplot doesn't do lighting and > shading... Support for "shading interp" was added recently with a collaboration on both Octave and gnuplot sides. Lighting (or other "scene modelling" features) is not available in gnuplot. > that has changed recently too. It also seems a little slow to me when > trying to render surfaces at high resolution (e.g. 100x100 meshgrid), > especially noticeable when trying to rotate said surface. Yes, meshgrid is slow, however, "imagesc" is fast even for 1024x1024 images. > Not to mention that its output is ugly compared to OpenGL: > http://platinum.linux.pl/~jordi/piccies/gnuplot-vs-octaviz.png But this comparison is completely wrong -- it is comparing two different meshes! The OpenGL corresponds to "shading interp", while that of gnuplot is "shading faceted". Therefore, the vtk_surf() command presented there is incompatible to Matlab and Octave. The mesh produced by Octave's surf() via gnuplot is correct! It's vtk_surf() which needs to be fixed. If you wish to see a plot similar to that smooth one in that URL, you need to say shading interp Comparing these plots drawn by Matlab and Octave+gnuplot, they are almost identical. I would only recommend to Octave to add the following gnuplot options: set xtics out nomirror scale 1.5 set ytics out nomirror scale 1.5 set ztics out nomirror scale 1.5 > Something I would like some day in Octave (I know, I know, "show us > the code") is something like Matlab's movie-making abilities. I think > gnuplot is a bit limited for that purpose. Right now I generate > individual frames and stitch them together with mplayer or ffmpeg. Your solution is correct and it shows that movie making does not need to be the job of gnuplot. > There's nothing wrong with gnuplot other than its funny name and that > it doesn't do everything we want it to do. It's otherwise a fine piece > of software. :-) Personally I use only 2D plots and maps via imagesc, there everything works fast and OK. If you wish some other features N/A in Octave or gnuplot, you are welcome to contribute. --- P.M. From jf.sauvage@gmail.com Wed Feb 11 12:14:13 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1BIEDHV028776 for ; Wed, 11 Feb 2009 12:14:13 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1BIEDJc013478 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 11 Feb 2009 12:14:13 -0600 Received: from mail-fx0-f18.google.com (mail-fx0-f18.google.com [209.85.220.18]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1BIE9Hu004421; Wed, 11 Feb 2009 12:14:12 -0600 Received: by fxm11 with SMTP id 11so648650fxm.0 for ; Wed, 11 Feb 2009 10:14:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.107.198 with SMTP id c6mr402667fap.32.1234375838036; Wed, 11 Feb 2009 10:10:38 -0800 (PST) In-Reply-To: <69d8d540902110944x77ce1c5ey814928e14e7a8540@mail.gmail.com> References: <1234368664.7424.0.camel@sh-t400> <1234370480.7424.1.camel@sh-t400> <18835.193.233428.669105@segfault.lan> <69d8d540902110944x77ce1c5ey814928e14e7a8540@mail.gmail.com> Date: Wed, 11 Feb 2009 19:10:38 +0100 Message-ID: Subject: Re: octave memory From: jean francois sauvage To: Jaroslav Hajek Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 Cc: "John W. Eaton" , help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 18:14:14 -0000 hello Jaroslav, You are right, the inverse of a sparse matrix is generally not sparse. My idea is to use Cholesky factorisation. But I want to know how much space is needed by this factorisation. I can check this on Windows Task Manager, but without separating the contributions of the different process. but okay, it seems there is no built-in way to reach this information from octave. maybe I can write an octave function interfaced with a terminal command (like "top"). On Wed, Feb 11, 2009 at 6:44 PM, Jaroslav Hajek wrote: > On Wed, Feb 11, 2009 at 6:05 PM, jean francois sauvage > wrote: >> hello >> >> I need these informations because I have to perform quite large >> simulations, that may be limited by the total amount of free memory. >> Basically, I want to know how much memory is used for the Cholesky >> decomposition of a NxN matrix, compared to a basic inversion. >> >> I know that the inversion of a N-elements matrix needs N^(3/2) free >> space in memory. but I'm using sparse matrix, so this rule is no more >> pertinent. >> >> Jeff >> > > The inverse of a sparse matrix is generally dense (unless the matrix > is banded). Therefore, you should avoid it at nearly all costs. > Working directly with Cholesky factorization will be better with > probability almost 1. > > cheers > > -- > RNDr. Jaroslav Hajek > computing expert > Aeronautical Research and Test Institute (VZLU) > Prague, Czech Republic > url: www.highegg.matfyz.cz > From jwe@octave.org Wed Feb 11 12:52:42 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1BIqgSA009325 for ; Wed, 11 Feb 2009 12:52:42 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1BIqgjX006152 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 11 Feb 2009 12:52:42 -0600 Received: from spaceymail-a3.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1BIqfed004043 for ; Wed, 11 Feb 2009 12:52:42 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a3.g.dreamhost.com (Postfix) with ESMTP id 9B571194E96; Wed, 11 Feb 2009 10:52:40 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18835.7798.901191.814630@segfault.lan> Date: Wed, 11 Feb 2009 13:52:38 -0500 To: jean francois sauvage Subject: Re: octave memory In-Reply-To: References: <1234368664.7424.0.camel@sh-t400> <1234370480.7424.1.camel@sh-t400> <18835.193.233428.669105@segfault.lan> <69d8d540902110944x77ce1c5ey814928e14e7a8540@mail.gmail.com> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 18:52:43 -0000 On 11-Feb-2009, jean francois sauvage wrote: | You are right, the inverse of a sparse matrix is generally not sparse. | My idea is to use Cholesky factorisation. But I want to know how much | space is needed by this factorisation. I can check this on Windows | Task Manager, but without separating the contributions of the | different process. | | but okay, it seems there is no built-in way to reach this information | from octave. maybe I can write an octave function interfaced with a | terminal command (like "top"). I think the maxrss field of the structure returned by the getrusage function should give you what you want, but on my GNU/Linux system, that field is always 0. So finding out why that happens and fixing the problem would probably be a better solution. jwe From mirek@zind.ikem.pwr.wroc.pl Wed Feb 11 14:33:04 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1BKX4OU004079 for ; Wed, 11 Feb 2009 14:33:04 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1BKX4bl002289 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 11 Feb 2009 14:33:04 -0600 Received: from dionizos.zind.ikem.pwr.wroc.pl (dionizos.zind.ikem.pwr.wroc.pl [156.17.14.253]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1BKWjfm005661; Wed, 11 Feb 2009 14:33:03 -0600 X-SPF-Record: a.mx.a:infrared.zind.ikem.pwr.wroc.pl.mx:sun1000.pwr.wroc.pl.ip4:156.17.14.89.ip4:156.17.14.252.include:pwr.wroc.pl.-all Received: from dionizos.zind.ikem.pwr.wroc.pl (localhost [127.0.0.1]) by dionizos.zind.ikem.pwr.wroc.pl (8.13.4/8.13.4/check_local-5) with ESMTP id n1BKWEfZ015826; Wed, 11 Feb 2009 21:32:31 +0100 X-Spam-Filter: check_local@dionizos.zind.ikem.pwr.wroc.pl by digitalanswers.org Received: (from mirek@localhost) by dionizos.zind.ikem.pwr.wroc.pl (8.13.4/8.13.4/Submit) id n1BKWCoL015824; Wed, 11 Feb 2009 21:32:12 +0100 Date: Wed, 11 Feb 2009 21:32:09 +0100 From: Miroslaw Kwasniak To: help-octave@octave.org, help@octave.org Subject: Re: octave memory Message-ID: <20090211203209.GA15577@zind.ikem.pwr.wroc.pl> Mail-Followup-To: help-octave@octave.org, help@octave.org References: <1234368664.7424.0.camel@sh-t400> <1234370480.7424.1.camel@sh-t400> <18835.193.233428.669105@segfault.lan> <69d8d540902110944x77ce1c5ey814928e14e7a8540@mail.gmail.com> <18835.7798.901191.814630@segfault.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18835.7798.901191.814630@segfault.lan> User-Agent: Mutt/1.5.9i X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 20:33:07 -0000 On Wed, Feb 11, 2009 at 01:52:38PM -0500, John W. Eaton wrote: > On 11-Feb-2009, jean francois sauvage wrote: > > | You are right, the inverse of a sparse matrix is generally not sparse. > | My idea is to use Cholesky factorisation. But I want to know how much > | space is needed by this factorisation. I can check this on Windows > | Task Manager, but without separating the contributions of the > | different process. > | > | but okay, it seems there is no built-in way to reach this information > | from octave. maybe I can write an octave function interfaced with a > | terminal command (like "top"). > > I think the maxrss field of the structure returned by the getrusage > function should give you what you want, but on my GNU/Linux system, > that field is always 0. So finding out why that happens and fixing > the problem would probably be a better solution. Current kernels have an entry /proc/*/status: $ grep Vm /proc/`pidof octave-3.0.1`/status VmPeak: 419416 kB <- max allocated VmSize: 321288 kB VmLck: 0 kB VmHWM: 106716 kB <- max used (HWM = High Water Mark) VmRSS: 105828 kB VmData: 253276 kB VmStk: 312 kB VmExe: 4 kB VmLib: 47508 kB VmPTE: 288 kB I assume VmHWM is a true max usage when not swapped. Below the same process listed by top: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 18177 mirek 39 19 399m 103m 24m S 1.6 6.8 32:49.40 octave-3.0.1 Mirek From mirek@zind.ikem.pwr.wroc.pl Wed Feb 11 14:33:04 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1BKX4d0004078 for ; Wed, 11 Feb 2009 14:33:04 -0600 (CST) Received: from dionizos.zind.ikem.pwr.wroc.pl (dionizos.zind.ikem.pwr.wroc.pl [156.17.14.253]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1BKWjfm005661; Wed, 11 Feb 2009 14:33:03 -0600 X-SPF-Record: a.mx.a:infrared.zind.ikem.pwr.wroc.pl.mx:sun1000.pwr.wroc.pl.ip4:156.17.14.89.ip4:156.17.14.252.include:pwr.wroc.pl.-all Received: from dionizos.zind.ikem.pwr.wroc.pl (localhost [127.0.0.1]) by dionizos.zind.ikem.pwr.wroc.pl (8.13.4/8.13.4/check_local-5) with ESMTP id n1BKWEfZ015826; Wed, 11 Feb 2009 21:32:31 +0100 X-Spam-Filter: check_local@dionizos.zind.ikem.pwr.wroc.pl by digitalanswers.org Received: (from mirek@localhost) by dionizos.zind.ikem.pwr.wroc.pl (8.13.4/8.13.4/Submit) id n1BKWCoL015824; Wed, 11 Feb 2009 21:32:12 +0100 Date: Wed, 11 Feb 2009 21:32:09 +0100 From: Miroslaw Kwasniak To: help-octave@octave.org, help@octave.org Subject: Re: octave memory Message-ID: <20090211203209.GA15577@zind.ikem.pwr.wroc.pl> Mail-Followup-To: help-octave@octave.org, help@octave.org References: <1234368664.7424.0.camel@sh-t400> <1234370480.7424.1.camel@sh-t400> <18835.193.233428.669105@segfault.lan> <69d8d540902110944x77ce1c5ey814928e14e7a8540@mail.gmail.com> <18835.7798.901191.814630@segfault.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18835.7798.901191.814630@segfault.lan> User-Agent: Mutt/1.5.9i X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 20:33:07 -0000 On Wed, Feb 11, 2009 at 01:52:38PM -0500, John W. Eaton wrote: > On 11-Feb-2009, jean francois sauvage wrote: > > | You are right, the inverse of a sparse matrix is generally not sparse. > | My idea is to use Cholesky factorisation. But I want to know how much > | space is needed by this factorisation. I can check this on Windows > | Task Manager, but without separating the contributions of the > | different process. > | > | but okay, it seems there is no built-in way to reach this information > | from octave. maybe I can write an octave function interfaced with a > | terminal command (like "top"). > > I think the maxrss field of the structure returned by the getrusage > function should give you what you want, but on my GNU/Linux system, > that field is always 0. So finding out why that happens and fixing > the problem would probably be a better solution. Current kernels have an entry /proc/*/status: $ grep Vm /proc/`pidof octave-3.0.1`/status VmPeak: 419416 kB <- max allocated VmSize: 321288 kB VmLck: 0 kB VmHWM: 106716 kB <- max used (HWM = High Water Mark) VmRSS: 105828 kB VmData: 253276 kB VmStk: 312 kB VmExe: 4 kB VmLib: 47508 kB VmPTE: 288 kB I assume VmHWM is a true max usage when not swapped. Below the same process listed by top: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 18177 mirek 39 19 399m 103m 24m S 1.6 6.8 32:49.40 octave-3.0.1 Mirek From dbateman@dbateman.org Wed Feb 11 14:34:59 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1BKYx8U004650 for ; Wed, 11 Feb 2009 14:34:59 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1BKYxlm003977 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 11 Feb 2009 14:34:59 -0600 Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1BKYqr0020407 for ; Wed, 11 Feb 2009 14:34:58 -0600 Received: from smtp5-g21.free.fr (localhost [127.0.0.1]) by smtp5-g21.free.fr (Postfix) with ESMTP id CD01FD48181; Wed, 11 Feb 2009 21:34:48 +0100 (CET) Received: from pandorra.fladenmuller.org (puce.fladenmuller.org [81.57.137.98]) by smtp5-g21.free.fr (Postfix) with ESMTP id DD788D481B2; Wed, 11 Feb 2009 21:34:45 +0100 (CET) Received: from [192.168.2.9] (unknown [192.168.2.9]) by pandorra.fladenmuller.org (Postfix) with ESMTP id 2DB4A3BEF3; Wed, 11 Feb 2009 21:34:45 +0100 (CET) Message-ID: <49933666.2040507@dbateman.org> Date: Wed, 11 Feb 2009 21:34:46 +0100 From: David Bateman User-Agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018) MIME-Version: 1.0 To: Derik Cloete Subject: Re: Octave on Windiws mobile References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 20:35:01 -0000 Derik Cloete wrote: > Good Day Sir, > > > I am a second year engineering student and we are learning to use > Octave at the moment. I also own a HTC (Hermes 200) Windows mobile > enabled Pocket PC and I was wondering if there is any sort of support > for Windows Mobile devices to run Octave. This would Really help me > alot since I would be able to programme in class while the Lecturer is > bussy explaining. > > > Thank you for your time, I don't think anyone has even tried to compile Octave for Windows mobile. Might be an interesting experiment, but ultimately a bit futile given the memory limitations of such a platform D. -- David Bateman dbateman@dbateman.org 35 rue Gambetta +33 1 46 04 02 18 (Home) 92100 Boulogne-Billancourt FRANCE +33 6 72 01 06 33 (Mob) From jwe@octave.org Wed Feb 11 14:37:15 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1BKbF3J005029 for ; Wed, 11 Feb 2009 14:37:15 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1BKbFpN005457 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 11 Feb 2009 14:37:15 -0600 Received: from spaceymail-a5.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1BKbEtd012670 for ; Wed, 11 Feb 2009 14:37:14 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a5.g.dreamhost.com (Postfix) with ESMTP id EFC0187074; Wed, 11 Feb 2009 12:37:13 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18835.14072.691436.550741@segfault.lan> Date: Wed, 11 Feb 2009 15:37:12 -0500 To: Miroslaw Kwasniak Subject: Re: octave memory In-Reply-To: <20090211203209.GA15577@zind.ikem.pwr.wroc.pl> References: <1234368664.7424.0.camel@sh-t400> <1234370480.7424.1.camel@sh-t400> <18835.193.233428.669105@segfault.lan> <69d8d540902110944x77ce1c5ey814928e14e7a8540@mail.gmail.com> <18835.7798.901191.814630@segfault.lan> <20090211203209.GA15577@zind.ikem.pwr.wroc.pl> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 20:37:16 -0000 On 11-Feb-2009, Miroslaw Kwasniak wrote: | Current kernels have an entry /proc/*/status: | | $ grep Vm /proc/`pidof octave-3.0.1`/status | VmPeak: 419416 kB <- max allocated | VmSize: 321288 kB | VmLck: 0 kB | VmHWM: 106716 kB <- max used (HWM = High Water Mark) | VmRSS: 105828 kB | VmData: 253276 kB | VmStk: 312 kB | VmExe: 4 kB | VmLib: 47508 kB | VmPTE: 288 kB | | I assume VmHWM is a true max usage when not swapped. | | Below the same process listed by top: | | PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND | 18177 mirek 39 19 399m 103m 24m S 1.6 6.8 32:49.40 octave-3.0.1 So why isn't this information returned by the getrusage library function? I don't think Octave (and every other program that might want this info) should have its own code for getting this info from /proc (which doesn't seem portable anyway). I thought that's what the getrusage library function was for... jwe From przemek@jazz.ncnr.nist.gov Wed Feb 11 15:16:13 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1BLGD1T014137 for ; Wed, 11 Feb 2009 15:16:13 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1BLGDA1027962 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 11 Feb 2009 15:16:13 -0600 Received: from jazz.ncnr.nist.gov (jazz.ncnr.nist.gov [129.6.120.31]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1BLGAFV000458 for ; Wed, 11 Feb 2009 15:16:12 -0600 Received: (from przemek@localhost) by jazz.ncnr.nist.gov (SGI-8.9.3/8.9.3) id QAA73679; Wed, 11 Feb 2009 16:16:09 -0500 (EST) Date: Wed, 11 Feb 2009 16:16:09 -0500 (EST) Message-Id: <200902112116.QAA73679@jazz.ncnr.nist.gov> From: Przemek Klosowski To: help@octave.org In-reply-to: <49933666.2040507@dbateman.org> (message from David Bateman on Wed, 11 Feb 2009 21:34:46 +0100) Subject: Re: Octave on Windiws mobile References: <49933666.2040507@dbateman.org> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 21:16:14 -0000 Derik Cloete wrote: > I am a second year engineering student and we are learning to use > Octave at the moment. I also own a HTC (Hermes 200) Windows mobile > enabled Pocket PC and I was wondering if there is any sort of support > for Windows Mobile devices to run Octave. This would Really help me and David Bateman responded: I don't think anyone has even tried to compile Octave for Windows mobile. Might be an interesting experiment, but ultimately a bit futile given the memory limitations of such a platform I think the Samsung ARM CPU that this thing has lacks floating point hardware, so all calculations would be in software-emulated FP -> slow. Still, getting a running Octave on Derik's phone would give him a major bragging ticket. From dbateman@dbateman.org Wed Feb 11 15:34:24 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1BLYOgc018073 for ; Wed, 11 Feb 2009 15:34:24 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1BLYOcx006437 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 11 Feb 2009 15:34:24 -0600 Received: from smtp3-g21.free.fr (smtp3-g21.free.fr [212.27.42.3]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1BLYKFN028568 for ; Wed, 11 Feb 2009 15:34:22 -0600 Received: from smtp3-g21.free.fr (localhost [127.0.0.1]) by smtp3-g21.free.fr (Postfix) with ESMTP id BD263818136; Wed, 11 Feb 2009 22:34:17 +0100 (CET) Received: from pandorra.fladenmuller.org (puce.fladenmuller.org [81.57.137.98]) by smtp3-g21.free.fr (Postfix) with ESMTP id CEFCF818198; Wed, 11 Feb 2009 22:34:14 +0100 (CET) Received: from [192.168.2.9] (unknown [192.168.2.9]) by pandorra.fladenmuller.org (Postfix) with ESMTP id 3FA743C03A; Wed, 11 Feb 2009 22:34:14 +0100 (CET) Message-ID: <49934459.9070904@dbateman.org> Date: Wed, 11 Feb 2009 22:34:17 +0100 From: David Bateman User-Agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018) MIME-Version: 1.0 To: Przemek Klosowski Subject: Re: Octave on Windiws mobile References: <49933666.2040507@dbateman.org> <200902112116.QAA73679@jazz.ncnr.nist.gov> In-Reply-To: <200902112116.QAA73679@jazz.ncnr.nist.gov> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 21:34:26 -0000 Przemek Klosowski wrote: > Derik Cloete wrote: > > > I am a second year engineering student and we are learning to use > > Octave at the moment. I also own a HTC (Hermes 200) Windows mobile > > enabled Pocket PC and I was wondering if there is any sort of support > > for Windows Mobile devices to run Octave. This would Really help me > > and David Bateman responded: > > I don't think anyone has even tried to compile Octave for Windows > mobile. Might be an interesting experiment, but ultimately a bit futile > given the memory limitations of such a platform > > I think the Samsung ARM CPU that this thing has lacks floating point > hardware, so all calculations would be in software-emulated FP -> slow. > Still, getting a running Octave on Derik's phone would give him a major > bragging ticket. > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > > I had a colleague get Octave sort of running on an ARM based PXA270 running Linux, but the FP was indeed an issue. Package for the build is at http://www.mkezx.org, though this doesn't help with Windows mobile... D. -- David Bateman dbateman@dbateman.org 35 rue Gambetta +33 1 46 04 02 18 (Home) 92100 Boulogne-Billancourt FRANCE +33 6 72 01 06 33 (Mob) From oscarbayonacandel@hotmail.com Wed Feb 11 17:38:55 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1BNctOX016228 for ; Wed, 11 Feb 2009 17:38:55 -0600 (CST) Received: from col0-omc2-s17.col0.hotmail.com (col0-omc2-s17.col0.hotmail.com [65.55.34.91]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1BNcnej022544 for ; Wed, 11 Feb 2009 17:38:55 -0600 Received: from COL118-W3 ([65.55.34.72]) by col0-omc2-s17.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 11 Feb 2009 15:38:44 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_9bf39b81-4225-443c-b0eb-68abe07208bb_" X-Originating-IP: [84.123.64.133] From: Oscar Bayona Candel To: oCTAVE Subject: FW: Plot dubt Date: Thu, 12 Feb 2009 00:38:44 +0100 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 11 Feb 2009 23:38:44.0453 (UTC) FILETIME=[E0B7B950:01C98CA1] X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 23:38:57 -0000 --_9bf39b81-4225-443c-b0eb-68abe07208bb_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Anyone can give me a guide to make a graph using bars and lines in the same= plot? From: oscarbayonacandel@hotmail.comTo: help-octave@octave.orgSubject: Plot = dubtDate: Wed=2C 11 Feb 2009 15:36:09 +0100 I all I want to use in a same plot a bar/hstogram graph and a line graph Im= agine I have three vectors: X=3D[11 12 17 14 9 15]=3B Y=3D[12 11 12 14 10 9= ]=3B Z=3D[6 11 8 10 7 9]=3B I want to make a plot with the trhee variables = bu the first I want to make an hist or bar chart the other two with lines i= n the same graph. Anyone can please help me=2C thanks in advance for you he= lp=A1=A1=A1=A1 Other question this is secundary a 2-D plot always have tw= o y axis (left and right axis) how can I repet the Y values in both? Actual=EDzate=2C descubre el nuevo Windows Live Messenger. =A1Desc=E1rgatel= o ya!=20 _________________________________________________________________ Consigue gratis el nuevo Messenger. =A1Desc=E1rgatelo!=20 http://download.live.com/= --_9bf39b81-4225-443c-b0eb-68abe07208bb_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Anyone can give me a guide to make =3Ba graph using bars and lines in t= he same plot?


From: oscarbayonacandel@hotmail.com
To: help-octave@octave.org
Subjec= t: Plot dubt
Date: Wed=2C 11 Feb 2009 15:36:09 +0100

I all I want to use in a same plot a bar/hstogram graph and a line graph =3B
Imagine I have =3Bthree vectors:
 =3B
X=3D[11 12= 17 14 9 15]=3B
 =3B
Y=3D[12 11 12 14 =3B10 9]=3B
 =3B=
Z=3D[6 11 =3B8 10 =3B7 9]=3B
 =3B
I want to make a pl= ot with the trhee variables bu the first I =3Bwant to make an hist or b= ar chart the other two with lines in the same graph.
 =3B
Anyone = can please help me=2C thanks in advance for you help=A1=A1=A1=A1 =3B =3B
 =3B
Other question this is secundary a 2-D plot always= have two y axis (left and right axis) how can I repet the Y values in both= ?


Actual=EDzate=2C descubre el nuevo Windows Live Messenger. =A1Desc=E1rgatelo ya!

Con el nuevo Wi= ndows Live lo tendr=E1s = todo al alcance de tu mano = --_9bf39b81-4225-443c-b0eb-68abe07208bb_-- From bounces@nabble.com Wed Feb 11 18:05:09 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1C059DF022880 for ; Wed, 11 Feb 2009 18:05:09 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1C051a1031118 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 11 Feb 2009 18:05:09 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LXP4e-0004HG-GA for help-octave@octave.org; Wed, 11 Feb 2009 16:05:00 -0800 Message-ID: <21967354.post@talk.nabble.com> Date: Wed, 11 Feb 2009 16:05:00 -0800 (PST) From: helloman To: help-octave@octave.org Subject: Re: output question In-Reply-To: <21199900.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: mannegk@yahoo.com References: <21199289.post@talk.nabble.com> <49586A0A.9020300@dbateman.org> <21199900.post@talk.nabble.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: * X-Spam-Reason: AWL, BAYES_00, FORGED_YAHOO_RCVD, SPF_HELO_PASS, WHOIS_MYPRIVREG X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 00:05:10 -0000 Thank you very much Alex, for the reply. I also have the same issue with nested loops and wanted to check the status of the simulation. AlexRSS wrote: > > David, > > Thanks so much, fflush works like a charm. I appreciate your help. > > -- Alex > > > David Bateman-2 wrote: >> >> AlexRSS wrote: >>> An unbelievably ignorant question, but when I run Octave from the >>> terminal in >>> OSX and call a function that outputs data using printf, the values are >>> only >>> printed to the terminal after the function has finished running. How >>> can I >>> get Octave to print values to the terminal as a function is running >>> (i.e., >>> print the value to the terminal as the statement is evaluated while the >>> function runs rather than printing all the values at the end of the >>> function? >>> >> Try "more off" or add "fflush(stdout)" after the printf calls >> >> D. >> >> -- >> David Bateman dbateman@dbateman.org >> 35 rue Gambetta +33 1 46 04 02 18 (Home) >> 92100 Boulogne-Billancourt FRANCE +33 6 72 01 06 33 (Mob) >> >> _______________________________________________ >> Help-octave mailing list >> Help-octave@octave.org >> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave >> >> > > -- View this message in context: http://www.nabble.com/output-question-tp21199289p21967354.html Sent from the Octave - General mailing list archive at Nabble.com. From ivan.sutoris@gmail.com Wed Feb 11 18:07:49 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1C07nHT023322 for ; Wed, 11 Feb 2009 18:07:49 -0600 (CST) Received: from mail-bw0-f161.google.com (mail-bw0-f161.google.com [209.85.218.161]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1C07j0w027937 for ; Wed, 11 Feb 2009 18:07:48 -0600 Received: by bwz5 with SMTP id 5so738679bwz.0 for ; Wed, 11 Feb 2009 16:07:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.93.18 with SMTP id v18mr90488mul.111.1234397259553; Wed, 11 Feb 2009 16:07:39 -0800 (PST) In-Reply-To: References: Date: Thu, 12 Feb 2009 01:07:39 +0100 Message-ID: <65d1f7fc0902111607u7ed4a5bbse75f400d4a68e478@mail.gmail.com> Subject: Re: Plot dubt From: Ivan Sutoris To: Oscar Bayona Candel Content-Type: text/plain; charset=ISO-8859-1 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1C07nHT023322 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: oCTAVE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 00:07:50 -0000 On Wed, Feb 11, 2009 at 3:36 PM, Oscar Bayona Candel wrote: > I all I want to use in a same plot a bar/hstogram graph and a line graph > > Imagine I have three vectors: > > X=[11 12 17 14 9 15]; > > Y=[12 11 12 14 10 9]; > > Z=[6 11 8 10 7 9]; > > I want to make a plot with the trhee variables bu the first I want to make > an hist or bar chart the other two with lines in the same graph. > > Anyone can please help me, thanks in advance for you help¡¡¡¡ > > > Other question this is secundary a 2-D plot always have two y axis (left and > right axis) how can I repet the Y values in both? I guess the easiest way would be using "hold on" command, which causes subsequent plotting commands to be drawn over existing figure: X=[11 12 17 14 9 15]; Y=[12 11 12 14 10 9]; Z=[6 11 8 10 7 9]; bar(X) hold on plot(Y,'ro-') plot(Z,'go-') hold off Regarding your second question, I'm not sure what you mean, so could you clarify? BTW, in general sending the same request for help just few hours after the first one won't get you faster response and is quite useless, so I suggest to have more patience next time :) Regards Ivan Sutoris From dastew@sympatico.ca Wed Feb 11 18:10:34 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1C0AY5p024164 for ; Wed, 11 Feb 2009 18:10:34 -0600 (CST) Received: from tomts20-srv.bellnexxia.net (tomts20.bellnexxia.net [209.226.175.74]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1C0AWB1031661 for ; Wed, 11 Feb 2009 18:10:34 -0600 Received: from toip6.srvr.bell.ca ([209.226.175.125]) by tomts20-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20090212001026.EZPO1552.tomts20-srv.bellnexxia.net@toip6.srvr.bell.ca> for ; Wed, 11 Feb 2009 19:10:26 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq8BAB/4kklA5161/2dsb2JhbAAIjQ7HVoQbBg Received: from bas4-london14-1088904885.dsl.bell.ca (HELO [192.168.1.102]) ([64.231.94.181]) by toip6.srvr.bell.ca with ESMTP; 11 Feb 2009 19:04:30 -0500 Message-ID: <49936949.6080003@sympatico.ca> Date: Wed, 11 Feb 2009 19:11:53 -0500 From: Doug Stewart User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: Oscar Bayona Candel Subject: Re: FW: Plot dubt References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: oCTAVE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 00:10:35 -0000 Oscar Bayona Candel wrote: > Anyone can give me a guide to make a graph using bars and lines in the > same plot? > > ------------------------------------------------------------------------ > From: oscarbayonacandel@hotmail.com > To: help-octave@octave.org > Subject: Plot dubt > Date: Wed, 11 Feb 2009 15:36:09 +0100 > > I all I want to use in a same plot a bar/hstogram graph and a line graph > > Imagine I have three vectors: > > X=[11 12 17 14 9 15]; > > Y=[12 11 12 14 10 9]; > > Z=[6 11 8 10 7 9]; > > I want to make a plot with the trhee variables bu the first I want to > make an hist or bar chart the other two with lines in the same graph. > > Anyone can please help me, thanks in advance for you help¡¡¡¡ > > > Other question this is secundary a 2-D plot always have two y axis > (left and right axis) how can I repet the Y values in both? did you try: bar(X) hold on plot(Y,'r') plot(Z,'y') From oscarbayonacandel@hotmail.com Wed Feb 11 18:52:45 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1C0qjsg005226 for ; Wed, 11 Feb 2009 18:52:45 -0600 (CST) Received: from col0-omc2-s17.col0.hotmail.com (col0-omc2-s17.col0.hotmail.com [65.55.34.91]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1C0qgLa014059 for ; Wed, 11 Feb 2009 18:52:43 -0600 Received: from COL118-W83 ([65.55.34.71]) by col0-omc2-s17.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 11 Feb 2009 16:52:37 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_ceeb8a00-647c-4172-8b34-65c090209289_" X-Originating-IP: [84.123.64.133] From: Oscar Bayona Candel To: Octave collega Subject: RE: Plot dubt Date: Thu, 12 Feb 2009 01:52:36 +0100 Importance: Normal In-Reply-To: <65d1f7fc0902111607u7ed4a5bbse75f400d4a68e478@mail.gmail.com> References: <65d1f7fc0902111607u7ed4a5bbse75f400d4a68e478@mail.gmail.com> MIME-Version: 1.0 X-OriginalArrivalTime: 12 Feb 2009 00:52:37.0142 (UTC) FILETIME=[32CE6360:01C98CAC] X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE Cc: oCTAVE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 00:52:46 -0000 --_ceeb8a00-647c-4172-8b34-65c090209289_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =20 Sorry Ivan I =B4m a bit silly sometime I please send my appologuises in ada= vance and thounsands of thanks=A1=A1=A1 =20 Thanks a lot for your help I tried this but I omitt "on" on "hold on" you a= re the best=A1=A1 I revised the code but every time I thought I put it. =20 Best regards and many many thanks again also appologuises=A1=A1=A1> Date: T= hu=2C 12 Feb 2009 01:07:39 +0100> Subject: Re: Plot dubt> From: ivan.sutori= s@gmail.com> To: oscarbayonacandel@hotmail.com> CC: help-octave@octave.org>= > On Wed=2C Feb 11=2C 2009 at 3:36 PM=2C Oscar Bayona Candel> wrote:> > I all I want to use in a same plot a bar/hsto= gram graph and a line graph> >> > Imagine I have three vectors:> >> > X=3D[= 11 12 17 14 9 15]=3B> >> > Y=3D[12 11 12 14 10 9]=3B> >> > Z=3D[6 11 8 10 7= 9]=3B> >> > I want to make a plot with the trhee variables bu the first I = want to make> > an hist or bar chart the other two with lines in the same g= raph.> >> > Anyone can please help me=2C thanks in advance for you help=A1= =A1=A1=A1> >> >> > Other question this is secundary a 2-D plot always have = two y axis (left and> > right axis) how can I repet the Y values in both?> = > I guess the easiest way would be using "hold on" command=2C which causes>= subsequent plotting commands to be drawn over existing figure:> > X=3D[11 = 12 17 14 9 15]=3B> Y=3D[12 11 12 14 10 9]=3B> Z=3D[6 11 8 10 7 9]=3B> bar(X= )> hold on> plot(Y=2C'ro-')> plot(Z=2C'go-')> hold off> > Regarding your se= cond question=2C I'm not sure what you mean=2C so could> you clarify? BTW= =2C in general sending the same request for help just> few hours after the = first one won't get you faster response and is> quite useless=2C so I sugge= st to have more patience next time :)> > Regards> Ivan Sutoris _________________________________________________________________ Consigue gratis el nuevo Messenger. =A1Desc=E1rgatelo!=20 http://download.live.com/= --_ceeb8a00-647c-4172-8b34-65c090209289_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable  =3B
Sorry Ivan I =B4m a bit silly sometime I please send my appologuises in ada= vance and thounsands of thanks=A1=A1=A1
 =3B
Thanks a lot for your help I tried this but I =3Bomitt "on" on =3B"= hold on" =3Byou are the best=A1=A1 =3BI revised the code but every = time I thought I put it.
 =3B
Best regards and many many thanks again also appologuises=A1=A1=A1

&= gt=3B Date: Thu=2C 12 Feb 2009 01:07:39 +0100
>=3B Subject: Re: Plot d= ubt
>=3B From: ivan.sutoris@gmail.com
>=3B To: oscarbayonacandel@= hotmail.com
>=3B CC: help-octave@octave.org
>=3B
>=3B On We= d=2C Feb 11=2C 2009 at 3:36 PM=2C Oscar Bayona Candel
>=3B <=3Boscar= bayonacandel@hotmail.com>=3B wrote:
>=3B >=3B I all I want to use = in a same plot a bar/hstogram graph and a line graph
>=3B >=3B
&g= t=3B >=3B Imagine I have three vectors:
>=3B >=3B
>=3B >=3B= X=3D[11 12 17 14 9 15]=3B
>=3B >=3B
>=3B >=3B Y=3D[12 11 12 = 14 10 9]=3B
>=3B >=3B
>=3B >=3B Z=3D[6 11 8 10 7 9]=3B
>= =3B >=3B
>=3B >=3B I want to make a plot with the trhee variables = bu the first I want to make
>=3B >=3B an hist or bar chart the other= two with lines in the same graph.
>=3B >=3B
>=3B >=3B Anyone= can please help me=2C thanks in advance for you help=A1=A1=A1=A1
>=3B= >=3B
>=3B >=3B
>=3B >=3B Other question this is secundary = a 2-D plot always have two y axis (left and
>=3B >=3B right axis) ho= w can I repet the Y values in both?
>=3B
>=3B I guess the easies= t way would be using "hold on" command=2C which causes
>=3B subsequent= plotting commands to be drawn over existing figure:
>=3B
>=3B X= =3D[11 12 17 14 9 15]=3B
>=3B Y=3D[12 11 12 14 10 9]=3B
>=3B Z=3D= [6 11 8 10 7 9]=3B
>=3B bar(X)
>=3B hold on
>=3B plot(Y=2C'r= o-')
>=3B plot(Z=2C'go-')
>=3B hold off
>=3B
>=3B Rega= rding your second question=2C I'm not sure what you mean=2C so could
>= =3B you clarify? BTW=2C in general sending the same request for help just>=3B few hours after the first one won't get you faster response and is=
>=3B quite useless=2C so I suggest to have more patience next time :)=
>=3B
>=3B Regards
>=3B Ivan Sutoris



Act= ual=EDzate=2C descubre el nuevo Windows Live Messenger. =A1Desc=E1rgatelo ya! = --_ceeb8a00-647c-4172-8b34-65c090209289_-- From oscarbayonacandel@hotmail.com Wed Feb 11 19:01:22 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1C11Mhn007793 for ; Wed, 11 Feb 2009 19:01:22 -0600 (CST) Received: from col0-omc2-s5.col0.hotmail.com (col0-omc2-s5.col0.hotmail.com [65.55.34.79]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1C11L2C012456 for ; Wed, 11 Feb 2009 19:01:22 -0600 Received: from COL118-W80 ([65.55.34.73]) by col0-omc2-s5.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 11 Feb 2009 17:01:15 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_3d05730b-45c3-40ff-8930-0e4879adc71b_" X-Originating-IP: [84.123.64.133] From: Oscar Bayona Candel To: oCTAVE Subject: Two questions Date: Thu, 12 Feb 2009 02:01:15 +0100 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 12 Feb 2009 01:01:15.0258 (UTC) FILETIME=[67A09DA0:01C98CAD] X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 01:01:24 -0000 --_3d05730b-45c3-40ff-8930-0e4879adc71b_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I want to make a little donation to OCtave but I see a link here:=20 =20 http://www.gnu.org/software/octave/funding.html =20 But the link always put money in dolars (it is possible to donate in Euros?= ) =20 The other question is: =20 Imagine I want to contribute with an statistical function developed in my P= hd (one is very easy the other is more complex) =20 How should I proceed to contribute with this programmed function so anyone = who wantsto make the "calculus" in the function could run my code directly = by Octave. There is some previous tribunal or email to check if my code is = right or something similar? I will send references where my code is based o= f course. _________________________________________________________________ Consigue gratis el nuevo Messenger. =A1Desc=E1rgatelo!=20 http://download.live.com/= --_3d05730b-45c3-40ff-8930-0e4879adc71b_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I want to make a little donation to OCtave but I see a link here:=
 =3B
http://www.gnu.= org/software/octave/funding.html
 =3B
But the link always put money in dolars (it is possible to donate in Euros?= )
 =3B
The other question is:
 =3B
Imagine I want to contribute with an statistical function developed in my P= hd (one is very easy the other is more complex)
 =3B
How should I proceed to contribute with this programmed function so anyone = who wantsto make the "calculus" in the function could run my code directly = by Octave. There is some previous tribunal or email to check if my code is = right or something similar? I will send references where my code is based o= f course.



Actual=EDzate=2C descubre el nuevo Windows Live = Messenger. =A1Desc= =E1rgatelo ya! = --_3d05730b-45c3-40ff-8930-0e4879adc71b_-- From jordigh@gmail.com Wed Feb 11 19:26:36 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1C1QaM0013982 for ; Wed, 11 Feb 2009 19:26:36 -0600 (CST) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.189]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1C1QY1M024883 for ; Wed, 11 Feb 2009 19:26:36 -0600 Received: by rn-out-0910.google.com with SMTP id k32so503174rnd.12 for ; Wed, 11 Feb 2009 17:26:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.151.12.1 with SMTP id p1mr338874ybi.4.1234401993913; Wed, 11 Feb 2009 17:26:33 -0800 (PST) In-Reply-To: <637774.5895.qm@web35207.mail.mud.yahoo.com> References: <9543b3a40902110704r1839eb7fl7afcbf71b0794631@mail.gmail.com> <637774.5895.qm@web35207.mail.mud.yahoo.com> Date: Wed, 11 Feb 2009 19:26:33 -0600 Message-ID: <9543b3a40902111726q7a3a5fddnfa4087e500bc6461@mail.gmail.com> Subject: Re: gnuplot in Octave review From: =?UTF-8?Q?Jordi_Guti=C3=A9rrez_Hermoso?= To: sergstesh@yahoo.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 01:26:37 -0000 2009/2/11 Sergei Steshenko : > Jordi, if you have a 32 bits system, the 4GB limit is _per process_. > > I had 8GB of swap in addition to 2GB of physical RAM. > > I had 200+ plot windows open because I wanted to see results from a number > of inner loops. I'm amazed you even managed to open that many windows. My X refused to go any further around window 170 or so. :-/ And I'm on an x86_64 with 4 gigs of RAM (and maybe some swap, all I ever use it for is for hibernating or when I'm stupid enough to mistype something in Octave). > So, in this case the fact that 'gnuplot' is a separate process _did_ help. I'm unconvinced that there is any situation where most humans can gather much information from 200 open windows and that most people would prefer to solve that problem in a different way (e.g. create an animation without having to look at 200 individual frames). > Had plotting been a part of 'octave' process, the whole run would have failed > at 4GB memory consumption. I see. Well, maybe for cases like yours, it may be desirable to make the OpenGL backend as a separate process. Or just keep using gnuplot, I don't expect it's gonna be completely phased out any time soon. At any rate, I'll add a few comments to my review about how having a gnuplot as a separate process can help with memory consumption should you ever feel like opening 200 windows. - Jordi G. H. From sergstesh@yahoo.com Thu Feb 12 02:43:51 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1C8hpgw015090 for ; Thu, 12 Feb 2009 02:43:51 -0600 (CST) Received: from web35202.mail.mud.yahoo.com (web35202.mail.mud.yahoo.com [66.163.179.81]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1C8hoJj027376 for ; Thu, 12 Feb 2009 02:43:51 -0600 Received: (qmail 54534 invoked by uid 60001); 12 Feb 2009 08:43:44 -0000 X-YMail-OSG: zqXCOj0VM1nsL9RfBrUNz9I26hTsLkXN91S8imRjgHLY8Z9AYKAF1zf9MhjEtQkLga8EXfyiaZ4cm0YaqLIp2Y_kiYzVsvgkh9T8fvJChJrhEScRYjf5Q.XNcqg3W0Kv.Pr4qgkAsVjmnNmaKbcpqz7EwiVR2XKIE2kKoFgNQRE867TKTI17ldqA0ct8E1PfvVrTlObH.YvUbLc6HQ-- Received: from [87.69.49.127] by web35202.mail.mud.yahoo.com via HTTP; Thu, 12 Feb 2009 00:43:44 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Thu, 12 Feb 2009 00:43:44 -0800 (PST) From: Sergei Steshenko Subject: Re: gnuplot in Octave review To: =?iso-8859-1?Q?Jordi_Guti=E9rrez_Hermoso?= In-Reply-To: <9543b3a40902111726q7a3a5fddnfa4087e500bc6461@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Message-ID: <393760.51478.qm@web35202.mail.mud.yahoo.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1C8hpgw015090 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: sergstesh@yahoo.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 08:43:52 -0000 --- On Wed, 2/11/09, Jordi Gutiérrez Hermoso wrote: > From: Jordi Gutiérrez Hermoso > Subject: Re: gnuplot in Octave review > To: sergstesh@yahoo.com > Cc: help-octave@octave.org > Date: Wednesday, February 11, 2009, 5:26 PM > 2009/2/11 Sergei Steshenko : ... > should > you ever feel like opening 200 windows. > > - Jordi G. H. Jordi, again, it wasn't that I really made calculations that told me I would need 200+ windows. It was more or less like this: # the line below is for real work, temporarily commented out #for i=1:100 # the line below is for debugging for i=50:50 for j=1:2 # some code, including calls to 'plot' endfor endfor So, during debugging I had a small number of windows, like 4, but when I switched to"real" mode, number of windows increased. My 'octave' code produces some responses, and the need to be monitored with at least "one eye open". Regards, Sergei. From thomas.weber.mail@gmail.com Thu Feb 12 03:35:04 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1C9Z4Uj026692 for ; Thu, 12 Feb 2009 03:35:04 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1C9Z44T001718 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 12 Feb 2009 03:35:04 -0600 Received: from theia.rz.uni-saarland.de (theia.rz.uni-saarland.de [134.96.7.31]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1C9Z0fY005375 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 12 Feb 2009 03:35:03 -0600 Received: from [134.96.31.18] (iam-ma-015.num.uni-sb.de [134.96.31.18]) by theia.rz.uni-saarland.de (8.14.1/8.14.0) with ESMTP id n1C9Ywsw001427; Thu, 12 Feb 2009 10:34:58 +0100 Subject: Re: octave memory From: Thomas Weber To: "John W. Eaton" In-Reply-To: <18835.14072.691436.550741@segfault.lan> References: <1234368664.7424.0.camel@sh-t400> <1234370480.7424.1.camel@sh-t400> <18835.193.233428.669105@segfault.lan> <69d8d540902110944x77ce1c5ey814928e14e7a8540@mail.gmail.com> <18835.7798.901191.814630@segfault.lan> <20090211203209.GA15577@zind.ikem.pwr.wroc.pl> <18835.14072.691436.550741@segfault.lan> Content-Type: text/plain Date: Thu, 12 Feb 2009 10:34:58 +0100 Message-Id: <1234431298.3538.24.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (theia.rz.uni-saarland.de [134.96.7.31]); Thu, 12 Feb 2009 10:34:58 +0100 (CET) X-AntiVirus: checked by AntiVir MailGate (version: 2.1.2-14; AVE: 7.9.0.76; VDF: 7.1.2.15; host: AntiVir1) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave Help , jean francois sauvage X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 09:35:05 -0000 Am Mittwoch, den 11.02.2009, 15:37 -0500 schrieb John W. Eaton: > On 11-Feb-2009, Miroslaw Kwasniak wrote: > > | Current kernels have an entry /proc/*/status: > | > | $ grep Vm /proc/`pidof octave-3.0.1`/status > | VmPeak: 419416 kB <- max allocated > | VmSize: 321288 kB > | VmLck: 0 kB > | VmHWM: 106716 kB <- max used (HWM = High Water Mark) > | VmRSS: 105828 kB > | VmData: 253276 kB > | VmStk: 312 kB > | VmExe: 4 kB > | VmLib: 47508 kB > | VmPTE: 288 kB > | > | I assume VmHWM is a true max usage when not swapped. > | > | Below the same process listed by top: > | > | PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > | 18177 mirek 39 19 399m 103m 24m S 1.6 6.8 32:49.40 octave-3.0.1 > > So why isn't this information returned by the getrusage library > function? Missing functionality in the Linux kernel: http://zwillow.blogspot.com/2006/05/broken-getrusage-in-linux.html >From getrusage(2): The structure definition shown at the start of this page was taken from 4.3BSD Reno. Not all fields are meaningful under Linux. In Linux 2.4 only the fields ru_utime, ru_stime, ru_minflt, and ru_majflt are maintained. Since Linux 2.6, ru_nvcsw and ru_nivcsw are also maintained. There's hope, however: http://marc.info/?t=123203053700006&r=1&w=2 Jeff, it might be helpful if you weighted in on the kernel discussion and give your specific use case. It seems kernel developers don't see a use case for the getrusage information. Thomas From bertrand.roessli@psi.ch Thu Feb 12 05:45:44 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1CBjiZZ021484 for ; Thu, 12 Feb 2009 05:45:44 -0600 (CST) Received: from MAILSEND01.psi.ch (mailsend01.psi.ch [129.129.191.53]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1CBjeTj009162 for ; Thu, 12 Feb 2009 05:45:43 -0600 Received: from [129.129.195.89] ([129.129.195.89]) by MAILSEND01.psi.ch with Microsoft SMTPSVC(6.0.3790.3959); Thu, 12 Feb 2009 12:45:31 +0100 Subject: development version does not compile From: Bertrand Roessli To: Octave users list Content-Type: text/plain Date: Thu, 12 Feb 2009 12:45:26 +0100 Message-Id: <1234439126.6581.15.camel@broessli-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Feb 2009 11:45:31.0404 (UTC) FILETIME=[687C64C0:01C98D07] X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 11:45:45 -0000 Hello, I am trying to compile the development version and it does not compile properly ../libcruft/libcruft.so: undefined reference to `s_cat' ../src/liboctinterp.so: undefined reference to `do_fio' ../src/liboctinterp.so: undefined reference to `e_wsfe' ../libcruft/libcruft.so: undefined reference to `c_abs' ../libcruft/libcruft.so: undefined reference to `d_mod' collect2: ld returned 1 exit status make[2]: *** [octave] Error 1 make[2]: Leaving directory `/home/broessli/octave/src' make[1]: *** [src] Error 2 make[1]: Leaving directory `/home/broessli/octave' make: *** [all] Error 2 Any hint? Thank you, Bertrand Roessli From mirek@zind.ikem.pwr.wroc.pl Thu Feb 12 05:51:02 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1CBp2mS022516 for ; Thu, 12 Feb 2009 05:51:02 -0600 (CST) Received: from dionizos.zind.ikem.pwr.wroc.pl (dionizos.zind.ikem.pwr.wroc.pl [156.17.14.253]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1CBoOHV011007; Thu, 12 Feb 2009 05:51:01 -0600 X-SPF-Record: a.mx.a:infrared.zind.ikem.pwr.wroc.pl.mx:sun1000.pwr.wroc.pl.ip4:156.17.14.89.ip4:156.17.14.252.include:pwr.wroc.pl.-all Received: from dionizos.zind.ikem.pwr.wroc.pl (localhost [127.0.0.1]) by dionizos.zind.ikem.pwr.wroc.pl (8.13.4/8.13.4/check_local-5) with ESMTP id n1CBnxwm017774; Thu, 12 Feb 2009 12:50:10 +0100 X-Spam-Filter: check_local@dionizos.zind.ikem.pwr.wroc.pl by digitalanswers.org Received: (from mirek@localhost) by dionizos.zind.ikem.pwr.wroc.pl (8.13.4/8.13.4/Submit) id n1CBnv5u017772; Thu, 12 Feb 2009 12:49:57 +0100 Date: Thu, 12 Feb 2009 12:49:54 +0100 From: Miroslaw Kwasniak To: help-octave@octave.org, "John W. Eaton" , Octave Help Subject: Re: octave memory Message-ID: <20090212114954.GA17602@zind.ikem.pwr.wroc.pl> Mail-Followup-To: help-octave@octave.org, "John W. Eaton" , Octave Help References: <1234370480.7424.1.camel@sh-t400> <18835.193.233428.669105@segfault.lan> <69d8d540902110944x77ce1c5ey814928e14e7a8540@mail.gmail.com> <18835.7798.901191.814630@segfault.lan> <20090211203209.GA15577@zind.ikem.pwr.wroc.pl> <18835.14072.691436.550741@segfault.lan> <1234431298.3538.24.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1234431298.3538.24.camel@localhost> User-Agent: Mutt/1.5.9i X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 11:51:03 -0000 On Thu, Feb 12, 2009 at 10:34:58AM +0100, Thomas Weber wrote: > Am Mittwoch, den 11.02.2009, 15:37 -0500 schrieb John W. Eaton: > > So why isn't this information returned by the getrusage library > > function? > > Missing functionality in the Linux kernel: > http://zwillow.blogspot.com/2006/05/broken-getrusage-in-linux.html > > >From getrusage(2): [...] >From getrusage-test.c (Frank Mayhar, 2007 Google Inc.): ... the ru_maxrss field of struct rusage is not mandated or specified by POSIX, it is implemented in several Unix derivatives ... * The test has been run against the following operating systems: * FreeBSD 6.2 PASS * Linux 2.6 (unpatched) FAIL (unimplemented) * Linux 2.6 (patched) PASS * MacOSX/Darwin 8.10.1 FAIL (unimplemented) * Solaris/SunOS 5.10 FAIL (unimplemented) > > There's hope, however: > http://marc.info/?t=123203053700006&r=1&w=2 Yes, Jiri Pirko from Redhat probably solve this problem finally. > Jeff, it might be helpful if you weighted in on the kernel discussion > and give your specific use case. It seems kernel developers don't see a > use case for the getrusage information. There are some memory monitor programs/libs - as I know all of them use /proc/*/status : Find out the peak memory usage of a process over its lifetime. http://dagobah.ucc.asn.au/things/getusage.c Mem-Monitor is a utility that gives periodic feedback on the memory and CPU usage of a program. http://www.cubewano.org/mem-monitor/ From mirek@zind.ikem.pwr.wroc.pl Thu Feb 12 05:51:02 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1CBp2Ud022517 for ; Thu, 12 Feb 2009 05:51:02 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1CBp2LQ021102 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 12 Feb 2009 05:51:02 -0600 Received: from dionizos.zind.ikem.pwr.wroc.pl (dionizos.zind.ikem.pwr.wroc.pl [156.17.14.253]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1CBoOHV011007; Thu, 12 Feb 2009 05:51:01 -0600 X-SPF-Record: a.mx.a:infrared.zind.ikem.pwr.wroc.pl.mx:sun1000.pwr.wroc.pl.ip4:156.17.14.89.ip4:156.17.14.252.include:pwr.wroc.pl.-all Received: from dionizos.zind.ikem.pwr.wroc.pl (localhost [127.0.0.1]) by dionizos.zind.ikem.pwr.wroc.pl (8.13.4/8.13.4/check_local-5) with ESMTP id n1CBnxwm017774; Thu, 12 Feb 2009 12:50:10 +0100 X-Spam-Filter: check_local@dionizos.zind.ikem.pwr.wroc.pl by digitalanswers.org Received: (from mirek@localhost) by dionizos.zind.ikem.pwr.wroc.pl (8.13.4/8.13.4/Submit) id n1CBnv5u017772; Thu, 12 Feb 2009 12:49:57 +0100 Date: Thu, 12 Feb 2009 12:49:54 +0100 From: Miroslaw Kwasniak To: help-octave@octave.org, "John W. Eaton" , Octave Help Subject: Re: octave memory Message-ID: <20090212114954.GA17602@zind.ikem.pwr.wroc.pl> Mail-Followup-To: help-octave@octave.org, "John W. Eaton" , Octave Help References: <1234370480.7424.1.camel@sh-t400> <18835.193.233428.669105@segfault.lan> <69d8d540902110944x77ce1c5ey814928e14e7a8540@mail.gmail.com> <18835.7798.901191.814630@segfault.lan> <20090211203209.GA15577@zind.ikem.pwr.wroc.pl> <18835.14072.691436.550741@segfault.lan> <1234431298.3538.24.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1234431298.3538.24.camel@localhost> User-Agent: Mutt/1.5.9i X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 11:51:03 -0000 On Thu, Feb 12, 2009 at 10:34:58AM +0100, Thomas Weber wrote: > Am Mittwoch, den 11.02.2009, 15:37 -0500 schrieb John W. Eaton: > > So why isn't this information returned by the getrusage library > > function? > > Missing functionality in the Linux kernel: > http://zwillow.blogspot.com/2006/05/broken-getrusage-in-linux.html > > >From getrusage(2): [...] >From getrusage-test.c (Frank Mayhar, 2007 Google Inc.): ... the ru_maxrss field of struct rusage is not mandated or specified by POSIX, it is implemented in several Unix derivatives ... * The test has been run against the following operating systems: * FreeBSD 6.2 PASS * Linux 2.6 (unpatched) FAIL (unimplemented) * Linux 2.6 (patched) PASS * MacOSX/Darwin 8.10.1 FAIL (unimplemented) * Solaris/SunOS 5.10 FAIL (unimplemented) > > There's hope, however: > http://marc.info/?t=123203053700006&r=1&w=2 Yes, Jiri Pirko from Redhat probably solve this problem finally. > Jeff, it might be helpful if you weighted in on the kernel discussion > and give your specific use case. It seems kernel developers don't see a > use case for the getrusage information. There are some memory monitor programs/libs - as I know all of them use /proc/*/status : Find out the peak memory usage of a process over its lifetime. http://dagobah.ucc.asn.au/things/getusage.c Mem-Monitor is a utility that gives periodic feedback on the memory and CPU usage of a program. http://www.cubewano.org/mem-monitor/ From highegg@gmail.com Thu Feb 12 05:59:41 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1CBxflm023818 for ; Thu, 12 Feb 2009 05:59:41 -0600 (CST) Received: from mail-fx0-f18.google.com (mail-fx0-f18.google.com [209.85.220.18]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1CBxewt028215 for ; Thu, 12 Feb 2009 05:59:41 -0600 Received: by fxm11 with SMTP id 11so1450510fxm.0 for ; Thu, 12 Feb 2009 03:59:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.227.10 with SMTP id e10mr325339mur.30.1234439967748; Thu, 12 Feb 2009 03:59:27 -0800 (PST) In-Reply-To: <1234439126.6581.15.camel@broessli-laptop> References: <1234439126.6581.15.camel@broessli-laptop> Date: Thu, 12 Feb 2009 12:59:27 +0100 Message-ID: <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> Subject: Re: development version does not compile From: Jaroslav Hajek To: Bertrand Roessli Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 11:59:42 -0000 On Thu, Feb 12, 2009 at 12:45 PM, Bertrand Roessli wrote: > Hello, > > I am trying to compile the development version and > it does not compile properly > > ../libcruft/libcruft.so: undefined reference to `s_cat' > ../src/liboctinterp.so: undefined reference to `do_fio' > ../src/liboctinterp.so: undefined reference to `e_wsfe' > ../libcruft/libcruft.so: undefined reference to `c_abs' > ../libcruft/libcruft.so: undefined reference to `d_mod' > collect2: ld returned 1 exit status > make[2]: *** [octave] Error 1 > make[2]: Leaving directory `/home/broessli/octave/src' > make[1]: *** [src] Error 2 > make[1]: Leaving directory `/home/broessli/octave' > make: *** [all] Error 2 > > Any hint? Thank you, > > Bertrand Roessli > "Development version" alone is too vague, as it changes every day. If you got a snapshot from the Savannah mercurial archive, please state the tip ID (hg tip). Otherwise, say "I'm compiling 3.1.52" or something. Also, including your configuration info would be helpful. Judging by previous experience, I'd say these look like references to the fortran runtime library. cheers -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From bertrand.roessli@psi.ch Thu Feb 12 06:12:48 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1CCCmvb026103 for ; Thu, 12 Feb 2009 06:12:48 -0600 (CST) Received: from MAILSEND01.psi.ch (mailsend01.psi.ch [129.129.191.53]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1CCCjxw025032 for ; Thu, 12 Feb 2009 06:12:47 -0600 Received: from [129.129.195.89] ([129.129.195.89]) by MAILSEND01.psi.ch with Microsoft SMTPSVC(6.0.3790.3959); Thu, 12 Feb 2009 13:12:40 +0100 Subject: Re: development version does not compile From: Bertrand Roessli To: Jaroslav Hajek In-Reply-To: <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> References: <1234439126.6581.15.camel@broessli-laptop> <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> Content-Type: text/plain Date: Thu, 12 Feb 2009 13:12:35 +0100 Message-Id: <1234440755.6581.20.camel@broessli-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Feb 2009 12:12:40.0064 (UTC) FILETIME=[333E3000:01C98D0B] X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 12:12:49 -0000 Hope it helps... broessli@broessli-laptop:~$ hg tip abort: There is no Mercurial repository here (.hg not found)! broessli@broessli-laptop:~$ cd octave/ broessli@broessli-laptop:~/octave$ hg tip changeset: 8731:5abe5ae55465 tag: tip user: Jaroslav Hajek date: Thu Feb 12 10:00:43 2009 +0100 summary: use lo-traits in oct-inttypes configure: defining TEMPLATE_AR to be $(AR) configure: defining TEMPLATE_ARFLAGS to be rc configure: defining CRUFT_DLL_DEFS to be configure: defining OCTAVE_DLL_DEFS to be configure: defining OCTINTERP_DLL_DEFS to be configure: defining OCTGRAPHICS_DLL_DEFS to be configure: defining library_path_var to be LD_LIBRARY_PATH checking for gethostname... yes checking for getpwnam... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for dev_t... yes checking for ino_t... yes checking for nlink_t... yes checking for nlink_t... (cached) yes checking for long long int... yes checking for unsigned long long int... yes checking for sigset_t... yes checking for sig_atomic_t... yes checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for long long... yes checking size of long long... 8 checking for working alloca.h... yes checking for alloca... yes checking for an ANSI C-conforming const... yes checking whether defines placement delete operator... yes checking whether C++ supports dynamic auto arrays... yes checking whether fast integer arithmetics is usable... yes checking for long double... yes checking size of long double... 12 checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking direct.h usability... no checking direct.h presence... no checking for direct.h... no checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking floatingpoint.h usability... no checking floatingpoint.h presence... no checking for floatingpoint.h... no checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for memory.h... (cached) yes checking nan.h usability... no checking nan.h presence... no checking for nan.h... no checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sunmath.h usability... no checking sunmath.h presence... no checking for sunmath.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for sys/types.h... (cached) yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/utime.h usability... no checking sys/utime.h presence... no checking for sys/utime.h... no checking termcap.h usability... yes checking termcap.h presence... yes checking for termcap.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking sstream usability... yes checking sstream presence... yes checking for sstream... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking sgtty.h usability... yes checking sgtty.h presence... yes checking for sgtty.h... yes checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking fnmatch.h usability... yes checking fnmatch.h presence... yes checking for fnmatch.h... yes checking conio.h usability... no checking conio.h presence... no checking for conio.h... no checking for fnmatch... yes checking for glob... yes checking for atexit... yes checking for basename... yes checking for bcopy... yes checking for bzero... yes checking for canonicalize_file_name... yes checking for chmod... yes checking for dup2... yes checking for endgrent... yes checking for endpwent... yes checking for execvp... yes checking for expm1... yes checking for expm1f... yes checking for fcntl... yes checking for fork... yes checking for fstat... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getgrent... yes checking for getgrgid... yes checking for getgrnam... yes checking for getpgrp... yes checking for getpid... yes checking for getppid... yes checking for getpwent... yes checking for getpwuid... yes checking for gettimeofday... yes checking for getuid... yes checking for getwd... yes checking for _kbhit... no checking for kill... yes checking for lgamma... yes checking for lgammaf... yes checking for lgamma_r... yes checking for lgammaf_r... yes checking for link... yes checking for localtime_r... yes checking for log1p... yes checking for log1pf... yes checking for lstat... yes checking for memmove... yes checking for mkdir... yes checking for mkfifo... yes checking for mkstemp... yes checking for on_exit... yes checking for pipe... yes checking for poll... yes checking for putenv... yes checking for raise... yes checking for readlink... yes checking for realpath... yes checking for rename... yes checking for resolvepath... no checking for rindex... yes checking for rmdir... yes checking for round... yes checking for roundl... yes checking for select... yes checking for setgrent... yes checking for setlocale... yes checking for setpwent... yes checking for setvbuf... yes checking for sigaction... yes checking for siglongjmp... yes checking for sigpending... yes checking for sigprocmask... yes checking for sigsuspend... yes checking for snprintf... yes checking for stat... yes checking for strcasecmp... yes checking for strdup... yes checking for strerror... yes checking for stricmp... no checking for strncasecmp... yes checking for strnicmp... no checking for strptime... yes checking for strsignal... yes checking for symlink... yes checking for tempnam... yes checking for tgamma... yes checking for tgammaf... yes checking for trunc... yes checking for umask... yes checking for uname... yes checking for unlink... yes checking for usleep... yes checking for utime... yes checking for vfprintf... yes checking for vsprintf... yes checking for vsnprintf... yes checking for waitpid... yes checking for _chmod... no checking for _snprintf... no checking for x_utime... no checking for _utime32... no checking for strftime... yes checking whether strptime is broken... no checking whether putenv uses malloc... no checking mach-o/dyld.h usability... no checking mach-o/dyld.h presence... no checking for mach-o/dyld.h... no checking for shl_load in -ldld... no checking for shl_load... no checking for shl_findsym... no checking for LoadLibrary in -lwsock32... no checking for LoadLibrary... no checking for dlopen in -ldl... yes checking for dlopen... yes checking for dlsym... yes checking for dlerror... yes checking for dlclose... yes checking whether g++ accepts -rdynamic... yes checking for struct timeval... yes checking whether gettimeofday can't accept two arguments... no checking for finite... yes checking for isnan... yes checking for isinf... yes checking for copysign... yes checking for signbit... no checking for _finite... no checking for _isnan... no checking for _copysign... no checking whether signbit is declared... yes checking for acosh... yes checking for acoshf... yes checking for asinh... yes checking for asinhf... yes checking for atanh... yes checking for atanhf... yes checking for erf... yes checking for erff... yes checking for erfc... yes checking for erfcf... yes checking for exp2... yes checking for exp2f... yes checking for log2... yes checking for log2f... yes checking for hypotf... yes checking for _hypotf... no checking for struct stat.st_blksize... yes checking for struct stat.st_blocks... yes checking for struct stat.st_rdev... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking whether closedir returns void... no checking for struct group.gr_passwd... no checking if mkdir takes one argument... no checking for tputs in -lncurses... yes checking for rl_set_keyboard_input_timeout in -lreadline... yes checking for struct exception in math.h... yes checking return type of signal handlers... void checking whether sys_siglist is declared... yes checking for type of signal functions... posix checking if signal handlers must be reinstalled when invoked... no checking for getrusage... yes checking for times... yes checking for gawk... no checking for mawk... mawk checking for gfind... no checking for find... find checking for a usable sed... /bin/sed checking for perl... perl checking for python... python checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes defining LFLAGS to be -t -I checking for bison... bison -y checking whether ln -s works... yes checking for a BSD-compatible install... /usr/bin/install -c checking for desktop-file-install... desktop-file-install checking for gnuplot... gnuplot checking for less... less checking for gperf... gperf checking for gs... gs checking for makeinfo... makeinfo checking for texi2dvi... texi2dvi checking for texi2pdf... texi2pdf configure: defining UGLY_DEFS to be -DPACKAGE_NAME=\\\\\"\\\\\" -DPACKAGE_TARNAME=\\\\\"\\\\\" -DPACKAGE_VERSION=\\\\\"\\\\\" -DPACKAGE_STRING=\\\\\"\\\\\" -DPACKAGE_BUGREPORT=\\\\\"\\\\\" -DOCTAVE_SOURCE=1 -D_GNU_SOURCE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSEPCHAR=\':\' -DSEPCHAR_STR=\\\\ \":\\\\\" -D__NO_MATH_INLINES=1 -DCXX_NEW_FRIEND_TEMPLATE_DECL=1 -DCXX_ISO_COMPLIANT_LIBRARY=1 -DHAVE_X_WINDOWS=1 -DHAVE_LIBM=1 -DHAVE_REGEXEC=1 -DHAVE_REGEX=1 -DHAVE_ZLIB_H=1 -DHAVE_ZLIB=1 -DHAVE_FFTW3=1 -DHAVE_GLPK_H=1 -DHAVE_GLPK=1 -DHAVE_IEEE754_DATA_FORMAT=1 -DF77_FUNC\(name,NAME\)=name\ \#\#\ _ -DF77_FUNC_\(name,NAME\)=name\ \#\#\ __ -DHAVE_BLAS=1 -DHAVE_SUITESPARSE_AMD_H=1 -DHAVE_AMD=1 -DHAVE_SUITESPARSE_UMFPACK_H=1 -DHAVE_UMFPACK=1 -DUMFPACK_SEPARATE_SPLIT=1 -DHAVE_SUITESPARSE_COLAMD_H=1 -DHAVE_COLAMD=1 -DHAVE_SUITESPARSE_CCOLAMD_H=1 -DHAVE_CCOLAMD=1 -DHAVE_SUITESPARSE_CHOLMOD_H=1 -DHAVE_CHOLMOD=1 -DHAVE_SUITESPARSE_CS_H=1 -DHAVE_CXSPARSE=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETPWNAM=1 -DHAVE_DEV_T=1 -DHAVE_INO_T=1 -DHAVE_NLINK_T=1 -DHAVE_NLINK_T=1 -DHAVE_LONG_LONG_INT=1 -DHAVE_UNSIGNED_LONG_LONG_INT=1 -DHAVE_SIGSET_T=1 -DHAVE_SIG_ATOMIC_T=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DSIZEOF_LONG_LONG=8 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_PLACEMENT_DELETE=1 -DHAVE_DYNAMIC_AUTO_ARRAYS=1 -DHAVE_FAST_INT_OPS=1 -DSIZEOF_LONG_DOUBLE=12 -DSTDC_HEADERS=1 -DHAVE_DIRENT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_ASSERT_H=1 -DHAVE_CURSES_H=1 -DHAVE_DLFCN_H=1 -DHAVE_FCNTL_H=1 -DHAVE_FLOAT_H=1 -DHAVE_GRP_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_MEMORY_H=1 -DHAVE_NCURSES_H=1 -DHAVE_POLL_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_PWD_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_POLL_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMES_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_UTSNAME_H=1 -DHAVE_TERMCAP_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UTIME_H=1 -DHAVE_SSTREAM=1 -DHAVE_TERMIO_H=1 -DHAVE_SGTTY_H=1 -DHAVE_GLOB_H=1 -DHAVE_FNMATCH_H=1 -DHAVE_FNMATCH=1 -DHAVE_GLOB=1 -DHAVE_ATEXIT=1 -DHAVE_BASENAME=1 -DHAVE_BCOPY=1 -DHAVE_BZERO=1 -DHAVE_CANONICALIZE_FILE_NAME=1 -DHAVE_CHMOD=1 -DHAVE_DUP2=1 -DHAVE_ENDGRENT=1 -DHAVE_ENDPWENT=1 -DHAVE_EXECVP=1 -DHAVE_EXPM1=1 -DHAVE_EXPM1F=1 -DHAVE_FCNTL=1 -DHAVE_FORK=1 -DHAVE_FSTAT=1 -DHAVE_GETCWD=1 -DHAVE_GETEGID=1 -DHAVE_GETEUID=1 -DHAVE_GETGID=1 -DHAVE_GETGRENT=1 -DHAVE_GETGRGID=1 -DHAVE_GETGRNAM=1 -DHAVE_GETPGRP=1 -DHAVE_GETPID=1 -DHAVE_GETPPID=1 -DHAVE_GETPWENT=1 -DHAVE_GETPWUID=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_GETUID=1 -DHAVE_GETWD=1 -DHAVE_KILL=1 -DHAVE_LGAMMA=1 -DHAVE_LGAMMAF=1 -DHAVE_LGAMMA_R=1 -DHAVE_LGAMMAF_R=1 -DHAVE_LINK=1 -DHAVE_LOCALTIME_R=1 -DHAVE_LOG1P=1 -DHAVE_LOG1PF=1 -DHAVE_LSTAT=1 -DHAVE_MEMMOVE=1 -DHAVE_MKDIR=1 -DHAVE_MKFIFO=1 -DHAVE_MKSTEMP=1 -DHAVE_ON_EXIT=1 -DHAVE_PIPE=1 -DHAVE_POLL=1 -DHAVE_PUTENV=1 -DHAVE_RAISE=1 -DHAVE_READLINK=1 -DHAVE_REALPATH=1 -DHAVE_RENAME=1 -DHAVE_RINDEX=1 -DHAVE_RMDIR=1 -DHAVE_ROUND=1 -DHAVE_ROUNDL=1 -DHAVE_SELECT=1 -DHAVE_SETGRENT=1 -DHAVE_SETLOCALE=1 -DHAVE_SETPWENT=1 -DHAVE_SETVBUF=1 -DHAVE_SIGACTION=1 -DHAVE_SIGLONGJMP=1 -DHAVE_SIGPENDING=1 -DHAVE_SIGPROCMASK=1 -DHAVE_SIGSUSPEND=1 -DHAVE_SNPRINTF=1 -DHAVE_STAT=1 -DHAVE_STRCASECMP=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRPTIME=1 -DHAVE_STRSIGNAL=1 -DHAVE_SYMLINK=1 -DHAVE_TEMPNAM=1 -DHAVE_TGAMMA=1 -DHAVE_TGAMMAF=1 -DHAVE_TRUNC=1 -DHAVE_UMASK=1 -DHAVE_UNAME=1 -DHAVE_UNLINK=1 -DHAVE_USLEEP=1 -DHAVE_UTIME=1 -DHAVE_VFPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_WAITPID=1 -DHAVE_STRFTIME=1 -DHAVE_LIBDL=1 -DHAVE_DLOPEN=1 -DHAVE_DLSYM=1 -DHAVE_DLERROR=1 -DHAVE_DLCLOSE=1 -DHAVE_DLOPEN_API=1 -DENABLE_DYNAMIC_LINKING=1 -DHAVE_TIMEVAL=1 -DHAVE_FINITE=1 -DHAVE_ISNAN=1 -DHAVE_ISINF=1 -DHAVE_COPYSIGN=1 -DHAVE_DECL_SIGNBIT=1 -DHAVE_ACOSH=1 -DHAVE_ACOSHF=1 -DHAVE_ASINH=1 -DHAVE_ASINHF=1 -DHAVE_ATANH=1 -DHAVE_ATANHF=1 -DHAVE_ERF=1 -DHAVE_ERFF=1 -DHAVE_ERFC=1 -DHAVE_ERFCF=1 -DHAVE_EXP2=1 -DHAVE_EXP2F=1 -DHAVE_LOG2=1 -DHAVE_LOG2F=1 -DHAVE_HYPOTF=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_STRUCT_STAT_ST_RDEV=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DUSE_READLINE=1 -DEXCEPTION_IN_MATH=1 -DRETSIGTYPE=void -DHAVE_DECL_SYS_SIGLIST=1 -DHAVE_POSIX_SIGNALS=1 -DRETSIGTYPE_IS_VOID=1 -DHAVE_GETRUSAGE=1 -DHAVE_TIMES=1 -DYYTEXT_POINTER=1 checking whether gcc accepts -Wall... yes adding -Wall to WARN_CFLAGS checking whether gcc accepts -W... yes adding -W to WARN_CFLAGS checking whether gcc accepts -Wshadow... yes adding -Wshadow to WARN_CFLAGS checking whether g++ accepts -Wall... yes adding -Wall to WARN_CXXFLAGS checking whether g++ accepts -W... yes adding -W to WARN_CXXFLAGS checking whether g++ accepts -Wshadow... yes adding -Wshadow to WARN_CXXFLAGS checking whether g++ accepts -Wold-style-cast... yes adding -Wold-style-cast to WARN_CXXFLAGS configure: creating ./config.status config.status: creating Makefile config.status: creating octMakefile config.status: creating Makeconf config.status: creating test/Makefile config.status: creating doc/Makefile config.status: creating doc/faq/Makefile config.status: creating doc/interpreter/Makefile config.status: creating doc/liboctave/Makefile config.status: creating doc/refcard/Makefile config.status: creating emacs/Makefile config.status: creating examples/Makefile config.status: creating examples/@polynomial/Makefile config.status: creating liboctave/Makefile config.status: creating liboctave/oct-types.h config.status: creating src/Makefile config.status: creating src/mxarray.h config.status: creating libcruft/Makefile config.status: creating libcruft/Makerules config.status: creating libcruft/amos/Makefile config.status: creating libcruft/blas/Makefile config.status: creating libcruft/daspk/Makefile config.status: creating libcruft/dasrt/Makefile config.status: creating libcruft/dassl/Makefile config.status: creating libcruft/fftpack/Makefile config.status: creating libcruft/lapack/Makefile config.status: creating libcruft/misc/Makefile config.status: creating libcruft/odepack/Makefile config.status: creating libcruft/ordered-qz/Makefile config.status: creating libcruft/quadpack/Makefile config.status: creating libcruft/ranlib/Makefile config.status: creating libcruft/slatec-fn/Makefile config.status: creating libcruft/slatec-err/Makefile config.status: creating libcruft/villad/Makefile config.status: creating libcruft/blas-xtra/Makefile config.status: creating libcruft/lapack-xtra/Makefile config.status: creating config.h config.status: config.h is unchanged === configuring in scripts (/home/broessli/octave/scripts) configure: running /bin/bash ./configure '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile config.status: creating audio/Makefile config.status: creating deprecated/Makefile config.status: creating elfun/Makefile config.status: creating general/Makefile config.status: creating geometry/Makefile config.status: creating help/Makefile config.status: creating image/Makefile config.status: creating io/Makefile config.status: creating linear-algebra/Makefile config.status: creating miscellaneous/Makefile config.status: creating optimization/Makefile config.status: creating path/Makefile config.status: creating pkg/Makefile config.status: creating plot/Makefile config.status: creating polynomial/Makefile config.status: creating set/Makefile config.status: creating signal/Makefile config.status: creating sparse/Makefile config.status: creating specfun/Makefile config.status: creating special-matrix/Makefile config.status: creating startup/Makefile config.status: creating statistics/Makefile config.status: creating statistics/base/Makefile config.status: creating statistics/distributions/Makefile config.status: creating statistics/models/Makefile config.status: creating statistics/tests/Makefile config.status: creating strings/Makefile config.status: creating time/Makefile config.status: creating testfun/Makefile configure: Octave is now configured for i686-pc-linux-gnu Source directory: . Installation prefix: /usr/local C compiler: gcc -mieee-fp -Wall -W -Wshadow -g -O2 C++ compiler: g++ -mieee-fp -Wall -W -Wshadow -Wold-style-cast -g -O2 Fortran compiler: f77 -O -mieee-fp Fortran libraries: BLAS libraries: -llapack -lblas FFTW libraries: -lfftw3 -lfftw3f GLPK libraries: -lglpk UMFPACK libraries: -lumfpack AMD libraries: -lamd CAMD libraries: -lcamd COLAMD libraries: -lcolamd CCOLAMD libraries: -lccolamd CHOLMOD libraries: -lcholmod CXSPARSE libraries: -lcxsparse ARPACK libraries: QRUPDATE libraries: HDF5 libraries: CURL libraries: REGEX libraries: QHULL libraries: OPENGL libraries: FLTK backend libs: X11 include flags: X11 libraries: -lX11 LIBS: -lreadline -lncurses -ldl -lblas -lz -lm Default pager: less gnuplot: gnuplot Magick config: Do internal array bounds checking: false Build static libraries: false Build shared libraries: true Dynamic Linking: true (dlopen) Include support for GNU readline: true 64-bit array dims and indexing: false configure: WARNING: qrupdate not found. The QR & Cholesky updating functions will be slow. configure: WARNING: arpack not found. This will result in a lack of the eigs function. configure: WARNING: GraphicsMagick++ config script not found. Assuming GraphicsMagic++ library and header files are missing, so imread will not be fully functional configure: WARNING: PCRE library not found. This will result in some loss of functionality for the regular expression matching functions. configure: WARNING: Qhull library not found --- This will result in loss of functionality of some geometry functions. configure: WARNING: "FLTK config script not found. Native graphics will be disabled." configure: WARNING: configure: WARNING: I didn't find the necessary libraries to compile native configure: WARNING: graphics. It isn't necessary to have native graphics configure: WARNING: but you will have to use gnuplot or you won't be able configure: WARNING: to use any of Octave's plotting commands configure: WARNING: configure: NOTE: libraries may be skipped if a library is not found OR if the library on your system is missing required features. On Thu, 2009-02-12 at 12:59 +0100, Jaroslav Hajek wrote: > On Thu, Feb 12, 2009 at 12:45 PM, Bertrand Roessli > wrote: > > Hello, > > > > I am trying to compile the development version and > > it does not compile properly > > > > ../libcruft/libcruft.so: undefined reference to `s_cat' > > ../src/liboctinterp.so: undefined reference to `do_fio' > > ../src/liboctinterp.so: undefined reference to `e_wsfe' > > ../libcruft/libcruft.so: undefined reference to `c_abs' > > ../libcruft/libcruft.so: undefined reference to `d_mod' > > collect2: ld returned 1 exit status > > make[2]: *** [octave] Error 1 > > make[2]: Leaving directory `/home/broessli/octave/src' > > make[1]: *** [src] Error 2 > > make[1]: Leaving directory `/home/broessli/octave' > > make: *** [all] Error 2 > > > > Any hint? Thank you, > > > > Bertrand Roessli > > > > "Development version" alone is too vague, as it changes every day. If > you got a snapshot from the Savannah mercurial archive, please state > the tip ID (hg tip). Otherwise, say "I'm compiling 3.1.52" or > something. > Also, including your configuration info would be helpful. > > Judging by previous experience, I'd say these look like references to > the fortran runtime library. > > cheers > From highegg@gmail.com Thu Feb 12 06:22:20 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1CCMKu9028046 for ; Thu, 12 Feb 2009 06:22:20 -0600 (CST) Received: from mail-bw0-f161.google.com (mail-bw0-f161.google.com [209.85.218.161]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1CCMGZF031949 for ; Thu, 12 Feb 2009 06:22:19 -0600 Received: by bwz5 with SMTP id 5so1029332bwz.0 for ; Thu, 12 Feb 2009 04:22:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.247.14 with SMTP id z14mr324428mur.70.1234441330446; Thu, 12 Feb 2009 04:22:10 -0800 (PST) In-Reply-To: <1234440755.6581.20.camel@broessli-laptop> References: <1234439126.6581.15.camel@broessli-laptop> <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> <1234440755.6581.20.camel@broessli-laptop> Date: Thu, 12 Feb 2009 13:22:10 +0100 Message-ID: <69d8d540902120422j4e3ed1cao224c08d567cf722e@mail.gmail.com> Subject: Re: development version does not compile From: Jaroslav Hajek To: Bertrand Roessli Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 12:22:21 -0000 On Thu, Feb 12, 2009 at 1:12 PM, Bertrand Roessli wrote: > Hope it helps... > > Octave is now configured for i686-pc-linux-gnu > > Source directory: . > Installation prefix: /usr/local > C compiler: gcc -mieee-fp -Wall -W -Wshadow -g -O2 > C++ compiler: g++ -mieee-fp -Wall -W -Wshadow > -Wold-style-cast -g -O2 > Fortran compiler: f77 -O -mieee-fp > Fortran libraries: This may be the problem. The configure script should have detected the Fortran runtime library here. I see you are using GNU/Linux. Why don't you use gfortran? regards -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From jf.sauvage@gmail.com Thu Feb 12 08:06:29 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1CE6Tqj017806 for ; Thu, 12 Feb 2009 08:06:29 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1CE6TMB014044 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 12 Feb 2009 08:06:29 -0600 Received: from mail-bw0-f161.google.com (mail-bw0-f161.google.com [209.85.218.161]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1CE6Rum005724; Thu, 12 Feb 2009 08:06:28 -0600 Received: by bwz5 with SMTP id 5so1098984bwz.0 for ; Thu, 12 Feb 2009 06:06:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.108.196 with SMTP id g4mr316119fap.36.1234447581489; Thu, 12 Feb 2009 06:06:21 -0800 (PST) In-Reply-To: <18835.7798.901191.814630@segfault.lan> References: <1234368664.7424.0.camel@sh-t400> <1234370480.7424.1.camel@sh-t400> <18835.193.233428.669105@segfault.lan> <69d8d540902110944x77ce1c5ey814928e14e7a8540@mail.gmail.com> <18835.7798.901191.814630@segfault.lan> Date: Thu, 12 Feb 2009 15:06:21 +0100 Message-ID: Subject: Re: octave memory From: jean francois sauvage To: "John W. Eaton" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 14:06:31 -0000 Thank you ! Well, I tried the getrusage function. On windows system (sigh...) all the memory fields are filled with NaN. thank you, again. I really appreciate the interest you show to solve my problem ;o) On Wed, Feb 11, 2009 at 7:52 PM, John W. Eaton wrote: > On 11-Feb-2009, jean francois sauvage wrote: > > | You are right, the inverse of a sparse matrix is generally not sparse. > | My idea is to use Cholesky factorisation. But I want to know how much > | space is needed by this factorisation. I can check this on Windows > | Task Manager, but without separating the contributions of the > | different process. > | > | but okay, it seems there is no built-in way to reach this information > | from octave. maybe I can write an octave function interfaced with a > | terminal command (like "top"). > > I think the maxrss field of the structure returned by the getrusage > function should give you what you want, but on my GNU/Linux system, > that field is always 0. So finding out why that happens and fixing > the problem would probably be a better solution. > > jwe > From bertrand.roessli@psi.ch Thu Feb 12 09:47:37 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1CFlbku008561 for ; Thu, 12 Feb 2009 09:47:37 -0600 (CST) Received: from MAILSEND01.psi.ch (mailsend01.psi.ch [129.129.191.53]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1CFlYHY027510 for ; Thu, 12 Feb 2009 09:47:36 -0600 Received: from [129.129.195.89] ([129.129.195.89]) by MAILSEND01.psi.ch with Microsoft SMTPSVC(6.0.3790.3959); Thu, 12 Feb 2009 16:47:27 +0100 Subject: Re: development version does not compile From: Bertrand Roessli To: Jaroslav Hajek In-Reply-To: <69d8d540902120422j4e3ed1cao224c08d567cf722e@mail.gmail.com> References: <1234439126.6581.15.camel@broessli-laptop> <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> <1234440755.6581.20.camel@broessli-laptop> <69d8d540902120422j4e3ed1cao224c08d567cf722e@mail.gmail.com> Content-Type: text/plain Date: Thu, 12 Feb 2009 16:47:22 +0100 Message-Id: <1234453642.6581.21.camel@broessli-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Feb 2009 15:47:27.0868 (UTC) FILETIME=[34F903C0:01C98D29] X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 15:47:39 -0000 I tired with gfortran and get the same error :-) best regards, Bertrand On Thu, 2009-02-12 at 13:22 +0100, Jaroslav Hajek wrote: > On Thu, Feb 12, 2009 at 1:12 PM, Bertrand Roessli > wrote: > > Hope it helps... > > > > > > > Octave is now configured for i686-pc-linux-gnu > > > > Source directory: . > > Installation prefix: /usr/local > > C compiler: gcc -mieee-fp -Wall -W -Wshadow -g -O2 > > C++ compiler: g++ -mieee-fp -Wall -W -Wshadow > > -Wold-style-cast -g -O2 > > Fortran compiler: f77 -O -mieee-fp > > Fortran libraries: > > This may be the problem. The configure script should have detected the > Fortran runtime library here. > I see you are using GNU/Linux. Why don't you use gfortran? > > regards > From jwe@octave.org Thu Feb 12 10:19:20 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1CGJK33015424 for ; Thu, 12 Feb 2009 10:19:20 -0600 (CST) Received: from spaceymail-a2.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1CGJJVv026421 for ; Thu, 12 Feb 2009 10:19:20 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a2.g.dreamhost.com (Postfix) with ESMTP id 94685EE3E3; Thu, 12 Feb 2009 08:19:18 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18836.19460.586382.947066@segfault.lan> Date: Thu, 12 Feb 2009 11:19:16 -0500 To: Bertrand Roessli Subject: Re: development version does not compile In-Reply-To: <1234453642.6581.21.camel@broessli-laptop> References: <1234439126.6581.15.camel@broessli-laptop> <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> <1234440755.6581.20.camel@broessli-laptop> <69d8d540902120422j4e3ed1cao224c08d567cf722e@mail.gmail.com> <1234453642.6581.21.camel@broessli-laptop> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 16:19:22 -0000 On 12-Feb-2009, Bertrand Roessli wrote: | I tired with gfortran and get the same error :-) Did the configure script detect gfortran? You might need to pass F77=gfortran as an argument to the configure script. jwe From paul.goulpie@bouyer.com Thu Feb 12 03:36:02 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1C9a20p026940 for ; Thu, 12 Feb 2009 03:36:02 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1C9a2ec002078 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 12 Feb 2009 03:36:02 -0600 Received: from ns28073.ovh.net (ns28073.ovh.net [91.121.91.48]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1C9ZvwD007431 for ; Thu, 12 Feb 2009 03:36:01 -0600 Received: (qmail 22093 invoked by uid 503); 12 Feb 2009 09:35:50 -0000 Received: from unknown (HELO ?127.0.0.1?) (62.23.191.110) by ns28073.ovh.net with SMTP; 12 Feb 2009 09:35:50 -0000 Message-ID: <4993ED7A.1060104@bouyer.com> Date: Thu, 12 Feb 2009 10:35:54 +0100 From: =?ISO-8859-1?Q?Paul_Goulpi=E9?= User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: help@octave.org Subject: help for c++ developpement Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 X-Mailman-Approved-At: Thu, 12 Feb 2009 10:24:08 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 09:36:03 -0000 Hello, I 'm french man and i excuse for my bad english. On first congratulation for your great project , it's a very good demonstration of the utility free software. I want to use octave for creating a dll library , use octave function (ex : freqz) inside. This devellopement is under Visual Studio 2008 , C++ language. I try to use octave c++ API but it don't work, need dll file (octave.dll, octinterp.dll ,..). When I add dll files in the folder of executable , the program crash with a message like : "not initialisation possible". Can you communicate me a referential for use and setting octave under Visual Studio 2008. On the bottom the file source of test : > #include > > typedef std::complex Complex; > > void main (){ > Complex number = Complex (0.7, 0.3); > > } Thank you for your response. Cordialement Paul Goulpié -- Paul Goulpié Developpement applications informatiques BOUYER member of FUNKWERK 480 Avenue de Paris 82000 MONTAUBAN FRANCE Tel 33 (0)5 63 21 31 13 - Fax 33 (0)5 63 03 08 26 paul.goulpie@bouyer.com www.bouyer.com From michael.goffioul@gmail.com Thu Feb 12 10:34:04 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1CGY4Ov020208 for ; Thu, 12 Feb 2009 10:34:04 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1CGY4DJ005756 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 12 Feb 2009 10:34:04 -0600 Received: from mail-bw0-f161.google.com (mail-bw0-f161.google.com [209.85.218.161]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1CGXwTq013750 for ; Thu, 12 Feb 2009 10:34:03 -0600 Received: by bwz5 with SMTP id 5so1215996bwz.0 for ; Thu, 12 Feb 2009 08:33:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.181.24.14 with SMTP id b14mr8493bkj.104.1234456432291; Thu, 12 Feb 2009 08:33:52 -0800 (PST) In-Reply-To: <4993ED7A.1060104@bouyer.com> References: <4993ED7A.1060104@bouyer.com> Date: Thu, 12 Feb 2009 16:33:52 +0000 Message-ID: <128f38bd0902120833s36c0ad21x39c95f2f89ccff4d@mail.gmail.com> Subject: Re: help for c++ developpement From: Michael Goffioul To: =?ISO-8859-1?Q?Paul_Goulpi=E9?= Content-Type: text/plain; charset=ISO-8859-1 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1CGY4Ov020208 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 16:34:06 -0000 How did you compile your oct-file? Which dll's did you actually copy? Michael. On Thu, Feb 12, 2009 at 9:35 AM, Paul Goulpié wrote: > Hello, > > I 'm french man and i excuse for my bad english. > > On first congratulation for your great project , it's a very good > demonstration of the utility free software. > > I want to use octave for creating a dll library , use octave function > (ex : freqz) inside. This devellopement is under Visual Studio 2008 , > C++ language. > I try to use octave c++ API but it don't work, need dll file > (octave.dll, octinterp.dll ,..). When I add dll files in the folder of > executable , the program crash with a message like : "not initialisation > possible". > Can you communicate me a referential for use and setting octave under > Visual Studio 2008. > On the bottom the file source of test : >> #include >> >> typedef std::complex Complex; >> >> void main (){ >> Complex number = Complex (0.7, 0.3); >> >> } > Thank you for your response. > > Cordialement > > > Paul Goulpié > > -- > Paul Goulpié > Developpement applications informatiques > BOUYER member of FUNKWERK > 480 Avenue de Paris > 82000 MONTAUBAN > FRANCE > Tel 33 (0)5 63 21 31 13 - Fax 33 (0)5 63 03 08 26 > paul.goulpie@bouyer.com > www.bouyer.com > > > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > From jjstickel@vcn.com Thu Feb 12 10:40:18 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1CGeIvp022253 for ; Thu, 12 Feb 2009 10:40:18 -0600 (CST) Received: from indium.vcn.com (indium.vcn.com [209.193.73.70]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1CGeFQR027739 for ; Thu, 12 Feb 2009 10:40:18 -0600 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by indium.vcn.com (Postfix) with ESMTP id B86E83000C2 for ; Thu, 12 Feb 2009 09:40:08 -0700 (MST) Received: from jstickel-10631s.nrel.gov (natstm.nrel.gov [192.174.37.51]) by indium.vcn.com (Postfix) with ESMTP id 32FE0300093; Thu, 12 Feb 2009 09:40:08 -0700 (MST) Message-ID: <499450E8.50505@vcn.com> Date: Thu, 12 Feb 2009 09:40:08 -0700 From: Jonathan Stickel User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: help-octave@octave.org, albertogomezherrero@gmail.com Subject: Re: octaviz and color References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 16:40:19 -0000 On 2/11/09 help-octave-request@octave.org wrote: > Date: Tue, 10 Feb 2009 11:43:57 -0800 (PST) > From: alberto_gh > Subject: Re: octaviz and color > To: help-octave@octave.org > Message-ID: <21939511.post@talk.nabble.com> > Content-Type: text/plain; charset=us-ascii > > > Hi, > > Could you be more specific in how to assign scalar inputs and modifying a > color scheme please? I have tried to plot only one triangle at each time > with one color based in my curvature value at each of that triangle's peaks > but I don't get a good result. Is there any way to do it as if it was a 4d > plot, where the fourth dimension, represented as a color, takes values from > a vector? > > Thanks very much > > Alberto > Unfortunately, octaviz is not currently being maintained. It will not compile with vtk > 5.0.x, and therefore I am no longer able to install octaviz on my computer (which is Mac OS X). I do not have the c++/bison knowledge to fix the bugs, and no one else has offered to help. Also, there is a separate effort to provide OpenGL 3d rendering via FLTK to Octave; this will likely supersede all projects like Octaviz. That said, I think your problem may be simple. The vtk_surf (and other similar functions) will take 4 matrix inputs, the last being a set of scalar values to use for the colormap: vtk_surf(x,y,z,c) To change the colormap that is applied, use the function "vtk_colormap" (you can download the m-file from octaviz cvs). For example: vtk_colormap (jet(256)) HTH, Jonathan From oscarbayonacandel@hotmail.com Thu Feb 12 18:22:52 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1D0MqHh001305 for ; Thu, 12 Feb 2009 18:22:52 -0600 (CST) Received: from col0-omc2-s11.col0.hotmail.com (col0-omc2-s11.col0.hotmail.com [65.55.34.85]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1D0Mp5s008601 for ; Thu, 12 Feb 2009 18:22:52 -0600 Received: from COL118-W58 ([65.55.34.73]) by col0-omc2-s11.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 12 Feb 2009 16:22:45 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_cd1f2663-e345-441e-a5a1-237d5457be32_" X-Originating-IP: [84.123.64.133] From: Oscar Bayona Candel To: oCTAVE Subject: Scatter graph with line Date: Fri, 13 Feb 2009 01:22:45 +0100 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 13 Feb 2009 00:22:45.0507 (UTC) FILETIME=[31525530:01C98D71] X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2009 00:22:53 -0000 --_cd1f2663-e345-441e-a5a1-237d5457be32_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all I want to use scatter graph but linking each pair of points with a l= ine. Can anyone give me light... =20 Thanks in advance. =20 _________________________________________________________________ Ll=E9vate Messenger en tu m=F3vil all=E1 donde vayas =BFA qu=E9 esperas? http://serviciosmoviles.es.msn.com/= --_cd1f2663-e345-441e-a5a1-237d5457be32_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all I want to use scatter graph but linking each pair of points with a l= ine. Can anyone give me light...
 =3B
Thanks in advance.
 =3B



=BFTu fondo de escritorio es aburrido?= An=EDmalo con las im=E1genes m=E1s espectaculares = --_cd1f2663-e345-441e-a5a1-237d5457be32_-- From wsloand@gmail.com Thu Feb 12 19:06:35 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1D16ZNN011385 for ; Thu, 12 Feb 2009 19:06:35 -0600 (CST) Received: from qw-out-1920.google.com (qw-out-1920.google.com [74.125.92.149]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1D16XUo026519 for ; Thu, 12 Feb 2009 19:06:34 -0600 Received: by qw-out-1920.google.com with SMTP id 5so257050qwf.48 for ; Thu, 12 Feb 2009 17:06:32 -0800 (PST) Received: by 10.224.14.199 with SMTP id h7mr2367016qaa.9.1234487192791; Thu, 12 Feb 2009 17:06:32 -0800 (PST) Received: from ?172.31.1.101? ([96.245.102.88]) by mx.google.com with ESMTPS id 6sm1603379ywi.53.2009.02.12.17.06.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 12 Feb 2009 17:06:31 -0800 (PST) Sender: Bill Denney Message-ID: <4994C78E.2030504@denney.ws> Date: Thu, 12 Feb 2009 20:06:22 -0500 From: Bill Denney User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Oscar Bayona Candel Subject: Re: Scatter graph with line References: In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: multipart/alternative; boundary="------------090106080109060307050904" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, HTML_MESSAGE, HTTP_ESCAPED_HOST Cc: oCTAVE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2009 01:06:36 -0000 This is a multi-part message in MIME format. --------------090106080109060307050904 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Hi Oscar, Assuming your data is a pair of vectors x and y: x = rand (10, 1); y = rand (10, 1); plot (x, y, "x-k") should do something like what you're wanting. The "x-k" makes the symbols xs at each point, the - makes it a solid line, and the k makes it black. You can see more info by typing help plot at the Octave prompt. Have a good day, Bill Oscar Bayona Candel wrote: > Hi all I want to use scatter graph but linking each pair of points > with a line. Can anyone give me light... > > Thanks in advance. > > > > ------------------------------------------------------------------------ > ¿Tu fondo de escritorio es aburrido? Anímalo con las imágenes más > espectaculares > <%20http://search.live.com/results.aspx?q=imagenes+fondos+de+escritorio&mkt=es-ES&setlang=es-ES&FORM=W5WA&mkt=es-es> > > ------------------------------------------------------------------------ > > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > --------------090106080109060307050904 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Oscar,

Assuming your data is a pair of vectors x and y:

x = rand (10, 1);
y = rand (10, 1);
plot (x, y, "x-k")

should do something like what you're wanting.

The "x-k" makes the symbols xs at each point, the - makes it a solid line, and the k makes it black.  You can see more info by typing

help plot

at the Octave prompt.

Have a good day,

Bill

Oscar Bayona Candel wrote:
Hi all I want to use scatter graph but linking each pair of points with a line. Can anyone give me light...
 
Thanks in advance.
 



¿Tu fondo de escritorio es aburrido? Anímalo con las imágenes más espectaculares

_______________________________________________ Help-octave mailing list Help-octave@octave.org https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
--------------090106080109060307050904-- From bounces@nabble.com Thu Feb 12 19:33:00 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1D1X0LP016854 for ; Thu, 12 Feb 2009 19:33:00 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1D1WqDt016534 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 12 Feb 2009 19:32:59 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LXmvC-0003Qt-TX for help-octave@octave.org; Thu, 12 Feb 2009 17:32:50 -0800 Message-ID: <21988561.post@talk.nabble.com> Date: Thu, 12 Feb 2009 17:32:50 -0800 (PST) From: Bobatapl To: help-octave@octave.org Subject: axis scaling in surf(x,y,z) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: odom@apl.washington.edu X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2009 01:33:01 -0000 I would like to be able to independently scale the 3 axes in surf(x,y,z). It looks like what I need is 'dataaspectratio', which only seems to work for 2D not 3D plots. Is there a way to scale the axes, that I am missing, or a work around? I am using octave-3.0.2-1.1 with gnuplot-4.2.0-72.1 on 64bit SUSE Linux 10.2. Bob -- View this message in context: http://www.nabble.com/axis-scaling-in-surf%28x%2Cy%2Cz%29-tp21988561p21988561.html Sent from the Octave - General mailing list archive at Nabble.com. From bertrand.roessli@psi.ch Fri Feb 13 03:15:29 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1D9FTJK019174 for ; Fri, 13 Feb 2009 03:15:29 -0600 (CST) Received: from MAILSEND01.psi.ch (mailsend01.psi.ch [129.129.191.53]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1D9FQtf023198; Fri, 13 Feb 2009 03:15:29 -0600 Received: from [129.129.195.89] ([129.129.195.89]) by MAILSEND01.psi.ch with Microsoft SMTPSVC(6.0.3790.3959); Fri, 13 Feb 2009 10:15:18 +0100 Subject: Re: development version does not compile From: Bertrand Roessli To: "John W. Eaton" In-Reply-To: <18836.19460.586382.947066@segfault.lan> References: <1234439126.6581.15.camel@broessli-laptop> <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> <1234440755.6581.20.camel@broessli-laptop> <69d8d540902120422j4e3ed1cao224c08d567cf722e@mail.gmail.com> <1234453642.6581.21.camel@broessli-laptop> <18836.19460.586382.947066@segfault.lan> Content-Type: text/plain Date: Fri, 13 Feb 2009 10:15:11 +0100 Message-Id: <1234516511.6581.23.camel@broessli-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 Feb 2009 09:15:18.0495 (UTC) FILETIME=[96C95EF0:01C98DBB] X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2009 09:15:32 -0000 Yes, no it gets a bit further but I still have an error mawk -f ./mkcontrib.awk ./contributors.in > contributors.texi-t mv contributors.texi-t contributors.texi makeinfo -I.. -I. -I./.. ./octave.texi ../../run-octave -f -q -H -p . --eval "sparseimages ('gplot', 'eps');" error: compare_versions: given version strings are not valid: 4.2. 4.2.4 error: called from: error: /home/broessli/octave/scripts/miscellaneous/compare_versions.m at line 115, column 5 error: /home/broessli/octave/scripts/plot/__gnuplot_has_feature__.m at line 39, column 23 error: /home/broessli/octave/scripts/plot/gnuplot_drawnow.m at line 158, column 11 error: /home/broessli/octave/scripts/plot/gnuplot_drawnow.m at line 54, column 7 error: /home/broessli/octave/scripts/plot/print.m at line 443, column 7 error: /home/broessli/octave/doc/interpreter/sparseimages.m at line 54, column 3 error: /home/broessli/octave/doc/interpreter/sparseimages.m at line 30, column 2 make[3]: *** [gplot.eps] Error 1 make[3]: Leaving directory `/home/broessli/octave/doc/interpreter' make[2]: *** [interpreter] Error 2 make[2]: Leaving directory `/home/broessli/octave/doc' make[1]: *** [doc] Error 2 make[1]: Leaving directory `/home/broessli/octave' make: *** [all] Error 2 Thanks, Bertrand On Thu, 2009-02-12 at 11:19 -0500, John W. Eaton wrote: > On 12-Feb-2009, Bertrand Roessli wrote: > > | I tired with gfortran and get the same error :-) > > Did the configure script detect gfortran? > > You might need to pass F77=gfortran as an argument to the configure > script. > > jwe From bertrand.roessli@psi.ch Fri Feb 13 03:17:01 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1D9H1wD019506 for ; Fri, 13 Feb 2009 03:17:01 -0600 (CST) Received: from MAILSEND01.psi.ch (mailsend01.psi.ch [129.129.191.53]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1D9Gx3O025856; Fri, 13 Feb 2009 03:17:00 -0600 Received: from [129.129.195.89] ([129.129.195.89]) by MAILSEND01.psi.ch with Microsoft SMTPSVC(6.0.3790.3959); Fri, 13 Feb 2009 10:16:54 +0100 Subject: Re: development version does not compile From: Bertrand Roessli To: "John W. Eaton" In-Reply-To: <18836.19460.586382.947066@segfault.lan> References: <1234439126.6581.15.camel@broessli-laptop> <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> <1234440755.6581.20.camel@broessli-laptop> <69d8d540902120422j4e3ed1cao224c08d567cf722e@mail.gmail.com> <1234453642.6581.21.camel@broessli-laptop> <18836.19460.586382.947066@segfault.lan> Content-Type: text/plain Date: Fri, 13 Feb 2009 10:16:47 +0100 Message-Id: <1234516607.6581.25.camel@broessli-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 Feb 2009 09:16:54.0367 (UTC) FILETIME=[CFEE46F0:01C98DBB] X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2009 09:17:04 -0000 I guess this is the gnuplot version that is not recognised. Is there a workaround or I should install gnuplot 4.2.4? Bertrand On Thu, 2009-02-12 at 11:19 -0500, John W. Eaton wrote: > On 12-Feb-2009, Bertrand Roessli wrote: > > | I tired with gfortran and get the same error :-) > > Did the configure script detect gfortran? > > You might need to pass F77=gfortran as an argument to the configure > script. > > jwe From dasergatskov@gmail.com Fri Feb 13 07:25:25 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1DDPPll010150 for ; Fri, 13 Feb 2009 07:25:25 -0600 (CST) Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.157]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1DDPNqO025698; Fri, 13 Feb 2009 07:25:24 -0600 Received: by yw-out-1718.google.com with SMTP id 5so649748ywm.24 for ; Fri, 13 Feb 2009 05:25:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.10.68 with SMTP id o4mr50360ibo.2.1234531522672; Fri, 13 Feb 2009 05:25:22 -0800 (PST) In-Reply-To: <1234516511.6581.23.camel@broessli-laptop> References: <1234439126.6581.15.camel@broessli-laptop> <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> <1234440755.6581.20.camel@broessli-laptop> <69d8d540902120422j4e3ed1cao224c08d567cf722e@mail.gmail.com> <1234453642.6581.21.camel@broessli-laptop> <18836.19460.586382.947066@segfault.lan> <1234516511.6581.23.camel@broessli-laptop> Date: Fri, 13 Feb 2009 07:25:22 -0600 Message-ID: <892b16670902130525o20ab6d04p9ee2a8f151f322ee@mail.gmail.com> Subject: Re: development version does not compile From: "Dmitri A. Sergatskov" To: Bertrand Roessli Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: "John W. Eaton" , Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2009 13:25:26 -0000 On Fri, Feb 13, 2009 at 3:15 AM, Bertrand Roessli wrote: > Yes, no it gets a bit further but I still have an error > > mawk -f ./mkcontrib.awk ./contributors.in > contributors.texi-t > mv contributors.texi-t contributors.texi > makeinfo -I.. -I. -I./.. ./octave.texi > ../../run-octave -f -q -H -p . --eval "sparseimages ('gplot', 'eps');" > error: compare_versions: given version strings are not valid: 4.2. 4.2.4 This looks like it may be related to that report: https://www-old.cae.wisc.edu/pipermail/bug-octave/2009-January/007762.html Dmitri. -- From jwe@octave.org Fri Feb 13 09:38:23 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1DFcMLL009571 for ; Fri, 13 Feb 2009 09:38:22 -0600 (CST) Received: from spaceymail-a5.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1DFcJkE023091 for ; Fri, 13 Feb 2009 09:38:22 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a5.g.dreamhost.com (Postfix) with ESMTP id 84B8C87046; Fri, 13 Feb 2009 07:38:01 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18837.37847.933749.47515@segfault.lan> Date: Fri, 13 Feb 2009 10:37:59 -0500 To: Bertrand Roessli Subject: Re: development version does not compile In-Reply-To: <1234516607.6581.25.camel@broessli-laptop> References: <1234439126.6581.15.camel@broessli-laptop> <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> <1234440755.6581.20.camel@broessli-laptop> <69d8d540902120422j4e3ed1cao224c08d567cf722e@mail.gmail.com> <1234453642.6581.21.camel@broessli-laptop> <18836.19460.586382.947066@segfault.lan> <1234516607.6581.25.camel@broessli-laptop> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2009 15:38:24 -0000 On 13-Feb-2009, Bertrand Roessli wrote: | I guess this is the gnuplot version that is not recognised. | Is there a workaround or I should install gnuplot 4.2.4? What do you see if you type gnuplot --version at the shell prompt? jwe From bertrand.roessli@psi.ch Fri Feb 13 09:53:21 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1DFrLLk012706 for ; Fri, 13 Feb 2009 09:53:21 -0600 (CST) Received: from MAILSEND01.psi.ch (mailsend01.psi.ch [129.129.191.53]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1DFrGHP023183; Fri, 13 Feb 2009 09:53:21 -0600 Received: from [129.129.195.89] ([129.129.195.89]) by MAILSEND01.psi.ch with Microsoft SMTPSVC(6.0.3790.3959); Fri, 13 Feb 2009 16:53:02 +0100 Subject: Re: development version does not compile From: Bertrand Roessli To: "John W. Eaton" In-Reply-To: <18837.37847.933749.47515@segfault.lan> References: <1234439126.6581.15.camel@broessli-laptop> <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> <1234440755.6581.20.camel@broessli-laptop> <69d8d540902120422j4e3ed1cao224c08d567cf722e@mail.gmail.com> <1234453642.6581.21.camel@broessli-laptop> <18836.19460.586382.947066@segfault.lan> <1234516607.6581.25.camel@broessli-laptop> <18837.37847.933749.47515@segfault.lan> Content-Type: text/plain Date: Fri, 13 Feb 2009 16:52:55 +0100 Message-Id: <1234540375.22548.1.camel@broessli-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 Feb 2009 15:53:03.0060 (UTC) FILETIME=[272D0140:01C98DF3] X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2009 15:53:23 -0000 I had 4.2.3 and installed 4.2.4, but got the same error. I commented out the lines in the m-file and everything compiled smoothly. Bertrand On Fri, 2009-02-13 at 10:37 -0500, John W. Eaton wrote: > On 13-Feb-2009, Bertrand Roessli wrote: > > | I guess this is the gnuplot version that is not recognised. > | Is there a workaround or I should install gnuplot 4.2.4? > > What do you see if you type > > gnuplot --version > > at the shell prompt? > > jwe From jwe@octave.org Fri Feb 13 09:59:13 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1DFxD8U013872 for ; Fri, 13 Feb 2009 09:59:13 -0600 (CST) Received: from spaceymail-a4.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1DFxDxN011153 for ; Fri, 13 Feb 2009 09:59:13 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a4.g.dreamhost.com (Postfix) with ESMTP id C5B021614D3; Fri, 13 Feb 2009 07:59:12 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18837.39119.225414.960018@segfault.lan> Date: Fri, 13 Feb 2009 10:59:11 -0500 To: Bertrand Roessli Subject: Re: development version does not compile In-Reply-To: <1234540375.22548.1.camel@broessli-laptop> References: <1234439126.6581.15.camel@broessli-laptop> <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> <1234440755.6581.20.camel@broessli-laptop> <69d8d540902120422j4e3ed1cao224c08d567cf722e@mail.gmail.com> <1234453642.6581.21.camel@broessli-laptop> <18836.19460.586382.947066@segfault.lan> <1234516607.6581.25.camel@broessli-laptop> <18837.37847.933749.47515@segfault.lan> <1234540375.22548.1.camel@broessli-laptop> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2009 15:59:15 -0000 On 13-Feb-2009, Bertrand Roessli wrote: | I had 4.2.3 and installed 4.2.4, but got the same error. | I commented out the lines in the m-file and everything compiled | smoothly. OK, so if you are using 4.2.4, then you should be seeing 4.2 patchlevel 4 as the output from the shell command "gnuplot --version", correct? If so, then I think we've determined that the problem is that the PCRE library handles the regexp in __gnuplot_version__ correctly, but other regexp libraries do not. Do you have the PCRE regexp library installed? Did configure find it? Maybe we should change __gnuplot_version__ do the version extraction without regexp, to avoid this problem. Additionally, perhaps we should require PCRE for regexps, so that there is some consistency in the behavior of Octave's regexp functions. jwe From jwe@octave.org Fri Feb 13 10:04:16 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1DG4GEq015256 for ; Fri, 13 Feb 2009 10:04:16 -0600 (CST) Received: from spaceymail-a5.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1DG4G8J020405 for ; Fri, 13 Feb 2009 10:04:16 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a5.g.dreamhost.com (Postfix) with ESMTP id 8CB0987047; Fri, 13 Feb 2009 08:04:15 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18837.39421.513181.468929@segfault.lan> Date: Fri, 13 Feb 2009 11:04:13 -0500 To: Oscar Bayona Candel Subject: Two questions In-Reply-To: References: X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: oCTAVE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2009 16:04:17 -0000 On 12-Feb-2009, Oscar Bayona Candel wrote: | | I want to make a little donation to OCtave but I see a link here: | | http://www.gnu.org/software/octave/funding.html | | But the link always put money in dolars (it is possible to donate in Euros?) The on-line donation form requires a credit card for the transaction. So if you use that, you will enter the donation amount in US dollars and your credit card company should handle the conversion. | The other question is: | | Imagine I want to contribute with an statistical function developed in my Phd (one is very easy the other is more complex) | | How should I proceed to contribute with this programmed function so anyone who wantsto make the "calculus" in the function could run my code directly by Octave. There is some previous tribunal or email to check if my code is right or something similar? I will send references where my code is based of course. The Octave Forge project is probably a good place to contribute a function like that. jwe From bertrand.roessli@psi.ch Fri Feb 13 10:09:28 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1DG9ScP016223 for ; Fri, 13 Feb 2009 10:09:28 -0600 (CST) Received: from MAILSEND01.psi.ch (mailsend01.psi.ch [129.129.191.53]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1DG9Pja024304; Fri, 13 Feb 2009 10:09:27 -0600 Received: from [129.129.195.89] ([129.129.195.89]) by MAILSEND01.psi.ch with Microsoft SMTPSVC(6.0.3790.3959); Fri, 13 Feb 2009 17:09:19 +0100 Subject: Re: development version does not compile From: Bertrand Roessli To: "John W. Eaton" In-Reply-To: <18837.39119.225414.960018@segfault.lan> References: <1234439126.6581.15.camel@broessli-laptop> <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> <1234440755.6581.20.camel@broessli-laptop> <69d8d540902120422j4e3ed1cao224c08d567cf722e@mail.gmail.com> <1234453642.6581.21.camel@broessli-laptop> <18836.19460.586382.947066@segfault.lan> <1234516607.6581.25.camel@broessli-laptop> <18837.37847.933749.47515@segfault.lan> <1234540375.22548.1.camel@broessli-laptop> <18837.39119.225414.960018@segfault.lan> Content-Type: text/plain Date: Fri, 13 Feb 2009 17:09:12 +0100 Message-Id: <1234541352.22548.9.camel@broessli-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 Feb 2009 16:09:19.0882 (UTC) FILETIME=[6D6836A0:01C98DF5] X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2009 16:09:29 -0000 broessli@broessli-laptop:~$ gnuplot --version gnuplot 4.2 patchlevel 4 broessli@broessli-laptop:~$ I do not think I have regexp installed Source directory: . Installation prefix: /usr/local C compiler: gcc -mieee-fp -Wall -W -Wshadow -g -O2 C++ compiler: g++ -mieee-fp -Wall -W -Wshadow -Wold-style-cast -g -O2 Fortran compiler: gfortran -O -mieee-fp Fortran libraries: -L/usr/lib/gcc/i486-linux-gnu/4.3.2 -L/usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.3.2/../../.. -lz -lgfortranbegin -lgfortran -lm BLAS libraries: -llapack -lblas FFTW libraries: -lfftw3 -lfftw3f GLPK libraries: -lglpk UMFPACK libraries: -lumfpack AMD libraries: -lamd CAMD libraries: -lcamd COLAMD libraries: -lcolamd CCOLAMD libraries: -lccolamd CHOLMOD libraries: -lcholmod CXSPARSE libraries: -lcxsparse ARPACK libraries: QRUPDATE libraries: HDF5 libraries: CURL libraries: REGEX libraries: QHULL libraries: OPENGL libraries: FLTK backend libs: X11 include flags: X11 libraries: -lX11 LIBS: -lreadline -lncurses -ldl -lblas -lz -lm Default pager: less gnuplot: gnuplot Magick config: On Fri, 2009-02-13 at 10:59 -0500, John W. Eaton wrote: > On 13-Feb-2009, Bertrand Roessli wrote: > > | I had 4.2.3 and installed 4.2.4, but got the same error. > | I commented out the lines in the m-file and everything compiled > | smoothly. > > OK, so if you are using 4.2.4, then you should be seeing > > 4.2 patchlevel 4 > > as the output from the shell command "gnuplot --version", correct? > > If so, then I think we've determined that the problem is that the PCRE > library handles the regexp in __gnuplot_version__ correctly, but other > regexp libraries do not. > > Do you have the PCRE regexp library installed? Did configure find it? > > Maybe we should change __gnuplot_version__ do the version extraction > without regexp, to avoid this problem. Additionally, perhaps we > should require PCRE for regexps, so that there is some consistency in > the behavior of Octave's regexp functions. > > jwe From bpabbott@mac.com Fri Feb 13 18:04:02 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1E042B3003930 for ; Fri, 13 Feb 2009 18:04:02 -0600 (CST) Received: from asmtpout013.mac.com (asmtpout013.mac.com [17.148.16.88]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1E041Tn022564 for ; Fri, 13 Feb 2009 18:04:02 -0600 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [10.0.1.196] ([97.100.1.226]) by asmtp013.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPA id <0KF1007XJ46IPF60@asmtp013.mac.com> for help-octave@octave.org; Fri, 13 Feb 2009 16:03:56 -0800 (PST) Message-id: <6E8C30A4-0826-4598-A3AA-2825A534C942@mac.com> From: Ben Abbott To: Bobatapl In-reply-to: <21988561.post@talk.nabble.com> Subject: Re: axis scaling in surf(x,y,z) Date: Fri, 13 Feb 2009 19:03:54 -0500 References: <21988561.post@talk.nabble.com> X-Mailer: Apple Mail (2.930.3) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2009 00:04:04 -0000 On Feb 12, 2009, at 8:32 PM, Bobatapl wrote: > I would like to be able to independently scale the 3 axes in > surf(x,y,z). It > looks like what I need is 'dataaspectratio', which only seems to > work for 2D > not 3D plots. Is there a way to scale the axes, that I am missing, > or a work > around? > > I am using octave-3.0.2-1.1 with gnuplot-4.2.0-72.1 on 64bit SUSE > Linux > 10.2. > > Bob Bob, I think I understand what you're looking for. Can you confirm that "daspect" would do what you want? http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/ref/daspect.html&http://www.google.com/search ?client=safari&rls=en-us&q=daspect&ie=UTF-8&oe=UTF-8 In the meantime, does xlim(), ylim(), zlim() not provide the functionality you're looking for? Ben From odom@apl.washington.edu Fri Feb 13 19:29:01 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1E1T1Oi021592 for ; Fri, 13 Feb 2009 19:29:01 -0600 (CST) Received: from snark.apl.washington.edu (snark.apl.washington.edu [128.208.78.3]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1E1SnHb029884 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 13 Feb 2009 19:29:01 -0600 Received: from snark.apl.washington.edu (localhost [127.0.0.1]) by snark.apl.washington.edu (Postfix) with ESMTP id 83853A8CAFD; Fri, 13 Feb 2009 17:28:48 -0800 (PST) Received: by snark.apl.washington.edu (Postfix, from userid 5611) id 76E0CA8CADB; Fri, 13 Feb 2009 17:28:48 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by snark.apl.washington.edu (Postfix) with ESMTP id 750E4AD446A; Fri, 13 Feb 2009 17:28:48 -0800 (PST) Date: Fri, 13 Feb 2009 17:28:48 -0800 (PST) From: Bob Odom To: Ben Abbott Subject: Re: axis scaling in surf(x,y,z) In-Reply-To: <6E8C30A4-0826-4598-A3AA-2825A534C942@mac.com> Message-ID: References: <21988561.post@talk.nabble.com> <6E8C30A4-0826-4598-A3AA-2825A534C942@mac.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Antivirus: Scanned by F-Prot Antivirus (http://www.f-prot.com) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RCVD_IN_DNSWL_MED Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2009 01:29:02 -0000 On Fri, 13 Feb 2009, Ben Abbott wrote: > > On Feb 12, 2009, at 8:32 PM, Bobatapl wrote: > >> I would like to be able to independently scale the 3 axes in surf(x,y,z). >> It >> looks like what I need is 'dataaspectratio', which only seems to work for >> 2D >> not 3D plots. Is there a way to scale the axes, that I am missing, or a >> work >> around? >> >> I am using octave-3.0.2-1.1 with gnuplot-4.2.0-72.1 on 64bit SUSE Linux >> 10.2. >> >> Bob > > Bob, > > I think I understand what you're looking for. Can you confirm that "daspect" > would do what you want? > > http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/ref/daspect.html&http://www.google.com/search?client=safari&rls=en-us&q=daspect&ie=UTF-8&oe=UTF-8 > > In the meantime, does xlim(), ylim(), zlim() not provide the functionality > you're looking for? > > Ben Ben, Yes, 'daspect' does exactly what I want to do. However it does not seem to be part of octave, or at least the octave-3.0.2-1.1 I am running. I just get the error message: error: `daspect' undefined near line 34 column 1 xlim() etc. work as expected, but the relative lengths of the x,y,z axes are auto-scaled based on some algorithm that apparently is out of user control. The result is that surf() produces a plot scaled as the upper figure in the link above, whereby 'daspect' returns 4 1 1. To produce a figure like the lower one, seems to require a functioning 'daspect'. The 3.0.2 octave manual explicitly states that 'dataaspectratio' is a 2-element vector, not a 3-element vecor, which is what is needed for surf(). Bob From jmoliere@ucsd.edu Fri Feb 13 23:00:17 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1E50HQ4006880 for ; Fri, 13 Feb 2009 23:00:17 -0600 (CST) Received: from outbound3.ucsd.edu (outbound3.ucsd.edu [132.239.1.207]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1E50EmE030511 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 13 Feb 2009 23:00:16 -0600 Received: from smtp.ucsd.edu (smtp.ucsd.edu [132.239.1.49]) by outbound3.ucsd.edu (8.13.6/8.13.6) with ESMTP id n1E50D7F026526 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 13 Feb 2009 21:00:14 -0800 (PST) Received: from tablet ([75.85.189.143]) (authenticated bits=0) by smtp.ucsd.edu (8.13.6/8.13.6) with ESMTP id n1E50BxT060666 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Fri, 13 Feb 2009 21:00:13 -0800 (PST) X-Authentication-Warning: smtp.ucsd.edu: Host [75.85.189.143] claimed to be tablet From: "James Moliere" To: "'Octave users list'" References: <1234439126.6581.15.camel@broessli-laptop> <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> <1234440755.6581.20.camel@broessli-laptop> <69d8d540902120422j4e3ed1cao224c08d567cf722e@mail.gmail.com> <1234453642.6581.21.camel@broessli-laptop> <18836.19460.586382.947066@segfault.lan> <1234516607.6581.25.camel@broessli-laptop> In-Reply-To: <1234516607.6581.25.camel@broessli-laptop> Subject: object behavior with Octave... Date: Fri, 13 Feb 2009 20:59:55 -0800 Message-ID: <001001c98e61$19892500$4c9b6f00$@edu> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcmNvFMVYzxYSWutScqhfIGUzhouWgAn+qOQ Content-Language: en-us X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, SPF_HELO_PASS X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2009 05:00:18 -0000 Hello, I'm trying to do some object based programming with Octave. For example, I can do this x.a = 1 and then to display x.a, I can type x.a ans = 1 I can also do something like this x.f1 = @sin x.f2 = @cos ...running a function would look like... x.f1(pi) ans = 1.2246e-016 I'd like to do something like an anonymous function similar to x.f3 =@function response = (arg1, arg2) response = arg1+arg2; endfunction notice that this structure is starting to look like a class function? ...this is what I'm trying to do. Thanks! James Moliere From bpabbott@mac.com Sat Feb 14 07:17:01 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1EDH1Jb017829 for ; Sat, 14 Feb 2009 07:17:01 -0600 (CST) Received: from asmtpout021.mac.com (asmtpout021.mac.com [17.148.16.96]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1EDH0UY011760 for ; Sat, 14 Feb 2009 07:17:01 -0600 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed Received: from [10.0.1.196] ([97.100.1.226]) by asmtp021.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPA id <0KF200GE34W5W260@asmtp021.mac.com> for help-octave@octave.org; Sat, 14 Feb 2009 05:16:55 -0800 (PST) Message-id: <55364DD0-FC9B-4EDD-AC40-B89CDEB5D7D3@mac.com> From: Ben Abbott To: James Moliere In-reply-to: <001001c98e61$19892500$4c9b6f00$@edu> Subject: Re: object behavior with Octave... Date: Sat, 14 Feb 2009 08:16:50 -0500 References: <1234439126.6581.15.camel@broessli-laptop> <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> <1234440755.6581.20.camel@broessli-laptop> <69d8d540902120422j4e3ed1cao224c08d567cf722e@mail.gmail.com> <1234453642.6581.21.camel@broessli-laptop> <18836.19460.586382.947066@segfault.lan> <1234516607.6581.25.camel@broessli-laptop> <001001c98e61$19892500$4c9b6f00$@edu> X-Mailer: Apple Mail (2.930.3) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: 'Octave users list' X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2009 13:17:03 -0000 On Feb 13, 2009, at 11:59 PM, James Moliere wrote: > Hello, > I'm trying to do some object based programming with Octave. > > For example, I can do this > x.a = 1 > and then to display x.a, I can type > x.a > ans = 1 > > I can also do something like this > x.f1 = @sin > x.f2 = @cos > > ...running a function would look like... > x.f1(pi) > ans = 1.2246e-016 > > I'd like to do something like an anonymous function similar to > > x.f3 =@function response = (arg1, arg2) > response = arg1+arg2; > endfunction > > notice that this structure is starting to look like a class function? > ...this is what I'm trying to do. > > Thanks! > James Moliere Please tell us what version of Octave are you running. Using 3.0.3 or the developers sources you can do ... x.f3 = @(arg1,arg2) arg1 + arg2; If you have something more complex ... function result = response (arg1, arg2) ... endfunction x.f3 = @response; Ben From jmoliere@ucsd.edu Sat Feb 14 07:37:33 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1EDbXle021388 for ; Sat, 14 Feb 2009 07:37:33 -0600 (CST) Received: from outbound1.ucsd.edu (outbound1.ucsd.edu [132.239.1.205]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1EDbV6m004328 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 14 Feb 2009 07:37:33 -0600 Received: from smtp.ucsd.edu (smtp.ucsd.edu [132.239.1.49]) by outbound1.ucsd.edu (8.13.6/8.13.6) with ESMTP id n1EDbUTA026332 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sat, 14 Feb 2009 05:37:30 -0800 (PST) Received: from [192.168.2.53] ([75.85.189.143]) (authenticated bits=0) by smtp.ucsd.edu (8.13.6/8.13.6) with ESMTP id n1EDbTfd097091 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 14 Feb 2009 05:37:29 -0800 (PST) X-Authentication-Warning: smtp.ucsd.edu: Host [75.85.189.143] claimed to be [192.168.2.53] Subject: Re: object behavior with Octave... From: James Moliere To: "'Octave users list'" In-Reply-To: <55364DD0-FC9B-4EDD-AC40-B89CDEB5D7D3@mac.com> References: <1234439126.6581.15.camel@broessli-laptop> <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> <1234440755.6581.20.camel@broessli-laptop> <69d8d540902120422j4e3ed1cao224c08d567cf722e@mail.gmail.com> <1234453642.6581.21.camel@broessli-laptop> <18836.19460.586382.947066@segfault.lan> <1234516607.6581.25.camel@broessli-laptop> <001001c98e61$19892500$4c9b6f00$@edu> <55364DD0-FC9B-4EDD-AC40-B89CDEB5D7D3@mac.com> Content-Type: text/plain Date: Sat, 14 Feb 2009 05:37:26 -0800 Message-Id: <1234618646.6943.1.camel@jmoliere-astart> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RCVD_IN_DNSWL_MED, SPF_HELO_PASS X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2009 13:37:34 -0000 Ben, Excellent!! Thanks! On Sat, 2009-02-14 at 05:16 -0800, Ben Abbott wrote: > On Feb 13, 2009, at 11:59 PM, James Moliere wrote: > > > Hello, > > I'm trying to do some object based programming with Octave. > > > > For example, I can do this > > x.a = 1 > > and then to display x.a, I can type > > x.a > > ans = 1 > > > > I can also do something like this > > x.f1 = @sin > > x.f2 = @cos > > > > ...running a function would look like... > > x.f1(pi) > > ans = 1.2246e-016 > > > > I'd like to do something like an anonymous function similar to > > > > x.f3 =@function response = (arg1, arg2) > > response = arg1+arg2; > > endfunction > > > > notice that this structure is starting to look like a class function? > > ...this is what I'm trying to do. > > > > Thanks! > > James Moliere > > Please tell us what version of Octave are you running. > > Using 3.0.3 or the developers sources you can do ... > > x.f3 = @(arg1,arg2) arg1 + arg2; > > If you have something more complex ... > > function result = response (arg1, arg2) > ... > endfunction > x.f3 = @response; > > Ben > From bpabbott@mac.com Sat Feb 14 10:34:10 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1EGYA6P024305 for ; Sat, 14 Feb 2009 10:34:10 -0600 (CST) Received: from asmtpout018.mac.com (asmtpout018.mac.com [17.148.16.93]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1EGY9f6029764 for ; Sat, 14 Feb 2009 10:34:10 -0600 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [10.0.1.196] ([97.100.1.226]) by asmtp018.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPA id <0KF2006IFE0RXG50@asmtp018.mac.com> for help-octave@octave.org; Sat, 14 Feb 2009 08:34:04 -0800 (PST) Message-id: <7ED3E719-92B5-4869-ADEB-F77AC7076263@mac.com> From: Ben Abbott To: James Moliere In-reply-to: <1234623274.6943.15.camel@jmoliere-astart> Subject: Re: object behavior with Octave... Date: Sat, 14 Feb 2009 11:34:02 -0500 References: <1234439126.6581.15.camel@broessli-laptop> <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> <1234440755.6581.20.camel@broessli-laptop> <69d8d540902120422j4e3ed1cao224c08d567cf722e@mail.gmail.com> <1234453642.6581.21.camel@broessli-laptop> <18836.19460.586382.947066@segfault.lan> <1234516607.6581.25.camel@broessli-laptop> <001001c98e61$19892500$4c9b6f00$@edu> <55364DD0-FC9B-4EDD-AC40-B89CDEB5D7D3@mac.com> <1234623274.6943.15.camel@jmoliere-astart> X-Mailer: Apple Mail (2.930.3) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2009 16:34:12 -0000 On Feb 14, 2009, at 9:54 AM, James Moliere wrote: > > looking at the URL > http://asis.epfl.ch/SCI.MATH/octave-2.0.16/Octave-FAQ_3.html > > I don't see the capability below. Can I assign functions to variables > in a structure and call them? > > > # simple increment example > function [ ret ] = tt (a) > x.a=a > function result = anon(x) > x.a = x.a+1 > result = x > endfunction > x.increment = @anon > ret = x > endfunction > > ... I'd like to do something like this > > k = tt(1) > k.increment(k) % or k.increment() without passing in k > ... I'd expect an answer of 2. Your example can be entered at the command line as ... function result = anon(x) x.a = x.a+1; result = x; endfunction function [ ret ] = tt (a) x.a=a; x.increment = @anon; ret = x; endfunction x.a = 0; anon(x) ans = { a = 1 } x = tt(1) x = { a = 1 increment = anon } x.increment(x) ans = { a = 2 increment = anon } If you try x.increment() it will produce an error, because that is the same as calling anon(). Ben From bpabbott@mac.com Sat Feb 14 11:23:26 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1EHNQI7003460 for ; Sat, 14 Feb 2009 11:23:26 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1EHNQak001259 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 14 Feb 2009 11:23:26 -0600 Received: from asmtpout016.mac.com (asmtpout016.mac.com [17.148.16.91]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1EHNPHV026414 for ; Sat, 14 Feb 2009 11:23:26 -0600 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [10.0.1.196] ([97.100.1.226]) by asmtp016.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPA id <0KF2002PCGAU5L50@asmtp016.mac.com> for help@octave.org; Sat, 14 Feb 2009 09:23:20 -0800 (PST) Message-id: <2788F347-6561-45FF-9306-A9395D35054E@mac.com> From: Ben Abbott To: James Moliere In-reply-to: <1234630730.6943.25.camel@jmoliere-astart> Subject: Re: object behavior with Octave... Date: Sat, 14 Feb 2009 12:23:18 -0500 References: <1234439126.6581.15.camel@broessli-laptop> <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> <1234440755.6581.20.camel@broessli-laptop> <69d8d540902120422j4e3ed1cao224c08d567cf722e@mail.gmail.com> <1234453642.6581.21.camel@broessli-laptop> <18836.19460.586382.947066@segfault.lan> <1234516607.6581.25.camel@broessli-laptop> <001001c98e61$19892500$4c9b6f00$@edu> <55364DD0-FC9B-4EDD-AC40-B89CDEB5D7D3@mac.com> <1234623274.6943.15.camel@jmoliere-astart> <7ED3E719-92B5-4869-ADEB-F77AC7076263@mac.com> <1234630730.6943.25.camel@jmoliere-astart> X-Mailer: Apple Mail (2.930.3) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave Help X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2009 17:23:27 -0000 James, I'm not as familiar with Octave's objects as are others. You'll likely get much better more (and I expect better) information if your reply- all so that thread stays on the list. I haven't tried this, but I'd create a m-file function called create_ball.m and place all the contents below in it. function ball = create_ball () ball.bounce = @bounce; ball.add_volume = @add_volume; ball.set_color = @set_color; endfunction function ret = bounce (varargins) ... bounce code here ... endfunction function ret = add_volumne (varargins) ... add the volume here ... endfunction function ret = set_color (varargins) ... set the color here ... endfunction The problem I see is that you'll need to access these function as ball.bounce(ball) Perhaps there is a way to associate a handle with a specific instance of a structure, but I don't know how. Do I understand your intention? Ben On Feb 14, 2009, at 11:58 AM, James Moliere wrote: > Ben, > Thanks! For the tip below. I need to keep everything in functions > (or > structures). > > I'd really like 1 .m file to hold multiple functions that a user can > call. Since Octave does not have the concept of a namespace or > package, > it is possible to create LOTS of .m files but over time, it will be > difficult manage. > > To give a more concrete example, I'd like to use a structure as an > object such as Ball. I could create functions like bounce(), > addVolume(air), setColor(color), etc. I would also like a .m file > named > createBall.m that returns the structure and it's respective methods > for > a ball. > > I'm looking at the docs in the 'GNU Octave Manual 3.3' and am not > finding anything satisfactory. > > > James > > On Sat, 2009-02-14 at 08:34 -0800, Ben Abbott wrote: >> >> On Feb 14, 2009, at 9:54 AM, James Moliere wrote: >> >>> >>> looking at the URL >>> http://asis.epfl.ch/SCI.MATH/octave-2.0.16/Octave-FAQ_3.html >>> >>> I don't see the capability below. Can I assign functions to >>> variables >>> in a structure and call them? >>> >>> >>> # simple increment example >>> function [ ret ] = tt (a) >>> x.a=a >>> function result = anon(x) >>> x.a = x.a+1 >>> result = x >>> endfunction >>> x.increment = @anon >>> ret = x >>> endfunction >>> >>> ... I'd like to do something like this >>> >>> k = tt(1) >>> k.increment(k) % or k.increment() without passing in k >>> ... I'd expect an answer of 2. >> >> >> Your example can be entered at the command line as ... >> >> function result = anon(x) >> x.a = x.a+1; >> result = x; >> endfunction >> function [ ret ] = tt (a) >> x.a=a; >> x.increment = @anon; >> ret = x; >> endfunction >> >> x.a = 0; >> >> anon(x) >> ans = >> { >> a = 1 >> } >> >> x = tt(1) >> x = >> { >> a = 1 >> increment = >> >> anon >> } >> >> x.increment(x) >> ans = >> { >> a = 2 >> increment = >> >> anon >> } >> >> If you try x.increment() it will produce an error, because that is >> the >> same as calling anon(). >> >> Ben > From jwe@octave.org Sat Feb 14 11:32:50 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1EHWoUR005491 for ; Sat, 14 Feb 2009 11:32:50 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1EHWnWm005241 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 14 Feb 2009 11:32:49 -0600 Received: from spaceymail-a3.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1EHWmoj021141 for ; Sat, 14 Feb 2009 11:32:49 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a3.g.dreamhost.com (Postfix) with ESMTP id 19CA6194E6D; Sat, 14 Feb 2009 09:32:47 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18839.60.927504.15944@segfault.lan> Date: Sat, 14 Feb 2009 12:32:44 -0500 To: Ben Abbott Subject: Re: object behavior with Octave... In-Reply-To: <2788F347-6561-45FF-9306-A9395D35054E@mac.com> References: <1234439126.6581.15.camel@broessli-laptop> <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> <1234440755.6581.20.camel@broessli-laptop> <69d8d540902120422j4e3ed1cao224c08d567cf722e@mail.gmail.com> <1234453642.6581.21.camel@broessli-laptop> <18836.19460.586382.947066@segfault.lan> <1234516607.6581.25.camel@broessli-laptop> <001001c98e61$19892500$4c9b6f00$@edu> <55364DD0-FC9B-4EDD-AC40-B89CDEB5D7D3@mac.com> <1234623274.6943.15.camel@jmoliere-astart> <7ED3E719-92B5-4869-ADEB-F77AC7076263@mac.com> <1234630730.6943.25.camel@jmoliere-astart> <2788F347-6561-45FF-9306-A9395D35054E@mac.com> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave Help X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2009 17:32:51 -0000 On 14-Feb-2009, Ben Abbott wrote: | I'm not as familiar with Octave's objects as are others. You'll likely | get much better more (and I expect better) information if your reply- | all so that thread stays on the list. | | I haven't tried this, but I'd create a m-file function called | create_ball.m and place all the contents below in it. | | function ball = create_ball () | ball.bounce = @bounce; | ball.add_volume = @add_volume; | ball.set_color = @set_color; | endfunction | function ret = bounce (varargins) | ... bounce code here ... | endfunction | function ret = add_volumne (varargins) | ... add the volume here ... | endfunction | function ret = set_color (varargins) | ... set the color here ... | endfunction This is not really the way to do OOP in Octave. jwe From jmoliere@ucsd.edu Sat Feb 14 11:44:42 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1EHifXg007264 for ; Sat, 14 Feb 2009 11:44:41 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1EHif07010359 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 14 Feb 2009 11:44:41 -0600 Received: from outbound2.ucsd.edu (outbound2.ucsd.edu [132.239.1.206]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1EHidq8006342 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 14 Feb 2009 11:44:41 -0600 Received: from smtp.ucsd.edu (smtp.ucsd.edu [132.239.1.49]) by outbound2.ucsd.edu (8.13.6/8.13.6) with ESMTP id n1EHibJ1067970 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 14 Feb 2009 09:44:38 -0800 (PST) Received: from [192.168.2.53] ([75.85.189.143]) (authenticated bits=0) by smtp.ucsd.edu (8.13.6/8.13.6) with ESMTP id n1EHia8l017689 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Feb 2009 09:44:37 -0800 (PST) X-Authentication-Warning: smtp.ucsd.edu: Host [75.85.189.143] claimed to be [192.168.2.53] Subject: Re: object behavior with Octave... From: James Moliere To: "John W. Eaton" In-Reply-To: <18839.60.927504.15944@segfault.lan> References: <1234439126.6581.15.camel@broessli-laptop> <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> <1234440755.6581.20.camel@broessli-laptop> <69d8d540902120422j4e3ed1cao224c08d567cf722e@mail.gmail.com> <1234453642.6581.21.camel@broessli-laptop> <18836.19460.586382.947066@segfault.lan> <1234516607.6581.25.camel@broessli-laptop> <001001c98e61$19892500$4c9b6f00$@edu> <55364DD0-FC9B-4EDD-AC40-B89CDEB5D7D3@mac.com> <1234623274.6943.15.camel@jmoliere-astart> <7ED3E719-92B5-4869-ADEB-F77AC7076263@mac.com> <1234630730.6943.25.camel@jmoliere-astart> <2788F347-6561-45FF-9306-A9395D35054E@mac.com> <18839.60.927504.15944@segfault.lan> Content-Type: text/plain Date: Sat, 14 Feb 2009 09:44:12 -0800 Message-Id: <1234633452.23689.12.camel@jmoliere-astart> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RCVD_IN_DNSWL_MED, SPF_HELO_PASS Cc: Octave Help X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2009 17:44:43 -0000 John, Please give an (small) example on how to do OOP in Octave? A ball object seems to be reasonable. BTW, this code doesn't work #################################### function [ ball ] = create_ball () ball.bounce = @bounce; ball.add_volume = @add_volume; ball.set_color = @set_color; endfunction function ret = bounce (varargins) disp("called bounce"); endfunction function ret = add_volumne (varargins) disp("called add_volume"); ret = 1; endfunction function ret = set_color (varargins) disp("set_color"); ret = 2; endfunction #################################### Than On Sat, 2009-02-14 at 09:32 -0800, John W. Eaton wrote: > On 14-Feb-2009, Ben Abbott wrote: > > | I'm not as familiar with Octave's objects as are others. You'll likely > | get much better more (and I expect better) information if your reply- > | all so that thread stays on the list. > | > | I haven't tried this, but I'd create a m-file function called > | create_ball.m and place all the contents below in it. > | > | function ball = create_ball () > | ball.bounce = @bounce; > | ball.add_volume = @add_volume; > | ball.set_color = @set_color; > | endfunction > | function ret = bounce (varargins) > | ... bounce code here ... > | endfunction > | function ret = add_volumne (varargins) > | ... add the volume here ... > | endfunction > | function ret = set_color (varargins) > | ... set the color here ... > | endfunction > > This is not really the way to do OOP in Octave. > > jwe From soren@hauberg.org Sat Feb 14 12:13:12 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1EIDCbO012776 for ; Sat, 14 Feb 2009 12:13:12 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1EIDC1t022470 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 14 Feb 2009 12:13:12 -0600 Received: from mailserver.fabermail.dk (cpe.atm4-0-71392.0x50c46ba6.bynxx17.customer.tele.dk [80.196.107.166]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1EID9O3022989; Sat, 14 Feb 2009 12:13:12 -0600 Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id 91B7DD39FF; Sat, 14 Feb 2009 19:12:57 +0100 (CET) X-Virus-Scanned: by amavisd-new Received: from mailserver.fabermail.dk ([127.0.0.1]) by localhost (mailserver.fabermail.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zOyDnITtuJdv; Sat, 14 Feb 2009 19:12:56 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id 88777D3A00; Sat, 14 Feb 2009 19:12:56 +0100 (CET) Received: from [10.0.0.2] (1385165240.dhcp.dbnet.dk [82.143.241.184]) by mailserver.fabermail.dk (Postfix) with ESMTP id 4E53AD39FF; Sat, 14 Feb 2009 19:12:55 +0100 (CET) Subject: Re: object behavior with Octave... From: =?ISO-8859-1?Q?S=F8ren?= Hauberg To: James Moliere In-Reply-To: <1234633452.23689.12.camel@jmoliere-astart> References: <1234439126.6581.15.camel@broessli-laptop> <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> <1234440755.6581.20.camel@broessli-laptop> <69d8d540902120422j4e3ed1cao224c08d567cf722e@mail.gmail.com> <1234453642.6581.21.camel@broessli-laptop> <18836.19460.586382.947066@segfault.lan> <1234516607.6581.25.camel@broessli-laptop> <001001c98e61$19892500$4c9b6f00$@edu> <55364DD0-FC9B-4EDD-AC40-B89CDEB5D7D3@mac.com> <1234623274.6943.15.camel@jmoliere-astart> <7ED3E719-92B5-4869-ADEB-F77AC7076263@mac.com> <1234630730.6943.25.camel@jmoliere-astart> <2788F347-6561-45FF-9306-A9395D35054E@mac.com> <18839.60.927504.15944@segfault.lan> <1234633452.23689.12.camel@jmoliere-astart> Content-Type: text/plain; charset="UTF-8" Date: Sat, 14 Feb 2009 19:12:59 +0100 Message-Id: <1234635179.7821.1.camel@sh-t400> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 8bit X-Seen-By: Mailfromd 3.1.3 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RDNS_DYNAMIC Cc: "John W. Eaton" , Octave Help X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2009 18:13:14 -0000 lør, 14 02 2009 kl. 09:44 -0800, skrev James Moliere: > BTW, this code doesn't work > #################################### > function [ ball ] = create_ball () > ball.bounce = @bounce; > ball.add_volume = @add_volume; > ball.set_color = @set_color; > endfunction > > function ret = bounce (varargins) > disp("called bounce"); > endfunction > function ret = add_volumne (varargins) > disp("called add_volume"); > ret = 1; > endfunction > function ret = set_color (varargins) > disp("set_color"); > ret = 2; > endfunction > #################################### Well, you have a function called 'add_volumne', but in 'create_ball' you ask for 'add_volume', so it's not surprising that things don't work. Søren From jmoliere@ucsd.edu Sat Feb 14 12:16:18 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1EIGIgn013887 for ; Sat, 14 Feb 2009 12:16:18 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1EIGIdM023909 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 14 Feb 2009 12:16:18 -0600 Received: from outbound1.ucsd.edu (outbound1.ucsd.edu [132.239.1.205]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1EIGFCv006150 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 14 Feb 2009 12:16:17 -0600 Received: from smtp.ucsd.edu (smtp.ucsd.edu [132.239.1.49]) by outbound1.ucsd.edu (8.13.6/8.13.6) with ESMTP id n1EIGBQH051006 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 14 Feb 2009 10:16:12 -0800 (PST) Received: from [192.168.2.53] ([75.85.189.143]) (authenticated bits=0) by smtp.ucsd.edu (8.13.6/8.13.6) with ESMTP id n1EIGBSR020199 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Feb 2009 10:16:11 -0800 (PST) X-Authentication-Warning: smtp.ucsd.edu: Host [75.85.189.143] claimed to be [192.168.2.53] Subject: Re: object behavior with Octave... From: James Moliere To: =?ISO-8859-1?Q?S=F8ren?= Hauberg In-Reply-To: <1234635179.7821.1.camel@sh-t400> References: <1234439126.6581.15.camel@broessli-laptop> <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> <1234440755.6581.20.camel@broessli-laptop> <69d8d540902120422j4e3ed1cao224c08d567cf722e@mail.gmail.com> <1234453642.6581.21.camel@broessli-laptop> <18836.19460.586382.947066@segfault.lan> <1234516607.6581.25.camel@broessli-laptop> <001001c98e61$19892500$4c9b6f00$@edu> <55364DD0-FC9B-4EDD-AC40-B89CDEB5D7D3@mac.com> <1234623274.6943.15.camel@jmoliere-astart> <7ED3E719-92B5-4869-ADEB-F77AC7076263@mac.com> <1234630730.6943.25.camel@jmoliere-astart> <2788F347-6561-45FF-9306-A9395D35054E@mac.com> <18839.60.927504.15944@segfault.lan> <1234633452.23689.12.camel@jmoliere-astart> <1234635179.7821.1.camel@sh-t400> Content-Type: text/plain; charset="UTF-8" Date: Sat, 14 Feb 2009 10:16:08 -0800 Message-Id: <1234635368.23689.45.camel@jmoliere-astart> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 8bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RCVD_IN_DNSWL_MED, SPF_HELO_PASS Cc: "John W. Eaton" , Octave Help X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2009 18:16:19 -0000 Søre, ARGHH!!!! Thanks for pointing this out! James On Sat, 2009-02-14 at 10:12 -0800, Søren Hauberg wrote: > lør, 14 02 2009 kl. 09:44 -0800, skrev James Moliere: > > BTW, this code doesn't work > > #################################### > > function [ ball ] = create_ball () > > ball.bounce = @bounce; > > ball.add_volume = @add_volume; > > ball.set_color = @set_color; > > endfunction > > > > function ret = bounce (varargins) > > disp("called bounce"); > > endfunction > > function ret = add_volumne (varargins) > > disp("called add_volume"); > > ret = 1; > > endfunction > > function ret = set_color (varargins) > > disp("set_color"); > > ret = 2; > > endfunction > > #################################### > > Well, you have a function called 'add_volumne', but in 'create_ball' you > ask for 'add_volume', so it's not surprising that things don't work. > > Søren > From jwe@octave.org Sat Feb 14 13:05:33 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1EJ5XkF023773 for ; Sat, 14 Feb 2009 13:05:33 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1EJ5XaH012357 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 14 Feb 2009 13:05:33 -0600 Received: from spaceymail-a5.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1EJ5VPa002030 for ; Sat, 14 Feb 2009 13:05:33 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a5.g.dreamhost.com (Postfix) with ESMTP id 2695B87094; Sat, 14 Feb 2009 11:05:31 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18839.5625.624291.434679@segfault.lan> Date: Sat, 14 Feb 2009 14:05:29 -0500 To: James Moliere Subject: Re: object behavior with Octave... In-Reply-To: <1234633452.23689.12.camel@jmoliere-astart> References: <1234439126.6581.15.camel@broessli-laptop> <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> <1234440755.6581.20.camel@broessli-laptop> <69d8d540902120422j4e3ed1cao224c08d567cf722e@mail.gmail.com> <1234453642.6581.21.camel@broessli-laptop> <18836.19460.586382.947066@segfault.lan> <1234516607.6581.25.camel@broessli-laptop> <001001c98e61$19892500$4c9b6f00$@edu> <55364DD0-FC9B-4EDD-AC40-B89CDEB5D7D3@mac.com> <1234623274.6943.15.camel@jmoliere-astart> <7ED3E719-92B5-4869-ADEB-F77AC7076263@mac.com> <1234630730.6943.25.camel@jmoliere-astart> <2788F347-6561-45FF-9306-A9395D35054E@mac.com> <18839.60.927504.15944@segfault.lan> <1234633452.23689.12.camel@jmoliere-astart> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave Help X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2009 19:05:35 -0000 On 14-Feb-2009, James Moliere wrote: | Please give an (small) example on how to do OOP in Octave? A ball | object seems to be reasonable. First you need the current development version of Octave. Then take a look at the chapter on OOP in the manual. jwe From jmoliere@ucsd.edu Sat Feb 14 13:26:49 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1EJQnj6027734 for ; Sat, 14 Feb 2009 13:26:49 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1EJQnZY021154 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 14 Feb 2009 13:26:49 -0600 Received: from outbound3.ucsd.edu (outbound3.ucsd.edu [132.239.1.207]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1EJQlJH000392 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 14 Feb 2009 13:26:48 -0600 Received: from smtp.ucsd.edu (smtp.ucsd.edu [132.239.1.49]) by outbound3.ucsd.edu (8.13.6/8.13.6) with ESMTP id n1EJQjPF098233 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 14 Feb 2009 11:26:46 -0800 (PST) Received: from [192.168.2.53] ([75.85.189.143]) (authenticated bits=0) by smtp.ucsd.edu (8.13.6/8.13.6) with ESMTP id n1EJQi7S026457 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Feb 2009 11:26:45 -0800 (PST) X-Authentication-Warning: smtp.ucsd.edu: Host [75.85.189.143] claimed to be [192.168.2.53] Subject: Re: object behavior with Octave... From: James Moliere To: "John W. Eaton" In-Reply-To: <18839.5625.624291.434679@segfault.lan> References: <1234439126.6581.15.camel@broessli-laptop> <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> <1234440755.6581.20.camel@broessli-laptop> <69d8d540902120422j4e3ed1cao224c08d567cf722e@mail.gmail.com> <1234453642.6581.21.camel@broessli-laptop> <18836.19460.586382.947066@segfault.lan> <1234516607.6581.25.camel@broessli-laptop> <001001c98e61$19892500$4c9b6f00$@edu> <55364DD0-FC9B-4EDD-AC40-B89CDEB5D7D3@mac.com> <1234623274.6943.15.camel@jmoliere-astart> <7ED3E719-92B5-4869-ADEB-F77AC7076263@mac.com> <1234630730.6943.25.camel@jmoliere-astart> <2788F347-6561-45FF-9306-A9395D35054E@mac.com> <18839.60.927504.15944@segfault.lan> <1234633452.23689.12.camel@jmoliere-astart> <18839.5625.624291.434679@segfault.lan> Content-Type: text/plain Date: Sat, 14 Feb 2009 11:26:39 -0800 Message-Id: <1234639599.23689.126.camel@jmoliere-astart> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, SPF_HELO_PASS Cc: Octave Help X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2009 19:26:50 -0000 jwe, I have the latest version of GNU Octave -- verions 3.0.3. I have a copy of the book, "GNU Octave Manual, Version 3" by John W. Eaton et al. and I don't see a chapter on OOP (or Object Oriented Programming) in the table of contents. I also don't see OOP (Object Oriented Programming) in the index at the back of the book. Inside the front cover of the book, it has written, "Edition 3 for Octave version 3.0.2", "August 2008". I'm assuming this book is the latest and greatest. Can you elaborate on which chapter OOP is at in the manual? Thanks! James On Sat, 2009-02-14 at 11:05 -0800, John W. Eaton wrote: > On 14-Feb-2009, James Moliere wrote: > > | Please give an (small) example on how to do OOP in Octave? A ball > | object seems to be reasonable. > > First you need the current development version of Octave. Then take > a look at the chapter on OOP in the manual. > > jwe From bpabbott@mac.com Sat Feb 14 13:40:24 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1EJeO1a000884 for ; Sat, 14 Feb 2009 13:40:24 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1EJeOED026953 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 14 Feb 2009 13:40:24 -0600 Received: from asmtpout021.mac.com (asmtpout021.mac.com [17.148.16.96]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1EJeMjG018326; Sat, 14 Feb 2009 13:40:24 -0600 MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Received: from [10.0.1.196] ([97.100.1.226]) by asmtp021.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPA id <0KF2004T8MN37H60@asmtp021.mac.com>; Sat, 14 Feb 2009 11:40:16 -0800 (PST) Message-id: <9A0DDC0B-E1D3-485F-8449-948EFB2BDC56@mac.com> From: Ben Abbott To: James Moliere In-reply-to: <1234639599.23689.126.camel@jmoliere-astart> Subject: Re: object behavior with Octave... Date: Sat, 14 Feb 2009 14:40:14 -0500 References: <1234439126.6581.15.camel@broessli-laptop> <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> <1234440755.6581.20.camel@broessli-laptop> <69d8d540902120422j4e3ed1cao224c08d567cf722e@mail.gmail.com> <1234453642.6581.21.camel@broessli-laptop> <18836.19460.586382.947066@segfault.lan> <1234516607.6581.25.camel@broessli-laptop> <001001c98e61$19892500$4c9b6f00$@edu> <55364DD0-FC9B-4EDD-AC40-B89CDEB5D7D3@mac.com> <1234623274.6943.15.camel@jmoliere-astart> <7ED3E719-92B5-4869-ADEB-F77AC7076263@mac.com> <1234630730.6943.25.camel@jmoliere-astart> <2788F347-6561-45FF-9306-A9395D35054E@mac.com> <18839.60.927504.15944@segfault.lan> <1234633452.23689.12.camel@jmoliere-astart> <18839.5625.624291.434679@segfault.lan> <1234639599.23689.126.camel@jmoliere-astart> X-Mailer: Apple Mail (2.930.3) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1EJeO1a000884 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: "John W. Eaton" , Octave Help X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2009 19:40:25 -0000 On Feb 14, 2009, at 2:26 PM, James Moliere wrote: > > On Sat, 2009-02-14 at 11:05 -0800, John W. Eaton wrote: >> On 14-Feb-2009, James Moliere wrote: >> >> | Please give an (small) example on how to do OOP in Octave? A ball >> | object seems to be reasonable. >> >> First you need the current development version of Octave. Then take >> a look at the chapter on OOP in the manual. >> >> jwe > > jwe, > I have the latest version of GNU Octave -- verions 3.0.3. > > I have a copy of the book, "GNU Octave Manual, Version 3" by John W. > Eaton et al. and I don't see a chapter on OOP (or Object Oriented > Programming) in the table of contents. I also don't see OOP (Object > Oriented Programming) in the index at the back of the book. Inside > the > front cover of the book, it has written, "Edition 3 for Octave version > 3.0.2", "August 2008". I'm assuming this book is the latest and > greatest. > > Can you elaborate on which chapter OOP is at in the manual? > > Thanks! > James > You can find instructions on obtaining a copy of the developer's sources below. http://www.gnu.org/software/octave/download.html Regarding the manual, it is automatically generated from the sources. One of the developers (Søren) has made a recent copy available on the web (I believe it is experimental and a work in progress). You'll find the OOP part at the link below. http://hauberg.org/manual/chapter/oop.html Ben From jwe@octave.org Sat Feb 14 13:47:43 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1EJlhgX002320 for ; Sat, 14 Feb 2009 13:47:43 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1EJlhIJ029907 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 14 Feb 2009 13:47:43 -0600 Received: from spaceymail-a5.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1EJlgeY024203 for ; Sat, 14 Feb 2009 13:47:42 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a5.g.dreamhost.com (Postfix) with ESMTP id 88E548705F; Sat, 14 Feb 2009 11:47:41 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18839.8155.723875.979525@segfault.lan> Date: Sat, 14 Feb 2009 14:47:39 -0500 To: James Moliere Subject: Re: object behavior with Octave... In-Reply-To: <1234639599.23689.126.camel@jmoliere-astart> References: <1234439126.6581.15.camel@broessli-laptop> <69d8d540902120359i4e3797ecyf072b1bdd49ddbe1@mail.gmail.com> <1234440755.6581.20.camel@broessli-laptop> <69d8d540902120422j4e3ed1cao224c08d567cf722e@mail.gmail.com> <1234453642.6581.21.camel@broessli-laptop> <18836.19460.586382.947066@segfault.lan> <1234516607.6581.25.camel@broessli-laptop> <001001c98e61$19892500$4c9b6f00$@edu> <55364DD0-FC9B-4EDD-AC40-B89CDEB5D7D3@mac.com> <1234623274.6943.15.camel@jmoliere-astart> <7ED3E719-92B5-4869-ADEB-F77AC7076263@mac.com> <1234630730.6943.25.camel@jmoliere-astart> <2788F347-6561-45FF-9306-A9395D35054E@mac.com> <18839.60.927504.15944@segfault.lan> <1234633452.23689.12.camel@jmoliere-astart> <18839.5625.624291.434679@segfault.lan> <1234639599.23689.126.camel@jmoliere-astart> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave Help X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2009 19:47:48 -0000 On 14-Feb-2009, James Moliere wrote: | I have the latest version of GNU Octave -- verions 3.0.3. | | I have a copy of the book, "GNU Octave Manual, Version 3" by John W. | Eaton et al. and I don't see a chapter on OOP (or Object Oriented | Programming) in the table of contents. I also don't see OOP (Object | Oriented Programming) in the index at the back of the book. Inside the | front cover of the book, it has written, "Edition 3 for Octave version | 3.0.2", "August 2008". I'm assuming this book is the latest and | greatest. | | Can you elaborate on which chapter OOP is at in the manual? 3.0.3 is the latest "stable" release. The current development version is not released yet, but is available from the version control system, and a new snapshot was made available earlier in the week. The copy of the manual in the current development version has a chapter on OOP. You can find the Texinfo sources for that chapter here: http://hg.savannah.gnu.org/hgweb/octave/file/1bd918cfb6e2/doc/interpreter/oop.txi You can find a PDF version of the manual in the snapshot tar.gz file, which is available from ftp.octave.org in the directory pub/octave/bleeding-edge. jwe From sergstesh@yahoo.com Sat Feb 14 13:56:03 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1EJu3r9004044 for ; Sat, 14 Feb 2009 13:56:03 -0600 (CST) Received: from web35203.mail.mud.yahoo.com (web35203.mail.mud.yahoo.com [66.163.179.82]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1EJu24g027081 for ; Sat, 14 Feb 2009 13:56:03 -0600 Received: (qmail 94332 invoked by uid 60001); 14 Feb 2009 19:55:56 -0000 X-YMail-OSG: o0D129YVM1mq4gCJWlp4bueGDwdkhC._wUGGGSvmPmgSaEpY1Yb24M_QRHXUQxpIrxWzLPoXshYP9m30G1y5tnr_v1Nq1wSNd0_jDOIPVqjXwDPLwnHuq1.inIMtdHWFmqf7Jaq3iUNoyKwPMHjqkOoLzhTaJZJJpQwz2ywTIg.vigKu_dRqjMqR7M3ZATi0c7wR6HZOpQCTUcI_2g-- Received: from [87.69.49.127] by web35203.mail.mud.yahoo.com via HTTP; Sat, 14 Feb 2009 11:55:56 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Sat, 14 Feb 2009 11:55:56 -0800 (PST) From: Sergei Steshenko Subject: Re: object behavior with Octave... To: James Moliere , Ben Abbott In-Reply-To: <55364DD0-FC9B-4EDD-AC40-B89CDEB5D7D3@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <735294.93433.qm@web35203.mail.mud.yahoo.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: 'Octave users list' X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: sergstesh@yahoo.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2009 19:56:04 -0000 --- On Sat, 2/14/09, Ben Abbott wrote: > From: Ben Abbott > Subject: Re: object behavior with Octave... > To: "James Moliere" > Cc: "'Octave users list'" > Date: Saturday, February 14, 2009, 5:16 AM > On Feb 13, 2009, at 11:59 PM, James Moliere wrote: > > > Hello, > > I'm trying to do some object based programming > with Octave. > > > > For example, I can do this > > x.a = 1 > > and then to display x.a, I can type > > x.a > > ans = 1 > > > > I can also do something like this > > x.f1 = @sin > > x.f2 = @cos > > > > ...running a function would look like... > > x.f1(pi) > > ans = 1.2246e-016 > > > > I'd like to do something like an anonymous > function similar to > > > > x.f3 =@function response = (arg1, arg2) > > response = arg1+arg2; > > endfunction > > > > notice that this structure is starting to look like a > class function? > > ...this is what I'm trying to do. > > > > Thanks! > > James Moliere > > Please tell us what version of Octave are you running. > > Using 3.0.3 or the developers sources you can do ... > > x.f3 = @(arg1,arg2) arg1 + arg2; > > If you have something more complex ... > > function result = response (arg1, arg2) > ... > endfunction > x.f3 = @response; > > Ben > Ben, IIUC, the OP wanted an anonymous function. Your solution with function result = response (arg1, arg2) ... endfunction x.f3 = @response; introduces a named function called "response" in this case, i.e. there should be no other function called "response". Is there a way to implement the same thing anonymously ? In Perl it would be: $x{f3} = # %x is hash, "f3" is key sub # "sub" is a keyword, in this context it'll produce anonymous code # reference { my ($arg1, $arg2); # implement the "f3" method body here }; Thanks, Sergei. From bpye28@gmail.com Sat Feb 14 14:18:19 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1EKIJo9008649 for ; Sat, 14 Feb 2009 14:18:19 -0600 (CST) Received: from mail-qy0-f21.google.com (mail-qy0-f21.google.com [209.85.221.21]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1EKIHI3001912 for ; Sat, 14 Feb 2009 14:18:19 -0600 Received: by qyk14 with SMTP id 14so2347108qyk.0 for ; Sat, 14 Feb 2009 12:18:12 -0800 (PST) Received: by 10.224.36.202 with SMTP id u10mr982298qad.119.1234642692534; Sat, 14 Feb 2009 12:18:12 -0800 (PST) Received: from ?128.61.24.130? (lawn-128-61-24-130.lawn.gatech.edu [128.61.24.130]) by mx.google.com with ESMTPS id 30sm8802143yxk.42.2009.02.14.12.18.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 14 Feb 2009 12:18:10 -0800 (PST) Message-Id: From: Brandon Pye To: "help-octave@octave.org" Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPhone Mail (5H11) Mime-Version: 1.0 (iPhone Mail 5H11) Subject: Ode45 help Date: Sat, 14 Feb 2009 15:17:48 -0500 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2009 20:18:21 -0000 Hey guys, I'm in a class where I need to use ode45. I keep getting an error syntax when I copy the code from matlab to octave. The function that contains the differential equations gets its values from a structure defined in the master .m file. In matlab, when I call ode45 the code looks like: [t,y] = ode45(@gene.m, [0 10], y0, [], info); Where the closed brackets are skipping the tolerance and 'info' is the structure I need so that the function 'gene.m' can get the values necessary for the differential equations. When I run that code in octave, it can't find the values in the structure. Can anyone tell me where I can put the structure in the code when I call ode45 in octave? Also, I have matlab for windows. Should I just try to run it with wine? Thanks, Brandon From muthuspost@gmail.com Sat Feb 14 15:45:27 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1ELjRBU029912 for ; Sat, 14 Feb 2009 15:45:27 -0600 (CST) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.176]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1ELjPAv028394 for ; Sat, 14 Feb 2009 15:45:26 -0600 Received: by el-out-1112.google.com with SMTP id v27so1835129ele.24 for ; Sat, 14 Feb 2009 13:45:25 -0800 (PST) Received: by 10.64.88.13 with SMTP id l13mr1940717qbb.83.1234647924860; Sat, 14 Feb 2009 13:45:24 -0800 (PST) Received: from ?192.168.1.101? (ppp-70-251-157-163.dsl.rcsntx.swbell.net [70.251.157.163]) by mx.google.com with ESMTPS id s35sm7660037qbs.26.2009.02.14.13.45.22 (version=SSLv3 cipher=RC4-MD5); Sat, 14 Feb 2009 13:45:23 -0800 (PST) Message-ID: <49973B71.1010106@gmail.com> Date: Sat, 14 Feb 2009 15:45:21 -0600 From: Muthiah Annamalai User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: Brandon Pye Subject: Re: Ode45 help References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: "help-octave@octave.org" X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2009 21:45:28 -0000 Drop the .m in the function handle @gene.m Brandon Pye wrote: > Hey guys, > > I'm in a class where I need to use ode45. I keep getting an error > syntax when I copy the code from matlab to octave. The function that > contains the differential equations gets its values from a structure > defined in the master .m file. In matlab, when I call ode45 the code > looks like: > > [t,y] = ode45(@gene.m, [0 10], y0, [], info); > > Where the closed brackets are skipping the tolerance and 'info' is the > structure I need so that the function 'gene.m' can get the values > necessary for the differential equations. When I run that code in > octave, it can't find the values in the structure. Can anyone tell me > where I can put the structure in the code when I call ode45 in octave? > Also, I have matlab for windows. Should I just try to run it with wine? > > Thanks, > > Brandon > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > > From Thomas.Treichl@gmx.net Sat Feb 14 15:51:24 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1ELpOOb001284 for ; Sat, 14 Feb 2009 15:51:24 -0600 (CST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1ELpMwU014122 for ; Sat, 14 Feb 2009 15:51:24 -0600 Received: (qmail invoked by alias); 14 Feb 2009 21:51:16 -0000 Received: from e181075103.adsl.alicedsl.de (EHLO MacMini.local) [85.181.75.103] by mail.gmx.net (mp071) with SMTP; 14 Feb 2009 22:51:16 +0100 X-Authenticated: #13438314 X-Provags-ID: V01U2FsdGVkX18hj14ew9khcy54EQwfTMfAMfylh/o/Q1O787H/Un aWwI9cn+h1GdSX Message-ID: <49973CD3.4020706@gmx.net> Date: Sat, 14 Feb 2009 22:51:15 +0100 From: Thomas Treichl User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Brandon Pye Subject: Re: Ode45 help References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.59 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: "help-octave@octave.org" X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2009 21:51:26 -0000 Brandon Pye schrieb: > Hey guys, > > I'm in a class where I need to use ode45. I keep getting an error > syntax when I copy the code from matlab to octave. The function that > contains the differential equations gets its values from a structure > defined in the master .m file. In matlab, when I call ode45 the code > looks like: > > [t,y] = ode45(@gene.m, [0 10], y0, [], info); > > Where the closed brackets are skipping the tolerance and 'info' is the > structure I need so that the function 'gene.m' can get the values > necessary for the differential equations. When I run that code in > octave, it can't find the values in the structure. Can anyone tell me > where I can put the structure in the code when I call ode45 in octave? > Also, I have matlab for windows. Should I just try to run it with wine? I took a similar example than the one you sent (a modified version of the example that comes from "help ode45" at the Octave prompt. I don't know what the gene function should do but I also cannot see the problem. Can you post some more information from your session? Here is my example: octave-3.0.3:1> fvdb = @(vt,vy) [vy(2); (1 - vy(1)^2) * vy(2) - vy(1)]; octave-3.0.3:2> ode45 (fvdb, [0 20], [2 0], [], (struct ('a', 1, 'b', 2))) Best regards, Thomas From Thomas.Treichl@gmx.net Sun Feb 15 03:23:50 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1F9No0J013727 for ; Sun, 15 Feb 2009 03:23:50 -0600 (CST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1F9Nmuc016423 for ; Sun, 15 Feb 2009 03:23:49 -0600 Received: (qmail invoked by alias); 15 Feb 2009 09:23:42 -0000 Received: from e181071023.adsl.alicedsl.de (EHLO MacMini.local) [85.181.71.23] by mail.gmx.net (mp054) with SMTP; 15 Feb 2009 10:23:42 +0100 X-Authenticated: #13438314 X-Provags-ID: V01U2FsdGVkX1/kaJEtFfDkKMVTtSO9jDeEqOQg8/m1KyTf2ev8Re AfeGMH0NWJyPNv Message-ID: <4997DF1C.8010004@gmx.net> Date: Sun, 15 Feb 2009 10:23:40 +0100 From: Thomas Treichl User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Brandon Pye , Octave_post Subject: Re: Ode45 help References: <49973CD3.4020706@gmx.net> <200902142343.28232.bpye28@gmail.com> In-Reply-To: <200902142343.28232.bpye28@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.54 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2009 09:23:51 -0000 Brandon Pye schrieb: > On Saturday 14 February 2009 16:51:15 you wrote: >> Brandon Pye schrieb: >>> Hey guys, >>> >>> I'm in a class where I need to use ode45. I keep getting an error >>> syntax when I copy the code from matlab to octave. The function that >>> contains the differential equations gets its values from a structure >>> defined in the master .m file. In matlab, when I call ode45 the code >>> looks like: >>> >>> [t,y] = ode45(@gene.m, [0 10], y0, [], info); >>> >>> Where the closed brackets are skipping the tolerance and 'info' is the >>> structure I need so that the function 'gene.m' can get the values >>> necessary for the differential equations. When I run that code in >>> octave, it can't find the values in the structure. Can anyone tell me >>> where I can put the structure in the code when I call ode45 in octave? >>> Also, I have matlab for windows. Should I just try to run it with wine? >> I took a similar example than the one you sent (a modified version of the >> example that comes from "help ode45" at the Octave prompt. I don't know >> what the gene function should do but I also cannot see the problem. Can you >> post some more information from your session? >> >> Here is my example: >> >> octave-3.0.3:1> fvdb = @(vt,vy) [vy(2); (1 - vy(1)^2) * vy(2) - vy(1)]; >> octave-3.0.3:2> ode45 (fvdb, [0 20], [2 0], [], (struct ('a', 1, 'b', >> 2))) >> >> Best regards, >> >> Thomas > > The master equation uses the code: > [t,y] = ode45(@gene_iffl1, [0 info.tmax], info.y0, [], info); > > with info containing: > info.gen_time = 0.5 > info.alpha_y = log(2)/info.gen_time; > info.alpha_z = log(2)/info.gen_time; > info.beta_zhigh = 50; > info.beta_zlow = 2; > info.beta_y = 50; > info.K_yz = 20; > info.tmax = 10; > > The function gene_iffl1 is: > > function dydt = gene_iffl1(t,y,info) > dydt = zeros(2,1); > dydt(1) = info.beta_y-info.alpha_y*y(1); > dydt(2)=info.beta_zhigh*(1-(info.beta_zhigh- > info.beta_zlow)/info.beta_zhigh*(y(1)>info.K_yz))-info.alpha_z*y(2); > > I just need help with translating the syntax essentially. Everything you do is ok. The only thing that need to be done is that you pass an empty pseudo options handling structure (which is generated with the command 'odeset') as the 4th input argument. In your case, the solver somehow doesn't like an empty 4th input argument if the 5th input argument is a structure, too. I must have a look at the solver function some when I have the time to do it. Your workaround that works in Matlab and Octave should be vopt = odeset (); [t,y] = ode45(@gene_iffl1, [0 info.tmax], info.y0, vopt, info); BTW, take care with your info variable which also is a valid Octave function! Best regards, Thomas From mail@activityworkshop.net Sun Feb 15 07:29:39 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1FDTdIK000314 for ; Sun, 15 Feb 2009 07:29:39 -0600 (CST) Received: from ras.birchmania.ch (ras.birchmania.ch [217.147.213.237]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1FDTaAB019745 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 15 Feb 2009 07:29:39 -0600 Received: (qmail 31570 invoked from network); 15 Feb 2009 14:29:31 +0100 Received: from hsi-kbw-078-043-107-185.hsi4.kabel-badenwuerttemberg.de (HELO ?192.168.1.2?) (78.43.107.185) by ras.birchmania.ch with (DHE-RSA-AES256-SHA encrypted) SMTP; 15 Feb 2009 14:29:30 +0100 Message-ID: <499818B7.1060202@activityworkshop.net> Date: Sun, 15 Feb 2009 14:29:27 +0100 From: activityworkshop User-Agent: Thunderbird 2.0.0.19 (X11/20090114) MIME-Version: 1.0 To: help-octave@octave.org Subject: Printing output of plot3 (including rotation) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2009 13:29:40 -0000 Hi, I've been plotting 2d graphs using Octave and converting to postscript for Openoffice with the following: "print -deps output.eps" from the Octave console, and that works great. Now I want to do the same with 3d graphs, so from Octave I use plot3, I rotate the plot to how I want it (using the mouse in the gnuplot window), and then use the same print command from Octave - but it doesn't respect how I've rotated it, it just outputs the default orientation. I assume that only gnuplot knows about the rotation and Octave doesn't have a way to know. So how do I get a postscript version of my 3d plot, is there a way to programmatically rotate the plot before sending it to gnuplot? Or any way to get the rotation information from gnuplot? Or print to eps from gnuplot? I haven't got a gnuplot terminal to type commands into, just the graphical output. And I tried "replot" from the Octave console thinking that I might be able to set the terminal to eps from there, but replot didn't do anything. But I couldn't even manage to set the terminal to eps from octave anyway. Plus the plot3 is called from inside my .m file so I haven't even got access to the variables from the Octave console. System: Mandriva linux, Octave 3.0.1, Gnuplot 4.2.2 From dastew@sympatico.ca Sun Feb 15 07:49:22 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1FDnMNh004474 for ; Sun, 15 Feb 2009 07:49:22 -0600 (CST) Received: from tomts43-srv.bellnexxia.net (tomts43-srv.bellnexxia.net [209.226.175.110]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1FDnKd0022724 for ; Sun, 15 Feb 2009 07:49:22 -0600 Received: from toip3.srvr.bell.ca ([209.226.175.86]) by tomts43-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20090215134920.UZUR1596.tomts43-srv.bellnexxia.net@toip3.srvr.bell.ca> for ; Sun, 15 Feb 2009 08:49:20 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnABANOol0lA5161/2dsb2JhbAAIz26EHAY Received: from bas4-london14-1088904885.dsl.bell.ca (HELO [192.168.1.102]) ([64.231.94.181]) by toip3.srvr.bell.ca with ESMTP; 15 Feb 2009 08:44:00 -0500 Message-ID: <49981DD4.6090807@sympatico.ca> Date: Sun, 15 Feb 2009 08:51:16 -0500 From: Doug Stewart User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: activityworkshop Subject: Re: Printing output of plot3 (including rotation) References: <499818B7.1060202@activityworkshop.net> In-Reply-To: <499818B7.1060202@activityworkshop.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2009 13:49:23 -0000 activityworkshop wrote: > Hi, > I've been plotting 2d graphs using Octave and converting to postscript > for Openoffice with the following: "print -deps output.eps" from the > Octave console, and that works great. > Now I want to do the same with 3d graphs, so from Octave I use plot3, I > rotate the plot to how I want it (using the mouse in the gnuplot > window), and then use the same print command from Octave - but it > doesn't respect how I've rotated it, it just outputs the default > orientation. I assume that only gnuplot knows about the rotation and > Octave doesn't have a way to know. > > So how do I get a postscript version of my 3d plot, is there a way to > programmatically rotate the plot before sending it to gnuplot? Or any > way to get the rotation information from gnuplot? Or print to eps from > gnuplot? > > I haven't got a gnuplot terminal to type commands into, just the > graphical output. And I tried "replot" from the Octave console thinking > that I might be able to set the terminal to eps from there, but replot > didn't do anything. But I couldn't even manage to set the terminal to > eps from octave anyway. Plus the plot3 is called from inside my .m file > so I haven't even got access to the variables from the Octave console. > > System: Mandriva linux, Octave 3.0.1, Gnuplot 4.2.2 > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > > > try set(gca(),"view",[-10,60]); Doug From soren@hauberg.org Sun Feb 15 07:50:02 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1FDo2sj004774 for ; Sun, 15 Feb 2009 07:50:02 -0600 (CST) Received: from mailserver.fabermail.dk (cpe.atm4-0-71392.0x50c46ba6.bynxx17.customer.tele.dk [80.196.107.166]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1FDo1s4007023 for ; Sun, 15 Feb 2009 07:50:02 -0600 Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id E7FD9D39FF; Sun, 15 Feb 2009 14:49:51 +0100 (CET) X-Virus-Scanned: by amavisd-new Received: from mailserver.fabermail.dk ([127.0.0.1]) by localhost (mailserver.fabermail.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fCb3MjmVMw6D; Sun, 15 Feb 2009 14:49:51 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id 28096D3A00; Sun, 15 Feb 2009 14:49:51 +0100 (CET) Received: from [10.0.0.2] (1385165240.dhcp.dbnet.dk [82.143.241.184]) by mailserver.fabermail.dk (Postfix) with ESMTP id DF2BCD39FF; Sun, 15 Feb 2009 14:49:50 +0100 (CET) Subject: Re: Printing output of plot3 (including rotation) From: =?ISO-8859-1?Q?S=F8ren?= Hauberg To: activityworkshop In-Reply-To: <499818B7.1060202@activityworkshop.net> References: <499818B7.1060202@activityworkshop.net> Content-Type: text/plain; charset="UTF-8" Date: Sun, 15 Feb 2009 14:49:53 +0100 Message-Id: <1234705793.7408.3.camel@sh-t400> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 8bit X-Seen-By: Mailfromd 3.1.3 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RDNS_DYNAMIC Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2009 13:50:03 -0000 søn, 15 02 2009 kl. 14:29 +0100, skrev activityworkshop: > I assume that only gnuplot knows about the rotation and > Octave doesn't have a way to know. I think you're right. > So how do I get a postscript version of my 3d plot, is there a way to > programmatically rotate the plot before sending it to gnuplot? The 'view' function seems to work for me. Søren From mail@activityworkshop.net Sun Feb 15 08:11:17 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1FEBHQn008859 for ; Sun, 15 Feb 2009 08:11:17 -0600 (CST) Received: from ras.birchmania.ch (ras.birchmania.ch [217.147.213.237]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1FEBGpm005134 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 15 Feb 2009 08:11:17 -0600 Received: (qmail 9217 invoked from network); 15 Feb 2009 15:11:10 +0100 Received: from hsi-kbw-078-043-107-185.hsi4.kabel-badenwuerttemberg.de (HELO ?192.168.1.2?) (78.43.107.185) by ras.birchmania.ch with (DHE-RSA-AES256-SHA encrypted) SMTP; 15 Feb 2009 15:11:10 +0100 Message-ID: <4998227B.1000304@activityworkshop.net> Date: Sun, 15 Feb 2009 15:11:07 +0100 From: activityworkshop User-Agent: Thunderbird 2.0.0.19 (X11/20090114) MIME-Version: 1.0 To: help-octave@octave.org Subject: Re: Printing output of plot3 (including rotation) References: <499818B7.1060202@activityworkshop.net> <49981DD4.6090807@sympatico.ca> In-Reply-To: <49981DD4.6090807@sympatico.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2009 14:11:18 -0000 Great, thanks both of you! Sorry if that was an obvious question, I did search for it but didn't get these solutions. What I ended up doing was rotating the graph with the mouse until it looked right and noting down the angles at the bottom of the window (in this case 70, 278). Then either of the following commands worked for telling Octave what to do: view(278,20) set(gca(),"view",[278,20]) So the order is reversed and the second angle is 90- what was displayed. Then I could do the print -deps as before. Thanks for your quick help! Doug Stewart wrote: > try > > set(gca(),"view",[-10,60]); > > Doug > Søren Hauberg wrote: > The 'view' function seems to work for me. > > Søren > From juanba.romance@gmail.com Sun Feb 15 12:44:17 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1FIiHlR003404 for ; Sun, 15 Feb 2009 12:44:17 -0600 (CST) Received: from mail-fx0-f30.google.com (mail-fx0-f30.google.com [209.85.220.30]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1FIiAPl015186 for ; Sun, 15 Feb 2009 12:44:16 -0600 Received: by fxm11 with SMTP id 11so1282621fxm.0 for ; Sun, 15 Feb 2009 10:44:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.181.209.5 with SMTP id l5mr1640590bkq.76.1234723443969; Sun, 15 Feb 2009 10:44:03 -0800 (PST) Date: Sun, 15 Feb 2009 19:44:03 +0100 Message-ID: Subject: Newbie question related with leasqr From: juanba romance To: help-octave@octave.org Content-Type: multipart/alternative; boundary=0016e6d460b8460e840462f974a2 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, HTML_MESSAGE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2009 18:44:19 -0000 --0016e6d460b8460e840462f974a2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hello all i am trying to fit some data on a kind of logistic curve but i can not find whats wrong on code below (maybe some fundamental issue). Can anyone provide me hints/tips about it ? *function analyzer load data.dat so_simulation = 250; samples = data( : ,2 ); x = data( : ,1 ); partition = linspace(0, so_simulation, so_simulation ); A=2; B=4000; C=0.07; D=1.2; E=2.3; guess = [ 2; 1.2; 4000; 2.3; 0.07 ]; func_engine = inline( "par(1) + ( par(2) / ( 1 + ( par(3) * par(4).^( - par(5) * x ) ) ) )", "x", "par"); for i=1:so_simulation func_data( i ) = func_engine( partition( i ), guess ); end; plot( partition, func_data, "*" ); global verbose; verbose=1; x samples leasqr( x, samples, guess, func_engine ); function y = func_def( x , par ) y = par(1) + ( par(2) / ( 1 + ( par(3) * par(4).^( - par(5) * x ) ) ) ); * Octave outputs on the leasqr these messages x = 250 225 200 150 100 50 20 samples = 3.2000 3.2000 3.0000 2.3000 2.1000 2.0500 1.9500 error: operator -: nonconformant arguments (op1 is 7x1, op2 is 1x7) error: evaluating binary operator `-' near line 183, column 9 error: evaluating binary operator `.*' near line 183, column 5 error: evaluating assignment expression near line 183, column 2 error: called from `leasqr' in file `/usr/share/octave/packages/optim-1.0.4/leasqr.m' error: called from `analyzer' in file `/home/umov/suinsa-svn/tomograph-analyzer/analyzer.m' But i can add x and samples without any trouble cause both are 7x1 ranged Best regards.. --0016e6d460b8460e840462f974a2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello all i am trying to fit some data on a kind of logistic curve
but = i can not find whats wrong on code below (maybe some fundamental issue).
Can anyone provide me hints/tips about it ?

function analyz= er

  load data.dat
  so_simulation =3D 250;

  sam= ples =3D data( : ,2 );
  x =3D data( : ,1 );
  partition = =3D linspace(0, so_simulation, so_simulation );

  A=3D2;
&nb= sp; B=3D4000;
  C=3D0.07;
  D=3D1.2;
  E=3D2.3;

  guess =3D [ 2; 1.2; 4000; 2.3; 0.07 ];

  func_engine= =3D inline( "par(1) + ( par(2) / ( 1 + ( par(3) * par(4).^( - par(5) = * x ) ) ) )", "x", "par");
  for i=3D1:so_= simulation
    func_data( i ) =3D func_engine( partition(= i ), guess );
  end;

  plot( partition, func_data, "*" );
&= nbsp; global verbose;
  verbose=3D1;

  x
  samp= les

  leasqr( x, samples, guess, func_engine );

  f= unction y =3D func_def( x , par )
    y =3D par(1) + ( pa= r(2) / ( 1 + ( par(3) * par(4).^( - par(5) * x ) ) ) );



Octave outputs on the leasqr these messages
x =3D

 &= nbsp; 250
   225
   200
   150
&n= bsp;  100
    50
    20

sam= ples =3D

   3.2000
   3.2000
   = 3.0000
   2.3000
   2.1000
   2.0500
   1.9500

error: operator -: noncon= formant arguments (op1 is 7x1, op2 is 1x7)
error: evaluating binary oper= ator `-' near line 183, column 9
error: evaluating binary operator `= .*' near line 183, column 5
error: evaluating assignment expression near line 183, column 2
error: c= alled from `leasqr' in file `/usr/share/octave/packages/optim-1.0.4/lea= sqr.m'
error: called from `analyzer' in file `/home/umov/suinsa-= svn/tomograph-analyzer/analyzer.m'

But i can add x and samples without any trouble cause both are 7x1 rang= ed
Best regards..
--0016e6d460b8460e840462f974a2-- From dend_15@yahoo.com Mon Feb 16 00:20:20 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1G6KKTF018591 for ; Mon, 16 Feb 2009 00:20:20 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1G6KKQf028559 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 16 Feb 2009 00:20:20 -0600 Received: from web95205.mail.in2.yahoo.com (web95205.mail.in2.yahoo.com [203.104.18.181]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1G6KIPb024708 for ; Mon, 16 Feb 2009 00:20:19 -0600 Received: (qmail 24539 invoked by uid 60001); 16 Feb 2009 06:20:10 -0000 X-YMail-OSG: .YNc5QMVM1mAdRcCcM1Rznc6IhMFu9hX2U1WO3MzNkolRbShyyBvuUqtt00mAS.wZBcDhggxxeDUrbkkR2zR3I_u3oouV8mcplAfJIGz8CcpTiL8_M331Ds1aWPydjQaQ.u0av54wzOEeMizv9FoRli04cVK6mHW0mH6clpnm0DeN5lvYOoIp9odLhI88rYpJPO6KOsWWbomEXAoqbERkjAIgwNA4sqA4dMcHfZypbaEpo8- Received: from [203.200.35.12] by web95205.mail.in2.yahoo.com via HTTP; Mon, 16 Feb 2009 11:50:10 IST X-Mailer: YahooMailWebService/0.7.260.1 Date: Mon, 16 Feb 2009 11:50:10 +0530 (IST) From: asha g Subject: decoding error message To: help@octave.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Message-ID: <330107.20491.qm@web95205.mail.in2.yahoo.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1G6KKTF018591 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: dend_15@yahoo.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2009 06:20:22 -0000 when I try to print the following command I get errors. hold on x = linspace(0,l,N) X = x./lambda; y = z; y1 = z1; plot(x,y,'r+') plot(x,y1,'b*') xlabel('x') ylabel('V') title('linear taper and nontapered') legend("on") legend ('D1 = 1.85*10^-4 cm', 'D1 = 1.80*10^-4 cm') print('cabunpatapnontapocttest.eps','-depsc') holdoff The errors i get are : error: `legend' undefined near line 191 column 2 error: near line 191 of file `/home/proj/08/cesasha/aseasha/cabunpatapnontapoct.m' Line 191 is legend ("on").When I block that the same error appears for the next line and so on. Please help. Asha Connect with friends all over the world. Get Yahoo! India Messenger at http://in.messenger.yahoo.com/?wm=n/ From soren@hauberg.org Mon Feb 16 00:34:24 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1G6YNk3021322 for ; Mon, 16 Feb 2009 00:34:23 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1G6YNjd001617 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 16 Feb 2009 00:34:23 -0600 Received: from mailserver.fabermail.dk (cpe.atm4-0-71392.0x50c46ba6.bynxx17.customer.tele.dk [80.196.107.166]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1G6YNCV018343 for ; Mon, 16 Feb 2009 00:34:23 -0600 Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id 1419ED39FF; Mon, 16 Feb 2009 07:34:07 +0100 (CET) X-Virus-Scanned: by amavisd-new Received: from mailserver.fabermail.dk ([127.0.0.1]) by localhost (mailserver.fabermail.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id faNyXbj5iF1r; Mon, 16 Feb 2009 07:34:06 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id 4A25AD3A00; Mon, 16 Feb 2009 07:34:06 +0100 (CET) Received: from [10.0.0.2] (1385165240.dhcp.dbnet.dk [82.143.241.184]) by mailserver.fabermail.dk (Postfix) with ESMTP id EF19FD39FF; Mon, 16 Feb 2009 07:34:05 +0100 (CET) Subject: Re: decoding error message From: =?ISO-8859-1?Q?S=F8ren?= Hauberg To: dend_15@yahoo.com In-Reply-To: <330107.20491.qm@web95205.mail.in2.yahoo.com> References: <330107.20491.qm@web95205.mail.in2.yahoo.com> Content-Type: text/plain; charset="UTF-8" Date: Mon, 16 Feb 2009 07:34:07 +0100 Message-Id: <1234766047.18489.2.camel@sh-t400> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 8bit X-Seen-By: Mailfromd 3.1.3 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RDNS_DYNAMIC Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2009 06:34:25 -0000 man, 16 02 2009 kl. 11:50 +0530, skrev asha g: > The errors i get are : > error: `legend' undefined near line 191 column 2 > error: near line 191 of file `/home/proj/08/cesasha/aseasha/cabunpatapnontapoct.m' > Line 191 is legend ("on").When I block that the same error appears for the next line and so on. This means Octave cannot find the 'legend' function. What version of Octave are you using? Søren From dend_15@yahoo.com Mon Feb 16 00:38:59 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1G6cxuA022092 for ; Mon, 16 Feb 2009 00:38:59 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1G6cxht003516 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 16 Feb 2009 00:38:59 -0600 Received: from web95202.mail.in2.yahoo.com (web95202.mail.in2.yahoo.com [203.104.18.178]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1G6cvfW028210 for ; Mon, 16 Feb 2009 00:38:58 -0600 Received: (qmail 47841 invoked by uid 60001); 16 Feb 2009 06:38:51 -0000 X-YMail-OSG: 7SakrxAVM1lWzGFsw5UngYvwKgAHnC.4k3taerObcwlKkjRRhjLA6btKfQjT3L4hGTJXd7lSbTjdO7nkW36SmwoGlP1cz6OoIKR1vEmn614raTgIIXlVAcruPoBn5HcvTMkU1ZomzWkgpPAMNUEJ8kyzimIVJxtx3UFDE03HNl3F6Nv7J4sdv7fhk7v0k8LhMzD.X_feDMbKpgICHSOku.dT9pB.Oj8C8JGwo0OwT5VWVN2PTkU- Received: from [220.227.207.32] by web95202.mail.in2.yahoo.com via HTTP; Mon, 16 Feb 2009 12:08:51 IST X-Mailer: YahooMailWebService/0.7.260.1 Date: Mon, 16 Feb 2009 12:08:51 +0530 (IST) From: asha g Subject: Re: decoding error message To: =?iso-8859-1?Q?S=F8ren_Hauberg?= In-Reply-To: <1234766047.18489.2.camel@sh-t400> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Message-ID: <489080.47738.qm@web95202.mail.in2.yahoo.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1G6cxuA022092 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: dend_15@yahoo.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2009 06:39:02 -0000 It says 2.1.57. I thought I was using 3.0 Asha Goals too clearly defined can become blinkers. Mary Catherine Bateson --- On Mon, 16/2/09, Søren Hauberg wrote: > From: Søren Hauberg > Subject: Re: decoding error message > To: dend_15@yahoo.com > Cc: help@octave.org > Date: Monday, 16 February, 2009, 12:04 PM > man, 16 02 2009 kl. 11:50 +0530, skrev asha g: > > The errors i get are : > > error: `legend' undefined near line 191 column 2 > > error: near line 191 of file > `/home/proj/08/cesasha/aseasha/cabunpatapnontapoct.m' > > Line 191 is legend ("on").When I block that > the same error appears for the next line and so on. > > This means Octave cannot find the 'legend' > function. What version of > Octave are you using? > > Søren Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ From soren@hauberg.org Mon Feb 16 00:46:13 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1G6kD6J024165 for ; Mon, 16 Feb 2009 00:46:13 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1G6kCB4006353 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 16 Feb 2009 00:46:13 -0600 Received: from mailserver.fabermail.dk (cpe.atm4-0-71392.0x50c46ba6.bynxx17.customer.tele.dk [80.196.107.166]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1G6kBql007333 for ; Mon, 16 Feb 2009 00:46:12 -0600 Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id B24DFD39FF; Mon, 16 Feb 2009 07:46:05 +0100 (CET) X-Virus-Scanned: by amavisd-new Received: from mailserver.fabermail.dk ([127.0.0.1]) by localhost (mailserver.fabermail.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NhhclDeN9xUO; Mon, 16 Feb 2009 07:46:05 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id EB2E5D3A00; Mon, 16 Feb 2009 07:46:04 +0100 (CET) Received: from [10.0.0.2] (1385165240.dhcp.dbnet.dk [82.143.241.184]) by mailserver.fabermail.dk (Postfix) with ESMTP id 9F1ADD39FF; Mon, 16 Feb 2009 07:46:04 +0100 (CET) Subject: Re: decoding error message From: =?ISO-8859-1?Q?S=F8ren?= Hauberg To: dend_15@yahoo.com In-Reply-To: <489080.47738.qm@web95202.mail.in2.yahoo.com> References: <489080.47738.qm@web95202.mail.in2.yahoo.com> Content-Type: text/plain; charset="UTF-8" Date: Mon, 16 Feb 2009 07:46:03 +0100 Message-Id: <1234766763.18489.11.camel@sh-t400> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 8bit X-Seen-By: Mailfromd 3.1.3 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RDNS_DYNAMIC Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2009 06:46:14 -0000 man, 16 02 2009 kl. 12:08 +0530, skrev asha g: > It says 2.1.57. I thought I was using 3.0 Well there's your problem. If you have both versions installed, you might be able to start Octave using the 'octave-3.0.0' command (you might need to change the version number in the command to exactly match your version) Søren From dend_15@yahoo.com Mon Feb 16 00:48:22 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1G6mMx5024380 for ; Mon, 16 Feb 2009 00:48:22 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1G6mMmP007049 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 16 Feb 2009 00:48:22 -0600 Received: from web95209.mail.in2.yahoo.com (web95209.mail.in2.yahoo.com [203.104.18.185]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1G6mJTA011058 for ; Mon, 16 Feb 2009 00:48:21 -0600 Received: (qmail 24116 invoked by uid 60001); 16 Feb 2009 06:48:12 -0000 X-YMail-OSG: TprgxsoVM1mFlbWq6f.7988uOfklzi1SSePHn94mtpYBOdKvLaKikDO45po02hzC5LKM8w10OcU0pP2vSqZz50hbgWTAtSSw7qiO7AIUh400w4yGEErKx97ogCyAUbvOH0ZR7eBPaX_Bb2rCunTQ5kuE_sGMJeVH_iCxiZ4swe8YFMWlal1Uyau0n1utLfy9VPovjm8lvvgLirZK3hpjpNLa.5fxtQ-- Received: from [203.200.35.32] by web95209.mail.in2.yahoo.com via HTTP; Mon, 16 Feb 2009 12:18:12 IST X-Mailer: YahooMailWebService/0.7.260.1 Date: Mon, 16 Feb 2009 12:18:12 +0530 (IST) From: asha g Subject: Re: decoding error message To: =?iso-8859-1?Q?S=F8ren_Hauberg?= In-Reply-To: <1234766763.18489.11.camel@sh-t400> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Message-ID: <191675.23007.qm@web95209.mail.in2.yahoo.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1G6mMx5024380 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: dend_15@yahoo.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2009 06:48:23 -0000 I tried that and get the following message: warning: 3.0.0: no such file or directory So does it mean that octave 2.1.57 cannot read the legend command? It was working earlier. Asha Goals too clearly defined can become blinkers. Mary Catherine Bateson --- On Mon, 16/2/09, Søren Hauberg wrote: > From: Søren Hauberg > Subject: Re: decoding error message > To: dend_15@yahoo.com > Cc: help@octave.org > Date: Monday, 16 February, 2009, 12:16 PM > man, 16 02 2009 kl. 12:08 +0530, skrev asha g: > > It says 2.1.57. I thought I was using 3.0 > > Well there's your problem. If you have both versions > installed, you > might be able to start Octave using the > 'octave-3.0.0' command (you > might need to change the version number in the command to > exactly match > your version) > > Søren Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/ From soren@hauberg.org Mon Feb 16 00:55:41 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1G6teU6026026 for ; Mon, 16 Feb 2009 00:55:40 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1G6teGu009957 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 16 Feb 2009 00:55:40 -0600 Received: from mailserver.fabermail.dk (cpe.atm4-0-71392.0x50c46ba6.bynxx17.customer.tele.dk [80.196.107.166]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1G6teL2003952 for ; Mon, 16 Feb 2009 00:55:40 -0600 Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id 9EB9BD39FF; Mon, 16 Feb 2009 07:55:34 +0100 (CET) X-Virus-Scanned: by amavisd-new Received: from mailserver.fabermail.dk ([127.0.0.1]) by localhost (mailserver.fabermail.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id luNXijywmU5L; Mon, 16 Feb 2009 07:55:34 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id BB9B6D3A00; Mon, 16 Feb 2009 07:55:33 +0100 (CET) Received: from [10.0.0.2] (1385165240.dhcp.dbnet.dk [82.143.241.184]) by mailserver.fabermail.dk (Postfix) with ESMTP id 763A2D39FF; Mon, 16 Feb 2009 07:55:32 +0100 (CET) Subject: Re: decoding error message From: =?ISO-8859-1?Q?S=F8ren?= Hauberg To: dend_15@yahoo.com In-Reply-To: <191675.23007.qm@web95209.mail.in2.yahoo.com> References: <191675.23007.qm@web95209.mail.in2.yahoo.com> Content-Type: text/plain; charset="UTF-8" Date: Mon, 16 Feb 2009 07:55:27 +0100 Message-Id: <1234767327.18489.14.camel@sh-t400> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 8bit X-Seen-By: Mailfromd 3.1.3 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RDNS_DYNAMIC Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2009 06:55:42 -0000 man, 16 02 2009 kl. 12:18 +0530, skrev asha g: > I tried that and get the following message: > warning: 3.0.0: no such file or directory > > So does it mean that octave 2.1.57 cannot read the legend command? It was working earlier. Octave 2.1.57 does not have the 'legend' command. As long as you're using this (very old) version you will not be able to use that command. You should figure out why you're starting version 2.1.57 instead of version 3.0. I'm not sure why this is happening, though. What OS are you using? Søren From dend_15@yahoo.com Mon Feb 16 01:21:41 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1G7LfUL001612 for ; Mon, 16 Feb 2009 01:21:41 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1G7LfuV019984 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 16 Feb 2009 01:21:41 -0600 Received: from web95216.mail.in2.yahoo.com (web95216.mail.in2.yahoo.com [203.104.18.192]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1G7LdCt018010 for ; Mon, 16 Feb 2009 01:21:40 -0600 Received: (qmail 40021 invoked by uid 60001); 16 Feb 2009 07:21:31 -0000 X-YMail-OSG: PThjbM4VM1l_hLUkcaPvYqFqmk.sQfEuhXGW4O3SpRPa6YjXQEQ8QAPJh_egS3tSDgpoRQ26n3omSEkOVSxHuqstAO7jhoOldfYWEXa0H1Zy2VuWkDhuTAoPXq1y2dZbKNonz02DvV0l40ORuKelFuFF3pnxM3MVPDK3YKpPTqHNBXGEnQ4blzGPChsCglRMonAClZHK5mwveolW9AQNTkiy2dfo1fohb8GHDMaYY.6r_4oopFU- Received: from [220.227.207.12] by web95216.mail.in2.yahoo.com via HTTP; Mon, 16 Feb 2009 12:51:31 IST X-Mailer: YahooMailWebService/0.7.260.1 Date: Mon, 16 Feb 2009 12:51:31 +0530 (IST) From: asha g Subject: Re: decoding error message To: =?iso-8859-1?Q?S=F8ren_Hauberg?= In-Reply-To: <1234767327.18489.14.camel@sh-t400> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Message-ID: <874959.39521.qm@web95216.mail.in2.yahoo.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1G7LfUL001612 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: dend_15@yahoo.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2009 07:21:42 -0000 OS: RHEL 4.0 I am working on another machine not my usual one. That could be why I cannto get 3.0 . Will check with sys admin. Asha Goals too clearly defined can become blinkers. Mary Catherine Bateson --- On Mon, 16/2/09, Søren Hauberg wrote: > From: Søren Hauberg > Subject: Re: decoding error message > To: dend_15@yahoo.com > Cc: help@octave.org > Date: Monday, 16 February, 2009, 12:25 PM > man, 16 02 2009 kl. 12:18 +0530, skrev asha g: > > I tried that and get the following message: > > warning: 3.0.0: no such file or directory > > > > So does it mean that octave 2.1.57 cannot read the > legend command? It was working earlier. > > Octave 2.1.57 does not have the 'legend' command. > As long as you're > using this (very old) version you will not be able to use > that command. > You should figure out why you're starting version > 2.1.57 instead of > version 3.0. I'm not sure why this is happening, > though. What OS are you > using? > > Søren Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ From olaf.till@uni-jena.de Mon Feb 16 02:19:52 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1G8JqSA015130 for ; Mon, 16 Feb 2009 02:19:52 -0600 (CST) Received: from fsuj28a.rz.uni-jena.de (fsuj28a.rz.uni-jena.de [141.35.1.24]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1G8Jn1k005665 for ; Mon, 16 Feb 2009 02:19:52 -0600 Received: from schnapphans2.rz.uni-jena.de (schnapphans2.rz.uni-jena.de [141.35.1.25]) by fsuj28a.rz.uni-jena.de (8.12.11/8.12.11) with SMTP id n1G8JhZq004246 for ; Mon, 16 Feb 2009 09:19:43 +0100 Received: from (unknown [141.35.1.21]) by schnapphans2.rz.uni-jena.de with smtp id 767b_907642d8_fc02_11dd_a9f3_001d0964d160; Mon, 16 Feb 2009 09:19:43 +0100 Received: from olaf.iswbio.uni-jena.de (olaf.iswbio.uni-jena.de [141.35.118.64]) by smtp2.uni-jena.de (8.13.1/8.13.1) with ESMTP id n1G8JhjW032079 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 16 Feb 2009 09:19:43 +0100 Received: from olaf by olaf.iswbio.uni-jena.de with local (Exim 4.63) (envelope-from ) id 1LYyhb-0004OA-3w for help-octave@octave.org; Mon, 16 Feb 2009 09:19:43 +0100 Date: Mon, 16 Feb 2009 09:19:43 +0100 To: help-octave@octave.org Subject: Re: Newbie question related with leasqr Message-ID: <20090216081943.GA16763@till> Mail-Followup-To: help-octave@octave.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) From: Olaf Till X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2009 08:19:54 -0000 On Sun, Feb 15, 2009 at 07:44:03PM +0100, juanba romance wrote: > func_engine = inline( "par(1) + ( par(2) / ( 1 + ( par(3) * par(4).^( - > par(5) * x ) ) ) )", "x", "par"); Replace "/" with "./", otherewhise "func_engine" won't probably do what you want, and also it will return a line-vector (instead of a column vector), which probably causes the following error. Olaf > error: operator -: nonconformant arguments (op1 is 7x1, op2 is 1x7) > error: evaluating binary operator `-' near line 183, column 9 > error: evaluating binary operator `.*' near line 183, column 5 > error: evaluating assignment expression near line 183, column 2 > error: called from `leasqr' in file > `/usr/share/octave/packages/optim-1.0.4/leasqr.m' > error: called from `analyzer' in file > `/home/umov/suinsa-svn/tomograph-analyzer/analyzer.m' From juanba.romance@gmail.com Mon Feb 16 03:44:56 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1G9iufX003417 for ; Mon, 16 Feb 2009 03:44:56 -0600 (CST) Received: from mail-fx0-f18.google.com (mail-fx0-f18.google.com [209.85.220.18]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1G9irHp027994 for ; Mon, 16 Feb 2009 03:44:56 -0600 Received: by fxm11 with SMTP id 11so4975291fxm.0 for ; Mon, 16 Feb 2009 01:44:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.181.218.14 with SMTP id v14mr1899710bkq.111.1234777478097; Mon, 16 Feb 2009 01:44:38 -0800 (PST) In-Reply-To: <20090216081943.GA16763@till> References: <20090216081943.GA16763@till> Date: Mon, 16 Feb 2009 10:44:38 +0100 Message-ID: Subject: Re: Newbie question related with leasqr From: juanba romance To: help-octave@octave.org Content-Type: multipart/alternative; boundary=0016e6d99beff56b5a046306080d X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, HTML_MESSAGE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2009 09:44:58 -0000 --0016e6d99beff56b5a046306080d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 2009/2/16 Olaf Till > On Sun, Feb 15, 2009 at 07:44:03PM +0100, juanba romance wrote: > > func_engine = inline( "par(1) + ( par(2) / ( 1 + ( par(3) * par(4).^( - > > par(5) * x ) ) ) )", "x", "par"); > Replace "/" with "./", otherewhise "func_engine" won't probably do > what you want, and also it will return a line-vector (instead of a > column vector), which probably causes the following error. > > Olaf > > > error: operator -: nonconformant arguments (op1 is 7x1, op2 is 1x7) > > error: evaluating binary operator `-' near line 183, column 9 > > error: evaluating binary operator `.*' near line 183, column 5 > > error: evaluating assignment expression near line 183, column 2 > > error: called from `leasqr' in file > > `/usr/share/octave/packages/optim-1.0.4/leasqr.m' > > error: called from `analyzer' in file > > `/home/umov/suinsa-svn/tomograph-analyzer/analyzer.m' > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > OK really smooth Thanks a lot --0016e6d99beff56b5a046306080d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

2009/2/16 Olaf Till &l= t;olaf.till@uni-jena.de>
On Sun, Feb 15, 2009 at 07:44:03PM +0100, juanba roma= nce wrote:
>   func_engine =3D inline( "par(1) + ( par(2) / ( 1 + ( par(3= ) * par(4).^( -
> par(5) * x ) ) ) )", "x", "par");
Replace "/" with "./", otherewhise "func_eng= ine" won't probably do
what you want, and also it will return a line-vector (instead of a
column vector), which probably causes the following error.

Olaf

> error: operator -: nonconformant arguments (op1 is 7x1, op2 is 1x7) > error: evaluating binary operator `-' near line 183, column 9
> error: evaluating binary operator `.*' near line 183, column 5
> error: evaluating assignment expression near line 183, column 2
> error: called from `leasqr' in file
> `/usr/share/octave/packages/optim-1.0.4/leasqr.m'
> error: called from `analyzer' in file
> `/home/umov/suinsa-svn/tomograph-analyzer/analyzer.m'
_______________________________________________
Help-octave mailing list
Help-octave@octave.org
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave<= br>

OK really smooth
Thanks a lot
--0016e6d99beff56b5a046306080d-- From Peter.Stalder@trivadis.com Mon Feb 16 06:07:37 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1GC7bas004007 for ; Mon, 16 Feb 2009 06:07:37 -0600 (CST) Received: from mailx2.trivadis.com (mailx2.trivadis.com [212.249.206.77]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1GC7ULb010537 for ; Mon, 16 Feb 2009 06:07:37 -0600 X-ASG-Debug-ID: 1234786024-400a00030000-SGzlfK X-Barracuda-URL: http://mailx1.trivadis.com:8000/cgi-bin/mark.cgi Received: from mailx2.trivadis.com (localhost [127.0.0.1]) by mailx2.trivadis.com (Spam Firewall) with ESMTP id 366231C3249 for ; Mon, 16 Feb 2009 13:07:04 +0100 (CET) Received: from mailx2.trivadis.com ([172.16.34.101]) by mailx2.trivadis.com with ESMTP id Av8niIFXhIzVF3M8 for ; Mon, 16 Feb 2009 13:07:04 +0100 (CET) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-ASG-Orig-Subj: Polynom, 2. degree Subject: Polynom, 2. degree Date: Mon, 16 Feb 2009 13:07:03 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Polynom, 2. degree Thread-Index: AcmQLxSC1+ASnNRqTn26W2bj3gGHAw== From: "Peter Stalder" To: X-Barracuda-Connect: UNKNOWN[172.16.34.101] X-Barracuda-Start-Time: 1234786024 X-Barracuda-Virus-Scanned: by Trivadis Spam Firewall at trivadis.com X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1GC7bas004007 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, RCVD_IN_DNSWL_HI X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2009 12:07:39 -0000 Dear list, I just started with Octave and I'd like to check a result compard to R and excel. The script I'm using in R is: # Input n <- 7; y <- c(0.00,0.17,0.41,1.52,2.83,4.27,7.24); x <- c(0,17,35,71,107,143,215); # Polynom 2. degree polyfit2 <- lm(y~poly(x,2)); # Graphic plot(y~x,pch=18); lines(sort(x), polyfit2$fit[order(x)],col='red', lwd=2); # Summary summary(polyfit2); How do I write a polynom (2. degree) in Octave? On the end, I need the intercept and slope. Thank you. Peter From ivan.sutoris@gmail.com Mon Feb 16 06:37:27 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1GCbRTO010397 for ; Mon, 16 Feb 2009 06:37:27 -0600 (CST) Received: from mail-fx0-f18.google.com (mail-fx0-f18.google.com [209.85.220.18]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1GCbNUh017997 for ; Mon, 16 Feb 2009 06:37:27 -0600 Received: by fxm11 with SMTP id 11so5159315fxm.0 for ; Mon, 16 Feb 2009 04:37:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.2.14 with SMTP id e14mr773828mui.94.1234787802347; Mon, 16 Feb 2009 04:36:42 -0800 (PST) In-Reply-To: References: Date: Mon, 16 Feb 2009 13:36:42 +0100 Message-ID: <65d1f7fc0902160436h39d05d9bl56a23eba5275864b@mail.gmail.com> Subject: Re: Polynom, 2. degree From: Ivan Sutoris To: Peter Stalder Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2009 12:37:28 -0000 On Mon, Feb 16, 2009 at 1:07 PM, Peter Stalder wrote: > Dear list, > > I just started with Octave and I'd like to check a result compard to R and excel. The script I'm using in R is: > > # Input > n <- 7; > y <- c(0.00,0.17,0.41,1.52,2.83,4.27,7.24); > x <- c(0,17,35,71,107,143,215); > # Polynom 2. degree > polyfit2 <- lm(y~poly(x,2)); > # Graphic > plot(y~x,pch=18); > lines(sort(x), polyfit2$fit[order(x)],col='red', lwd=2); > # Summary > summary(polyfit2); > > How do I write a polynom (2. degree) in Octave? On the end, I need the intercept and slope. > > Thank you. > Peter You can use "polyfit" function to fit coeficients and "polyval" to evaluate polynomial at given point: y = [0.00,0.17,0.41,1.52,2.83,4.27,7.24]; x = [0,17,35,71,107,143,215]; fit = polyfit(x,y,2); plX = 0:1:215; plY = polyval(fit,plX); plot(x,y,'ro', plX,plY,'b-'); Regards Ivan Sutoris From bounces@nabble.com Fri Feb 13 10:56:51 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1DGupi2013349 for ; Fri, 13 Feb 2009 10:56:51 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1DGunuI004749 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 13 Feb 2009 10:56:51 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LY1LM-0007et-44 for help-octave@octave.org; Fri, 13 Feb 2009 08:56:48 -0800 Message-ID: <22000471.post@talk.nabble.com> Date: Fri, 13 Feb 2009 08:56:48 -0800 (PST) From: Steve Jeffrey To: help-octave@octave.org Subject: Re: zero crossing determination in octave? In-Reply-To: <1228558671.6161.3.camel@sh-t400> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Nabble-From: sjeffrey000@sympatico.ca References: <24ee1de20812051207o55e32663tf1db6efa02f87fe1@mail.gmail.com> <9A8F2535-9B61-4A5C-AC84-DE60C116D7DA@gmail.com> <938B9449-6BBC-4EA4-BC76-45C317CB8681@gmail.com> <1228558671.6161.3.camel@sh-t400> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1DGupi2013349 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-Mailman-Approved-At: Mon, 16 Feb 2009 14:26:21 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2009 16:56:52 -0000 Søren Hauberg wrote: > > fre, 05 12 2008 kl. 22:47 +0000, skrev Carlo de Falco: >> even a trivial function can contain mistakes ;) >> fix attached, > > I guess such a function makes sense to have. Could you add it to the > 'signal' package which I guess is the one most suited for such a > function? Also, please add it to the 'INDEX' file of the package. > > Thanks, > Søren > > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > > Hi, Great function, thanks! How can it be modified to find the crossings of an arbitrary trigger parameter instead of 0 where there could be lots of noise? I had a look, but it's definitely a non-trivial task for me. Cheers, Steve -- View this message in context: http://www.nabble.com/zero-crossing-determination-in-octave--tp20861795p22000471.html Sent from the Octave - General mailing list archive at Nabble.com. From bounces@nabble.com Mon Feb 16 14:22:44 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1GKMi9b007296 for ; Mon, 16 Feb 2009 14:22:44 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1GKMblW007406 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 16 Feb 2009 14:22:44 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LZ9z9-0005oH-RK for help-octave@octave.org; Mon, 16 Feb 2009 12:22:35 -0800 Message-ID: <22045055.post@talk.nabble.com> Date: Mon, 16 Feb 2009 12:22:35 -0800 (PST) From: Adriana Cardozo To: help-octave@octave.org Subject: Round down number MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: abustillos@cardozo.com X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-Mailman-Approved-At: Mon, 16 Feb 2009 14:26:21 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2009 20:22:46 -0000 Hello!! i would like to know with function can I use to round down a number to the nearest integer? I got a result equal to 1.9, and need to round it to 1. Thanks for your help, Adriana -- View this message in context: http://www.nabble.com/Round-down-number-tp22045055p22045055.html Sent from the Octave - General mailing list archive at Nabble.com. From daviddoria@gmail.com Mon Feb 16 14:32:10 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1GKWApo010323 for ; Mon, 16 Feb 2009 14:32:10 -0600 (CST) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.173]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1GKW7kY022412 for ; Mon, 16 Feb 2009 14:32:10 -0600 Received: by wf-out-1314.google.com with SMTP id 27so2500992wfd.15 for ; Mon, 16 Feb 2009 12:32:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.12.14 with SMTP id 14mr332538wfl.120.1234816327715; Mon, 16 Feb 2009 12:32:07 -0800 (PST) In-Reply-To: <22045055.post@talk.nabble.com> References: <22045055.post@talk.nabble.com> Date: Mon, 16 Feb 2009 15:32:07 -0500 Message-ID: Subject: Re: Round down number From: David Doria To: Adriana Cardozo Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, WHOIS_MYPRIVREG Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2009 20:32:12 -0000 You can use the floor() function. Thanks, David On Mon, Feb 16, 2009 at 3:22 PM, Adriana Cardozo wrote: > > Hello!! > > i would like to know with function can I use to round down a number to the > nearest integer? I got a result equal to 1.9, and need to round it to 1. > > Thanks for your help, > > Adriana > -- > View this message in context: http://www.nabble.com/Round-down-number-tp22045055p22045055.html > Sent from the Octave - General mailing list archive at Nabble.com. > > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > From bounces@nabble.com Mon Feb 16 14:39:29 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1GKdTcE012338 for ; Mon, 16 Feb 2009 14:39:29 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1GKdSh1031460 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 16 Feb 2009 14:39:29 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LZAFU-0006Xl-Gy for help-octave@octave.org; Mon, 16 Feb 2009 12:39:28 -0800 Message-ID: <22045374.post@talk.nabble.com> Date: Mon, 16 Feb 2009 12:39:28 -0800 (PST) From: Adriana Cardozo To: help-octave@octave.org Subject: Re: Round down number In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: abustillos@cardozo.com References: <22045055.post@talk.nabble.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-Mailman-Approved-At: Mon, 16 Feb 2009 14:46:47 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2009 20:39:31 -0000 David, Thank you!! daviddoria wrote: > > You can use the floor() function. > > > Thanks, > > David > > > > On Mon, Feb 16, 2009 at 3:22 PM, Adriana Cardozo > wrote: >> >> Hello!! >> >> i would like to know with function can I use to round down a number to >> the >> nearest integer? I got a result equal to 1.9, and need to round it to 1. >> >> Thanks for your help, >> >> Adriana >> -- >> View this message in context: >> http://www.nabble.com/Round-down-number-tp22045055p22045055.html >> Sent from the Octave - General mailing list archive at Nabble.com. >> >> _______________________________________________ >> Help-octave mailing list >> Help-octave@octave.org >> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave >> > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > > -- View this message in context: http://www.nabble.com/Round-down-number-tp22045055p22045374.html Sent from the Octave - General mailing list archive at Nabble.com. From soren@hauberg.org Mon Feb 16 14:59:17 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1GKxHbx018485 for ; Mon, 16 Feb 2009 14:59:17 -0600 (CST) Received: from mailserver.fabermail.dk (cpe.atm4-0-71392.bynxx17.customer.tele.dk [80.196.107.166]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1GKxEKR013272 for ; Mon, 16 Feb 2009 14:59:16 -0600 Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id DE362D39FF; Mon, 16 Feb 2009 21:59:02 +0100 (CET) X-Virus-Scanned: by amavisd-new Received: from mailserver.fabermail.dk ([127.0.0.1]) by localhost (mailserver.fabermail.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UEK4eyGeKdfq; Mon, 16 Feb 2009 21:59:01 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id 9870FD3A00; Mon, 16 Feb 2009 21:59:01 +0100 (CET) Received: from [10.0.0.2] (1385165240.dhcp.dbnet.dk [82.143.241.184]) by mailserver.fabermail.dk (Postfix) with ESMTP id 53515D39FF; Mon, 16 Feb 2009 21:59:00 +0100 (CET) Subject: Re: zero crossing determination in octave? From: =?ISO-8859-1?Q?S=F8ren?= Hauberg To: Steve Jeffrey In-Reply-To: <22000471.post@talk.nabble.com> References: <24ee1de20812051207o55e32663tf1db6efa02f87fe1@mail.gmail.com> <9A8F2535-9B61-4A5C-AC84-DE60C116D7DA@gmail.com> <938B9449-6BBC-4EA4-BC76-45C317CB8681@gmail.com> <1228558671.6161.3.camel@sh-t400> <22000471.post@talk.nabble.com> Content-Type: text/plain; charset="UTF-8" Date: Mon, 16 Feb 2009 21:59:06 +0100 Message-Id: <1234817946.7850.12.camel@sh-t400> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 8bit X-Seen-By: Mailfromd 3.1.3 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RDNS_DYNAMIC Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2009 20:59:18 -0000 fre, 13 02 2009 kl. 08:56 -0800, skrev Steve Jeffrey: > How can it be modified to find the crossings of an arbitrary trigger > parameter instead of 0 where there could be lots of noise? I had a look, > but it's definitely a non-trivial task for me. I'm not quite sure I understand. The function I sent could find zero crossings in a function given by a matrix. Do you just want to find positions where such a function crosses a different value rather than zero? I.e. find places where f (x, y) == alpha instead of f (x, y) == 0 ? If so, you can just use the function I sent to find f (x, y) - alpha == 0 i.e. just subtract alpha from your matrix, and then find zero crossings. Is that what you wanted? Otherwise you'll have to be more specific. Søren From bounces@nabble.com Mon Feb 16 17:29:43 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1GNThOP026543 for ; Mon, 16 Feb 2009 17:29:43 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1GNTfxi001836 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 16 Feb 2009 17:29:43 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LZCuC-0005hF-P0 for help-octave@octave.org; Mon, 16 Feb 2009 15:29:40 -0800 Message-ID: <22048113.post@talk.nabble.com> Date: Mon, 16 Feb 2009 15:29:40 -0800 (PST) From: Lennart O To: help-octave@octave.org Subject: Problem with appearance of plots MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: anthelios77@gmail.com X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2009 23:29:44 -0000 Hi I'm having a problem with plots that are not very pretty. It's almost like an old version of gnuplot is being used. The result looks very crude. I should mention that I am using Octave 3.0.1 on Ubuntu 8.10. I took some screenshots to show what I mean. Plot with Octave: http://www.nabble.com/file/p22048113/octave.png Plot with Gnuplot: http://www.nabble.com/file/p22048113/gnuplot.png Any idea how to fix this? Is it a problem with the Ubuntu package or do I need to change some settings in Octave? ps. Sorry about the images being so large. -- View this message in context: http://www.nabble.com/Problem-with-appearance-of-plots-tp22048113p22048113.html Sent from the Octave - General mailing list archive at Nabble.com. From bpabbott@mac.com Mon Feb 16 18:46:16 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1H0kGeW017632 for ; Mon, 16 Feb 2009 18:46:16 -0600 (CST) Received: from asmtpout013.mac.com (asmtpout013.mac.com [17.148.16.88]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1H0kDaL004933 for ; Mon, 16 Feb 2009 18:46:15 -0600 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [10.0.1.196] ([97.100.1.226]) by asmtp013.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPA id <0KF600CVLQ4UMR30@asmtp013.mac.com> for help-octave@octave.org; Mon, 16 Feb 2009 16:46:08 -0800 (PST) Message-id: <87011E04-2849-469F-B4BE-00851A941E9B@mac.com> From: Ben Abbott To: Lennart O In-reply-to: <22048113.post@talk.nabble.com> Subject: Re: Problem with appearance of plots Date: Mon, 16 Feb 2009 19:46:06 -0500 References: <22048113.post@talk.nabble.com> X-Mailer: Apple Mail (2.930.3) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, WHOIS_MYPRIVREG Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 00:46:17 -0000 On Feb 16, 2009, at 6:29 PM, Lennart O wrote: > > Hi I'm having a problem with plots that are not very pretty. It's > almost like > an old version of gnuplot is being used. The result looks very > crude. I > should mention that I am using Octave 3.0.1 on Ubuntu 8.10. I took > some > screenshots to show what I mean. > > Plot with Octave: > http://www.nabble.com/file/p22048113/octave.png > > Plot with Gnuplot: > http://www.nabble.com/file/p22048113/gnuplot.png > > Any idea how to fix this? Is it a problem with the Ubuntu package or > do I > need to change some settings in Octave? > > ps. Sorry about the images being so large. Octave is telling gnuplot to use the x11 terminal, and when you run gnuplot directly it is using the wxt terminal. Try ... $ export GNUTERM=wxt $ octave ... and then do some plots. Ben From paul@purecodes.org Tue Feb 17 03:00:55 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1H90tRi000660 for ; Tue, 17 Feb 2009 03:00:55 -0600 (CST) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1H90ghB013214 for ; Tue, 17 Feb 2009 03:00:54 -0600 Received: from [0.0.0.0] (srv035.dedi23.de [83.151.25.138]) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis) id 0ML2xA-1LZLoh3x2X-0006w0; Tue, 17 Feb 2009 10:00:36 +0100 Message-ID: <499A7CED.80107@purecodes.org> Date: Tue, 17 Feb 2009 10:01:33 +0100 From: Paul Wellner Bou User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: help-octave@octave.org Subject: Gnuplot hangs on Windows XP Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1/YzaHyYedENBFI3ZuueG5d4FBWXPHbgydXGJl iSQBj1Vv8kR2c7BGruwbJDQXNvqNpfeRkeZb64q7bu0DFgqfOb I7PMiNeRhn0KwPREOOEC4LrnWnXugqd X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, SPF_HELO_PASS X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 09:00:57 -0000 Hi, i am trying the new octave for windows installer versions (I tried 3.0.3 and 3.1.50). The JHandles graphic backend works, but it is limited if you want to find out more information about the mouse position. So I tried it with gnuplot. The problem is now that the gnuplot window is hanging and there is no way to use the controls. I can resize it. But the plot does not resize until I change it in the octave command line, for example using "grid on" or "grid off". I am still not able to use the controls of the gnuplot window but at least the plot resizes to the window size. I am using Windows XP. Is this a known problem? Are there workarounds? Thank you and kind regards Paul. From michael.goffioul@gmail.com Tue Feb 17 03:17:35 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1H9HZCb004469 for ; Tue, 17 Feb 2009 03:17:35 -0600 (CST) Received: from mail-bw0-f161.google.com (mail-bw0-f161.google.com [209.85.218.161]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1H9HWt4028789 for ; Tue, 17 Feb 2009 03:17:34 -0600 Received: by bwz5 with SMTP id 5so4170646bwz.0 for ; Tue, 17 Feb 2009 01:17:27 -0800 (PST) MIME-Version: 1.0 Received: by 10.181.152.14 with SMTP id e14mr388054bko.189.1234862247079; Tue, 17 Feb 2009 01:17:27 -0800 (PST) In-Reply-To: <499A7CED.80107@purecodes.org> References: <499A7CED.80107@purecodes.org> Date: Tue, 17 Feb 2009 09:17:27 +0000 Message-ID: <128f38bd0902170117t46aadefy190675a33743baff@mail.gmail.com> Subject: Re: Gnuplot hangs on Windows XP From: Michael Goffioul To: Paul Wellner Bou Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 09:17:36 -0000 On Tue, Feb 17, 2009 at 9:01 AM, Paul Wellner Bou wrote: > Hi, > > i am trying the new octave for windows installer versions (I tried 3.0.3 > and 3.1.50). The JHandles graphic backend works, but it is limited if > you want to find out more information about the mouse position. > > So I tried it with gnuplot. The problem is now that the gnuplot window > is hanging and there is no way to use the controls. I can resize it. But > the plot does not resize until I change it in the octave command line, > for example using "grid on" or "grid off". I am still not able to use > the controls of the gnuplot window but at least the plot resizes to the > window size. > > I am using Windows XP. Is this a known problem? Are there workarounds? The fact that the plot is not updated when you resize the window is the normal behavior of gnuplot: you have to force a replot to update the window, for instance by changing the grid mode. There's no way around that. For the other controls, at least the zoom buttons should be functional: you should be able to zoom with the mouse (I don't remember which mouse button you have to use), then switch back to previous view using the button. Michael. From paul@purecodes.org Tue Feb 17 03:24:24 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1H9OOxV005747 for ; Tue, 17 Feb 2009 03:24:24 -0600 (CST) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1H9OAoc009098 for ; Tue, 17 Feb 2009 03:24:24 -0600 Received: from [0.0.0.0] (srv035.dedi23.de [83.151.25.138]) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis) id 0MKwh2-1LZMBQ03oY-0006VS; Tue, 17 Feb 2009 10:24:04 +0100 Message-ID: <499A8267.3020301@purecodes.org> Date: Tue, 17 Feb 2009 10:24:55 +0100 From: Paul Wellner Bou User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: help-octave@octave.org Subject: Re: Gnuplot hangs on Windows XP References: <499A7CED.80107@purecodes.org> <128f38bd0902170117t46aadefy190675a33743baff@mail.gmail.com> In-Reply-To: <128f38bd0902170117t46aadefy190675a33743baff@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX18+ZJ6AYwYYWpLQjZfjC15ZYOmjbqDyTW5X1c1 d02zGu1lyV0e+SXqQWDiBo7pdkSzUiZ57X7PozteGBotPvi5EX SX46PU3tsmzvK91KnVPzCV+lNgQu2Lj X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, SPF_HELO_PASS X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: help-octave@octave.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 09:24:25 -0000 Hi, Thanks for your answer. No, that is not the problem. The problem is that the window just is not reacting. I am not able tu use any controls and the mouse icon does not react neither. I tried a sample of gnuplot without octave and it works fine. Well, I have a few thousands of points but that should work anyway, right? Regards Paul. Michael Goffioul wrote: > On Tue, Feb 17, 2009 at 9:01 AM, Paul Wellner Bou wrote: >> Hi, >> >> i am trying the new octave for windows installer versions (I tried 3.0.3 >> and 3.1.50). The JHandles graphic backend works, but it is limited if >> you want to find out more information about the mouse position. >> >> So I tried it with gnuplot. The problem is now that the gnuplot window >> is hanging and there is no way to use the controls. I can resize it. But >> the plot does not resize until I change it in the octave command line, >> for example using "grid on" or "grid off". I am still not able to use >> the controls of the gnuplot window but at least the plot resizes to the >> window size. >> >> I am using Windows XP. Is this a known problem? Are there workarounds? > > The fact that the plot is not updated when you resize the window is > the normal behavior of gnuplot: you have to force a replot to update > the window, for instance by changing the grid mode. There's no way > around that. For the other controls, at least the zoom buttons should > be functional: you should be able to zoom with the mouse (I don't > remember which mouse button you have to use), then switch back > to previous view using the button. > > Michael. From michael.goffioul@gmail.com Tue Feb 17 03:29:00 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1H9T0Fp006669 for ; Tue, 17 Feb 2009 03:29:00 -0600 (CST) Received: from mail-bw0-f161.google.com (mail-bw0-f161.google.com [209.85.218.161]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1H9SxsF013700 for ; Tue, 17 Feb 2009 03:28:59 -0600 Received: by bwz5 with SMTP id 5so4180781bwz.0 for ; Tue, 17 Feb 2009 01:28:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.181.240.10 with SMTP id s10mr2316919bkr.12.1234862933643; Tue, 17 Feb 2009 01:28:53 -0800 (PST) In-Reply-To: <499A8267.3020301@purecodes.org> References: <499A7CED.80107@purecodes.org> <128f38bd0902170117t46aadefy190675a33743baff@mail.gmail.com> <499A8267.3020301@purecodes.org> Date: Tue, 17 Feb 2009 09:28:53 +0000 Message-ID: <128f38bd0902170128t5d0882dfx69d6c699c0b69a69@mail.gmail.com> Subject: Re: Gnuplot hangs on Windows XP From: Michael Goffioul To: help-octave@octave.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 09:29:01 -0000 It depends on the type of plot you're using. Using a large number of points may just make gnuplot react *very* slowly. Michael. On Tue, Feb 17, 2009 at 9:24 AM, Paul Wellner Bou wrote: > Hi, > > Thanks for your answer. No, that is not the problem. The problem is that > the window just is not reacting. I am not able tu use any controls and > the mouse icon does not react neither. > > I tried a sample of gnuplot without octave and it works fine. Well, I > have a few thousands of points but that should work anyway, right? > > Regards > Paul. > > Michael Goffioul wrote: >> On Tue, Feb 17, 2009 at 9:01 AM, Paul Wellner Bou wrote: >>> Hi, >>> >>> i am trying the new octave for windows installer versions (I tried 3.0.3 >>> and 3.1.50). The JHandles graphic backend works, but it is limited if >>> you want to find out more information about the mouse position. >>> >>> So I tried it with gnuplot. The problem is now that the gnuplot window >>> is hanging and there is no way to use the controls. I can resize it. But >>> the plot does not resize until I change it in the octave command line, >>> for example using "grid on" or "grid off". I am still not able to use >>> the controls of the gnuplot window but at least the plot resizes to the >>> window size. >>> >>> I am using Windows XP. Is this a known problem? Are there workarounds? >> >> The fact that the plot is not updated when you resize the window is >> the normal behavior of gnuplot: you have to force a replot to update >> the window, for instance by changing the grid mode. There's no way >> around that. For the other controls, at least the zoom buttons should >> be functional: you should be able to zoom with the mouse (I don't >> remember which mouse button you have to use), then switch back >> to previous view using the button. >> >> Michael. > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > From paul@purecodes.org Tue Feb 17 03:56:46 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1H9ukqC013359 for ; Tue, 17 Feb 2009 03:56:46 -0600 (CST) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1H9ujVC026666 for ; Tue, 17 Feb 2009 03:56:46 -0600 Received: from [0.0.0.0] (srv035.dedi23.de [83.151.25.138]) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis) id 0ML31I-1LZMgw1ZRD-0002Pi; Tue, 17 Feb 2009 10:56:38 +0100 Message-ID: <499A89FF.6040406@purecodes.org> Date: Tue, 17 Feb 2009 10:57:19 +0100 From: Paul Wellner Bou User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: help-octave@octave.org Subject: Re: Gnuplot hangs on Windows XP References: <499A7CED.80107@purecodes.org> <128f38bd0902170117t46aadefy190675a33743baff@mail.gmail.com> <499A8267.3020301@purecodes.org> <128f38bd0902170128t5d0882dfx69d6c699c0b69a69@mail.gmail.com> In-Reply-To: <128f38bd0902170128t5d0882dfx69d6c699c0b69a69@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1+BiYm81Aorv3ueTSasMKll9MX7hiSdYnbJBul RRBwlUhag1X5ZvER0r+6hnipYeYIfniWQJfwJKGs4YIeJOWtdR 3Bwi9+TYCOlobx5SBkWkVpPINeI3AdH X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, SPF_HELO_PASS X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: help-octave@octave.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 09:56:48 -0000 Hi, don't think that this is the reason. I have 3677 points. This can't be too much for gnuplot. I remember to have worked with much much more, but not on windows. I have no clue how to debug it. The CPU is not on 100%, the gnuplot window is waiting for anything. At first there are a few seconds when it seems to react. But when moving the mouse over the window, it starts to hang and show me always the hour glass. No way to use it. Any ideas? By the way: is it possible (for 3.0.3) to change the graphics backend without reinstalling it? Regards Paul. Michael Goffioul wrote: > It depends on the type of plot you're using. Using a large > number of points may just make gnuplot react *very* > slowly. > > Michael. > > > On Tue, Feb 17, 2009 at 9:24 AM, Paul Wellner Bou wrote: >> Hi, >> >> Thanks for your answer. No, that is not the problem. The problem is that >> the window just is not reacting. I am not able tu use any controls and >> the mouse icon does not react neither. >> >> I tried a sample of gnuplot without octave and it works fine. Well, I >> have a few thousands of points but that should work anyway, right? >> >> Regards >> Paul. >> >> Michael Goffioul wrote: >>> On Tue, Feb 17, 2009 at 9:01 AM, Paul Wellner Bou wrote: >>>> Hi, >>>> >>>> i am trying the new octave for windows installer versions (I tried 3.0.3 >>>> and 3.1.50). The JHandles graphic backend works, but it is limited if >>>> you want to find out more information about the mouse position. >>>> >>>> So I tried it with gnuplot. The problem is now that the gnuplot window >>>> is hanging and there is no way to use the controls. I can resize it. But >>>> the plot does not resize until I change it in the octave command line, >>>> for example using "grid on" or "grid off". I am still not able to use >>>> the controls of the gnuplot window but at least the plot resizes to the >>>> window size. >>>> >>>> I am using Windows XP. Is this a known problem? Are there workarounds? >>> The fact that the plot is not updated when you resize the window is >>> the normal behavior of gnuplot: you have to force a replot to update >>> the window, for instance by changing the grid mode. There's no way >>> around that. For the other controls, at least the zoom buttons should >>> be functional: you should be able to zoom with the mouse (I don't >>> remember which mouse button you have to use), then switch back >>> to previous view using the button. >>> >>> Michael. >> _______________________________________________ >> Help-octave mailing list >> Help-octave@octave.org >> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave >> > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave From michael.goffioul@gmail.com Tue Feb 17 04:08:41 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1HA8fpB015912 for ; Tue, 17 Feb 2009 04:08:41 -0600 (CST) Received: from mail-bw0-f161.google.com (mail-bw0-f161.google.com [209.85.218.161]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1HA8epZ013317 for ; Tue, 17 Feb 2009 04:08:41 -0600 Received: by bwz5 with SMTP id 5so4217274bwz.0 for ; Tue, 17 Feb 2009 02:08:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.181.58.9 with SMTP id l9mr1827134bkk.98.1234865314822; Tue, 17 Feb 2009 02:08:34 -0800 (PST) In-Reply-To: <499A89FF.6040406@purecodes.org> References: <499A7CED.80107@purecodes.org> <128f38bd0902170117t46aadefy190675a33743baff@mail.gmail.com> <499A8267.3020301@purecodes.org> <128f38bd0902170128t5d0882dfx69d6c699c0b69a69@mail.gmail.com> <499A89FF.6040406@purecodes.org> Date: Tue, 17 Feb 2009 10:08:34 +0000 Message-ID: <128f38bd0902170208h4daffee3h131307e94839d8dc@mail.gmail.com> Subject: Re: Gnuplot hangs on Windows XP From: Michael Goffioul To: help-octave@octave.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 10:08:42 -0000 On Tue, Feb 17, 2009 at 9:57 AM, Paul Wellner Bou wrote: > Hi, > > don't think that this is the reason. I have 3677 points. This can't be > too much for gnuplot. I remember to have worked with much much more, but > not on windows. > > I have no clue how to debug it. The CPU is not on 100%, the gnuplot > window is waiting for anything. At first there are a few seconds when it > seems to react. But when moving the mouse over the window, it starts to > hang and show me always the hour glass. No way to use it. > > Any ideas? No sorry. Maybe you should post a sample code (as simple as possible) that trigger the problem on your system. > By the way: is it possible (for 3.0.3) to change the graphics backend > without reinstalling it? To load JHandles pkg load jhandles To unload JHandles (and revert back to gnuplot) pkg unload jhandles Michael. From bounces@nabble.com Tue Feb 17 04:10:12 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1HAAC72016490 for ; Tue, 17 Feb 2009 04:10:12 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1HAA797014249 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 17 Feb 2009 04:10:11 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LZMtx-0002ge-On for help-octave@octave.org; Tue, 17 Feb 2009 02:10:05 -0800 Message-ID: <22054162.post@talk.nabble.com> Date: Tue, 17 Feb 2009 02:10:05 -0800 (PST) From: Lennart O To: help-octave@octave.org Subject: Re: Problem with appearance of plots In-Reply-To: <87011E04-2849-469F-B4BE-00851A941E9B@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: anthelios77@gmail.com References: <22048113.post@talk.nabble.com> <87011E04-2849-469F-B4BE-00851A941E9B@mac.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 10:10:14 -0000 Ben Abbott wrote: > > > On Feb 16, 2009, at 6:29 PM, Lennart O wrote: > >> >> Hi I'm having a problem with plots that are not very pretty. It's >> almost like >> an old version of gnuplot is being used. The result looks very >> crude. I >> should mention that I am using Octave 3.0.1 on Ubuntu 8.10. I took >> some >> screenshots to show what I mean. >> >> Plot with Octave: >> http://www.nabble.com/file/p22048113/octave.png >> >> Plot with Gnuplot: >> http://www.nabble.com/file/p22048113/gnuplot.png >> >> Any idea how to fix this? Is it a problem with the Ubuntu package or >> do I >> need to change some settings in Octave? >> >> ps. Sorry about the images being so large. > > Octave is telling gnuplot to use the x11 terminal, and when you run > gnuplot directly it is using the wxt terminal. > > Try ... > > $ export GNUTERM=wxt > $ octave > > ... and then do some plots. > > Ben > > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > > Thank you very much, entering that into the terminal did the trick. Now I just need to figure out how to change which numbers are printed on the axises, theres' not enough room for them when doing a sublot. But that can be done with gnuplot syntax directly in the m-file, right? Also, how do I make the GNUTERM export more permanent so I don't have to type it in every time I want to run Octave? -- View this message in context: http://www.nabble.com/Problem-with-appearance-of-plots-tp22048113p22054162.html Sent from the Octave - General mailing list archive at Nabble.com. From Potorti@isti.cnr.it Tue Feb 17 04:27:41 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1HARfld020577 for ; Tue, 17 Feb 2009 04:27:41 -0600 (CST) Received: from ITANIUM.ISTI.CNR.IT (mx4.isti.cnr.it [194.119.192.6]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1HARa82011076 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 17 Feb 2009 04:27:41 -0600 Received: from conversionlocal.isti.cnr.it by mx.isti.cnr.it (PMDF V6.4 #31598) id <01N5LQRUV3WGA24O6E@mx.isti.cnr.it> for help-octave@octave.org; Tue, 17 Feb 2009 11:27:11 +0100 (MET) Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by mx.isti.cnr.it (PMDF V6.4 #31598) with ESMTPSA id <01N5LQS4LWMIA3D3D9@mx.isti.cnr.it>; Tue, 17 Feb 2009 11:27:24 +0100 (MET) Received: from pot by tucano.isti.cnr.it with local (Exim 4.69) (envelope-from ) id 1LZNAh-0007Cv-PX; Tue, 17 Feb 2009 11:27:23 +0100 Date: Tue, 17 Feb 2009 11:27:23 +0100 From: Francesco =?iso-8859-1?Q?Potort=EC?= Subject: Re: Gnuplot hangs on Windows XP In-reply-to: <128f38bd0902170117t46aadefy190675a33743baff@mail.gmail.com> To: Michael Goffioul Message-id: Organization: ISTI-CNR, via Moruzzi 1, I-56124 Pisa, +39-0503153058 MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 References: <499A7CED.80107@purecodes.org> <128f38bd0902170117t46aadefy190675a33743baff@mail.gmail.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 10:27:42 -0000 >The fact that the plot is not updated when you resize the window is the >normal behavior of gnuplot: you have to force a replot to update the >window, for instance by changing the grid mode. There's no way around >that. Is that true on Windows? On Linux, gnuplot's plot is resized together with the window, using Octave 3.0.1 and Gnuplot 4.2.4. -- Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.2111) ISTI - Area della ricerca CNR Fax: +39 050 315 2040 via G. Moruzzi 1, I-56124 Pisa Email: Potorti@isti.cnr.it (entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/ From paul@purecodes.org Tue Feb 17 04:29:24 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1HATOIP020872 for ; Tue, 17 Feb 2009 04:29:24 -0600 (CST) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1HATNQL001495 for ; Tue, 17 Feb 2009 04:29:24 -0600 Received: from [0.0.0.0] (srv035.dedi23.de [83.151.25.138]) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis) id 0ML21M-1LZNCX189j-0005fn; Tue, 17 Feb 2009 11:29:18 +0100 Message-ID: <499A91BC.3080903@purecodes.org> Date: Tue, 17 Feb 2009 11:30:20 +0100 From: Paul Wellner Bou User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: help-octave@octave.org Subject: Re: Gnuplot hangs on Windows XP References: <499A7CED.80107@purecodes.org> <128f38bd0902170117t46aadefy190675a33743baff@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1/01bzAeqFM5HAw8R90ZgWs5Y6TR+4CV0/9JoW tVcxxkyyWeSGZH1Uf9dub1o3BHWO3RyHXmlElcUNBybw75JkZC HlWZeZH/vAx+dZoI89AOldgW0G8bheC X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, SPF_HELO_PASS X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: help-octave@octave.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 10:29:25 -0000 > Is that true on Windows? On Linux, gnuplot's plot is resized together > with the window, using Octave 3.0.1 and Gnuplot 4.2.4. Seems so. I tried to plot the same graph with gnuplot without octave and yes, it is true. Althout there is a "refresh" and a "to automatic resize" button in the gnuplot window, so this is no problem. I know, under linux this wasn't the case. Regards Paul. From michael.goffioul@gmail.com Tue Feb 17 04:36:40 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1HAaePu023130 for ; Tue, 17 Feb 2009 04:36:40 -0600 (CST) Received: from mail-bw0-f161.google.com (mail-bw0-f161.google.com [209.85.218.161]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1HAabAD019249 for ; Tue, 17 Feb 2009 04:36:39 -0600 Received: by bwz5 with SMTP id 5so4242139bwz.0 for ; Tue, 17 Feb 2009 02:36:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.181.202.12 with SMTP id e12mr206559bkq.138.1234866991514; Tue, 17 Feb 2009 02:36:31 -0800 (PST) In-Reply-To: References: <499A7CED.80107@purecodes.org> <128f38bd0902170117t46aadefy190675a33743baff@mail.gmail.com> Date: Tue, 17 Feb 2009 10:36:31 +0000 Message-ID: <128f38bd0902170236m34eeacc5wbd90caa8418c9368@mail.gmail.com> Subject: Re: Gnuplot hangs on Windows XP From: Michael Goffioul To: =?ISO-8859-1?Q?Francesco_Potort=EC?= Content-Type: text/plain; charset=ISO-8859-1 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1HAaePu023130 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 10:36:41 -0000 On Tue, Feb 17, 2009 at 10:27 AM, Francesco Potortì wrote: >>The fact that the plot is not updated when you resize the window is the >>normal behavior of gnuplot: you have to force a replot to update the >>window, for instance by changing the grid mode. There's no way around >>that. > > Is that true on Windows? On Linux, gnuplot's plot is resized together > with the window, using Octave 3.0.1 and Gnuplot 4.2.4. It depends what you mean by "resized". From my experience using the wxt terminal, when the window is resized, the bitmap buffer containing the plot is resized, as you would scale an image, keeping it's aspect ratio. Expanding by a large scaling factor leads then to pixelization (or blurring, if the expanded bitmap is filtered). Triggering a replot then recreate a new bitmap buffer of the correct size and gives you a much nicer (shaper) result. Michael. From Potorti@isti.cnr.it Tue Feb 17 05:03:51 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1HB3oD8029555 for ; Tue, 17 Feb 2009 05:03:51 -0600 (CST) Received: from mx2.isti.cnr.it (mx2.isti.cnr.it [194.119.192.4]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1HB3kGa013485 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 17 Feb 2009 05:03:50 -0600 Received: from conversionlocal.isti.cnr.it by mx.isti.cnr.it (PMDF V6.4 #31598) id <01N5LS1RXV5SA24O6E@mx.isti.cnr.it> for help-octave@octave.org; Tue, 17 Feb 2009 12:03:25 +0100 (MET) Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by mx.isti.cnr.it (PMDF V6.4 #31598) with ESMTPSA id <01N5LS21P882A3D3D9@mx.isti.cnr.it>; Tue, 17 Feb 2009 12:03:38 +0100 (MET) Received: from pot by tucano.isti.cnr.it with local (Exim 4.69) (envelope-from ) id 1LZNjm-0007V8-56; Tue, 17 Feb 2009 12:03:38 +0100 Date: Tue, 17 Feb 2009 12:03:38 +0100 From: Francesco =?iso-8859-1?Q?Potort=EC?= Subject: Re: Gnuplot hangs on Windows XP In-reply-to: <128f38bd0902170236m34eeacc5wbd90caa8418c9368@mail.gmail.com> To: Michael Goffioul Message-id: Organization: ISTI-CNR, via Moruzzi 1, I-56124 Pisa, +39-0503153058 MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 References: <499A7CED.80107@purecodes.org> <128f38bd0902170117t46aadefy190675a33743baff@mail.gmail.com> <128f38bd0902170236m34eeacc5wbd90caa8418c9368@mail.gmail.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 11:03:52 -0000 >>>The fact that the plot is not updated when you resize the window is the >>>normal behavior of gnuplot: you have to force a replot to update the >>>window, for instance by changing the grid mode. There's no way around >>>that. >> >> Is that true on Windows? On Linux, gnuplot's plot is resized together >> with the window, using Octave 3.0.1 and Gnuplot 4.2.4. > >It depends what you mean by "resized". From my experience using the >wxt terminal, when the window is resized, the bitmap buffer containing >the plot is resized, as you would scale an image, keeping it's aspect ratio. >Expanding by a large scaling factor leads then to pixelization (or blurring, >if the expanded bitmap is filtered). Triggering a replot then recreate a new >bitmap buffer of the correct size and gives you a much nicer (shaper) >result. On Debian using X the plot is clearly redrawn, I can tell because the lines have always the same artifacts and antialising, and the numbers on the axes remain the same size. -- Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.2111) ISTI - Area della ricerca CNR Fax: +39 050 315 2040 via G. Moruzzi 1, I-56124 Pisa Email: Potorti@isti.cnr.it (entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/ From Potorti@isti.cnr.it Tue Feb 17 05:15:54 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1HBFshL002621 for ; Tue, 17 Feb 2009 05:15:54 -0600 (CST) Received: from ITANIUM.ISTI.CNR.IT (mx4.isti.cnr.it [194.119.192.6]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1HBFnfE009022 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 17 Feb 2009 05:15:54 -0600 Received: from conversionlocal.isti.cnr.it by mx.isti.cnr.it (PMDF V6.4 #31598) id <01N5LSFQKZHCA24O6E@mx.isti.cnr.it> for help-octave@octave.org; Tue, 17 Feb 2009 12:14:40 +0100 (MET) Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by mx.isti.cnr.it (PMDF V6.4 #31598) with ESMTPSA id <01N5LSG0GNGQA5ULES@mx.isti.cnr.it>; Tue, 17 Feb 2009 12:14:53 +0100 Received: from pot by tucano.isti.cnr.it with local (Exim 4.69) (envelope-from ) id 1LZNuf-0007X4-N4; Tue, 17 Feb 2009 12:14:53 +0100 Date: Tue, 17 Feb 2009 12:14:53 +0100 From: Francesco =?iso-8859-1?Q?Potort=EC?= Subject: Re: Newbie question related with leasqr In-reply-to: To: juanba romance Message-id: Organization: ISTI-CNR, via Moruzzi 1, I-56124 Pisa, +39-0503153058 MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 References: X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 11:15:55 -0000 >Hello all i am trying to fit some data on a kind of logistic curve >but i can not find whats wrong on code below (maybe some fundamental issue). > > >Can anyone provide me hints/tips about it ? > >*function analyzer > > load data.dat > so_simulation = 250; > > samples = data( : ,2 ); > x = data( : ,1 ); > partition = linspace(0, so_simulation, so_simulation ); > > A=2; > B=4000; > C=0.07; > D=1.2; > E=2.3; > > guess = [ 2; 1.2; 4000; 2.3; 0.07 ]; > > func_engine = inline( "par(1) + ( par(2) / ( 1 + ( par(3) * par(4).^( - >par(5) * x ) ) ) )", "x", "par"); > for i=1:so_simulation > func_data( i ) = func_engine( partition( i ), guess ); > end; > > plot( partition, func_data, "*" ); > global verbose; > verbose=1; > > x > samples > > leasqr( x, samples, guess, func_engine ); > > function y = func_def( x , par ) > y = par(1) + ( par(2) / ( 1 + ( par(3) * par(4).^( - par(5) * x ) ) ) ); >* > > >Octave outputs on the leasqr these messages >x = > > 250 > 225 > 200 > 150 > 100 > 50 > 20 > >samples = > > 3.2000 > 3.2000 > 3.0000 > 2.3000 > 2.1000 > 2.0500 > 1.9500 > >error: operator -: nonconformant arguments (op1 is 7x1, op2 is 1x7) >error: evaluating binary operator `-' near line 183, column 9 >error: evaluating binary operator `.*' near line 183, column 5 >error: evaluating assignment expression near line 183, column 2 >error: called from `leasqr' in file >`/usr/share/octave/packages/optim-1.0.4/leasqr.m' >error: called from `analyzer' in file >`/home/umov/suinsa-svn/tomograph-analyzer/analyzer.m' Have you looked at the place where the inpterpreter signals an error? Apparently you used a row vector where you should have used a column one, or the opposite. -- Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.2111) ISTI - Area della ricerca CNR Fax: +39 050 315 2040 via G. Moruzzi 1, I-56124 Pisa Email: Potorti@isti.cnr.it (entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/ From paul@purecodes.org Tue Feb 17 06:07:50 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1HC7owh013657 for ; Tue, 17 Feb 2009 06:07:50 -0600 (CST) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1HC7mrU025285 for ; Tue, 17 Feb 2009 06:07:49 -0600 Received: from [0.0.0.0] (srv035.dedi23.de [83.151.25.138]) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis) id 0ML21M-1LZOjm0Jo8-00061U; Tue, 17 Feb 2009 13:07:42 +0100 Message-ID: <499AA8B7.6050601@purecodes.org> Date: Tue, 17 Feb 2009 13:08:23 +0100 From: Paul Wellner Bou User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: help-octave@octave.org Subject: Re: Gnuplot hangs on Windows XP References: <499A7CED.80107@purecodes.org> <128f38bd0902170117t46aadefy190675a33743baff@mail.gmail.com> <499A8267.3020301@purecodes.org> <128f38bd0902170128t5d0882dfx69d6c699c0b69a69@mail.gmail.com> <499A89FF.6040406@purecodes.org> <128f38bd0902170208h4daffee3h131307e94839d8dc@mail.gmail.com> In-Reply-To: <128f38bd0902170208h4daffee3h131307e94839d8dc@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX19k+tpgz/sqFYB4k67nH3uLnrntODzE8ahpml5 FIpDmOFiRMwBlqQwzR/d0cGVevYOAU0UJxud4vGXbbZ2sI1Fe2 P034I9ERcUN5ztYGILzjUa+YqZOYlmQ X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, SPF_HELO_PASS X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: help-octave@octave.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 12:07:51 -0000 Hi again, > No sorry. Maybe you should post a sample code (as simple > as possible) that trigger the problem on your system. Of course. I don't need a special sample to reproduce it, it happens always I call gnuplot from octave. How to reproduce this: 1. Start octave (3.0.3 or 3.1.50) 2. Plot something, e.g. x = 0:0.1:3; y = exp(x); plot(x, y); 3. The gnuplot window will become and remain unresponsive. 4. Forcing it to close there is no way to draw a new plot until restarting octave. Regards Paul. From bpabbott@mac.com Tue Feb 17 06:22:43 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1HCMhpg017052 for ; Tue, 17 Feb 2009 06:22:43 -0600 (CST) Received: from asmtpout013.mac.com (asmtpout013.mac.com [17.148.16.88]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1HCMgMZ002964 for ; Tue, 17 Feb 2009 06:22:43 -0600 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [10.0.1.196] ([97.100.1.226]) by asmtp013.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPA id <0KF7004NYMCWCS30@asmtp013.mac.com> for help-octave@octave.org; Tue, 17 Feb 2009 04:22:10 -0800 (PST) Message-id: <3EDB4485-90D0-4815-88E8-2789414E8383@mac.com> From: Ben Abbott To: Lennart O In-reply-to: <22054162.post@talk.nabble.com> Subject: Re: Problem with appearance of plots Date: Tue, 17 Feb 2009 07:22:08 -0500 References: <22048113.post@talk.nabble.com> <87011E04-2849-469F-B4BE-00851A941E9B@mac.com> <22054162.post@talk.nabble.com> X-Mailer: Apple Mail (2.930.3) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, WHOIS_MYPRIVREG Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 12:22:44 -0000 On Feb 17, 2009, at 5:10 AM, Lennart O wrote: > Ben Abbott wrote: >> >> On Feb 16, 2009, at 6:29 PM, Lennart O wrote: >> >>> >>> Hi I'm having a problem with plots that are not very pretty. It's >>> almost like >>> an old version of gnuplot is being used. The result looks very >>> crude. I >>> should mention that I am using Octave 3.0.1 on Ubuntu 8.10. I took >>> some >>> screenshots to show what I mean. >>> >>> Plot with Octave: >>> http://www.nabble.com/file/p22048113/octave.png >>> >>> Plot with Gnuplot: >>> http://www.nabble.com/file/p22048113/gnuplot.png >>> >>> Any idea how to fix this? Is it a problem with the Ubuntu package or >>> do I >>> need to change some settings in Octave? >>> >>> ps. Sorry about the images being so large. >> >> Octave is telling gnuplot to use the x11 terminal, and when you run >> gnuplot directly it is using the wxt terminal. >> >> Try ... >> >> $ export GNUTERM=wxt >> $ octave >> >> ... and then do some plots. >> >> Ben >> > Thank you very much, entering that into the terminal did the trick. > Now I > just need to figure out how to change which numbers are printed on the > axises, theres' not enough room for them when doing a sublot. But > that can > be done with gnuplot syntax directly in the m-file, right? I think you're referring to the 2.1.x version of octave. Presently, when using subplot, there are problems with the positioning of the tick marks, axes labels, and titles. If you are referring to the horizontal spacing of the x-axis tick- marks and tick-labels, you can change the defaults by set (hax, 'xtick', xticks) where hax is the handle to the axes and xticks is a vector containing values for where you'd like the tick-mark labels placed. > Also, how do I make the GNUTERM export more permanent so I don't > have to > type it in every time I want to run Octave? You can place it in the startup script for the shell that runs octave. For example, if you are running a bash shell, place it is ~/.bashrc. Ben p.s. There is presently a 3.0.3 version available that fixes some bugs (soon there will be a 3.0.4). I recommend you update you installation. From ivan.sutoris@gmail.com Tue Feb 17 08:19:14 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1HEJEf1017025 for ; Tue, 17 Feb 2009 08:19:14 -0600 (CST) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1HEJ923011812 for ; Tue, 17 Feb 2009 08:19:14 -0600 Received: by fg-out-1718.google.com with SMTP id 16so375146fgg.12 for ; Tue, 17 Feb 2009 06:19:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.244.19 with SMTP id w19mr3665327mur.134.1234880348774; Tue, 17 Feb 2009 06:19:08 -0800 (PST) Date: Tue, 17 Feb 2009 15:19:08 +0100 Message-ID: <65d1f7fc0902170619x67dbae11v9f51c48ccbc8dced@mail.gmail.com> Subject: Using kwrite as editor From: Ivan Sutoris To: help-octave@octave.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 14:19:16 -0000 Hi I would like to use KWrite as default editor in Octave. After setting edit('editor', 'kwrite %s &') command "edit function" really opens "function" in KWrite. However, I can't use Octave's prompt until I close the editor's window, which is inconvenient. I thought that adding "&" should start new process in background, but that doesn't seem to make difference. I'm running openSUSE 11.1 (with KDE 4.2) and this happens with Octave 3.0.3 as well as in compiled 3.1.52+. Is there a way to use graphical text editor and have access to prompt at the same time (it works in Windows with Scite, I think) ? Regards Ivan Sutoris From highegg@gmail.com Tue Feb 17 08:28:55 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1HESt5Q019354 for ; Tue, 17 Feb 2009 08:28:55 -0600 (CST) Received: from mail-bw0-f161.google.com (mail-bw0-f161.google.com [209.85.218.161]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1HESqvO022379 for ; Tue, 17 Feb 2009 08:28:54 -0600 Received: by bwz5 with SMTP id 5so4523825bwz.0 for ; Tue, 17 Feb 2009 06:28:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.240.15 with SMTP id s15mr2305743mur.82.1234880926327; Tue, 17 Feb 2009 06:28:46 -0800 (PST) In-Reply-To: <65d1f7fc0902170619x67dbae11v9f51c48ccbc8dced@mail.gmail.com> References: <65d1f7fc0902170619x67dbae11v9f51c48ccbc8dced@mail.gmail.com> Date: Tue, 17 Feb 2009 15:28:46 +0100 Message-ID: <69d8d540902170628xfd0a5d9kfcf1ea358a944b93@mail.gmail.com> Subject: Re: Using kwrite as editor From: Jaroslav Hajek To: Ivan Sutoris Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 14:28:56 -0000 On Tue, Feb 17, 2009 at 3:19 PM, Ivan Sutoris wrote: > Hi > > I would like to use KWrite as default editor in Octave. After setting > edit('editor', 'kwrite %s &') > command "edit function" really opens "function" in KWrite. However, I > can't use Octave's prompt until I close the editor's window, which is > inconvenient. I thought that adding "&" should start new process in > background, but that doesn't seem to make difference. I'm running > openSUSE 11.1 (with KDE 4.2) and this happens with Octave 3.0.3 as > well as in compiled 3.1.52+. Is there a way to use graphical text > editor and have access to prompt at the same time (it works in Windows > with Scite, I think) ? > > Regards > Ivan Sutoris > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > try edit mode async to set asynchronous editing mode. cheers -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From michael.goffioul@gmail.com Tue Feb 17 08:32:48 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1HEWmTm020798 for ; Tue, 17 Feb 2009 08:32:48 -0600 (CST) Received: from mail-bw0-f161.google.com (mail-bw0-f161.google.com [209.85.218.161]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1HEWlKY001968 for ; Tue, 17 Feb 2009 08:32:48 -0600 Received: by bwz5 with SMTP id 5so2048782bwz.0 for ; Tue, 17 Feb 2009 06:32:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.242.18 with SMTP id p18mr513791bkh.173.1234881161523; Tue, 17 Feb 2009 06:32:41 -0800 (PST) In-Reply-To: <65d1f7fc0902170619x67dbae11v9f51c48ccbc8dced@mail.gmail.com> References: <65d1f7fc0902170619x67dbae11v9f51c48ccbc8dced@mail.gmail.com> Date: Tue, 17 Feb 2009 14:32:41 +0000 Message-ID: <128f38bd0902170632o12f640d2q27d5ee7ae88df704@mail.gmail.com> Subject: Re: Using kwrite as editor From: Michael Goffioul To: Ivan Sutoris Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 14:32:49 -0000 "edit" command has another parameter that allows you to specify the mode of execution of the edit command: synchronous or asynchronous. The default is synchronous. See "edit" help (I think it's documented). Michael. On Tue, Feb 17, 2009 at 2:19 PM, Ivan Sutoris wrote: > Hi > > I would like to use KWrite as default editor in Octave. After setting > edit('editor', 'kwrite %s &') > command "edit function" really opens "function" in KWrite. However, I > can't use Octave's prompt until I close the editor's window, which is > inconvenient. I thought that adding "&" should start new process in > background, but that doesn't seem to make difference. I'm running > openSUSE 11.1 (with KDE 4.2) and this happens with Octave 3.0.3 as > well as in compiled 3.1.52+. Is there a way to use graphical text > editor and have access to prompt at the same time (it works in Windows > with Scite, I think) ? > > Regards > Ivan Sutoris > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > From ivan.sutoris@gmail.com Tue Feb 17 09:31:24 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1HFVOvG005833 for ; Tue, 17 Feb 2009 09:31:24 -0600 (CST) Received: from mail-bw0-f161.google.com (mail-bw0-f161.google.com [209.85.218.161]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1HFVMc0015505 for ; Tue, 17 Feb 2009 09:31:23 -0600 Received: by bwz5 with SMTP id 5so2081528bwz.0 for ; Tue, 17 Feb 2009 07:31:16 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.102.17 with SMTP id e17mr3721822mum.136.1234884676183; Tue, 17 Feb 2009 07:31:16 -0800 (PST) In-Reply-To: <128f38bd0902170632o12f640d2q27d5ee7ae88df704@mail.gmail.com> References: <65d1f7fc0902170619x67dbae11v9f51c48ccbc8dced@mail.gmail.com> <128f38bd0902170632o12f640d2q27d5ee7ae88df704@mail.gmail.com> Date: Tue, 17 Feb 2009 16:31:16 +0100 Message-ID: <65d1f7fc0902170731l23556cd3g22a4974fccf360ae@mail.gmail.com> Subject: Re: Using kwrite as editor From: Ivan Sutoris To: Michael Goffioul , highegg@gmail.com Content-Type: multipart/mixed; boundary=0016363ba66076667a04631efe44 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 15:31:25 -0000 --0016363ba66076667a04631efe44 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thanks for quick replies, "edit mode async" is exactly what I was looking for. Now I see that it's documented in edit, but the text is quite cryptic, at least for me :). I've tried to add few words to documentation to make things clearer (attached as changeset), could you have a look? (I know this should go to maintainers list, but it seems silly to start new thread with such trivial change). Regards Ivan Sutoris --0016363ba66076667a04631efe44 Content-Type: text/x-patch; charset=US-ASCII; name="edit_mode.diff" Content-Disposition: attachment; filename="edit_mode.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fraqc9940 IyBIRyBjaGFuZ2VzZXQgcGF0Y2gKIyBVc2VyIEl2YW4gU3V0b3JpcyA8aXZhbi5zdXRvcmlzQGdt YWlsLmNvbT4KIyBEYXRlIDEyMzQ4ODM1MjggLTM2MDAKIyBOb2RlIElEIDA2NWRmMGM5OTJkODNj NTkyNDU1NDM3Mzk4NTViOGIzMzI5NDY2NDQKIyBQYXJlbnQgIGVhNzY0NjY2MDViYTExOTI4Zjgw NzQ1YjBhNThhNjBiNWVhMmRiZjQKaW1wcm92ZSBkb2N1bWVudGF0aW9uIGZvciBlZGl0Lm0KCmRp ZmYgLXIgZWE3NjQ2NjYwNWJhIC1yIDA2NWRmMGM5OTJkOCBzY3JpcHRzL0NoYW5nZUxvZwotLS0g YS9zY3JpcHRzL0NoYW5nZUxvZwlUdWUgRmViIDE3IDE0OjIzOjM1IDIwMDkgKzAxMDAKKysrIGIv c2NyaXB0cy9DaGFuZ2VMb2cJVHVlIEZlYiAxNyAxNjoxMjowOCAyMDA5ICswMTAwCkBAIC0xLDMg KzEsNyBAQAorMjAwOS0wMi0xNyAgSXZhbiBTdXRvcmlzICA8aXZhbi5zdXRvcmlzQGdtYWlsLmNv bT4KKworCSogbWlzY2VsbGFuZW91cy9lZGl0Lm06IEV4cGFuZCBkb2N1bWVudGF0aW9uIGFib3V0 IGVkaXRvciBtb2RlLgorCiAyMDA5LTAyLTE3ICBKb2huIFcuIEVhdG9uICA8andlQG9jdGF2ZS5v cmc+CiAKIAkqIHBsb3QvcGxvdHl5Lm06IEhhbmRsZSBjYXNlIG9mIGV4aXN0aW5nIGZpZ3VyZSB3 aXRoIG5vIGF4ZXMuCmRpZmYgLXIgZWE3NjQ2NjYwNWJhIC1yIDA2NWRmMGM5OTJkOCBzY3JpcHRz L21pc2NlbGxhbmVvdXMvZWRpdC5tCi0tLSBhL3NjcmlwdHMvbWlzY2VsbGFuZW91cy9lZGl0Lm0J VHVlIEZlYiAxNyAxNDoyMzozNSAyMDA5ICswMTAwCisrKyBiL3NjcmlwdHMvbWlzY2VsbGFuZW91 cy9lZGl0Lm0JVHVlIEZlYiAxNyAxNjoxMjowOCAyMDA5ICswMTAwCkBAIC04Myw2ICs4Myw4IEBA CiAjIyBTZW5kIGl0IHRvIGN1cnJlbnQgRW1hY3M7IG11c3QgaGF2ZSBAY29kZXsoZ251c2Vydi1z dGFydCl9IGluIEBmaWxley5lbWFjc30uCiAjIyBAZW5kIHRhYmxlCiAjIworIyMgU2VlIGFsc28g ZmllbGQgJ21vZGUnLCB3aGljaCBjb250cm9scyBob3cgdGhlIGVkaXRvciBpcyBydW4gYnkgT2N0 YXZlLgorIyMgCiAjIyBPbiBjeWd3aW4sIHlvdSB3aWxsIG5lZWQgdG8gY29udmVydCB0aGUgY3ln d2luIHBhdGggdG8gYSB3aW5kb3dzCiAjIyBwYXRoIGlmIHlvdSBhcmUgdXNpbmcgYSBuYXRpdmUg V2luZG93cyBlZGl0b3IuICBGb3IgZXhhbXBsZQogIyMgQGV4YW1wbGUKQEAgLTEyMCw4ICsxMjIs OSBAQAogIyMgCiAjIyBAaXRlbSBtb2RlCiAjIyBUaGlzIHZhbHVlIGRldGVybWluZXMgd2hldGhl ciB0aGUgZWRpdG9yIHNob3VsZCBiZSBzdGFydGVkIGluIGFzeW5jIG1vZGUKLSMjIG9yIHN5bmMg bW9kZS4gU2V0IGl0IHRvICJhc3luYyIgdG8gc3RhcnQgdGhlIGVkaXRvciBpbiBhc3luYyBtb2Rl LiBUaGUKLSMjIGRlZmF1bHQgaXMgInN5bmMiIChzZWUgYWxzbyAic3lzdGVtIikuCisjIyAoZWRp dG9yIGlzIHN0YXJ0ZWQgaW4gdGhlIGJhY2tncm91bmQgYW5kIE9jdGF2ZSBjb250aW51ZXMpIG9y IHN5bmMgbW9kZQorIyMgKE9jdGF2ZSB3YWl0cyB1bnRpbCB0aGUgZWRpdG9yIGV4aXRzKS4gU2V0 IGl0IHRvICJhc3luYyIgdG8gc3RhcnQgdGhlIGVkaXRvcgorIyMgaW4gYXN5bmMgbW9kZS4gVGhl IGRlZmF1bHQgaXMgInN5bmMiIChzZWUgYWxzbyAic3lzdGVtIikuCiAjIwogIyMgQGl0ZW0gZWRp dGlucGxhY2UKICMjIERldGVybWluZXMgd2hldGhlciBmaWxlcyBzaG91bGQgYmUgZWRpdGVkIGlu IHBsYWNlLCB3aXRob3V0IHJlZ2FyZCB0byAK --0016363ba66076667a04631efe44-- From lissyh@gmx.net Tue Feb 17 05:25:30 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1HBPUAV004597 for ; Tue, 17 Feb 2009 05:25:30 -0600 (CST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1HBPRWe015917 for ; Tue, 17 Feb 2009 05:25:30 -0600 Received: (qmail 23422 invoked by uid 0); 17 Feb 2009 11:25:21 -0000 Received: from 141.58.73.165 by www054.gmx.net with HTTP; Tue, 17 Feb 2009 12:25:21 +0100 (CET) Content-Type: text/plain; charset="iso-8859-1" Date: Tue, 17 Feb 2009 12:25:21 +0100 From: "Lissy Hennig" Message-ID: <20090217112521.236970@gmx.net> MIME-Version: 1.0 Subject: problems getting plots with octave/gnuplot To: help-octave@octave.org X-Authenticated: #3072173 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX19xWg5LtItxMr/+Q+06+Wnx8KKah6xplsesIH9pyx lH/kz/YNpUZLjBKV74WVPVLEinyWYWhSYU3Q== Content-Transfer-Encoding: 8bit X-GMX-UID: lqaseKNvYmYBWZvXS3c3u11CWkZTQZR0 X-FuHaFi: 0.5600000000000001 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 X-Mailman-Approved-At: Tue, 17 Feb 2009 09:49:10 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 11:25:31 -0000 problems getting plots with octave/gnuplot. Hi. I can plot e.g. x = (0:100) plot(x,sin(x)) and get the right looking plot. If I use the example from help specgram : x = chirp([0:0.001:2],0,2,500); # freq. sweep from 0-500 over 2 sec. Fs=1000; # sampled every 0.001 sec so rate is 1 kHz step=ceil(20*Fs/1000); # one spectral slice every 20 ms window=ceil(100*Fs/1000); # 100 ms data window specgram(x, 2^nextpow2(window), Fs, window, window-step); I get an empty plot window, where the axis and labals are displayed only. I use: Mac OS X Intel Octave 3.0.3 from SourceForge: in /Applications - signal package: $HOME/octave/signal-1.0.8 Gnuplot 4.0.0 from Fink: in /sw/bin/gnuplot export GNUTERM="aqua" is set in .profiles Any suggestions how to solve the problem? Thanks so much! -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01 From sheppazr@email.uc.edu Tue Feb 17 09:11:10 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1HFBAlW000465 for ; Tue, 17 Feb 2009 09:11:10 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1HFB9FQ015426 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 17 Feb 2009 09:11:10 -0600 Received: from mirapoint.uc.edu (mirapoint.uc.edu [129.137.3.50]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1HFB7Mv026005 for ; Tue, 17 Feb 2009 09:11:09 -0600 Received: (from mirapoint.uc.edu [10.23.4.253]) by mirapoint.uc.edu (MOS 3.8.7a) with HTTPS/1.1 id CUW92553 (AUTH sheppazr); Tue, 17 Feb 2009 10:11:02 -0500 (EST) From: Zachary Sheppard Subject: Install To: help@octave.org X-Mailer: Mirapoint Webmail Direct 3.8.7a MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20090217101102.CUW92553@mirapoint.uc.edu> Date: Tue, 17 Feb 2009 10:11:02 -0500 (EST) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 X-Mailman-Approved-At: Tue, 17 Feb 2009 09:49:10 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 15:11:11 -0000 I am having trouble with the install, the only thing that works is the SciTE window. This aloows me to type but will not allow anything else. Any information on how to get the full install would be great or on how to make this work. Thanks From weiser2@natur.cuni.cz Tue Feb 17 10:46:42 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1HGkgLQ027642 for ; Tue, 17 Feb 2009 10:46:42 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1HGkggh010136 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 17 Feb 2009 10:46:42 -0600 Received: from mailgate.natur.cuni.cz (mailgate.natur.cuni.cz [195.113.56.6]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1HGkcpB012910 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 17 Feb 2009 10:46:42 -0600 Received: from zen.natur.cuni.cz ([195.113.56.8] helo=natur.cuni.cz) by mailgate.natur.cuni.cz with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LZSsB-00022U-P3; Tue, 17 Feb 2009 17:32:40 +0100 Received: from weiser2 (helo=localhost) by natur.cuni.cz with local-esmtp (Exim 4.63) (envelope-from ) id 1LZSeT-0007Xr-36; Tue, 17 Feb 2009 17:18:29 +0100 Date: Tue, 17 Feb 2009 17:18:29 +0100 (CET) From: Martin Weiser To: Zachary Sheppard Subject: Re: Install In-Reply-To: <20090217101102.CUW92553@mirapoint.uc.edu> Message-ID: References: <20090217101102.CUW92553@mirapoint.uc.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Smtp-Rate: 94.3 / 1h X-Spam-Score: 0.1 (/) X-Spam-Level: 1 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 16:46:44 -0000 Hi, well, what EXACTLY do you get? If there is a black window with a prompt, then probably everything is OK. Nevertheless, to be able to help you, we need more informations about your case. So: 1. What operating system do you use? 2. Where did you get an installation file? 3. What is its name? 4. What have you done with it? 5. What happened? Sorry for the incovenience, but we (at least I) do not have any useful crystal spheres :-) Regards, Martin W. On Tue, 17 Feb 2009, Zachary Sheppard wrote: > I am having trouble with the install, the only thing that works is the SciTE window. This aloows me to type but will not allow anything else. Any information on how to get the full install would be great or on how to make this work. > > Thanks > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > > From jordigh@gmail.com Tue Feb 17 10:53:57 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1HGrvGV029508 for ; Tue, 17 Feb 2009 10:53:57 -0600 (CST) Received: from mail-qy0-f21.google.com (mail-qy0-f21.google.com [209.85.221.21]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1HGrsFY015161 for ; Tue, 17 Feb 2009 10:53:57 -0600 Received: by qyk14 with SMTP id 14so3910557qyk.0 for ; Tue, 17 Feb 2009 08:53:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.74.80 with SMTP id t16mr2048422qcj.20.1234889625057; Tue, 17 Feb 2009 08:53:45 -0800 (PST) In-Reply-To: <20090217112521.236970@gmx.net> References: <20090217112521.236970@gmx.net> Date: Tue, 17 Feb 2009 10:53:45 -0600 Message-ID: <9543b3a40902170853m47db998etedbf24fcd92152ee@mail.gmail.com> Subject: Re: problems getting plots with octave/gnuplot From: =?UTF-8?Q?Jordi_Guti=C3=A9rrez_Hermoso?= To: Lissy Hennig Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 16:53:58 -0000 2009/2/17 Lissy Hennig : > I get an empty plot window, where the axis and labals are displayed only. [snip] > Gnuplot 4.0.0 from Fink: in /sw/bin/gnuplot Try 4.2.0; I don't believe 4.0.0 had support for patch objects. - Jordi G. H. From bounces@nabble.com Tue Feb 17 11:09:59 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1HH9wYF004156 for ; Tue, 17 Feb 2009 11:09:59 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1HH9vVe017594 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 17 Feb 2009 11:09:58 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LZTSG-000561-9T for help-octave@octave.org; Tue, 17 Feb 2009 09:09:56 -0800 Message-ID: <22061654.post@talk.nabble.com> Date: Tue, 17 Feb 2009 09:09:56 -0800 (PST) From: Lennart O To: help-octave@octave.org Subject: Re: Problem with appearance of plots In-Reply-To: <3EDB4485-90D0-4815-88E8-2789414E8383@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: anthelios77@gmail.com References: <22048113.post@talk.nabble.com> <87011E04-2849-469F-B4BE-00851A941E9B@mac.com> <22054162.post@talk.nabble.com> <3EDB4485-90D0-4815-88E8-2789414E8383@mac.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 17:10:00 -0000 Ben Abbott wrote: > > > On Feb 17, 2009, at 5:10 AM, Lennart O wrote: > >> Ben Abbott wrote: >>> >>> On Feb 16, 2009, at 6:29 PM, Lennart O wrote: >>> >>>> >>>> Hi I'm having a problem with plots that are not very pretty. It's >>>> almost like >>>> an old version of gnuplot is being used. The result looks very >>>> crude. I >>>> should mention that I am using Octave 3.0.1 on Ubuntu 8.10. I took >>>> some >>>> screenshots to show what I mean. >>>> >>>> Plot with Octave: >>>> http://www.nabble.com/file/p22048113/octave.png >>>> >>>> Plot with Gnuplot: >>>> http://www.nabble.com/file/p22048113/gnuplot.png >>>> >>>> Any idea how to fix this? Is it a problem with the Ubuntu package or >>>> do I >>>> need to change some settings in Octave? >>>> >>>> ps. Sorry about the images being so large. >>> >>> Octave is telling gnuplot to use the x11 terminal, and when you run >>> gnuplot directly it is using the wxt terminal. >>> >>> Try ... >>> >>> $ export GNUTERM=wxt >>> $ octave >>> >>> ... and then do some plots. >>> >>> Ben >>> >> Thank you very much, entering that into the terminal did the trick. >> Now I >> just need to figure out how to change which numbers are printed on the >> axises, theres' not enough room for them when doing a sublot. But >> that can >> be done with gnuplot syntax directly in the m-file, right? > > I think you're referring to the 2.1.x version of octave. Presently, > when using subplot, there are problems with the positioning of the > tick marks, axes labels, and titles. > > If you are referring to the horizontal spacing of the x-axis tick- > marks and tick-labels, you can change the defaults by > > set (hax, 'xtick', xticks) > > where hax is the handle to the axes and xticks is a vector containing > values for where you'd like the tick-mark labels placed. > >> Also, how do I make the GNUTERM export more permanent so I don't >> have to >> type it in every time I want to run Octave? > > You can place it in the startup script for the shell that runs octave. > For example, if you are running a bash shell, place it is ~/.bashrc. > > Ben > > p.s. There is presently a 3.0.3 version available that fixes some bugs > (soon there will be a 3.0.4). I recommend you update you installation. > > > > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > > I am using version 3.0.1 but yes I should update. Thanks for your help, I got it all working now. I used: set(gca,'ytick',[-2 -1 0 1 2]). Not sure what 'gca' is, found it in another thread, except that it apparently is a handle for an axis. Just regurgitating what you said. :) Care to explain? -- View this message in context: http://www.nabble.com/Problem-with-appearance-of-plots-tp22048113p22061654.html Sent from the Octave - General mailing list archive at Nabble.com. From bpabbott@mac.com Tue Feb 17 11:42:58 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1HHgwH0012532 for ; Tue, 17 Feb 2009 11:42:58 -0600 (CST) Received: from asmtpout014.mac.com (asmtpout014.mac.com [17.148.16.89]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1HHgvZj025959 for ; Tue, 17 Feb 2009 11:42:58 -0600 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8 Received: from spool001.mac.com ([10.150.69.51]) by asmtp014.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTP id <0KF8009LQ177QH00@asmtp014.mac.com> for help-octave@octave.org; Tue, 17 Feb 2009 09:42:48 -0800 (PST) Received: from webmail071 ([10.13.128.71]) by spool001.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0KF800I3P027DCD0@spool001.mac.com> for help-octave@octave.org; Tue, 17 Feb 2009 09:18:07 -0800 (PST) Date: Tue, 17 Feb 2009 12:18:07 -0500 From: Ben Abbott To: Lennart O Message-id: <59119570172256808319424289843159985522-Webmail@me.com> In-reply-to: <22061654.post@talk.nabble.com> References: <22048113.post@talk.nabble.com> <87011E04-2849-469F-B4BE-00851A941E9B@mac.com> <22054162.post@talk.nabble.com> <3EDB4485-90D0-4815-88E8-2789414E8383@mac.com> <22061654.post@talk.nabble.com> Subject: Re: Problem with appearance of plots Received: from [205.160.245.109] from webmail.me.com with HTTP; Tue, 17 Feb 2009 12:18:07 -0500 Received: from [ 67.235.60.12] from webmail.me.com with HTTP; Tue, 17 Feb 2009 12:18:07 -0500 X-Originating-IP: 205.160.245.109, 67.235.60.12 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, MSGID_FROM_MTA_HEADER, UNPARSEABLE_RELAY, WHOIS_MYPRIVREG Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 17:42:59 -0000 On Tuesday, February 17, 2009, at 12:09PM, "Lennart O" wrote: > >Ben Abbott wrote: >> >> On Feb 17, 2009, at 5:10 AM, Lennart O wrote: >> >>> Ben Abbott wrote: >>>> >>>> On Feb 16, 2009, at 6:29 PM, Lennart O wrote: >>>> >>>>> >>>>> Hi I'm having a problem with plots that are not very pretty. It's >>>>> almost like >>>>> an old version of gnuplot is being used. The result looks very >>>>> crude. I >>>>> should mention that I am using Octave 3.0.1 on Ubuntu 8.10. I took >>>>> some >>>>> screenshots to show what I mean. >>>>> >>>>> Plot with Octave: >>>>> http://www.nabble.com/file/p22048113/octave.png >>>>> >>>>> Plot with Gnuplot: >>>>> http://www.nabble.com/file/p22048113/gnuplot.png >>>>> >>>>> Any idea how to fix this? Is it a problem with the Ubuntu package or >>>>> do I >>>>> need to change some settings in Octave? >>>>> >>>>> ps. Sorry about the images being so large. >>>> >>>> Octave is telling gnuplot to use the x11 terminal, and when you run >>>> gnuplot directly it is using the wxt terminal. >>>> >>>> Try ... >>>> >>>> $ export GNUTERM=wxt >>>> $ octave >>>> >>>> ... and then do some plots. >>>> >>>> Ben >>>> >>> Thank you very much, entering that into the terminal did the trick. >>> Now I >>> just need to figure out how to change which numbers are printed on the >>> axises, theres' not enough room for them when doing a sublot. But >>> that can >>> be done with gnuplot syntax directly in the m-file, right? >> >> I think you're referring to the 2.1.x version of octave. Presently, >> when using subplot, there are problems with the positioning of the >> tick marks, axes labels, and titles. >> >> If you are referring to the horizontal spacing of the x-axis tick- >> marks and tick-labels, you can change the defaults by >> >> set (hax, 'xtick', xticks) >> >> where hax is the handle to the axes and xticks is a vector containing >> values for where you'd like the tick-mark labels placed. >> >>> Also, how do I make the GNUTERM export more permanent so I don't >>> have to >>> type it in every time I want to run Octave? >> >> You can place it in the startup script for the shell that runs octave. >> For example, if you are running a bash shell, place it is ~/.bashrc. >> >> Ben >> >> p.s. There is presently a 3.0.3 version available that fixes some bugs >> (soon there will be a 3.0.4). I recommend you update you installation. >> >> >I am using version 3.0.1 but yes I should update. > >Thanks for your help, I got it all working now. >I used: set(gca,'ytick',[-2 -1 0 1 2]). Not sure what 'gca' is, found it in >another thread, except that it apparently is a handle for an axis. Just >regurgitating what you said. :) Care to explain? gca == Get Current Axes Ben From bpabbott@mac.com Tue Feb 17 11:52:07 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1HHq7HL015201 for ; Tue, 17 Feb 2009 11:52:07 -0600 (CST) Received: from asmtpout014.mac.com (asmtpout014.mac.com [17.148.16.89]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1HHq5fT026826 for ; Tue, 17 Feb 2009 11:52:06 -0600 MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Received: from spool002.mac.com ([10.150.69.52]) by asmtp014.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTP id <0KF8009LD1G5M900@asmtp014.mac.com> for help-octave@octave.org; Tue, 17 Feb 2009 09:51:50 -0800 (PST) Received: from webmail071 ([10.13.128.71]) by spool002.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0KF800CIF05SO6C0@spool002.mac.com> for help-octave@octave.org; Tue, 17 Feb 2009 09:20:16 -0800 (PST) Date: Tue, 17 Feb 2009 12:20:16 -0500 From: Ben Abbott To: =?UTF-8?Q?Jordi_Guti=C3=A9rrez_Hermoso?= Message-id: <56466796400341867063450356569204997386-Webmail@me.com> In-reply-to: <9543b3a40902170853m47db998etedbf24fcd92152ee@mail.gmail.com> References: <20090217112521.236970@gmx.net> <9543b3a40902170853m47db998etedbf24fcd92152ee@mail.gmail.com> Subject: Re: problems getting plots with octave/gnuplot Received: from [205.160.245.109] from webmail.me.com with HTTP; Tue, 17 Feb 2009 12:20:16 -0500 Received: from [ 67.235.60.12] from webmail.me.com with HTTP; Tue, 17 Feb 2009 12:20:16 -0500 X-Originating-IP: 205.160.245.109, 67.235.60.12 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1HHq7HL015201 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, MSGID_FROM_MTA_HEADER, UNPARSEABLE_RELAY Cc: help-octave@octave.org, Lissy Hennig X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 17:52:08 -0000 On Tuesday, February 17, 2009, at 11:53AM, "Jordi Gutiérrez Hermoso" wrote: >2009/2/17 Lissy Hennig : >> I get an empty plot window, where the axis and labals are displayed only. >[snip] >> Gnuplot 4.0.0 from Fink: in /sw/bin/gnuplot > >Try 4.2.0; I don't believe 4.0.0 had support for patch objects. > >- Jordi G. H. Fink currently has 4.2.4 on its unstable branch. I recommend updating to that version. Although Fink uses the term "unstable" the reality is that the stable branch is rather out dated. I've not encountered any problems with apps on the unstable branch. So, in my opinion, there is no need for concern. Ben From tomdean@speakeasy.org Tue Feb 17 13:15:58 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1HJFwP4009125 for ; Tue, 17 Feb 2009 13:15:58 -0600 (CST) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1HJFsVF017633 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 17 Feb 2009 13:15:57 -0600 Received: (qmail 10330 invoked from network); 17 Feb 2009 19:15:48 -0000 Received: from dsl081-173-150.sea1.dsl.speakeasy.net (HELO [192.168.2.4]) (tomdean@[64.81.173.150]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 17 Feb 2009 19:15:48 -0000 Subject: Polyfit Question From: "Thomas D. Dean" To: help-octave@octave.org Content-Type: text/plain Organization: Home Date: Tue, 17 Feb 2009 11:15:37 -0800 Message-Id: <1234898137.6390.91.camel@asus> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: tomdean@speakeasy.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 19:15:59 -0000 I have used polyfit() with some success. However, I seem to have a functionality problem in my head or something. X=[1329, 2204, 3584]; Y=[15.75, 30, 65]; [P,S,MU]=polyfit(X,Y,2); S.normr ans = 1.7405e-14 S.yf ans = 15.750 30.000 65.000 I expect this to be a pretty good fit polyval(P,X) ans = 9.2208e+06 2.5325e+07 6.6912e+07 I expected P(X) near Y. Y=polyval(P,X,[],MU) Y = 15.750 30.000 65.000 I expected to get this without using MU. Where is my head wrong? tomdean From madhu.sethi@ieee.org Tue Feb 17 13:23:51 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1HJNpF7010993 for ; Tue, 17 Feb 2009 13:23:51 -0600 (CST) Received: from smtp104.prem.mail.sp1.yahoo.com (smtp104.prem.mail.sp1.yahoo.com [98.136.44.59]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1HJNnlZ019471 for ; Tue, 17 Feb 2009 13:23:51 -0600 Received: (qmail 50346 invoked from network); 17 Feb 2009 19:23:44 -0000 Received: from unknown (HELO ani3p007) (madhu.sethi@71.92.115.164 with login) by smtp104.prem.mail.sp1.yahoo.com with SMTP; 17 Feb 2009 19:23:43 -0000 X-Yahoo-Newman-Property: ymail-3 From: "Madhuri Sethi" To: Subject: newbie: reading a matrix from a file Date: Tue, 17 Feb 2009 11:23:42 -0800 Message-ID: <197E606B427742EB9362E18D711F799A@ani3p007> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00E6_01C990F2.3093AE80" X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcmRNT5B13L1ZC46SnaypDDSFuSKDA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, HTML_MESSAGE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 19:23:52 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_00E6_01C990F2.3093AE80 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I'm trying to read a matrix from a file using the command: "load temp.mat" The file header for temp.mat was copied from a saved matrix file: # Created by Octave 3.0.0, Thu Feb 12 17:57:43 2009 Pacific Standard Time # name: csr0164 # type: matrix # rows: 10000 # columns: 3 If I only have 9999 rows, the matrix gets read in properly. With 10 000 rows, I get the following error: error: load: failed to load matrix constant error: load: trouble reading ascii file `temp.mat' error: load: reading file temp.mat The matrices I need to load have closer to 400 000 rows. Thanks for any suggestion as to how to load such matrices ------=_NextPart_000_00E6_01C990F2.3093AE80 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I’m trying to read a matrix from a file using = the command:

 

“load = temp.mat”

 

The file header for temp.mat was copied from a saved = matrix file:

# Created by Octave 3.0.0, Thu Feb 12 17:57:43 2009 = Pacific Standard Time <unknown@unknown>

# name: csr0164

# type: matrix

# rows: 10000

# columns: 3

 

If I only have 9999 rows, the matrix gets read in = properly. With 10 000 rows, I get the following = error:

 

error: load: failed to load matrix = constant

error: load: trouble reading ascii file = `temp.mat'

error: load: reading file = temp.mat

 

The matrices I need to load have closer to 400 000 = rows.

 

Thanks for any suggestion as to how to load such = matrices

------=_NextPart_000_00E6_01C990F2.3093AE80-- From bounces@nabble.com Tue Feb 17 13:29:42 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1HJTgro012404 for ; Tue, 17 Feb 2009 13:29:42 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1HJTWai020684 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 17 Feb 2009 13:29:42 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LZVdL-0002uc-KS for help-octave@octave.org; Tue, 17 Feb 2009 11:29:31 -0800 Message-ID: <22064461.post@talk.nabble.com> Date: Tue, 17 Feb 2009 11:29:31 -0800 (PST) From: Lennart O To: help-octave@octave.org Subject: Re: Problem with appearance of plots In-Reply-To: <59119570172256808319424289843159985522-Webmail@me.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: anthelios77@gmail.com References: <22048113.post@talk.nabble.com> <87011E04-2849-469F-B4BE-00851A941E9B@mac.com> <22054162.post@talk.nabble.com> <3EDB4485-90D0-4815-88E8-2789414E8383@mac.com> <22061654.post@talk.nabble.com> <59119570172256808319424289843159985522-Webmail@me.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 19:29:44 -0000 Ben Abbott wrote: > > > On Tuesday, February 17, 2009, at 12:09PM, "Lennart O" > wrote: >> >>Ben Abbott wrote: >>> >>> On Feb 17, 2009, at 5:10 AM, Lennart O wrote: >>> >>>> Ben Abbott wrote: >>>>> >>>>> On Feb 16, 2009, at 6:29 PM, Lennart O wrote: >>>>> >>>>>> >>>>>> Hi I'm having a problem with plots that are not very pretty. It's >>>>>> almost like >>>>>> an old version of gnuplot is being used. The result looks very >>>>>> crude. I >>>>>> should mention that I am using Octave 3.0.1 on Ubuntu 8.10. I took >>>>>> some >>>>>> screenshots to show what I mean. >>>>>> >>>>>> Plot with Octave: >>>>>> http://www.nabble.com/file/p22048113/octave.png >>>>>> >>>>>> Plot with Gnuplot: >>>>>> http://www.nabble.com/file/p22048113/gnuplot.png >>>>>> >>>>>> Any idea how to fix this? Is it a problem with the Ubuntu package or >>>>>> do I >>>>>> need to change some settings in Octave? >>>>>> >>>>>> ps. Sorry about the images being so large. >>>>> >>>>> Octave is telling gnuplot to use the x11 terminal, and when you run >>>>> gnuplot directly it is using the wxt terminal. >>>>> >>>>> Try ... >>>>> >>>>> $ export GNUTERM=wxt >>>>> $ octave >>>>> >>>>> ... and then do some plots. >>>>> >>>>> Ben >>>>> >>>> Thank you very much, entering that into the terminal did the trick. >>>> Now I >>>> just need to figure out how to change which numbers are printed on the >>>> axises, theres' not enough room for them when doing a sublot. But >>>> that can >>>> be done with gnuplot syntax directly in the m-file, right? >>> >>> I think you're referring to the 2.1.x version of octave. Presently, >>> when using subplot, there are problems with the positioning of the >>> tick marks, axes labels, and titles. >>> >>> If you are referring to the horizontal spacing of the x-axis tick- >>> marks and tick-labels, you can change the defaults by >>> >>> set (hax, 'xtick', xticks) >>> >>> where hax is the handle to the axes and xticks is a vector containing >>> values for where you'd like the tick-mark labels placed. >>> >>>> Also, how do I make the GNUTERM export more permanent so I don't >>>> have to >>>> type it in every time I want to run Octave? >>> >>> You can place it in the startup script for the shell that runs octave. >>> For example, if you are running a bash shell, place it is ~/.bashrc. >>> >>> Ben >>> >>> p.s. There is presently a 3.0.3 version available that fixes some bugs >>> (soon there will be a 3.0.4). I recommend you update you installation. >>> >>> >>I am using version 3.0.1 but yes I should update. >> >>Thanks for your help, I got it all working now. >>I used: set(gca,'ytick',[-2 -1 0 1 2]). Not sure what 'gca' is, found it in >>another thread, except that it apparently is a handle for an axis. Just >>regurgitating what you said. :) Care to explain? > > gca == Get Current Axes > > Ben > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > > Ah that makes a lot of sense now. Thanks again. -- View this message in context: http://www.nabble.com/Problem-with-appearance-of-plots-tp22048113p22064461.html Sent from the Octave - General mailing list archive at Nabble.com. From bpabbott@mac.com Tue Feb 17 13:40:10 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1HJeANd015620 for ; Tue, 17 Feb 2009 13:40:10 -0600 (CST) Received: from asmtpout011.mac.com (asmtpout011.mac.com [17.148.16.86]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1HJe8eJ032636 for ; Tue, 17 Feb 2009 13:40:09 -0600 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8 Received: from spool001.mac.com ([10.150.69.51]) by asmtp011.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTP id <0KF800F2W6MJTJ40@asmtp011.mac.com> for help-octave@octave.org; Tue, 17 Feb 2009 11:39:55 -0800 (PST) Received: from webmail071 ([10.13.128.71]) by spool001.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0KF800MMI6MJMI70@spool001.mac.com> for help-octave@octave.org; Tue, 17 Feb 2009 11:39:55 -0800 (PST) Date: Tue, 17 Feb 2009 14:39:55 -0500 From: Ben Abbott To: tomdean@speakeasy.org Message-id: <60221659695360679774576367228153994639-Webmail@me.com> In-reply-to: <1234898137.6390.91.camel@asus> References: <1234898137.6390.91.camel@asus> Subject: Re: Polyfit Question Received: from [205.160.245.109] from webmail.me.com with HTTP; Tue, 17 Feb 2009 14:39:55 -0500 Received: from [ 67.235.60.12] from webmail.me.com with HTTP; Tue, 17 Feb 2009 14:39:55 -0500 X-Originating-IP: 205.160.245.109, 67.235.60.12 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, MSGID_FROM_MTA_HEADER, UNPARSEABLE_RELAY Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 19:40:15 -0000 On Tuesday, February 17, 2009, at 02:15PM, "Thomas D. Dean" wrote: >I have used polyfit() with some success. However, I seem to have a >functionality problem in my head or something. > >X=[1329, 2204, 3584]; >Y=[15.75, 30, 65]; >[P,S,MU]=polyfit(X,Y,2); >S.normr > ans = 1.7405e-14 >S.yf > ans = 15.750 30.000 65.000 > >I expect this to be a pretty good fit > >polyval(P,X) >ans = > 9.2208e+06 2.5325e+07 6.6912e+07 > >I expected P(X) near Y. > >Y=polyval(P,X,[],MU) >Y = > 15.750 30.000 65.000 > >I expected to get this without using MU. > >Where is my head wrong? > >tomdean Your polyfit/polyval are working as intended. If you're confused by the description given by "help polyval" and "help polyfit", please propose a change. Ben From dend_15@yahoo.com Tue Feb 17 18:11:09 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1I0B9Oh028602 for ; Tue, 17 Feb 2009 18:11:09 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1I0B9Br028537 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 17 Feb 2009 18:11:09 -0600 Received: from web95201.mail.in2.yahoo.com (web95201.mail.in2.yahoo.com [203.104.18.177]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1I0B6aJ006623 for ; Tue, 17 Feb 2009 18:11:08 -0600 Received: (qmail 25834 invoked by uid 60001); 18 Feb 2009 00:10:59 -0000 X-YMail-OSG: XafSCg8VM1kB3sh7wp1yIYK8U2vsPWGC574FC2ot8bCXkaULE7wxU0WQ.MnpCQTbZlcqTRxbyzWIkZDh3MmFpsT.3LRxu4l1ycaam6ch_CN4GG.U2TEwW_hh_xCU0isa3uewbmZfEDO3gOyldHLhGcDiLoIvjRhBOb5sYt6nn6jr3mofN5CTgeN.C3v0Bi4UVVza0pqGRmpK8hMG9HuTc4O6um1DIg-- Received: from [220.227.207.12] by web95201.mail.in2.yahoo.com via HTTP; Wed, 18 Feb 2009 05:40:59 IST X-Mailer: YahooMailWebService/0.7.260.1 Date: Wed, 18 Feb 2009 05:40:59 +0530 (IST) From: asha g Subject: Re: decoding error message To: =?iso-8859-1?Q?S=F8ren_Hauberg?= In-Reply-To: <1234767327.18489.14.camel@sh-t400> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Message-ID: <91006.19656.qm@web95201.mail.in2.yahoo.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1I0B9Oh028602 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: dend_15@yahoo.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 00:11:10 -0000 This is the message i get after running it on Octave 3.0 gnuplot: unable to open display ':0.0' gnuplot: X11 aborted. octave:3> Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Asha Goals too clearly defined can become blinkers. Mary Catherine Bateson --- On Mon, 16/2/09, Søren Hauberg wrote: > From: Søren Hauberg > Subject: Re: decoding error message > To: dend_15@yahoo.com > Cc: help@octave.org > Date: Monday, 16 February, 2009, 12:25 PM > man, 16 02 2009 kl. 12:18 +0530, skrev asha g: > > I tried that and get the following message: > > warning: 3.0.0: no such file or directory > > > > So does it mean that octave 2.1.57 cannot read the > legend command? It was working earlier. > > Octave 2.1.57 does not have the 'legend' command. > As long as you're > using this (very old) version you will not be able to use > that command. > You should figure out why you're starting version > 2.1.57 instead of > version 3.0. I'm not sure why this is happening, > though. What OS are you > using? > > Søren Connect with friends all over the world. Get Yahoo! India Messenger at http://in.messenger.yahoo.com/?wm=n/ From bpabbott@mac.com Tue Feb 17 18:37:50 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1I0bocE005209 for ; Tue, 17 Feb 2009 18:37:50 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1I0boVx009111 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 17 Feb 2009 18:37:50 -0600 Received: from asmtpout016.mac.com (asmtpout016.mac.com [17.148.16.91]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1I0bncI010997 for ; Tue, 17 Feb 2009 18:37:50 -0600 MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from [10.0.1.196] ([97.100.1.226]) by asmtp016.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPA id <0KF8001RHKEUAR70@asmtp016.mac.com> for help@octave.org; Tue, 17 Feb 2009 16:37:44 -0800 (PST) Message-id: From: Ben Abbott To: dend_15@yahoo.com In-reply-to: <91006.19656.qm@web95201.mail.in2.yahoo.com> Subject: Re: decoding error message Date: Tue, 17 Feb 2009 19:37:42 -0500 References: <91006.19656.qm@web95201.mail.in2.yahoo.com> X-Mailer: Apple Mail (2.930.3) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1I0bocE005209 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 00:37:52 -0000 On Feb 17, 2009, at 7:10 PM, asha g wrote: > --- On Mon, 16/2/09, Søren Hauberg wrote: > >> From: Søren Hauberg >> Subject: Re: decoding error message >> To: dend_15@yahoo.com >> Cc: help@octave.org >> Date: Monday, 16 February, 2009, 12:25 PM >> man, 16 02 2009 kl. 12:18 +0530, skrev asha g: >>> I tried that and get the following message: >>> warning: 3.0.0: no such file or directory >>> >>> So does it mean that octave 2.1.57 cannot read the >> legend command? It was working earlier. >> >> Octave 2.1.57 does not have the 'legend' command. >> As long as you're >> using this (very old) version you will not be able to use >> that command. >> You should figure out why you're starting version >> 2.1.57 instead of >> version 3.0. I'm not sure why this is happening, >> though. What OS are you >> using? >> >> Søren > > This is the message i get after running it on Octave 3.0 > > gnuplot: unable to open display ':0.0' > gnuplot: X11 aborted. > octave:3> Xlib: connection to ":0.0" refused by server > Xlib: No protocol specified > > Asha Hi Asha, You posted this info on a prior email, but ... What OS are you running? Where did you get your copy of Octave from? Ben From dend_15@yahoo.com Tue Feb 17 18:43:51 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1I0hpKF006328 for ; Tue, 17 Feb 2009 18:43:51 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1I0hpKu011878 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 17 Feb 2009 18:43:51 -0600 Received: from web95202.mail.in2.yahoo.com (web95202.mail.in2.yahoo.com [203.104.18.178]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1I0hmkf015216 for ; Tue, 17 Feb 2009 18:43:50 -0600 Received: (qmail 41010 invoked by uid 60001); 18 Feb 2009 00:43:41 -0000 X-YMail-OSG: 9_mk8.4VM1mmTeWBFcn963bD7FbFtYcSq5An5O3Q8HhuNUJA72dRlywMO9ZvC2Dk2aPmBfjxhUow6umEBYVsbOgoEdIM2bwDAtxJ2zgC237jT2VdUfzeC2w1cinXUY3FCLjo82F1dXf7G.oIZtxGIGts7b5HpgCqeZSKOePfgiHQzyUGOLqaIxw8rPFd7yGU1Nm1TTTxH2u469zf Received: from [203.200.35.12] by web95202.mail.in2.yahoo.com via HTTP; Wed, 18 Feb 2009 06:13:41 IST X-Mailer: YahooMailWebService/0.7.260.1 Date: Wed, 18 Feb 2009 06:13:41 +0530 (IST) From: asha g Subject: Re: decoding error message To: Ben Abbott In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Message-ID: <514103.34232.qm@web95202.mail.in2.yahoo.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1I0hpKF006328 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: dend_15@yahoo.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 00:43:52 -0000 OS is RedHat Enterprise Linus 4.0. Octave was downloaded - not sure from where. Asha Goals too clearly defined can become blinkers. Mary Catherine Bateson --- On Wed, 18/2/09, Ben Abbott wrote: > From: Ben Abbott > Subject: Re: decoding error message > To: dend_15@yahoo.com > Cc: "Søren Hauberg" , help@octave.org > Date: Wednesday, 18 February, 2009, 6:07 AM > On Feb 17, 2009, at 7:10 PM, asha g wrote: > > > --- On Mon, 16/2/09, Søren Hauberg > wrote: > > > >> From: Søren Hauberg > >> Subject: Re: decoding error message > >> To: dend_15@yahoo.com > >> Cc: help@octave.org > >> Date: Monday, 16 February, 2009, 12:25 PM > >> man, 16 02 2009 kl. 12:18 +0530, skrev asha g: > >>> I tried that and get the following message: > >>> warning: 3.0.0: no such file or directory > >>> > >>> So does it mean that octave 2.1.57 cannot read > the > >> legend command? It was working earlier. > >> > >> Octave 2.1.57 does not have the 'legend' > command. > >> As long as you're > >> using this (very old) version you will not be able > to use > >> that command. > >> You should figure out why you're starting > version > >> 2.1.57 instead of > >> version 3.0. I'm not sure why this is > happening, > >> though. What OS are you > >> using? > >> > >> Søren > > > > This is the message i get after running it on Octave > 3.0 > > > > gnuplot: unable to open display ':0.0' > > gnuplot: X11 aborted. > > octave:3> Xlib: connection to ":0.0" > refused by server > > Xlib: No protocol specified > > > > Asha > > Hi Asha, > > You posted this info on a prior email, but ... > > What OS are you running? > > Where did you get your copy of Octave from? > > Ben Connect with friends all over the world. Get Yahoo! India Messenger at http://in.messenger.yahoo.com/?wm=n/ From bpabbott@mac.com Tue Feb 17 18:52:58 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1I0qweo008769 for ; Tue, 17 Feb 2009 18:52:58 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1I0qwKD016077 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 17 Feb 2009 18:52:58 -0600 Received: from asmtpout011.mac.com (asmtpout011.mac.com [17.148.16.86]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1I0qsgk013320 for ; Tue, 17 Feb 2009 18:52:57 -0600 MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Received: from [10.0.1.196] ([97.100.1.226]) by asmtp011.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPA id <0KF8003REL3ZXG50@asmtp011.mac.com> for help@octave.org; Tue, 17 Feb 2009 16:52:49 -0800 (PST) Message-id: <67520884-EC95-498D-ADD4-522D48DF2461@mac.com> From: Ben Abbott To: dend_15@yahoo.com In-reply-to: <514103.34232.qm@web95202.mail.in2.yahoo.com> Subject: Re: decoding error message Date: Tue, 17 Feb 2009 19:52:47 -0500 References: <514103.34232.qm@web95202.mail.in2.yahoo.com> X-Mailer: Apple Mail (2.930.3) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1I0qweo008769 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 00:53:00 -0000 On Feb 17, 2009, at 7:43 PM, asha g wrote: > --- On Wed, 18/2/09, Ben Abbott wrote: > >> From: Ben Abbott >> Subject: Re: decoding error message >> To: dend_15@yahoo.com >> Cc: "Søren Hauberg" , help@octave.org >> Date: Wednesday, 18 February, 2009, 6:07 AM >> On Feb 17, 2009, at 7:10 PM, asha g wrote: >> >>> --- On Mon, 16/2/09, Søren Hauberg >> wrote: >>> >>>> From: Søren Hauberg >>>> Subject: Re: decoding error message >>>> To: dend_15@yahoo.com >>>> Cc: help@octave.org >>>> Date: Monday, 16 February, 2009, 12:25 PM >>>> man, 16 02 2009 kl. 12:18 +0530, skrev asha g: >>>>> I tried that and get the following message: >>>>> warning: 3.0.0: no such file or directory >>>>> >>>>> So does it mean that octave 2.1.57 cannot read >> the >>>> legend command? It was working earlier. >>>> >>>> Octave 2.1.57 does not have the 'legend' >> command. >>>> As long as you're >>>> using this (very old) version you will not be able >> to use >>>> that command. >>>> You should figure out why you're starting >> version >>>> 2.1.57 instead of >>>> version 3.0. I'm not sure why this is >> happening, >>>> though. What OS are you >>>> using? >>>> >>>> Søren >>> >>> This is the message i get after running it on Octave >> 3.0 >>> >>> gnuplot: unable to open display ':0.0' >>> gnuplot: X11 aborted. >>> octave:3> Xlib: connection to ":0.0" >> refused by server >>> Xlib: No protocol specified >>> >>> Asha >> >> Hi Asha, >> >> You posted this info on a prior email, but ... >> >> What OS are you running? >> >> Where did you get your copy of Octave from? >> >> Ben > > OS is RedHat Enterprise Linus 4.0. > Octave was downloaded - not sure from where. > Asha Ok, I'm no help. Running OSX, my gnuplot works fine on x11 with DISPLAY=:0.0 I expect a Linux user will offer some advice shortly. Ben From jordigh@gmail.com Tue Feb 17 18:55:13 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1I0tDlT009478 for ; Tue, 17 Feb 2009 18:55:13 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1I0tCFL017183 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 17 Feb 2009 18:55:13 -0600 Received: from mail-gx0-f179.google.com (mail-gx0-f179.google.com [209.85.217.179]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1I0tBcO024065 for ; Tue, 17 Feb 2009 18:55:12 -0600 Received: by gxk27 with SMTP id 27so4944642gxk.0 for ; Tue, 17 Feb 2009 16:55:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.151.107.8 with SMTP id j8mr389573ybm.112.1234918505998; Tue, 17 Feb 2009 16:55:05 -0800 (PST) In-Reply-To: <91006.19656.qm@web95201.mail.in2.yahoo.com> References: <1234767327.18489.14.camel@sh-t400> <91006.19656.qm@web95201.mail.in2.yahoo.com> Date: Tue, 17 Feb 2009 18:55:05 -0600 Message-ID: <9543b3a40902171655n3b49d34dpd75d54788546714f@mail.gmail.com> Subject: Re: decoding error message From: =?UTF-8?Q?Jordi_Guti=C3=A9rrez_Hermoso?= To: dend_15@yahoo.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 00:55:15 -0000 2009/2/17 asha g : > This is the message i get after running it on Octave 3.0 > > gnuplot: unable to open display ':0.0' > gnuplot: X11 aborted. Are you sshed into the machine that is running gnuplot? If so, are you X-forwarding properly? Usually all you have to do is something like "ssh asha@remotemachine -X" (notice it's uppercase, not lowercase). - Jordi G. H. From dend_15@yahoo.com Tue Feb 17 22:55:33 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1I4tWBh010227 for ; Tue, 17 Feb 2009 22:55:32 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1I4tWvS000406 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 17 Feb 2009 22:55:32 -0600 Received: from web95210.mail.in2.yahoo.com (web95210.mail.in2.yahoo.com [203.104.18.186]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1I4tUtk021557 for ; Tue, 17 Feb 2009 22:55:31 -0600 Received: (qmail 43610 invoked by uid 60001); 18 Feb 2009 04:55:22 -0000 X-YMail-OSG: gO_eeWcVM1mf0GoxwpAvFEMir9KL2f11ky9EeqQfH8PDxU1gOV79Yg9ZvesODZMBZVbnY9Ahq9QG6JEby05RTo3cmmWu6zRifVhfdLWrjZTgcDQ1hIXJUtpFhes.VSQ6y2i8eCJOtISQrry4kK.Q1yr9AGOcTJ719ExY0ogxdv1YmwxPWlPF4V5lqBw15NnyPvWDozOlL6jYr22gTajoyNp1JQJ2R0fLmQKwA4a8pIN98YrIQSPpc7xGadKZ8w-- Received: from [203.200.35.12] by web95210.mail.in2.yahoo.com via HTTP; Wed, 18 Feb 2009 10:25:22 IST X-Mailer: YahooMailWebService/0.7.260.1 Date: Wed, 18 Feb 2009 10:25:22 +0530 (IST) From: asha g Subject: Re: decoding error message To: =?iso-8859-1?Q?Jordi_Guti=E9rrez_Hermoso?= In-Reply-To: <9543b3a40902171655n3b49d34dpd75d54788546714f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Message-ID: <240126.43168.qm@web95210.mail.in2.yahoo.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1I4tWBh010227 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: dend_15@yahoo.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 04:55:34 -0000 I am on the same machine that I normally use. So no sshing. I did use screen -L for my work as it runs for a long time. Could that be the problem ? Asha Goals too clearly defined can become blinkers. Mary Catherine Bateson --- On Wed, 18/2/09, Jordi Gutiérrez Hermoso wrote: > From: Jordi Gutiérrez Hermoso > Subject: Re: decoding error message > To: dend_15@yahoo.com > Cc: "Søren Hauberg" , help@octave.org > Date: Wednesday, 18 February, 2009, 6:25 AM > 2009/2/17 asha g : > > This is the message i get after running it on Octave > 3.0 > > > > gnuplot: unable to open display ':0.0' > > gnuplot: X11 aborted. > > Are you sshed into the machine that is running gnuplot? If > so, are you > X-forwarding properly? Usually all you have to do is > something like > "ssh asha@remotemachine -X" (notice it's > uppercase, not lowercase). > > - Jordi G. H. Get perfect Email ID for your Resume. Grab now http://in.promos.yahoo.com/address From bounces@nabble.com Tue Feb 17 23:21:07 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1I5L6vb016996 for ; Tue, 17 Feb 2009 23:21:06 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1I5L46T030414 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 17 Feb 2009 23:21:06 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LZern-0001FB-L8 for help-octave@octave.org; Tue, 17 Feb 2009 21:21:03 -0800 Message-ID: <22072416.post@talk.nabble.com> Date: Tue, 17 Feb 2009 21:21:03 -0800 (PST) From: Nugget_Mon To: help-octave@octave.org Subject: Histogram Overwrites Previous Plot MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: rdgriego@zoomtown.com X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 05:21:08 -0000 Hello, I am trying to overlay a nomal PDF over a histogram. I found the following: "Combining histograms and function plots by Toke Reichstein Jan 29, 2003; 09:45am :" I have used the solution there but came up with the same result. Whenever I call hist(), it overwrites whatever is plotted. The same goes for plotting the PDF after plotting the histogram, whether hold is on or not. Octave version 3.0.0 Ubuntu 8.04 AMD64 Thank you. Mon -- View this message in context: http://www.nabble.com/Histogram-Overwrites-Previous-Plot-tp22072416p22072416.html Sent from the Octave - General mailing list archive at Nabble.com. From jwe@octave.org Wed Feb 18 00:27:20 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1I6RKUi004424 for ; Wed, 18 Feb 2009 00:27:20 -0600 (CST) Received: from spaceymail-a7.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1I6RJMJ028863 for ; Wed, 18 Feb 2009 00:27:20 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a7.g.dreamhost.com (Postfix) with ESMTP id EDB2514255; Tue, 17 Feb 2009 22:27:18 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18843.43589.435643.574780@segfault.lan> Date: Wed, 18 Feb 2009 01:27:17 -0500 To: Nugget_Mon Subject: Histogram Overwrites Previous Plot In-Reply-To: <22072416.post@talk.nabble.com> References: <22072416.post@talk.nabble.com> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 06:27:21 -0000 On 17-Feb-2009, Nugget_Mon wrote: | I am trying to overlay a nomal PDF over a histogram. | | I found the following: | | "Combining histograms and function plots by Toke Reichstein Jan 29, 2003; | 09:45am :" | | I have used the solution there but came up with the same result. Whenever I | call hist(), it overwrites whatever is plotted. The same goes for plotting | the PDF after plotting the histogram, whether hold is on or not. | | Octave version 3.0.0 | Ubuntu 8.04 | AMD64 I think this problem is fixed in the current development version of Octave. The function that ultimately draws the histogram is __bars__.m, and the version of __bars__.m in the current sources is significantly different from what is in 3.0.3, and relies on completely new functionality, so I don't think this problem will be fixed in any 3.0.x release. jwe From jwe@octave.org Wed Feb 18 00:32:30 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1I6WUEj006116 for ; Wed, 18 Feb 2009 00:32:30 -0600 (CST) Received: from spaceymail-a7.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1I6WT7T008617 for ; Wed, 18 Feb 2009 00:32:30 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a7.g.dreamhost.com (Postfix) with ESMTP id 9227A142BE; Tue, 17 Feb 2009 22:32:28 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18843.43899.217134.183877@segfault.lan> Date: Wed, 18 Feb 2009 01:32:27 -0500 To: Ivan Sutoris Subject: Re: Using kwrite as editor In-Reply-To: <65d1f7fc0902170731l23556cd3g22a4974fccf360ae@mail.gmail.com> References: <65d1f7fc0902170619x67dbae11v9f51c48ccbc8dced@mail.gmail.com> <128f38bd0902170632o12f640d2q27d5ee7ae88df704@mail.gmail.com> <65d1f7fc0902170731l23556cd3g22a4974fccf360ae@mail.gmail.com> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 06:32:32 -0000 On 17-Feb-2009, Ivan Sutoris wrote: | Thanks for quick replies, "edit mode async" is exactly what I was | looking for. Now I see that it's documented in edit, but the text is | quite cryptic, at least for me :). I've tried to add few words to | documentation to make things clearer (attached as changeset), could | you have a look? (I know this should go to maintainers list, but it | seems silly to start new thread with such trivial change). Thanks, I applied it. In the future though, I think it would be best to post patches to the bug or maintainers list. I just happened to see this message, but I don't typically look here for patches, so they could easily be missed. jwe From dend_15@yahoo.com Wed Feb 18 04:52:06 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1IAq6Xs011206 for ; Wed, 18 Feb 2009 04:52:06 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1IAq5qf020762 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 18 Feb 2009 04:52:05 -0600 Received: from web95212.mail.in2.yahoo.com (web95212.mail.in2.yahoo.com [203.104.18.188]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1IAq3ep032355 for ; Wed, 18 Feb 2009 04:52:05 -0600 Received: (qmail 91482 invoked by uid 60001); 18 Feb 2009 10:51:55 -0000 X-YMail-OSG: xwWy8j4VM1mYaKYTuqW1ZQ0HTT9eg.qA7bWzJQ7cn6mslXs.el0cVWcIMRQ9RyFxh0lPJRffOnJ3GK.xzPdRFBOAQWrKcJ_6ZiipZZMUGkx4vZmSj3pl2S8qRZ6HnoHRyudE2M0ey_FvZZf14oFkUifZdNf7l99bhwj94ol5PTupEDDGIFcSFeMz_hyPqWohOnSZl2oYuGLPCP71wRGkrANxcWMURjvSzlcUJUGs_XWNwMCC Received: from [220.227.207.32] by web95212.mail.in2.yahoo.com via HTTP; Wed, 18 Feb 2009 16:21:55 IST X-Mailer: YahooMailWebService/0.7.260.1 Date: Wed, 18 Feb 2009 16:21:55 +0530 (IST) From: asha g Subject: Re: decoding error message To: Carlo de Falco In-Reply-To: <9D01D1E4-B017-4A37-A942-8B36875B1D30@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Message-ID: <756064.89278.qm@web95212.mail.in2.yahoo.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1IAq6Xs011206 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: dend_15@yahoo.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 10:52:07 -0000 How do you use vnc? Can you tell me the steps? Thanks Asha Goals too clearly defined can become blinkers. Mary Catherine Bateson --- On Wed, 18/2/09, Carlo de Falco wrote: > From: Carlo de Falco > Subject: Re: decoding error message > To: dend_15@yahoo.com > Date: Wednesday, 18 February, 2009, 12:05 PM > On 18 Feb 2009, at 05:55, asha g wrote: > > > I am on the same machine that I normally use. So no > sshing. I did use screen -L for my work as it runs for a > long time. Could that be the problem ? > > Asha > > yes, it is. you will not be able to use X from within > screen AFAIK. > if you want to do something similar to "screen" > but with graphics, then yo migh twant to try try vnc. > c. Get rid of Add-Ons in your email ID. Get yourname@rocketmail.com. Sign up now! http://in.promos.yahoo.com/address From carlo.defalco@gmail.com Wed Feb 18 05:12:55 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1IBCt6a015724 for ; Wed, 18 Feb 2009 05:12:55 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1IBCtWR029567 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 18 Feb 2009 05:12:55 -0600 Received: from mail-bw0-f161.google.com (mail-bw0-f161.google.com [209.85.218.161]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1IBCrqb019753 for ; Wed, 18 Feb 2009 05:12:55 -0600 Received: by bwz5 with SMTP id 5so5759900bwz.0 for ; Wed, 18 Feb 2009 03:12:47 -0800 (PST) Received: by 10.223.122.15 with SMTP id j15mr2821114far.10.1234955567539; Wed, 18 Feb 2009 03:12:47 -0800 (PST) Received: from vision.imati.cnr.it (vision.imati.cnr.it [193.204.39.50]) by mx.google.com with ESMTPS id 13sm12436208fks.27.2009.02.18.03.12.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 18 Feb 2009 03:12:46 -0800 (PST) Message-Id: From: Carlo de Falco To: dend_15@yahoo.com In-Reply-To: <756064.89278.qm@web95212.mail.in2.yahoo.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: decoding error message Date: Wed, 18 Feb 2009 12:12:44 +0100 References: <756064.89278.qm@web95212.mail.in2.yahoo.com> X-Mailer: Apple Mail (2.930.3) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 11:12:56 -0000 On 18 Feb 2009, at 11:51, asha g wrote: > How do you use vnc? Can you tell me the steps? > Thanks > Asha I've not been using VNC for quite a while now, but, if I recall correctly, you should use something like vncserver -geometry 800x600 :10 to start a virtual server vncviewer :10 to access the virtual server and vncserver -kill :10 to shut it down. I am afraid I cannot help much more than this, but you can find more documentation at, e.g. http://www.tightvnc.com/docs.html c. From perhaugaard@yahoo.dk Wed Feb 18 05:51:44 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1IBpiDg024944 for ; Wed, 18 Feb 2009 05:51:44 -0600 (CST) Received: from web26608.mail.ukl.yahoo.com (web26608.mail.ukl.yahoo.com [217.146.176.58]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1IBpg9F026707 for ; Wed, 18 Feb 2009 05:51:44 -0600 Received: (qmail 46104 invoked by uid 60001); 18 Feb 2009 11:51:36 -0000 X-YMail-OSG: B6WnlVUVM1kCMWMT7jH.fXBIjh9U9adgj.PD9qSr_b1op4y6GmfJf6xQvi59KeWuoW4SQvKS1EBkyFHcBlpNhDREdXXFeOr7eBVU0OCa4hmevOI.V5UZrORDc57dE6iNKE1OH.ykcP2Xz4lE_eiL8c8B1fOXFPAKOrS5MBEFceLFIl0oYD.zNgPrK3MgMuDa4fcBkrq69u4u4JFLRA-- Received: from [80.63.69.130] by web26608.mail.ukl.yahoo.com via HTTP; Wed, 18 Feb 2009 11:51:36 GMT X-Mailer: YahooMailWebService/0.7.260.1 Date: Wed, 18 Feb 2009 11:51:36 +0000 (GMT) From: Per Haugaard Subject: Installing the new version 3.0.3 on Ubuntu version 8.10 To: help-octave@octave.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-905856312-1234957896=:44225" Message-ID: <690974.44225.qm@web26608.mail.ukl.yahoo.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, HTML_MESSAGE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: perhaugaard@yahoo.dk List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 11:51:45 -0000 --0-905856312-1234957896=:44225 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Dear user group, Trying for the first time to install octave on my Linux system. After issui= ng the ./configure --prefix /opt/octave_v3 with no trouble I issued the mak= e command. Here I get the following error and the make procedure is halted: collect2: ld returned 1 exit status make[2]: *** [octave] Error 1 make[2]: Leaving directory `/home/pha/Progz/octave-3.0.3/src' make[1]: *** [src] Error 2 make[1]: Leaving directory `/home/pha/Progz/octave-3.0.3' make: *** [all] Error 2 Make check gives the following message: make[1]: Entering directory `/home/pha/Progz/octave-3.0.3' make -C test check make[2]: Entering directory `/home/pha/Progz/octave-3.0.3/test' ../run-octave --norc --silent --no-history ./fntests.m . exec: 72: /home/pha/Progz/octave-3.0.3/src/octave: not found make[2]: *** [check] Error 2 make[2]: Leaving directory `/home/pha/Progz/octave-3.0.3/test' make[1]: *** [check] Error 2 make[1]: Leaving directory `/home/pha/Progz/octave-3.0.3' make: *** [check] Error 2 Running the make command I only noticed warnings on integers especially on = oct-inttypes.cc and oct-inttypes.h. The above description might not so informative. But hopefully some has had = the same errors before. Any help or feedback is appreciated /Per ______________________ Per Haugaard, Griffenfeldsgade 33, 2.tv 2200 K=C3=B8benhavn N Denmark mobil: +45 26 39 06 40 E-mail: perhaugaard@yahoo.dk=0A=0A=0A Tr=C3=A6nger du til at se det st= ore billede? Kelkoo giver dig gode tilbud p=C3=A5 LCD TV! Se her http://dk.= yahoo.com/r/pat/lcd --0-905856312-1234957896=:44225 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Dear user group,

Trying for the first = time to install octave on my Linux system. After issuing the ./configure --= prefix /opt/octave_v3 with no trouble I issued the make command. Here I get= the following error and the make procedure is halted:

collect2: ld = returned 1 exit status
make[2]: *** [octave] Error 1
make[2]: Leaving= directory `/home/pha/Progz/octave-3.0.3/src'
make[1]: *** [src] Error 2=
make[1]: Leaving directory `/home/pha/Progz/octave-3.0.3'
make: *** = [all] Error 2

Make check gives the following message:

make[1]= : Entering directory `/home/pha/Progz/octave-3.0.3'
make -C test checkmake[2]: Entering directory `/home/pha/Progz/octave-3.0.3/test'
../run= -octave --norc --silent --no-history ./fntests.m .
exec: 72: /home/pha/P= rogz/octave-3.0.3/src/octave: not found
make[2]: *** [check] Error 2
make[2]: Leaving directory `/home/pha/Progz/octave-3.0.3/test'
mak= e[1]: *** [check] Error 2
make[1]: Leaving directory `/home/pha/Progz/oc= tave-3.0.3'
make: *** [check] Error 2

Running the make command I = only noticed warnings on integers especially on oct-inttypes.cc and oct-int= types.h.

The above description might not so informative. But hopeful= ly some has had the same errors before. Any help or feedback is appreciated=

/Per

______________________

Per Haugaard,
Griffenfeldsgade 33, 2.tv
2200 K=C3=B8benhavn N
Denmark

mobil: +45 26 39 06 40
E-mail: perhaugaard@yahoo.dk

=0A=0A=0A

Find din nye laptop p=C3=A5 kelkoo.dk. Se de gode = tilbud her!
--0-905856312-1234957896=:44225-- From riccardocorradini@yahoo.it Wed Feb 18 07:16:18 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1IDGInu015743 for ; Wed, 18 Feb 2009 07:16:18 -0600 (CST) Received: from web25502.mail.ukl.yahoo.com (web25502.mail.ukl.yahoo.com [217.12.10.148]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1IDGGl9020956 for ; Wed, 18 Feb 2009 07:16:17 -0600 Received: (qmail 32513 invoked by uid 60001); 18 Feb 2009 13:16:11 -0000 Message-ID: <364904.31402.qm@web25502.mail.ukl.yahoo.com> X-YMail-OSG: khLU4YUVM1lBRNX53nHlk2ZsNhVtlSceaCoaLSIoWFXLYQJtpmFgMqKCRzZknj97zYYd16bcHRht_VY7gFT1M4843YltQKZmwm6DnoGkpFXLwXe.yyvjiqsKTYNc0GlhTavolmfFPw4iviQLHpp9INhids5LCSeTTBtNJaqGMtlPe.HTfmCyga3zofE.YA-- Received: from [193.204.91.67] by web25502.mail.ukl.yahoo.com via HTTP; Wed, 18 Feb 2009 13:16:10 GMT X-Mailer: YahooMailWebService/0.7.289.1 Date: Wed, 18 Feb 2009 13:16:10 +0000 (GMT) From: Riccardo Corradini Subject: R: Installing the new version 3.0.3 on Ubuntu version 8.10 To: perhaugaard@yahoo.dk In-Reply-To: <690974.44225.qm@web26608.mail.ukl.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1436252076-1234962970=:31402" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: riccardocorradini@yahoo.it List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 13:16:19 -0000 --0-1436252076-1234962970=:31402 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi, could you please copy and paste the config.log. It sounds like there are mi= ssing libraries. Bests Riccardo --- Mer 18/2/09, Per Haugaard ha scritto: Da: Per Haugaard Oggetto: Installing the new version 3.0.3 on Ubuntu version 8.10 A: help-octave@octave.org Data: Mercoled=EC 18 febbraio 2009, 12:51 Dear user group, Trying for the first time to install octave on my Linux system. After issui= ng the ./configure --prefix /opt/octave_v3 with no trouble I issued the mak= e command. Here I get the following error and the make procedure is halted: collect2: ld returned 1 exit status make[2]: *** [octave] Error 1 make[2]: Leaving directory `/home/pha/Progz/octave-3.0.3/src' make[1]: *** [src] Error 2 make[1]: Leaving directory `/home/pha/Progz/octave-3.0.3' make: *** [all] Error 2 Make check gives the following message: make[1]: Entering directory `/home/pha/Progz/octave-3.0.3' make -C test check make[2]: Entering directory `/home/pha/Progz/octave-3.0.3/test' ../run-octave --norc --silent --no-history ./fntests.m . exec: 72: /home/pha/Progz/octave-3.0.3/src/octave: not found make[2]: *** [check] Error 2 make[2]: Leaving directory `/home/pha/Progz/octave-3.0.3/test' make[1]: *** [check] Error 2 make[1]: Leaving directory `/home/pha/Progz/octave-3.0.3' make: *** [check] Error 2 Running the make command I only noticed warnings on integers especially on = oct-inttypes.cc and oct-inttypes.h. The above description might not so informative. But hopefully some has had = the same errors before. Any help or feedback is appreciated /Per ______________________ Per Haugaard, Griffenfeldsgade 33, 2.tv 2200 K=F8benhavn N Denmark mobil: +45 26 39 06 40 E-mail: perhaugaard@yahoo.dk =20 Find din nye laptop p=E5 kelkoo.dk. Se de gode tilbud her! _______________= ________________________________ Help-octave mailing list Help-octave@octave.org https://www-old.cae.wisc.edu/mailman/listinfo/help-octave =0A=0A=0A Passa a Yahoo! Mail.=0A=0ALa webmail che ti offre GRATIS spa= zio illimitato, =0Aantispam e messenger integrato.=0Ahttp://it.mail.yahoo.c= om/=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 --0-1436252076-1234962970=:31402 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,
could you please copy and paste the co= nfig.log. It sounds like there are missing libraries.
Bests
Riccardo<= br>
--- Mer 18/2/09, Per Haugaard <perhaugaard@yahoo.dk>= ha scritto:
Da: Per Haugaard <perhaugaa= rd@yahoo.dk>
Oggetto: Installing the new version 3.0.3 on Ubuntu vers= ion 8.10
A: help-octave@octave.org
Data: Mercoled=EC 18 febbraio 2009= , 12:51

Dear user group,

Trying for t= he first time to install octave on my Linux system. After issuing the ./configure --prefix = /opt/octave_v3 with no trouble I issued the make command. Here I get the fo= llowing error and the make procedure is halted:

collect2: ld returne= d 1 exit status
make[2]: *** [octave] Error 1
make[2]: Leaving direct= ory `/home/pha/Progz/octave-3.0.3/src'
make[1]: *** [src] Error 2
mak= e[1]: Leaving directory `/home/pha/Progz/octave-3.0.3'
make: *** [all] E= rror 2

Make check gives the following message:

make[1]: Enter= ing directory `/home/pha/Progz/octave-3.0.3'
make -C test check
make[= 2]: Entering directory `/home/pha/Progz/octave-3.0.3/test'
../run-octave= --norc --silent --no-history ./fntests.m .
exec: 72: /home/pha/Progz/oc= tave-3.0.3/src/octave: not found
make[2]: *** [check] Error 2
make[2]: Leaving directory `/home/pha/Progz/octave-3.0.3/test'
mak= e[1]: *** [check] Error 2
make[1]: Leaving directory `/home/pha/Progz/oc= tave-3.0.3'
make: *** [check] Error 2

Running the make command I = only noticed warnings on integers especially on oct-inttypes.cc and oct-int= types.h.

The above description might not so informative. But hopeful= ly some has had the same errors before. Any help or feedback is appreciated=

/Per

______________________

Per Haugaard,
Griffenfeldsgade 33, 2.tv
2200 K=F8benhavn N
Denmark

mobil: +45 26 39 06 40
E-mail: perhaugaard@yahoo.dk



Find din nye laptop p=E5 ke= lkoo.dk. Se de gode tilbud her!
_=
______________________________________________
Help-octave mailing list<= br>Help-octave@octave.org
https://www-old.cae.wisc.edu/mailman/listinfo/= help-octave

=0A=0A=0A=0A <= hr size=3D1>=0APassa a Yahoo! Mail.=0A
=0ALa web= mail che ti offre GRATIS spazio illimitato, antispam e messenger integrato.= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 --0-1436252076-1234962970=:31402-- From carlo.defalco@gmail.com Wed Feb 18 07:30:20 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1IDUKcb018977 for ; Wed, 18 Feb 2009 07:30:20 -0600 (CST) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.185]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1IDUI6w013046 for ; Wed, 18 Feb 2009 07:30:20 -0600 Received: by fk-out-0910.google.com with SMTP id 18so1877318fks.8 for ; Wed, 18 Feb 2009 05:30:18 -0800 (PST) Received: by 10.223.126.145 with SMTP id c17mr2937732fas.16.1234963817479; Wed, 18 Feb 2009 05:30:17 -0800 (PST) Received: from vision.imati.cnr.it (vision.imati.cnr.it [193.204.39.50]) by mx.google.com with ESMTPS id b17sm6604388fka.4.2009.02.18.05.30.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 18 Feb 2009 05:30:16 -0800 (PST) Message-Id: <46701FC9-EE72-4DC2-B3D0-433DC36CEA46@gmail.com> From: Carlo de Falco To: perhaugaard@yahoo.dk In-Reply-To: <690974.44225.qm@web26608.mail.ukl.yahoo.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: Installing the new version 3.0.3 on Ubuntu version 8.10 Date: Wed, 18 Feb 2009 14:30:14 +0100 References: <690974.44225.qm@web26608.mail.ukl.yahoo.com> X-Mailer: Apple Mail (2.930.3) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 13:30:22 -0000 On 18 Feb 2009, at 12:51, Per Haugaard wrote: > Dear user group, > > Trying for the first time to install octave on my Linux system. > After issuing the ./configure --prefix /opt/octave_v3 with no > trouble I issued the make command. Here I get the following error > and the make procedure is halted: > > collect2: ld returned 1 exit status > make[2]: *** [octave] Error 1 > make[2]: Leaving directory `/home/pha/Progz/octave-3.0.3/src' > make[1]: *** [src] Error 2 > make[1]: Leaving directory `/home/pha/Progz/octave-3.0.3' > make: *** [all] Error 2 > > Make check gives the following message: > > make[1]: Entering directory `/home/pha/Progz/octave-3.0.3' > make -C test check > make[2]: Entering directory `/home/pha/Progz/octave-3.0.3/test' > ../run-octave --norc --silent --no-history ./fntests.m . > exec: 72: /home/pha/Progz/octave-3.0.3/src/octave: not found > make[2]: *** [check] Error 2 > make[2]: Leaving directory `/home/pha/Progz/octave-3.0.3/test' > make[1]: *** [check] Error 2 > make[1]: Leaving directory `/home/pha/Progz/octave-3.0.3' > make: *** [check] Error 2 > > Running the make command I only noticed warnings on integers > especially on oct-inttypes.cc and oct-inttypes.h. > > The above description might not so informative. Indeed the error messages you provided are not enough... > But hopefully some has had the same errors before. Any help or > feedback is appreciated I can only try to guess, do you have all dependencies installed? You can do it easiy on ubuntu by: sudo apt-get build-dep octave > /Per c. From sjeffrey000@sympatico.ca Wed Feb 18 07:11:39 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1IDBdFT014336 for ; Wed, 18 Feb 2009 07:11:39 -0600 (CST) Received: from blu0-omc2-s25.blu0.hotmail.com (blu0-omc2-s25.blu0.hotmail.com [65.55.111.100]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1IDBYTV019965 for ; Wed, 18 Feb 2009 07:11:39 -0600 Received: from BLU0-SMTP21 ([65.55.111.72]) by blu0-omc2-s25.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 18 Feb 2009 05:11:28 -0800 X-Originating-IP: [76.70.118.232] X-Originating-Email: [sjeffrey000@sympatico.ca] Message-ID: Received: from SJeffrey ([76.70.118.232]) by BLU0-SMTP21.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.2668); Wed, 18 Feb 2009 05:11:27 -0800 From: To: =?UTF-8?Q?S=C3=B8ren_Hauberg?= References: <24ee1de20812051207o55e32663tf1db6efa02f87fe1@mail.gmail.com> <9A8F2535-9B61-4A5C-AC84-DE60C116D7DA@gmail.com> <938B9449-6BBC-4EA4-BC76-45C317CB8681@gmail.com> <1228558671.6161.3.camel@sh-t400> <22000471.post@talk.nabble.com> <1234817946.7850.12.camel@sh-t400> Subject: Re: zero crossing determination in octave? Date: Wed, 18 Feb 2009 08:11:28 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-OriginalArrivalTime: 18 Feb 2009 13:11:28.0000 (UTC) FILETIME=[68890000:01C991CA] X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: * X-Spam-Reason: BAYES_00, FORGED_MUA_OUTLOOK, MSGID_FROM_MTA_HEADER, STOX_REPLY_TYPE X-Mailman-Approved-At: Wed, 18 Feb 2009 08:54:14 -0600 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 13:11:40 -0000 Yes, that's exactly what I wanted. I just overlooked the obvious answer. Thanks, Steve ----- Original Message ----- From: "Søren Hauberg" To: "Steve Jeffrey" Cc: Sent: Monday, February 16, 2009 3:59 PM Subject: Re: zero crossing determination in octave? > fre, 13 02 2009 kl. 08:56 -0800, skrev Steve Jeffrey: >> How can it be modified to find the crossings of an arbitrary trigger >> parameter instead of 0 where there could be lots of noise? I had a look, >> but it's definitely a non-trivial task for me. > > I'm not quite sure I understand. The function I sent could find zero > crossings in a function given by a matrix. Do you just want to find > positions where such a function crosses a different value rather than > zero? I.e. find places where > > f (x, y) == alpha > > instead of > > f (x, y) == 0 > > ? If so, you can just use the function I sent to find > > f (x, y) - alpha == 0 > > i.e. just subtract alpha from your matrix, and then find zero crossings. > Is that what you wanted? Otherwise you'll have to be more specific. > > S?ren > > From rob@utk.edu Wed Feb 18 10:19:15 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1IGJF8x000993 for ; Wed, 18 Feb 2009 10:19:15 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1IGJFmf025065 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 18 Feb 2009 10:19:15 -0600 Received: from leopard.mail.utk.edu (leopard.mail.utk.edu [160.36.0.85]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1IGJDFH019070 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 18 Feb 2009 10:19:15 -0600 Received: from [160.36.238.155] (chimera.nomads.utk.edu [160.36.238.155]) (authenticated bits=0) by leopard.mail.utk.edu (8.13.6/8.13.4) with ESMTP id n1IGJCBC022556 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 18 Feb 2009 11:19:13 -0500 In-Reply-To: <240126.43168.qm@web95210.mail.in2.yahoo.com> References: <240126.43168.qm@web95210.mail.in2.yahoo.com> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <5D12749E-7D58-4E31-95BD-9247CB54CD74@utk.edu> From: Rob Mahurin Subject: Re: decoding error message Date: Wed, 18 Feb 2009 11:19:11 -0500 To: dend_15@yahoo.com X-Mailer: Apple Mail (2.753.1) X-SMTP-Auth: auth_authen=mwahaha X-Spam-Status: Message recipients not local. X-Scanned-By: MIMEDefang 2.53 on 160.36.0.85 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1IGJF8x000993 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RCVD_IN_DNSWL_MED Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 16:19:17 -0000 On Feb 17, 2009, at 11:55 PM, asha g wrote: > --- On Wed, 18/2/09, Jordi Gutiérrez Hermoso > wrote: >> 2009/2/17 asha g : >>> This is the message i get after running it on Octave >> 3.0 >>> >>> gnuplot: unable to open display ':0.0' >>> gnuplot: X11 aborted. >> >> Are you sshed into the machine that is running gnuplot? If >> so, are you >> X-forwarding properly? Usually all you have to do is >> something like >> "ssh asha@remotemachine -X" (notice it's >> uppercase, not lowercase). >> >> - Jordi G. H. > > I am on the same machine that I normally use. So no sshing. I did > use screen -L for my work as it runs for a long time. Could that be > the problem ? If it is, screen -L xterm will also have problems. Though I sometimes have long-lived X sessions and long-lived shells lose touch with each other. VNC is a good suggestion. If it's all local, you'd do $ vncserver :42 $ vncviewer :42 & $ DISPLAY=:42 screen -L octave and you have a detachable octave process sending its graphics to a detachable X session. Rob -- Rob Mahurin Department of Physics and Astronomy University of Tennessee 865 207 2594 Knoxville, TN 37996 rob@utk.edu From rcotza@mac.com Wed Feb 18 12:07:31 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1II7V1m028175 for ; Wed, 18 Feb 2009 12:07:31 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1II7UQt002044 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 18 Feb 2009 12:07:30 -0600 Received: from asmtpout021.mac.com (asmtpout021.mac.com [17.148.16.96]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1II7Rql017180 for ; Wed, 18 Feb 2009 12:07:30 -0600 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [10.0.1.190] ([192.167.134.199]) by asmtp021.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPA id <0KF9003C2WZZKD70@asmtp021.mac.com> for help@octave.org; Wed, 18 Feb 2009 10:07:13 -0800 (PST) Message-id: From: Raffaele Cotza To: help@octave.org Subject: PLOTTING WITH OCTAVE Date: Wed, 18 Feb 2009 19:07:11 +0100 X-Mailer: Apple Mail (2.930.3) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, SUBJ_ALL_CAPS X-Mailman-Approved-At: Wed, 18 Feb 2009 12:14:39 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 18:07:32 -0000 I HAVE OBTAINED THE FOLLOWING MESSAGE: octave-3.0.3:14> plot (t,x) sh: gnuplot: command not found sh: gnuplot: command not found error: you must have gnuplot installed to display graphics; if you have gnuplot installed in a non-standard location, see the 'gnuplot_binary' function HAW I CAN RESOUD THE PROBLEM. THANK YOU RAFFAELE COTZA From soren@hauberg.org Wed Feb 18 12:22:42 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1IIMfx3002094 for ; Wed, 18 Feb 2009 12:22:41 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1IIMfUP012129 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 18 Feb 2009 12:22:41 -0600 Received: from mailserver.fabermail.dk (cpe.atm4-0-71392.bynxx17.customer.tele.dk [80.196.107.166]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1IIMd1V024426 for ; Wed, 18 Feb 2009 12:22:41 -0600 Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id 58713D39FF; Wed, 18 Feb 2009 19:22:28 +0100 (CET) X-Virus-Scanned: by amavisd-new Received: from mailserver.fabermail.dk ([127.0.0.1]) by localhost (mailserver.fabermail.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gii5ttDHg7lA; Wed, 18 Feb 2009 19:22:27 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id 47713D3A00; Wed, 18 Feb 2009 19:22:27 +0100 (CET) Received: from [10.0.0.2] (1385165240.dhcp.dbnet.dk [82.143.241.184]) by mailserver.fabermail.dk (Postfix) with ESMTP id 1780CD39FF; Wed, 18 Feb 2009 19:22:27 +0100 (CET) Subject: Re: PLOTTING WITH OCTAVE From: =?ISO-8859-1?Q?S=F8ren?= Hauberg To: Raffaele Cotza In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Wed, 18 Feb 2009 19:22:31 +0100 Message-Id: <1234981351.6879.18.camel@sh-t400> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 8bit X-Seen-By: Mailfromd 3.1.3 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RDNS_DYNAMIC Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 18:22:43 -0000 ons, 18 02 2009 kl. 19:07 +0100, skrev Raffaele Cotza: > I HAVE OBTAINED THE FOLLOWING MESSAGE: > octave-3.0.3:14> plot (t,x) > sh: gnuplot: command not found > sh: gnuplot: command not found > error: you must have gnuplot installed to display graphics; if you > have gnuplot installed in a non-standard location, see the > 'gnuplot_binary' function > HAW I CAN RESOUD THE PROBLEM. > THANK YOU > RAFFAELE COTZA You can install the 'gnuplot' program. Søren From mc303@telenet.be Wed Feb 18 12:45:10 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1IIjA2X007781 for ; Wed, 18 Feb 2009 12:45:10 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1IIjAiF026124 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 18 Feb 2009 12:45:10 -0600 Received: from brigitte.telenet-ops.be (brigitte.telenet-ops.be [195.130.137.66]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1IIj7Ps030371 for ; Wed, 18 Feb 2009 12:45:09 -0600 Received: from simba ([81.164.88.240]) by brigitte.telenet-ops.be with bizsmtp id HWl61b00A5B8EkZ06Wl6Ui; Wed, 18 Feb 2009 19:45:06 +0100 Received: from mc303 by simba with local (Exim 4.69) (envelope-from ) id 1LZrPu-0002Ur-1m for help@octave.org; Wed, 18 Feb 2009 19:45:06 +0100 Date: Wed, 18 Feb 2009 19:45:06 +0100 From: Bart Vandewoestyne To: help@octave.org Subject: 3D animation Message-ID: <20090218184506.GA9574@simba> Mail-Followup-To: help@octave.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 18:45:15 -0000 Hello, I have a function F(x,y,t) of space (x,y) and time (t) and I would like to create an animation of it that I can run in Octave. I tried something like the following: clf; nb_tics = 100; [x, y] = meshgrid(linspace(0,300,nb_tics), linspace(0,500,nb_tics)); surf(x, y, F(x,y,0)); hold on drawnow t = [0.1:0.1:5]; for i = 1:length(t) surf( x, y, F(x,y,t(i)) ); drawnow end But with this code, the updating of the figure window is not done fast enough and the animation is absolutely not fluent, even on my recent HP laptop. Could somebody tell me what method to use in order to make the animation more fluent? Pointers to relevant information on the Internet are also welcome, as my Google search didn't come up with any useful pages yet... Thanks, Bart -- "Share what you know. Learn what you don't." From jwe@octave.org Wed Feb 18 12:48:43 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1IImhVN008811 for ; Wed, 18 Feb 2009 12:48:43 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1IImh80028296 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 18 Feb 2009 12:48:43 -0600 Received: from spaceymail-a7.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1IImhxf031095 for ; Wed, 18 Feb 2009 12:48:43 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a7.g.dreamhost.com (Postfix) with ESMTP id 7F3D214293; Wed, 18 Feb 2009 10:48:42 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18844.22536.499066.618997@segfault.lan> Date: Wed, 18 Feb 2009 13:48:40 -0500 To: Bart Vandewoestyne Subject: 3D animation In-Reply-To: <20090218184506.GA9574@simba> References: <20090218184506.GA9574@simba> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 18:48:44 -0000 On 18-Feb-2009, Bart Vandewoestyne wrote: | Hello, | | I have a function F(x,y,t) of space (x,y) and time (t) and I | would like to create an animation of it that I can run in Octave. | | I tried something like the following: | | clf; | | nb_tics = 100; | [x, y] = meshgrid(linspace(0,300,nb_tics), linspace(0,500,nb_tics)); | | surf(x, y, F(x,y,0)); | hold on | drawnow | | t = [0.1:0.1:5]; | for i = 1:length(t) | surf( x, y, F(x,y,t(i)) ); | drawnow | end | | | But with this code, the updating of the figure window is not done fast enough | and the animation is absolutely not fluent, even on my recent HP laptop. | | Could somebody tell me what method to use in order to make the animation | more fluent? Pointers to relevant information on the Internet are also | welcome, as my Google search didn't come up with any useful pages yet... What is F in the above? In any case, this is most likely a limitation of the speed of 3D rendering in gnuplot, but I'd be interested to see exactly what you are seeing, so it would be helpful if you could post a complete working example. jwe From jordigh@gmail.com Wed Feb 18 12:54:57 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1IIsuHk010310 for ; Wed, 18 Feb 2009 12:54:57 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1IIsuMw031944 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 18 Feb 2009 12:54:56 -0600 Received: from yx-out-1718.google.com (yx-out-1718.google.com [74.125.44.153]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1IIstC7032621 for ; Wed, 18 Feb 2009 12:54:56 -0600 Received: by yx-out-1718.google.com with SMTP id 3so17841yxi.24 for ; Wed, 18 Feb 2009 10:54:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.151.142.16 with SMTP id u16mr131650ybn.148.1234983295018; Wed, 18 Feb 2009 10:54:55 -0800 (PST) In-Reply-To: <20090218184506.GA9574@simba> References: <20090218184506.GA9574@simba> Date: Wed, 18 Feb 2009 12:54:54 -0600 Message-ID: <9543b3a40902181054t7f3582a1i9a4477c3793b3224@mail.gmail.com> Subject: Re: 3D animation From: =?UTF-8?Q?Jordi_Guti=C3=A9rrez_Hermoso?= To: help@octave.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 18:55:00 -0000 2009/2/18 Bart Vandewoestyne : > I have a function F(x,y,t) of space (x,y) and time (t) and I > would like to create an animation of it that I can run in Octave. This is something I often want to do too, but currently Octave doesn't make it too easy to do so. What I currently do is print (type "help print") each frame, and later stitch them together in post-processing with ffmpeg or mplayer into a veritable movie: http://platinum.linux.pl/~jordi/movies/nonradial.ogg It might be worthwhile to formalise this process more by implementing Matlab's movie functions in Octave-Forge. I could have a stab at it, and if someone is interested in this functionality then I feel more motivated to do it. - Jordi G. H. From soren@hauberg.org Wed Feb 18 13:04:55 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1IJ4tjc013170 for ; Wed, 18 Feb 2009 13:04:55 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1IJ4tL0005935 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 18 Feb 2009 13:04:55 -0600 Received: from mailserver.fabermail.dk (cpe.atm4-0-71392.bynxx17.customer.tele.dk [80.196.107.166]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1IJ4qf6023097 for ; Wed, 18 Feb 2009 13:04:55 -0600 Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id 71A48D39FF; Wed, 18 Feb 2009 20:04:41 +0100 (CET) X-Virus-Scanned: by amavisd-new Received: from mailserver.fabermail.dk ([127.0.0.1]) by localhost (mailserver.fabermail.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xf+1no7p+8lI; Wed, 18 Feb 2009 20:04:40 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailserver.fabermail.dk (Postfix) with ESMTP id 42898D3A00; Wed, 18 Feb 2009 20:04:40 +0100 (CET) Received: from [10.0.0.2] (1385165240.dhcp.dbnet.dk [82.143.241.184]) by mailserver.fabermail.dk (Postfix) with ESMTP id 851ACD39FF; Wed, 18 Feb 2009 20:04:39 +0100 (CET) Subject: Re: 3D animation From: =?ISO-8859-1?Q?S=F8ren?= Hauberg To: Jordi =?ISO-8859-1?Q?Guti=E9rrez?= Hermoso In-Reply-To: <9543b3a40902181054t7f3582a1i9a4477c3793b3224@mail.gmail.com> References: <20090218184506.GA9574@simba> <9543b3a40902181054t7f3582a1i9a4477c3793b3224@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" Date: Wed, 18 Feb 2009 20:04:38 +0100 Message-Id: <1234983878.6879.26.camel@sh-t400> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 8bit X-Seen-By: Mailfromd 3.1.3 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RDNS_DYNAMIC Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 19:04:57 -0000 ons, 18 02 2009 kl. 12:54 -0600, skrev Jordi Gutiérrez Hermoso: > It might be worthwhile to formalise this process more by implementing > Matlab's movie functions in Octave-Forge. I could have a stab at it, > and if someone is interested in this functionality then I feel more > motivated to do it. Well, I'd like to see this happen as I do this fairly often as well. There is a 'video' package in Octave-Forge that might do something like this, but I've never gotten around to looking into this package. Søren From mc303@telenet.be Wed Feb 18 14:12:46 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1IKCk0C002438 for ; Wed, 18 Feb 2009 14:12:46 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1IKCjbb017095 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 18 Feb 2009 14:12:46 -0600 Received: from georges.telenet-ops.be (georges.telenet-ops.be [195.130.137.68]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1IKCbFw008969 for ; Wed, 18 Feb 2009 14:12:44 -0600 Received: from simba ([81.164.88.240]) by georges.telenet-ops.be with bizsmtp id HXZE1b0015B8EkZ06XZEkn; Wed, 18 Feb 2009 20:33:15 +0100 Received: from mc303 by simba with local (Exim 4.69) (envelope-from ) id 1LZsAU-0002ZZ-3y; Wed, 18 Feb 2009 20:33:14 +0100 Date: Wed, 18 Feb 2009 20:33:14 +0100 From: Bart Vandewoestyne To: "John W. Eaton" Subject: Re: 3D animation Message-ID: <20090218193314.GC9738@simba> Mail-Followup-To: "John W. Eaton" , help@octave.org References: <20090218184506.GA9574@simba> <18844.22536.499066.618997@segfault.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18844.22536.499066.618997@segfault.lan> User-Agent: Mutt/1.5.18 (2008-05-17) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 20:12:47 -0000 On Wed, Feb 18, 2009 at 01:48:40PM -0500, John W. Eaton wrote: > > What is F in the above? > > In any case, this is most likely a limitation of the speed of 3D > rendering in gnuplot, but I'd be interested to see exactly what you > are seeing, so it would be helpful if you could post a complete > working example. For now, this is what I use for F: function y = F(x, y, t) A = 1.0e4; xs = 125; ys = 150; wx = 3; wy = 3; f = 250.0e3; w = 2/f; p = 2; sw = 3/f; y = A*exp(-0.5*((x-xs)/wx).^2).*exp(-0.5*((y-ys)/wy).^2) ... *sin(2*pi*f*t); I would like to animate the pulse going up and down. Regards, Bart -- "Share what you know. Learn what you don't." From Potorti@isti.cnr.it Wed Feb 18 16:27:25 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1IMRPcf013673 for ; Wed, 18 Feb 2009 16:27:25 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1IMRPWq009060 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 18 Feb 2009 16:27:25 -0600 Received: from ITANIUM.ISTI.CNR.IT (mx4.isti.cnr.it [194.119.192.6]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1IMRLRA031262 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 18 Feb 2009 16:27:25 -0600 Received: from conversionlocal.isti.cnr.it by mx.isti.cnr.it (PMDF V6.4 #31598) id <01N5NU6RQT1CA25V4M@mx.isti.cnr.it> for help@octave.org; Wed, 18 Feb 2009 23:26:19 +0100 (MET) Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by mx.isti.cnr.it (PMDF V6.4 #31598) with ESMTPSA id <01N5NU78JEDMA5WFCN@mx.isti.cnr.it>; Wed, 18 Feb 2009 23:26:40 +0100 Received: from pot by tucano.isti.cnr.it with local (Exim 4.69) (envelope-from ) id 1LZusK-0008KD-7P; Wed, 18 Feb 2009 23:26:40 +0100 Date: Wed, 18 Feb 2009 23:26:40 +0100 From: Francesco Potorti` Subject: Re: 3D animation In-reply-to: <9543b3a40902181054t7f3582a1i9a4477c3793b3224@mail.gmail.com> To: Jordi Gutierrez Hermoso Message-id: Organization: MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 References: <20090218184506.GA9574@simba> <9543b3a40902181054t7f3582a1i9a4477c3793b3224@mail.gmail.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 22:27:26 -0000 >It might be worthwhile to formalise this process more by implementing >Matlab's movie functions in Octave-Forge. I could have a stab at it, >and if someone is interested in this functionality then I feel more >motivated to do it. I have a movie function I wrote and used myself, but I have no idea if it is compatible with Matlab. It can produce mp4, ogg, mov, mjpeg, avi, mng, gif and swf. You can find it at -- Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.2111) ISTI - Area della ricerca CNR Fax: +39 050 315 2040 via G. Moruzzi 1, I-56124 Pisa Email: Potorti@isti.cnr.it (entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/ From stefan.pofahl@googlemail.com Wed Feb 18 16:54:31 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1IMsV0H021561 for ; Wed, 18 Feb 2009 16:54:31 -0600 (CST) Received: from mail-bw0-f161.google.com (mail-bw0-f161.google.com [209.85.218.161]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1IMsUSR013245 for ; Wed, 18 Feb 2009 16:54:30 -0600 Received: by bwz5 with SMTP id 5so402824bwz.0 for ; Wed, 18 Feb 2009 14:54:24 -0800 (PST) MIME-Version: 1.0 Sender: stefan.pofahl@googlemail.com Received: by 10.223.108.71 with SMTP id e7mr477186fap.33.1234997664325; Wed, 18 Feb 2009 14:54:24 -0800 (PST) In-Reply-To: <69d8d540902101003l19cc731es6534a5dc583407c9@mail.gmail.com> References: <1234286838.27044.13.camel@sh-t400> <69d8d540902101003l19cc731es6534a5dc583407c9@mail.gmail.com> Date: Wed, 18 Feb 2009 23:54:24 +0100 X-Google-Sender-Auth: c3ccf4bcd7f5c5e8 Message-ID: Subject: Re: Strict monotonic X-Values (filter duplicate entries) From: Stefan Pofahl To: help-octave@octave.org Content-Type: text/plain; charset=ISO-8859-1 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1IMsV0H021561 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: stefan@pofahl.de List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 22:54:32 -0000 Hello Jaroslav - Hello Søren! As Jaroslav allready wrote, [Y, I, J] = unique(x) is perfect. - So, thank you for the hint. "I" is the vector of the index-numbers of the strict monotonic vektor elements and Y is the strict monotonic vektor. Regards, Stefan *** 2009/2/10 Jaroslav Hajek : > On Tue, Feb 10, 2009 at 6:27 PM, Søren Hauberg wrote: >> tir, 10 02 2009 kl. 18:09 +0100, skrev Stefan Pofahl: >>> Hello, >>> >>> I wonder, if there is a function to chance a vector into a strict >>> monotonic vector. >>> I found nothing, so I wrote my on routine (see below). >>> If there is more elegant way, it would be fine, if someone can tell me. >> >> I haven't tested this, but could you do >> >> sort (unique (x)) >> >> ? >> >> Søren >> > > unique alone suffices - the result is already sorted. > > cheers > > -- > RNDr. Jaroslav Hajek > computing expert > Aeronautical Research and Test Institute (VZLU) > Prague, Czech Republic > url: www.highegg.matfyz.cz > -- Tel.: 0731-3805149 Ochsensteige 48 89075 Ulm From dend_15@yahoo.com Wed Feb 18 18:17:46 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1J0HkYn012657 for ; Wed, 18 Feb 2009 18:17:46 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1J0Hk0R002073 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 18 Feb 2009 18:17:46 -0600 Received: from web95211.mail.in2.yahoo.com (web95211.mail.in2.yahoo.com [203.104.18.187]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1J0Hi5A029271 for ; Wed, 18 Feb 2009 18:17:45 -0600 Received: (qmail 49584 invoked by uid 60001); 19 Feb 2009 00:17:36 -0000 X-YMail-OSG: iV4rYY8VM1lq3.2.7r8xagDvTuE9T9WU7HCE8kDMma2B4oNrmMY8pEQY64DyAqi9Hbfjkk64HB835fogKLzptGizoGFvdVW5Vf9kaMpvJvSdnHKKnojJeDGpGcZXKKf2z811cZbwLs39gzv50A4IU.dd.MrmnENGGYvU0pAbUfrynknE9n2PlrETFA4PRDpbLuYc1KggzfMVOw2s94oh6CX3yZnJZCd_3L3pye.34GFA_yawJLM- Received: from [220.227.207.12] by web95211.mail.in2.yahoo.com via HTTP; Thu, 19 Feb 2009 05:47:36 IST X-Mailer: YahooMailWebService/0.7.260.1 Date: Thu, 19 Feb 2009 05:47:36 +0530 (IST) From: asha g Subject: Re: decoding error message To: Przemek Klosowski In-Reply-To: <200902181547.KAA86472@jazz.ncnr.nist.gov> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Message-ID: <290224.39830.qm@web95211.mail.in2.yahoo.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1J0HkYn012657 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: dend_15@yahoo.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2009 00:17:48 -0000 When I type xclock- I get a small clock appearing outside of my terminal in which I typed xclock. Asha Goals too clearly defined can become blinkers. Mary Catherine Bateson --- On Wed, 18/2/09, Przemek Klosowski wrote: > From: Przemek Klosowski > Subject: Re: decoding error message > To: dend_15@yahoo.com > Date: Wednesday, 18 February, 2009, 9:17 PM > OS is RedHat Enterprise Linus 4.0. > Octave was downloaded - not sure from where. > > oops, I was wrong then---forget what I said in my previous > message. > You are running in X11 mode, rather than the console (black > screen/white text), right? What happens when you type > 'xclock' > at the command line in your shell window---do you get a new > window > with the clock? Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ From charles.coronella@gmail.com Thu Feb 19 04:16:00 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1JAG07H002356 for ; Thu, 19 Feb 2009 04:16:00 -0600 (CST) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1JAFxpO004957 for ; Thu, 19 Feb 2009 04:16:00 -0600 Received: by wa-out-1112.google.com with SMTP id j32so196863waf.24 for ; Thu, 19 Feb 2009 02:15:58 -0800 (PST) MIME-Version: 1.0 Sender: charles.coronella@gmail.com Received: by 10.114.14.8 with SMTP id 8mr3241377wan.76.1235038558742; Thu, 19 Feb 2009 02:15:58 -0800 (PST) Date: Thu, 19 Feb 2009 02:15:58 -0800 X-Google-Sender-Auth: 8f3c94fffe808694 Message-ID: <1a042a880902190215q6b9857a8l976dfc76c178bd3b@mail.gmail.com> Subject: Segmentation fault- clear -all From: Charles Coronella To: help-octave@octave.org Content-Type: multipart/alternative; boundary=00163641768593e801046342d279 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, HTML_MESSAGE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2009 10:16:02 -0000 --00163641768593e801046342d279 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I'm experiencing some very frustrating problems with Octave. Its behavior seems to be quite erratic. Two important symptoms: 1) Issuing "clear -all" will cause a segmentation fault. Every time. Here's the message I see: panic: Segmentation fault -- stopping myself... attempting to save variables to `octave-core'... save to `octave-core' complete 2) Changes made to .m files are occasionally used. Occasionally not. No kidding. I can change a line in an .m file, and Octave keeps running the previous version of that .m file. Restarting Octave works, but do I need to restart the program every time I make an edit? That is not too efficient. I'd guess there's an installation error, so here's what I think are the important data: Octave, version 3.0.3, configured for i686-pc-msdosmsvc. My computer runs Windows XP. I'm open to suggestions. --00163641768593e801046342d279 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I'm experiencing some very frustrating problems with Octave. Its behavi= or seems to be quite erratic. Two important symptoms:

1) Issuing &qu= ot;clear -all" will cause a segmentation fault. Every time. Here's= the message I see:
panic: Segmentation fault -- stopping myself...
attempting to save = variables to `octave-core'...
save to `octave-core' complete
=
2) Changes made to .m files are occasionally used. Occasionally n= ot. No kidding. I can change a line in an .m file, and Octave keeps running= the previous version of that .m file. Restarting Octave works, but do I ne= ed to restart the program every time I make an edit? That is not too effici= ent.

I'd guess there's an installation error, so here's what I t= hink are the important data: Octave, version 3.0.3, configured for i686-pc-= msdosmsvc. My computer runs Windows XP.

I'm open to suggestions.=
--00163641768593e801046342d279-- From wsloand@gmail.com Thu Feb 19 05:41:27 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1JBfRRS022979 for ; Thu, 19 Feb 2009 05:41:27 -0600 (CST) Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.152]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1JBfPrD021516 for ; Thu, 19 Feb 2009 05:41:26 -0600 Received: by yw-out-1718.google.com with SMTP id 5so123046ywm.24 for ; Thu, 19 Feb 2009 03:41:25 -0800 (PST) Received: by 10.151.114.13 with SMTP id r13mr907638ybm.71.1235043685167; Thu, 19 Feb 2009 03:41:25 -0800 (PST) Received: from ?172.31.1.101? ([96.245.102.88]) by mx.google.com with ESMTPS id m30sm2888424elf.12.2009.02.19.03.41.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 19 Feb 2009 03:41:24 -0800 (PST) Sender: Bill Denney Message-ID: <499D4544.2000703@denney.ws> Date: Thu, 19 Feb 2009 06:40:52 -0500 From: Bill Denney User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Charles Coronella Subject: Re: Segmentation fault- clear -all References: <1a042a880902190215q6b9857a8l976dfc76c178bd3b@mail.gmail.com> In-Reply-To: <1a042a880902190215q6b9857a8l976dfc76c178bd3b@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2009 11:41:28 -0000 Charles Coronella wrote: > I'm experiencing some very frustrating problems with Octave. Its > behavior seems to be quite erratic. Two important symptoms: > > 1) Issuing "clear -all" will cause a segmentation fault. Every time. > Here's the message I see: > panic: Segmentation fault -- stopping myself... > attempting to save variables to `octave-core'... > save to `octave-core' complete > > > 2) Changes made to .m files are occasionally used. Occasionally not. > No kidding. I can change a line in an .m file, and Octave keeps > running the previous version of that .m file. Restarting Octave works, > but do I need to restart the program every time I make an edit? That > is not too efficient. > > I'd guess there's an installation error, so here's what I think are > the important data: Octave, version 3.0.3, configured for > i686-pc-msdosmsvc. My computer runs Windows XP. Hi Charles, This is a known bug that I think has been fixed. Please see http://www-old.cae.wisc.edu/pipermail/bug-octave/2009-February/007984.html Thanks, Bill From j.c.rodriguezperez@reading.ac.uk Thu Feb 19 06:26:01 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1JCQ14k004256 for ; Thu, 19 Feb 2009 06:26:01 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1JCQ1vd025519 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 19 Feb 2009 06:26:01 -0600 Received: from vimg1.rdg.ac.uk (vimg1.rdg.ac.uk [134.225.1.81]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1JCPtUb029260 for ; Thu, 19 Feb 2009 06:26:00 -0600 Received: from vimp2.rdg.ac.uk ([134.225.2.34]) by vimg1.rdg.ac.uk (Exim: outgoing gateway) with esmtp id 1La7yQ-0002jQ-8j for help@octave.org; Thu, 19 Feb 2009 12:25:50 +0000 Received: from scpc95.rdg.ac.uk ([134.225.50.184]) by vimp2.rdg.ac.uk (Exim: virusscanner) with esmtpsa id 1La7yP-0007pB-VO for help@octave.org; Thu, 19 Feb 2009 12:25:50 +0000 Message-ID: <499D4FB5.70500@reading.ac.uk> Date: Thu, 19 Feb 2009 12:25:25 +0000 From: Jose Rodriguez Organization: School of Chemistry. University of Reading User-Agent: Thunderbird 2.0.0.19 (X11/20081209) MIME-Version: 1.0 To: help@octave.org Subject: Compile gcvspl Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Scan-Signature: d74cb421c9d23a344bd3caab432928c6 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RCVD_IN_DNSWL_MED, SARE_SUB_6CONS_WORD, WEIRD_PORT X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2009 12:26:02 -0000 Hi. I'm having some trouble trying to compile gcvspl in my work computer. Everything went fine in my laptop, but at work something is missing. When I do mkoctfile gcvspl.cc gcvsplf.f I obtain: gcvsplf.f:686.5: 20 JJ = 0 1 Warning: Label 20 at (1) defined but not used In file included from /usr/include/octave-3.0.0/octave/oct-obj.h:33, from /usr/include/octave-3.0.0/octave/ov-fcn.h:33, from /usr/include/octave-3.0.0/octave/ov-builtin.h:29, from /usr/include/octave-3.0.0/octave/defun-int.h:29, from /usr/include/octave-3.0.0/octave/defun-dld.h:31, from gcvspl.cc:23: /usr/include/octave-3.0.0/octave/ov.h:34:18: error: hdf5.h: No such file or directory In file included from /usr/include/octave-3.0.0/octave/ov.h:59, from /usr/include/octave-3.0.0/octave/oct-obj.h:33, from /usr/include/octave-3.0.0/octave/ov-fcn.h:33, from /usr/include/octave-3.0.0/octave/ov-builtin.h:29, from /usr/include/octave-3.0.0/octave/defun-int.h:29, from /usr/include/octave-3.0.0/octave/defun-dld.h:31, from gcvspl.cc:23: /usr/include/octave-3.0.0/octave/ov-base.h:434: error: ‘hid_t’ has not been declared /usr/include/octave-3.0.0/octave/ov-base.h:437: error: ‘hid_t’ has not been declared In file included from /usr/include/octave-3.0.0/octave/oct-obj.h:33, from /usr/include/octave-3.0.0/octave/ov-fcn.h:33, from /usr/include/octave-3.0.0/octave/ov-builtin.h:29, from /usr/include/octave-3.0.0/octave/defun-int.h:29, from /usr/include/octave-3.0.0/octave/defun-dld.h:31, from gcvspl.cc:23: /usr/include/octave-3.0.0/octave/ov.h:826: error: ‘hid_t’ has not been declared /usr/include/octave-3.0.0/octave/ov.h:829: error: ‘hid_t’ has not been declared My computer administrator told me that he has installed the development tools, debugging info and Octave sources, but something is still missing. Could that be the development hdf5 libraries? Also, I naively tried to run the oct file compiled in my laptop and it refuses complaining about error: liblapack.so.3gf: cannot open shared object file: No such file or directory Could you give me some help to have gcvspl available? Thanks Jose From bounces@nabble.com Thu Feb 19 07:26:17 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1JDQGY3020384 for ; Thu, 19 Feb 2009 07:26:16 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1JDQ5Mq025188 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 19 Feb 2009 07:26:16 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1La8uh-0007JU-Dy for help-octave@octave.org; Thu, 19 Feb 2009 05:26:03 -0800 Message-ID: <22100347.post@talk.nabble.com> Date: Thu, 19 Feb 2009 05:26:03 -0800 (PST) From: dbateman To: help-octave@octave.org Subject: Re: Compile gcvspl In-Reply-To: <499D4FB5.70500@reading.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Nabble-From: dbateman@free.fr References: <499D4FB5.70500@reading.ac.uk> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1JDQGY3020384 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, SARE_SUB_6CONS_WORD, SPF_HELO_PASS, WHOIS_MYPRIVREG X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2009 13:26:18 -0000 Jose Rodriguez-6 wrote: > > Hi. > > I'm having some trouble trying to compile gcvspl in my work > computer. Everything went fine in my laptop, but at work > something is missing. When I do > > mkoctfile gcvspl.cc gcvsplf.f > > I obtain: > > > /usr/include/octave-3.0.0/octave/ov-base.h:434: error: > ‘hid_t’ has not been declared > /usr/include/octave-3.0.0/octave/ov-base.h:437: error: > ‘hid_t’ has not been declared > > My computer administrator told me that he has installed the > development tools, debugging info and Octave sources, but > something is still missing. Could that be the development > hdf5 libraries? > Yes hid_t is an HDF5 type and so yes installing the HDF5 development package is probably want you want. > Also, I naively tried to run the oct file compiled in my > laptop and it refuses complaining about > > error: liblapack.so.3gf: cannot open shared object file: No > such file or directory > You probably don't have the same setup of your libraries because you probably don't have the same OS on both systems. D. -- View this message in context: http://www.nabble.com/Compile-gcvspl-tp22099395p22100347.html Sent from the Octave - General mailing list archive at Nabble.com. From arnoques@gmail.com Thu Feb 19 10:57:23 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1JGvNEX016394 for ; Thu, 19 Feb 2009 10:57:23 -0600 (CST) Received: from mail-bw0-f161.google.com (mail-bw0-f161.google.com [209.85.218.161]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1JGvK0V011671 for ; Thu, 19 Feb 2009 10:57:22 -0600 Received: by bwz5 with SMTP id 5so1463316bwz.0 for ; Thu, 19 Feb 2009 08:57:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.222.1 with SMTP id z1mr735827muq.51.1235062634463; Thu, 19 Feb 2009 08:57:14 -0800 (PST) Date: Thu, 19 Feb 2009 13:57:14 -0300 Message-ID: Subject: Re:Distinguishing Octave from Matlab From: Pablo To: help-octave@octave.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2009 16:57:24 -0000 Sorry to bump in, but I was looking for a way to distinguish octave from matlab, and I found this thread, with the solution provided by Ben Abbott: > Distinguishing between Matlab and Octave may be done as, > > v = ver; > if (strcmpi(v(1).Name,'matlab') > % Matlab code here > elseif (strcmpi(v(1).Name,'octave') > % Octave code here > end > > Ben However, when I tried it in matlab, I got unexpected results: >> v=ver; >> v(1).Name ans = Aerospace Blockset >> help ver VER MATLAB, Simulink and toolbox version information. VER displays the current MATLAB, Simulink and toolbox version information. VER(TOOLBOX_DIR) displays the current version information for the toolbox specified by the string TOOLBOX_DIR. As stated in the help, the command ver gives a long list of version numbers (one for each toolbox), so it takes a lot of time, several seconds on my PC. Moreover, the 'matlab' toolbox is not first in that list. David Bateman suggested the following: >> v=ver('matlab') v = Name: 'MATLAB' Version: '7.0.4' Release: '(R14SP2)' Date: '21-Jan-2005' >> v=ver('octave') v = 0x0 struct array with fields: Name Version Release Date That's way faster, and worked fine. I just suscribed to the list to second his suggestion, in case it wasn't clear that it works better. So the code should be something like (I haven't tested it in octave) v1 = ver('matlab'); v2 = ver('octave'); if (strcmpi(v1.Name,'matlab')) % Matlab code here elseif (strcmpi(v2.Name,'octave')) % Octave code here end Arnoques From jgpallero@gmail.com Thu Feb 19 11:05:35 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1JH5Ygw018821 for ; Thu, 19 Feb 2009 11:05:35 -0600 (CST) Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.152]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1JH5WG6015893 for ; Thu, 19 Feb 2009 11:05:34 -0600 Received: by yw-out-1718.google.com with SMTP id 5so181156ywm.24 for ; Thu, 19 Feb 2009 09:05:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.150.139.15 with SMTP id m15mr1148158ybd.95.1235063132575; Thu, 19 Feb 2009 09:05:32 -0800 (PST) In-Reply-To: References: Date: Thu, 19 Feb 2009 18:05:32 +0100 Message-ID: <323eda50902190905x70b8b332je996d638ae98dd21@mail.gmail.com> Subject: Re: Distinguishing Octave from Matlab From: =?ISO-8859-1?Q?Jos=E9_Luis_Garc=EDa_Pallero?= To: Pablo Content-Type: multipart/alternative; boundary=000e0cd59cf04ada4f0463488b40 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2009 17:05:36 -0000 --000e0cd59cf04ada4f0463488b40 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Here, you have possible solutions: http://www-old.cae.wisc.edu/pipermail/help-octave/2007-April/003809.html http://www-old.cae.wisc.edu/pipermail/help-octave/2007-May/003814.html 2009/2/19 Pablo > Sorry to bump in, but I was looking for a way to distinguish octave > from matlab, and I found this thread, with the solution provided by > Ben Abbott: > > > Distinguishing between Matlab and Octave may be done as, > > > > v =3D ver; > > if (strcmpi(v(1).Name,'matlab') > > % Matlab code here > > elseif (strcmpi(v(1).Name,'octave') > > % Octave code here > > end > > > > Ben > > However, when I tried it in matlab, I got unexpected results: > > >> v=3Dver; > >> v(1).Name > ans =3D Aerospace Blockset > >> help ver > VER MATLAB, Simulink and toolbox version information. > VER displays the current MATLAB, Simulink and toolbox version > information. > VER(TOOLBOX_DIR) displays the current version information for the > toolbox specified by the string TOOLBOX_DIR. > > > As stated in the help, the command ver gives a long list of version > numbers (one for each toolbox), so it takes a lot of time, several > seconds on my PC. Moreover, the 'matlab' toolbox is not first in that > list. David Bateman suggested the following: > > >> v=3Dver('matlab') > v =3D > Name: 'MATLAB' > Version: '7.0.4' > Release: '(R14SP2)' > Date: '21-Jan-2005' > > >> v=3Dver('octave') > v =3D > 0x0 struct array with fields: > Name > Version > Release > Date > > That's way faster, and worked fine. I just suscribed to the list to > second his suggestion, in case it wasn't clear that it works better. > So the code should be something like (I haven't tested it in octave) > > v1 =3D ver('matlab'); > v2 =3D ver('octave'); > if (strcmpi(v1.Name,'matlab')) > % Matlab code here > elseif (strcmpi(v2.Name,'octave')) > % Octave code here > end > > > Arnoques > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > --=20 ***************************************** Jos=E9 Luis Garc=EDa Pallero jgpallero@gmail.com (o< / / \ V_/_ Use Debian GNU/Linux and enjoy! ***************************************** --000e0cd59cf04ada4f0463488b40 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Here, you have possible solutions:

http://www-old.cae.wisc= .edu/pipermail/help-octave/2007-April/003809.html
http://www= -old.cae.wisc.edu/pipermail/help-octave/2007-May/003814.html

2009/2/19 Pablo <arnoques@gmail.com>
Sorry to bump in, but I was looking for a way to distinguish octave
from matlab, and I found this thread, with the solution provided by
Ben Abbott:

> Distinguishing between Matlab and Octave may be done as,
>
>       v =3D ver;
>       if (strcmpi(v(1).Name,'matlab')
>         % Matlab code here
>       elseif (strcmpi(v(1).Name,'octave')
>         % Octave code here
>       end
>
> Ben

 However, when I tried it in matlab, I got unexpected results:

>> v=3Dver;
>> v(1).Name
ans =3D Aerospace Blockset
>> help ver
 VER MATLAB, Simulink and toolbox version information.
   VER displays the current MATLAB, Simulink and toolbox version= information.
   VER(TOOLBOX_DIR) displays the current version information for= the
   toolbox specified by the string TOOLBOX_DIR.


As stated in the help, the command ver gives a long list of version
numbers (one for each toolbox), so it takes a lot of time, several
seconds on my PC. Moreover, the 'matlab' toolbox is not first in th= at
list. David Bateman suggested the following:

>> v=3Dver('matlab')
v =3D
      Name: 'MATLAB'
   Version: '7.0.4'
   Release: '(R14SP2)'
      Date: '21-Jan-2005'

>> v=3Dver('octave')
v =3D
0x0 struct array with fields:
   Name
   Version
   Release
   Date

That's way faster, and worked fine. I just suscribed to the list to
second his suggestion, in case it wasn't clear that it works better. So the code should be something like (I haven't tested it in octave)
v1 =3D ver('matlab');
v2 =3D ver('octave');
if (strcmpi(v1.Name,'matlab'))
       % Matlab code here
elseif (strcmpi(v2.Name,'octave'))
       % Octave code here
end


Arnoques
_______________________________________________
Help-octave mailing list
Help-octave@octave.org
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave<= br>



--
***********************= ******************
Jos=E9 Luis Garc=EDa Pallero
jgpallero@gmail.com
(o<
/ / \
V_/_
Use= Debian GNU/Linux and enjoy!
*****************************************
--000e0cd59cf04ada4f0463488b40-- From jwe@octave.org Thu Feb 19 11:36:33 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1JHaXvo026072 for ; Thu, 19 Feb 2009 11:36:33 -0600 (CST) Received: from spaceymail-a4.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1JHaUeM008731 for ; Thu, 19 Feb 2009 11:36:33 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a4.g.dreamhost.com (Postfix) with ESMTP id 607621614F8; Thu, 19 Feb 2009 09:36:29 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Message-ID: <18845.39068.13078.788963@segfault.lan> Date: Thu, 19 Feb 2009 12:36:28 -0500 To: =?iso-8859-1?Q?Jos=E9?= Luis =?iso-8859-1?Q?Garc=EDa?= Pallero Subject: Re: Distinguishing Octave from Matlab In-Reply-To: <323eda50902190905x70b8b332je996d638ae98dd21@mail.gmail.com> References: <323eda50902190905x70b8b332je996d638ae98dd21@mail.gmail.com> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1JHaXvo026072 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2009 17:36:34 -0000 On 19-Feb-2009, José Luis García Pallero wrote: | Here, you have possible solutions: | | http://www-old.cae.wisc.edu/pipermail/help-octave/2007-April/003809.html | http://www-old.cae.wisc.edu/pipermail/help-octave/2007-May/003814.html Probably the best solution is something similar to David's suggestion of: function in = inoctave () persistent inout = exist("OCTAVE_VERSION","builtin") != 0; in = inout; endfunction but that won't work in Matlab, so you'll need to write it as function retval = inoctave () persistent inout; if (isempty (inout)) inout = exist ('OCTAVE_VERSION', 'builtin') ~= 0; end retval = inout; end If this isn't in the FAQ, it should be. jwe From jgpallero@gmail.com Thu Feb 19 11:45:02 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1JHj2CF027613 for ; Thu, 19 Feb 2009 11:45:02 -0600 (CST) Received: from mail-gx0-f179.google.com (mail-gx0-f179.google.com [209.85.217.179]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1JHj0WC026452; Thu, 19 Feb 2009 11:45:01 -0600 Received: by gxk27 with SMTP id 27so1430137gxk.0 for ; Thu, 19 Feb 2009 09:44:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.151.110.9 with SMTP id n9mr1169948ybm.138.1235065495505; Thu, 19 Feb 2009 09:44:55 -0800 (PST) In-Reply-To: <18845.39068.13078.788963@segfault.lan> References: <323eda50902190905x70b8b332je996d638ae98dd21@mail.gmail.com> <18845.39068.13078.788963@segfault.lan> Date: Thu, 19 Feb 2009 18:44:55 +0100 Message-ID: <323eda50902190944r2294ac93reda329702277307e@mail.gmail.com> Subject: Re: Distinguishing Octave from Matlab From: =?ISO-8859-1?Q?Jos=E9_Luis_Garc=EDa_Pallero?= To: "John W. Eaton" Content-Type: multipart/alternative; boundary=001517574664224a7804634918f6 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2009 17:45:04 -0000 --001517574664224a7804634918f6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I usually use a function like this: function [inOctave] =3D in_octave() try OCTAVE_VERSION; inOctave =3D 1; catch inOctave =3D 0; end What is the difference with the persistent inout =3D exist("OCTAVE_VERSION","builtin") !=3D 0; version? Is the evaluation of exist() function faster than OCTAVE_VERSION and try-catch statement? 2009/2/19 John W. Eaton > On 19-Feb-2009, Jos=E9 Luis Garc=EDa Pallero wrote: > > | Here, you have possible solutions: > | > | http://www-old.cae.wisc.edu/pipermail/help-octave/2007-April/003809.htm= l > | http://www-old.cae.wisc.edu/pipermail/help-octave/2007-May/003814.html > > Probably the best solution is something similar to David's suggestion of: > > function in =3D inoctave () > persistent inout =3D exist("OCTAVE_VERSION","builtin") !=3D 0; > in =3D inout; > endfunction > > but that won't work in Matlab, so you'll need to write it as > > function retval =3D inoctave () > persistent inout; > if (isempty (inout)) > inout =3D exist ('OCTAVE_VERSION', 'builtin') ~=3D 0; > end > retval =3D inout; > end > > > If this isn't in the FAQ, it should be. > > jwe > --=20 ***************************************** Jos=E9 Luis Garc=EDa Pallero jgpallero@gmail.com (o< / / \ V_/_ Use Debian GNU/Linux and enjoy! ***************************************** --001517574664224a7804634918f6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I usually use a function like this:

function [inOctave] =3D in_= octave()
try
OCTAVE_VERSION;
inOctave =3D 1;
catch
= inOctave =3D 0;
end

What is the difference with the persistent= inout =3D exist("OCTAVE_VERSION","builtin") !=3D 0; ve= rsion?
Is the evaluation of exist() function faster than OCTAVE_VERSION and try-ca= tch statement?


2009/2/19 John W= . Eaton <jwe@octave.= org>
On 19-Feb-2009, J= os=E9 Luis Garc=EDa Pallero wrote:

| Here, you have possible solutions:
|
| http://www-old.cae.wisc.edu/pipermail/help-oc= tave/2007-April/003809.html
| http://www-old.cae.wisc.edu/pipermail/help-octa= ve/2007-May/003814.html

Probably the best solution is something similar to David's suggestion o= f:

 function in =3D inoctave ()
   persistent inout =3D exist("OCTAVE_VERSION","b= uiltin") !=3D 0;
   in =3D inout;
 endfunction

but that won't work in Matlab, so you'll need to write it as

 function retval =3D inoctave ()
   persistent inout;
   if (isempty (inout))
     inout =3D exist ('OCTAVE_VERSION', 'builti= n') ~=3D 0;
   end
   retval =3D inout;
 end


If this isn't in the FAQ, it should be.

jwe



--
****************= *************************
Jos=E9 Luis Garc=EDa Pallero
jgpallero@gmail.com
(o<
/ / \
V_/_=
Use Debian GNU/Linux and enjoy!
****************************************= *
--001517574664224a7804634918f6-- From jwe@octave.org Thu Feb 19 11:48:17 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1JHmGrZ028831 for ; Thu, 19 Feb 2009 11:48:16 -0600 (CST) Received: from spaceymail-a3.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1JHmGsX011231 for ; Thu, 19 Feb 2009 11:48:16 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a3.g.dreamhost.com (Postfix) with ESMTP id D9A75194EB4; Thu, 19 Feb 2009 09:48:15 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18845.39774.394453.131409@segfault.lan> Date: Thu, 19 Feb 2009 12:48:14 -0500 To: Charles Coronella Subject: Re: Segmentation fault- clear -all In-Reply-To: <499D4544.2000703@denney.ws> References: <1a042a880902190215q6b9857a8l976dfc76c178bd3b@mail.gmail.com> <499D4544.2000703@denney.ws> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2009 17:48:18 -0000 On 19-Feb-2009, Bill Denney wrote: | Charles Coronella wrote: | > I'm experiencing some very frustrating problems with Octave. Its | > behavior seems to be quite erratic. Two important symptoms: | > | > 1) Issuing "clear -all" will cause a segmentation fault. Every time. | > Here's the message I see: | > panic: Segmentation fault -- stopping myself... | > attempting to save variables to `octave-core'... | > save to `octave-core' complete | > | > | > 2) Changes made to .m files are occasionally used. Occasionally not. | > No kidding. I can change a line in an .m file, and Octave keeps | > running the previous version of that .m file. Restarting Octave works, | > but do I need to restart the program every time I make an edit? That | > is not too efficient. | > | > I'd guess there's an installation error, so here's what I think are | > the important data: Octave, version 3.0.3, configured for | > i686-pc-msdosmsvc. My computer runs Windows XP. | Hi Charles, | | This is a known bug that I think has been fixed. Please see | http://www-old.cae.wisc.edu/pipermail/bug-octave/2009-February/007984.html The suggestion in that message should avoid the first problem. I haven't seen the other problem reported before, and it works for me, so maybe this problem is specific to your system? If you want help debugging it, I think you'll have to provide more information and tell us precisely what it is you are doing. What directory is Octave installed in? Which file are you editing? Are you editing and then typing the name of the .m file again, or are you running a .m file in a loop and editing it, and then expecting Octave to find the new version of the file before it returns to the prompt? jwe From jwe@octave.org Thu Feb 19 12:01:21 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1JI1L4p002418 for ; Thu, 19 Feb 2009 12:01:21 -0600 (CST) Received: from spaceymail-a5.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1JI1K8t013586 for ; Thu, 19 Feb 2009 12:01:21 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a5.g.dreamhost.com (Postfix) with ESMTP id 83ED98708B; Thu, 19 Feb 2009 10:01:19 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Message-ID: <18845.40556.81396.992969@segfault.lan> Date: Thu, 19 Feb 2009 13:01:16 -0500 To: =?iso-8859-1?Q?Jos=E9?= Luis =?iso-8859-1?Q?Garc=EDa?= Pallero Subject: Re: Distinguishing Octave from Matlab In-Reply-To: <323eda50902190944r2294ac93reda329702277307e@mail.gmail.com> References: <323eda50902190905x70b8b332je996d638ae98dd21@mail.gmail.com> <18845.39068.13078.788963@segfault.lan> <323eda50902190944r2294ac93reda329702277307e@mail.gmail.com> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1JI1L4p002418 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2009 18:01:22 -0000 On 19-Feb-2009, José Luis García Pallero wrote: | I usually use a function like this: | | function [inOctave] = in_octave() | try | OCTAVE_VERSION; | inOctave = 1; | catch | inOctave = 0; | end | | What is the difference with the persistent inout = | exist("OCTAVE_VERSION","builtin") != 0; version? | Is the evaluation of exist() function faster than OCTAVE_VERSION and | try-catch statement? The idea with the persistent variable is that you only initialize it once. On my system, your try-catch solution is slightly faster (100,000 calls in a for loop): try-catch: 1.54 seconds persistent: 1.60 seconds If you could write it like this: function retval = inoctave () persistent inout = exist ('OCTAVE_VERSION', 'builtin') ~= 0; retval = inout; end in Matlab, then it would be faster still, as you can avoid the if statement and the call to isempty. This version takes about .98 seconds on my system for the same 100,000 trips through the for loop. But really, how many times do you have to call this function? If it is in a loop, then maybe you should find a way to move the call out of the loop. Call the function and set a variable, and then check the variable instead of calling the function repeatedly. jwe From tduell@iinet.net.au Thu Feb 19 22:44:52 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1K4iq3W028323 for ; Thu, 19 Feb 2009 22:44:52 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1K4iqB7016306 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 19 Feb 2009 22:44:52 -0600 Received: from outbound.icp-qv1-irony-out3.iinet.net.au (outbound.icp-qv1-irony-out3.iinet.net.au [203.59.1.148]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1K4ilQB020251 for ; Thu, 19 Feb 2009 22:44:51 -0600 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAFzEnUl8qGyw/2dsb2JhbADTXoQPBg X-IronPort-AV: E=Sophos;i="4.38,238,1233500400"; d="scan'208";a="392256238" Received: from unknown (HELO phenom.terrys.net.au) ([124.168.108.176]) by outbound.icp-qv1-irony-out3.iinet.net.au with ESMTP; 20 Feb 2009 13:44:44 +0900 Date: Fri, 20 Feb 2009 15:39:34 +1100 To: Octave-help Subject: Can I pass filename to script called in shell? From: "Terry Duell" Organization: Home Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Message-ID: User-Agent: Opera Mail/9.63 (Linux) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RCVD_IN_DNSWL_LOW X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 04:44:54 -0000 Hullo All, The subject sounds a bit circuitous, hopefully I will be able to explain what I am trying to do. I have a script file (run-psd.m), as follows... file = read(argv(){2}); acc = dlmread(file); psd = autspec(acc,dt,win,raw); save -ascii psddata psd And I want to be able to use that from a shell, as follows... #! /bin/sh for ACC in `cat accfile` do octave run-psd.m /driver-acc/$ACC gnuplot plotpsd mv psd.ps psdfiles/$ACC-psd.ps done echo "All done" All my input files are listed in the file'accfile'. my script file (run-psd.m) works OK from the commandline if I replace the first line with 'file = input("Acc-time history filename ","s");' or similar. This is OK for testing or a small number of input files and I manually enter the filename, but I would like to automate it to handle a large number of files. I am getting an error 'read' undefined, so clearly I don't have the right syntax, or maybe not even the right approach. Could someone please point me in the right direction? Cheers, -- Regards, Terry Duell From joris.mooij@tuebingen.mpg.de Thu Feb 19 08:03:57 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1JE3vil000959 for ; Thu, 19 Feb 2009 08:03:57 -0600 (CST) Received: from mailgw.tuebingen.mpg.de (mailgw.tuebingen.mpg.de [192.124.27.5]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1JE3sqM022570 for ; Thu, 19 Feb 2009 08:03:57 -0600 X-IronPort-AV: E=Sophos;i="4.38,235,1233529200"; d="scan'208";a="4707342" Received: from cmh.local (HELO tuebingen.mpg.de) ([10.3.6.123]) by mailgate.local with ESMTP; 19 Feb 2009 14:58:48 +0100 Received: from osun.kyb.local ([10.38.106.171] verified) by tuebingen.mpg.de (CommuniGate Pro SMTP 5.2.8) with SMTP id 6816481 for help-octave@octave.org; Thu, 19 Feb 2009 14:58:47 +0100 Received: by osun.kyb.local (sSMTP sendmail emulation); Thu, 19 Feb 2009 14:58:47 +0100 Date: Thu, 19 Feb 2009 14:58:47 +0100 From: Joris Mooij To: help-octave@octave.org Subject: "clear mex" in octave? Message-ID: <20090219135846.GB19910@tuebingen.mpg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, RCVD_IN_DNSWL_MED X-Mailman-Approved-At: Fri, 20 Feb 2009 01:32:50 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2009 14:03:59 -0000 Hi all, does anybody know why octave does not automatically reload a mex file when I recompile it (using "mkoctfile --mex filename.cpp")? The only way I get octave to use the new .mex file is to restart octave, which is not very practical (in matlab, MEX files are reloaded automatically). Even "clear mex" or "clear all" would not reload the mex files in octave. Thanks for your help, Joris From artemisdream@tin.it Thu Feb 19 17:54:25 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1JNsP5A011384 for ; Thu, 19 Feb 2009 17:54:25 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1JNsOtd005493 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 19 Feb 2009 17:54:25 -0600 Received: from smtp-out25.alice.it (smtp-out25.alice.it [85.33.2.25]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1JNsMpU003250 for ; Thu, 19 Feb 2009 17:54:24 -0600 Received: from FBCMMO01.fbc.local ([192.168.68.195]) by smtp-out25.alice.it with Microsoft SMTPSVC(6.0.3790.3959); Fri, 20 Feb 2009 00:45:50 +0100 Received: from FBCMCL01B03.fbc.local ([192.168.69.84]) by FBCMMO01.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Fri, 20 Feb 2009 00:45:50 +0100 Received: from [79.27.31.102] ([79.27.31.102]) by FBCMCL01B03.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Fri, 20 Feb 2009 00:45:55 +0100 Message-ID: <499DEF2A.5040200@tin.it> Date: Fri, 20 Feb 2009 00:45:46 +0100 From: Marco User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: help@octave.org Subject: Secs2D on Octave Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Feb 2009 23:45:55.0326 (UTC) FILETIME=[34D7B9E0:01C992EC] X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 X-Mailman-Approved-At: Fri, 20 Feb 2009 01:32:50 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2009 23:54:26 -0000 Hi all, I have a problem with secs2D package. It is installed correctly but I don't know what I have to pass to the function: QDDGOXgummelmap (imesh,Dsides,... Simesh,Sinodes,Sielements,SiDsides,Intsides,... idata,toll,maxit,ptoll,pmaxit,stoll,smaxit,verbose,options) all parameters are clear but "Intsides", "stoll" and "smaxit". Someone knows what are these parameters and their dimensions? Integer? Vectors? Matrix? Thanks all From jgpallero@gmail.com Fri Feb 20 05:23:48 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1KBNm0Z020317 for ; Fri, 20 Feb 2009 05:23:48 -0600 (CST) Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.157]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KBNgJT018733 for ; Fri, 20 Feb 2009 05:23:47 -0600 Received: by yw-out-1718.google.com with SMTP id 5so311169ywm.24 for ; Fri, 20 Feb 2009 03:23:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.151.10.7 with SMTP id n7mr1983550ybi.34.1235129022307; Fri, 20 Feb 2009 03:23:42 -0800 (PST) Date: Fri, 20 Feb 2009 12:23:42 +0100 Message-ID: <323eda50902200323v57251f02u67a8b70b313bf307@mail.gmail.com> Subject: Multiply diagonal matrix and full matrix From: =?ISO-8859-1?Q?Jos=E9_Luis_Garc=EDa_Pallero?= To: Octave users list Content-Type: multipart/alternative; boundary=000e0cd6aefaa05dfd046357e24a X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 11:23:49 -0000 --000e0cd6aefaa05dfd046357e24a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Exist any trick in GNU Octave for multiply two matrices, one diagonal and other full, without the use of command diag() nor for loop? --=20 ***************************************** Jos=E9 Luis Garc=EDa Pallero jgpallero@gmail.com (o< / / \ V_/_ Use Debian GNU/Linux and enjoy! ***************************************** --000e0cd6aefaa05dfd046357e24a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Exist any trick in GNU Octave for multiply two matrices, one diagonal and o= ther full, without the use of command diag() nor for loop?

--
*****************************************
Jos=E9 Luis Garc= =EDa Pallero
jgpallero@gmail.com
(o</ / \
V_/_
Use Debian GNU/Linux and enjoy!
**********************= *******************
--000e0cd6aefaa05dfd046357e24a-- From highegg@gmail.com Fri Feb 20 05:36:17 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1KBaHGe023617 for ; Fri, 20 Feb 2009 05:36:17 -0600 (CST) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.189]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KBaFEp016410 for ; Fri, 20 Feb 2009 05:36:17 -0600 Received: by mu-out-0910.google.com with SMTP id g7so674192muf.4 for ; Fri, 20 Feb 2009 03:36:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.222.1 with SMTP id z1mr1510731muq.51.1235129775146; Fri, 20 Feb 2009 03:36:15 -0800 (PST) In-Reply-To: <323eda50902200323v57251f02u67a8b70b313bf307@mail.gmail.com> References: <323eda50902200323v57251f02u67a8b70b313bf307@mail.gmail.com> Date: Fri, 20 Feb 2009 12:36:15 +0100 Message-ID: <69d8d540902200336m67e4ffacpd04c6090eb4daf72@mail.gmail.com> Subject: Re: Multiply diagonal matrix and full matrix From: Jaroslav Hajek To: =?ISO-8859-1?Q?Jos=E9_Luis_Garc=EDa_Pallero?= Content-Type: text/plain; charset=ISO-8859-1 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1KBaHGe023617 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 11:36:18 -0000 On Fri, Feb 20, 2009 at 12:23 PM, José Luis García Pallero wrote: > Exist any trick in GNU Octave for multiply two matrices, one diagonal and > other full, without the use of command diag() nor for loop? > Octave 3.0 has "dmult" which essentially does something like repmat (A(:), 1, columns (B)) .* B. In Octave 3.2, there will be no need for such tricks, because diag(A) * B will be the most efficient as well as the most readable syntax (even more efficient than the above), so dmult is deprecated (by a funny coincidence I deprecated it a couple of minutes ago). 3.2 will be out soon so unless you expect to be stuck with an older series, I suggest you just use diag () *, and you'll soon get your code boosted ;) cheers -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From jgpallero@gmail.com Fri Feb 20 05:47:01 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1KBl1Xa026037 for ; Fri, 20 Feb 2009 05:47:01 -0600 (CST) Received: from yx-out-1718.google.com (yx-out-1718.google.com [74.125.44.157]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KBl0Vu024896 for ; Fri, 20 Feb 2009 05:47:01 -0600 Received: by yx-out-1718.google.com with SMTP id 3so312801yxi.24 for ; Fri, 20 Feb 2009 03:46:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.151.156.6 with SMTP id i6mr685876ybo.225.1235130417815; Fri, 20 Feb 2009 03:46:57 -0800 (PST) In-Reply-To: <69d8d540902200336m67e4ffacpd04c6090eb4daf72@mail.gmail.com> References: <323eda50902200323v57251f02u67a8b70b313bf307@mail.gmail.com> <69d8d540902200336m67e4ffacpd04c6090eb4daf72@mail.gmail.com> Date: Fri, 20 Feb 2009 12:46:57 +0100 Message-ID: <323eda50902200346w1ea70715r56ccbf041e18cf41@mail.gmail.com> Subject: Re: Multiply diagonal matrix and full matrix From: =?ISO-8859-1?Q?Jos=E9_Luis_Garc=EDa_Pallero?= To: Jaroslav Hajek Content-Type: multipart/alternative; boundary=00151750e692ce20bd0463583534 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 11:47:02 -0000 --00151750e692ce20bd0463583534 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Can I think, therefore, that in new versions of GNU Octave when I use diag(A)*B, the diag(A) statement do not create a diagonal matrix in memory before the * operation? 2009/2/20 Jaroslav Hajek > On Fri, Feb 20, 2009 at 12:23 PM, Jos=E9 Luis Garc=EDa Pallero > wrote: > > Exist any trick in GNU Octave for multiply two matrices, one diagonal a= nd > > other full, without the use of command diag() nor for loop? > > > > Octave 3.0 has "dmult" which essentially does something like repmat > (A(:), 1, columns (B)) .* B. > > In Octave 3.2, there will be no need for such tricks, because diag(A) > * B will be the most efficient as well as the most readable syntax > (even more efficient than the above), so dmult is deprecated (by a > funny coincidence I deprecated it a couple of minutes ago). > > 3.2 will be out soon so unless you expect to be stuck with an older > series, I suggest you just use diag () *, > and you'll soon get your code boosted ;) > > cheers > > > -- > RNDr. Jaroslav Hajek > computing expert > Aeronautical Research and Test Institute (VZLU) > Prague, Czech Republic > url: www.highegg.matfyz.cz > --=20 ***************************************** Jos=E9 Luis Garc=EDa Pallero jgpallero@gmail.com (o< / / \ V_/_ Use Debian GNU/Linux and enjoy! ***************************************** --00151750e692ce20bd0463583534 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Can I think, therefore, that in new versions of GNU Octave when I use diag(= A)*B, the diag(A) statement do not create a diagonal matrix in memory befor= e the * operation?

2009/2/20 Jaroslav Haj= ek <highegg@gmail= .com>
On Fri, Feb 20, 2009 at 12:23 PM, Jos=E9 Luis Garc=EDa Pallero
<jgpallero@gmail.com> wrot= e:
> Exist any trick in GNU Octave for multiply two matrices, one diagonal = and
> other full, without the use of command diag() nor for loop?
>

Octave 3.0 has "dmult" which essentially does something lik= e repmat
(A(:), 1, columns (B)) .* B.

In Octave 3.2, there will be no need for such tricks, because diag(A)
* B will be the most efficient as well as the most readable syntax
(even more efficient than the above), so dmult is deprecated (by a
funny coincidence I deprecated it a couple of minutes ago).

3.2 will be out soon so unless you expect to be stuck with an older
series, I suggest you just use diag () *,
and you'll soon get your code boosted ;)

cheers


--
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg= .matfyz.cz



--
****************= *************************
Jos=E9 Luis Garc=EDa Pallero
jgpallero@gmail.com
(o<
/ / \
V_/_=
Use Debian GNU/Linux and enjoy!
****************************************= *
--00151750e692ce20bd0463583534-- From highegg@gmail.com Fri Feb 20 05:55:27 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1KBtRWG027861 for ; Fri, 20 Feb 2009 05:55:27 -0600 (CST) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.190]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KBtPYK028543 for ; Fri, 20 Feb 2009 05:55:26 -0600 Received: by mu-out-0910.google.com with SMTP id g7so679556muf.4 for ; Fri, 20 Feb 2009 03:55:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.90.17 with SMTP id s17mr1529339mul.73.1235130924603; Fri, 20 Feb 2009 03:55:24 -0800 (PST) In-Reply-To: <323eda50902200346w1ea70715r56ccbf041e18cf41@mail.gmail.com> References: <323eda50902200323v57251f02u67a8b70b313bf307@mail.gmail.com> <69d8d540902200336m67e4ffacpd04c6090eb4daf72@mail.gmail.com> <323eda50902200346w1ea70715r56ccbf041e18cf41@mail.gmail.com> Date: Fri, 20 Feb 2009 12:55:24 +0100 Message-ID: <69d8d540902200355h1f0e62a0v5afea39f89d3255c@mail.gmail.com> Subject: Re: Multiply diagonal matrix and full matrix From: Jaroslav Hajek To: =?ISO-8859-1?Q?Jos=E9_Luis_Garc=EDa_Pallero?= Content-Type: text/plain; charset=ISO-8859-1 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1KBtRWG027861 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 11:55:28 -0000 On Fri, Feb 20, 2009 at 12:46 PM, José Luis García Pallero wrote: > Can I think, therefore, that in new versions of GNU Octave when I use > diag(A)*B, the diag(A) statement do not create a diagonal matrix in memory > before the * operation? It will create a special matrix object. Watch this in 3.1.52+: octave:1> a = diag(1:100); octave:2> typeinfo (a) ans = diagonal matrix 3.0.x gives you just "matrix". The diagonal matrix object keeps just the diagonal in memory, and will use fast algorithms when used in multiplication, division, addition, subtraction, inverse, determinant etc. Similar optimizations apply for permutation matrices. This enables users to write more straightforward linear algebra code. regards -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From bpabbott@mac.com Fri Feb 20 06:34:41 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1KCYfvx007607 for ; Fri, 20 Feb 2009 06:34:41 -0600 (CST) Received: from asmtpout020.mac.com (asmtpout020.mac.com [17.148.16.95]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KCYdnU006448 for ; Fri, 20 Feb 2009 06:34:41 -0600 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [10.0.1.196] ([97.100.1.226]) by asmtp020.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPA id <0KFD00CN06XL2220@asmtp020.mac.com> for help-octave@octave.org; Fri, 20 Feb 2009 04:34:34 -0800 (PST) Message-id: <573402EA-F3C4-4A13-9AFA-433951FAD916@mac.com> From: Ben Abbott To: Joris Mooij In-reply-to: <20090219135846.GB19910@tuebingen.mpg.de> Subject: Re: "clear mex" in octave? Date: Fri, 20 Feb 2009 07:34:32 -0500 References: <20090219135846.GB19910@tuebingen.mpg.de> X-Mailer: Apple Mail (2.930.3) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 12:34:42 -0000 On Feb 19, 2009, at 8:58 AM, Joris Mooij wrote: > Hi all, > > does anybody know why octave does not automatically reload a mex file > when I recompile it (using "mkoctfile --mex filename.cpp")? The only > way I get octave to use the new .mex file is to restart octave, which > is not very practical (in matlab, MEX files are reloaded > automatically). > Even "clear mex" or "clear all" would not reload the mex files in > octave. > > Thanks for your help, > Joris Are you saying that when running Matlab, "clear mex" actually reloads mex files? Are you sure? Ben From Potorti@isti.cnr.it Fri Feb 20 06:45:55 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1KCjtph010843 for ; Fri, 20 Feb 2009 06:45:55 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1KCjt2S023786 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 20 Feb 2009 06:45:55 -0600 Received: from ITANIUM.ISTI.CNR.IT (mx4.isti.cnr.it [194.119.192.6]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KCjpCN010531 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 20 Feb 2009 06:45:54 -0600 Received: from conversionlocal.isti.cnr.it by mx.isti.cnr.it (PMDF V6.4 #31598) id <01N5Q2HIA2F4A7339B@mx.isti.cnr.it> for help@octave.org; Fri, 20 Feb 2009 13:45:36 +0100 (MET) Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by mx.isti.cnr.it (PMDF V6.4 #31598) with ESMTPSA id <01N5Q2HIQ98WA5WZEO@mx.isti.cnr.it>; Fri, 20 Feb 2009 13:45:36 +0100 Received: from pot by tucano.isti.cnr.it with local (Exim 4.69) (envelope-from ) id 1LaUl6-0002bR-L0; Fri, 20 Feb 2009 13:45:36 +0100 Date: Fri, 20 Feb 2009 13:45:36 +0100 From: Francesco Potorti` Subject: Re: Can I pass filename to script called in shell? In-reply-to: To: Terry Duell Message-id: Organization: ISTI-CNR, via Moruzzi 1, I-56124 Pisa, +39-0503153058 MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 References: X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave-help X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 12:45:56 -0000 >I have a script file (run-psd.m), as follows... > > file = read(argv(){2}); > acc = dlmread(file); > psd = autspec(acc,dt,win,raw); > save -ascii psddata psd What is "read"? I suppose you meant file = argv(){2}; acc = dlmread(file); psd = autspec(acc,dt,win,raw); save -ascii psddata psd But then, what is "autspec" and "psddata"? -- Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.2111) ISTI - Area della ricerca CNR Fax: +39 050 315 2040 via G. Moruzzi 1, I-56124 Pisa Email: Potorti@isti.cnr.it (entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/ From Fred.Touwslager@PolymerVision.com Fri Feb 20 07:01:30 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1KD1UAT014414 for ; Fri, 20 Feb 2009 07:01:30 -0600 (CST) Received: from htc25.hightechcampus.nl (htc25.hightechcampus.nl [194.171.252.58]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KD1Qji014528 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 20 Feb 2009 07:01:30 -0600 Received: from c3mail1.hightechcampus.nl (c3mail1.hightechcampus.nl [10.56.136.241]) by htc25.hightechcampus.nl (8.12.11.20060308/8.12.11) with ESMTP id n1KD1PCb014852 for ; Fri, 20 Feb 2009 14:01:25 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C9935B.56144A69" Subject: errors with "mkoctfile convhulln.cc" in MSVC-Octave 3.0.3 Date: Fri, 20 Feb 2009 14:01:23 +0100 Message-ID: <7A0346AB80BF9D4DB4A662F70CC06C99010DA527@c3mail1.hightechcampus.nl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: errors with "mkoctfile convhulln.cc" in MSVC-Octave 3.0.3 Thread-Index: AcmTW1UOWMK21KSVRbOe1HKo9ctipA== From: "Fred Touwslager" To: X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, HTML_MESSAGE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 13:01:31 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C9935B.56144A69 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Recently a change has been made in the convhuln function to include calculation of the convex hull volume. Since I don't want to wait on a new MSVC-Octave release I have been trying to compile the function. However, without succes.=20 =20 What I have done is following the instructions to make an .oct file in Octave as in this link: http://www.tatsuromatsuoka.com/octave/Eng/Win/msvcoct.html I can run the oregonator.cc test as given in the web-page mentioned.=20 =20 However, if I try to use the same procedure to make an .oct file from the convhulln.cc file I do get errors.=20 Convhulln.cc expects the presence of qhull/ghull_a.h. So I downloaded the qhull source package (from www.qhull.org) and placed it in a sub-directory of the directory in which convhulln.cc is present. Then all the files from qhull can be found.=20 However, mkoctfile then complains about 9 "unresolved external symbols", error LNK2019 e.g.: =20 convhulln.o : error LNK2019: unresolved external symbol _qh_memfreeshort referenced in function "class octave_value_list __cdecl FConvhulln(class octave_value_list const &,int)" (?Fconvhulln@@YA?AVoctave_value_list@@ABV1@H@Z) =20 The last error is: =20 convhulln.oct : fatal error LNK1120: 9 unresolved externals Anybody any idea about what to do to solve this issue? Fred J. Touwslager=20 ------_=_NextPart_001_01C9935B.56144A69 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Recently a change=20 has been made in the convhuln function to include calculation of the = convex hull=20 volume. Since I don't want to wait on a new MSVC-Octave release I have = been=20 trying to compile the function. However, without succes. =
 
What I = have done is=20 following the instructions to make an .oct file in Octave as in = this link:=20 http:= //www.tatsuromatsuoka.com/octave/Eng/Win/msvcoct.html
I can run=20 the oregonator.cc test as given in the web-page mentioned.=20
 
However, if I try to=20 use the same procedure to make an .oct file from the convhulln.cc file I = do get=20 errors.
Convhulln.cc expects=20 the presence of qhull/ghull_a.h. So I downloaded the qhull source = package (from=20 www.qhull.org) and = placed it in a=20 sub-directory of the directory in which convhulln.cc is present. Then = all the=20 files from qhull can be found.
However, mkoctfile=20 then complains about 9 "unresolved external symbols", error LNK2019 = e.g.:
 
convhulln.o : error=20 LNK2019: unresolved external symbol _qh_memfreeshort referenced in = function=20 "class octave_value_list __cdecl FConvhulln(class octave_value_list = const=20 &,int)" (?Fconvhulln= @@YA?AVoctave_value_list@@ABV1@H@Z)
 
The = last error=20 is:
 
convhulln.oct :=20 fatal error LNK1120: 9 unresolved externals

Anybody any idea about what to do to solve = this=20 issue?

Fred J. = Touwslager

------_=_NextPart_001_01C9935B.56144A69-- From joris.mooij@tuebingen.mpg.de Fri Feb 20 07:59:03 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1KDx3iN029220 for ; Fri, 20 Feb 2009 07:59:03 -0600 (CST) Received: from mailgw.tuebingen.mpg.de (mailgw.tuebingen.mpg.de [192.124.27.5]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KDwxYm016176 for ; Fri, 20 Feb 2009 07:59:03 -0600 X-IronPort-AV: E=Sophos;i="4.38,241,1233529200"; d="scan'208";a="4713959" Received: from cmh.local (HELO tuebingen.mpg.de) ([10.3.6.123]) by mailgate.local with ESMTP; 20 Feb 2009 14:53:53 +0100 Received: from osun.kyb.local ([10.38.106.171] verified) by tuebingen.mpg.de (CommuniGate Pro SMTP 5.2.8) with SMTP id 6828440; Fri, 20 Feb 2009 14:53:52 +0100 Received: by osun.kyb.local (sSMTP sendmail emulation); Fri, 20 Feb 2009 14:53:52 +0100 Date: Fri, 20 Feb 2009 14:53:52 +0100 From: Joris Mooij To: Ben Abbott Subject: Re: "clear mex" in octave? Message-ID: <20090220135352.GC6626@tuebingen.mpg.de> References: <20090219135846.GB19910@tuebingen.mpg.de> <573402EA-F3C4-4A13-9AFA-433951FAD916@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <573402EA-F3C4-4A13-9AFA-433951FAD916@mac.com> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, RCVD_IN_DNSWL_MED X-Mailman-Approved-At: Fri, 20 Feb 2009 09:14:47 -0600 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 13:59:04 -0000 On Fri, Feb 20, 2009 at 07:34:32AM -0500, Ben Abbott wrote: > On Feb 19, 2009, at 8:58 AM, Joris Mooij wrote: > >> Hi all, >> >> does anybody know why octave does not automatically reload a mex file >> when I recompile it (using "mkoctfile --mex filename.cpp")? The only >> way I get octave to use the new .mex file is to restart octave, which >> is not very practical (in matlab, MEX files are reloaded >> automatically). >> Even "clear mex" or "clear all" would not reload the mex files in >> octave. >> >> Thanks for your help, >> Joris > > Are you saying that when running Matlab, "clear mex" actually reloads > mex files? > > Are you sure? > > Ben Actually I have never tried "clear mex" in Matlab, because Matlab automatically reloads mex files when they are recompiled... at least when the Matlab command prompt is shown. So I am not sure whether "clear mex" actually reloads mex files in Matlab. However, according to the Matlab documentation for 7.0.1 (R14SP1) [1], it should. My actual question is about how to reload mex files in octave after they have changed on disk. Joris [1] http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/rn/f11-998197.html From jwe@octave.org Fri Feb 20 09:23:30 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1KFNUaI022949 for ; Fri, 20 Feb 2009 09:23:30 -0600 (CST) Received: from spaceymail-a5.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KFNT1m015799 for ; Fri, 20 Feb 2009 09:23:30 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a5.g.dreamhost.com (Postfix) with ESMTP id ECC8B87088; Fri, 20 Feb 2009 07:23:27 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18846.51949.180904.838874@segfault.lan> Date: Fri, 20 Feb 2009 10:23:25 -0500 To: "Fred Touwslager" Subject: errors with "mkoctfile convhulln.cc" in MSVC-Octave 3.0.3 In-Reply-To: <7A0346AB80BF9D4DB4A662F70CC06C99010DA527@c3mail1.hightechcampus.nl> References: <7A0346AB80BF9D4DB4A662F70CC06C99010DA527@c3mail1.hightechcampus.nl> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 15:23:31 -0000 On 20-Feb-2009, Fred Touwslager wrote: | Recently a change has been made in the convhuln function to include | calculation of the convex hull volume. Since I don't want to wait on a | new MSVC-Octave release I have been trying to compile the function. | However, without succes. | | What I have done is following the instructions to make an .oct file in | Octave as in this link: | http://www.tatsuromatsuoka.com/octave/Eng/Win/msvcoct.html | I can run the oregonator.cc test as given in the web-page mentioned. | | However, if I try to use the same procedure to make an .oct file from | the convhulln.cc file I do get errors. | Convhulln.cc expects the presence of qhull/ghull_a.h. So I downloaded | the qhull source package (from www.qhull.org) and placed it in a | sub-directory of the directory in which convhulln.cc is present. Then | all the files from qhull can be found. | However, mkoctfile then complains about 9 "unresolved external symbols", | error LNK2019 e.g.: | | convhulln.o : error LNK2019: unresolved external symbol _qh_memfreeshort | referenced in function "class octave_value_list __cdecl FConvhulln(class | octave_value_list const &,int)" | (?Fconvhulln@@YA?AVoctave_value_list@@ABV1@H@Z) | | The last error is: | | convhulln.oct : fatal error LNK1120: 9 unresolved externals | | Anybody any idea about what to do to solve this issue? Did you compile the qhull package, or just download it? jwe From jgpallero@gmail.com Fri Feb 20 10:07:10 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1KG7Apk005513 for ; Fri, 20 Feb 2009 10:07:10 -0600 (CST) Received: from mail-gx0-f179.google.com (mail-gx0-f179.google.com [209.85.217.179]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KG794i009173 for ; Fri, 20 Feb 2009 10:07:09 -0600 Received: by gxk27 with SMTP id 27so2668090gxk.0 for ; Fri, 20 Feb 2009 08:07:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.151.156.7 with SMTP id i7mr1806776ybo.44.1235146023889; Fri, 20 Feb 2009 08:07:03 -0800 (PST) Date: Fri, 20 Feb 2009 17:07:03 +0100 Message-ID: <323eda50902200807k63e7985eh6fa0fa5928b4c9a1@mail.gmail.com> Subject: About diagonal matrices From: =?ISO-8859-1?Q?Jos=E9_Luis_Garc=EDa_Pallero?= To: Octave users list Content-Type: multipart/alternative; boundary=00151750dd40ffea0504635bd761 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 16:07:11 -0000 --00151750dd40ffea0504635bd761 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, Playing with the new diag() function in octave 3.1.52 I can see some extrange behaviour (or I don't understand some particular cases). For example, for the matrix a =3D diag([2 3 4]) This is a diagonal matrix: typeinfo(a) -> diagonal matrix But if I add a scalar: typeinfo(4+a) -> matrix If I multiply by a scalar: typeinfo(4*a) -> diagonal matrix But if I multiply by a scalar in element-by-element form: typeinfo(4.*a) -> matrix If I divide by a scalar in element-by-element form: typeinfo(4./a) -> matri= x For a power operation: typeinfo(a^2) -> diagonal matrix But element-by-element: typeinfo(a.^2) -> matrix For functions: typeinfo(sqrt(a)) -> matrix (the same for sin(), cos(), etc.= ) Has any reason for this behaviour? --=20 ***************************************** Jos=E9 Luis Garc=EDa Pallero jgpallero@gmail.com (o< / / \ V_/_ Use Debian GNU/Linux and enjoy! ***************************************** --00151750dd40ffea0504635bd761 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,
Playing with the new diag() function in octave 3.1.52 I can see some= extrange behaviour (or I don't understand some particular cases). For = example, for the matrix
a =3D diag([2 3 4])

This is a diagonal ma= trix: typeinfo(a) -> diagonal matrix
But if I add a scalar: typeinfo(4+a) -> matrix
If I multiply by a sca= lar: typeinfo(4*a) -> diagonal matrix
But if I multiply by a scalar i= n element-by-element form: typeinfo(4.*a) -> matrix
If I divide by a = scalar in element-by-element form: typeinfo(4./a) -> matrix
For a power operation: typeinfo(a^2) -> diagonal matrix
But element-b= y-element: typeinfo(a.^2) -> matrix
For functions: typeinfo(sqrt(a)) = -> matrix (the same for sin(), cos(), etc.)

Has any reason for th= is behaviour?

--
*****************************************
Jos=E9 Luis Garc=ED= a Pallero
jgpallero@gmail.com=
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*********= ********************************
--00151750dd40ffea0504635bd761-- From highegg@gmail.com Fri Feb 20 10:39:22 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1KGdMNT014303 for ; Fri, 20 Feb 2009 10:39:22 -0600 (CST) Received: from mail-fx0-f160.google.com (mail-fx0-f160.google.com [209.85.220.160]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KGdKHI020628 for ; Fri, 20 Feb 2009 10:39:21 -0600 Received: by fxm4 with SMTP id 4so503635fxm.0 for ; Fri, 20 Feb 2009 08:39:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.226.10 with SMTP id d10mr1831737mur.105.1235147954535; Fri, 20 Feb 2009 08:39:14 -0800 (PST) In-Reply-To: <323eda50902200807k63e7985eh6fa0fa5928b4c9a1@mail.gmail.com> References: <323eda50902200807k63e7985eh6fa0fa5928b4c9a1@mail.gmail.com> Date: Fri, 20 Feb 2009 17:39:13 +0100 Message-ID: <69d8d540902200839p1b3853fel83c8a3526485338f@mail.gmail.com> Subject: Re: About diagonal matrices From: Jaroslav Hajek To: =?ISO-8859-1?Q?Jos=E9_Luis_Garc=EDa_Pallero?= Content-Type: text/plain; charset=ISO-8859-1 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1KGdMNT014303 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 16:39:23 -0000 On Fri, Feb 20, 2009 at 5:07 PM, José Luis García Pallero wrote: > Hi, > Playing with the new diag() function in octave 3.1.52 I can see some > extrange behaviour (or I don't understand some particular cases). For > example, for the matrix > a = diag([2 3 4]) > > This is a diagonal matrix: typeinfo(a) -> diagonal matrix > But if I add a scalar: typeinfo(4+a) -> matrix > If I multiply by a scalar: typeinfo(4*a) -> diagonal matrix > But if I multiply by a scalar in element-by-element form: typeinfo(4.*a) -> > matrix > If I divide by a scalar in element-by-element form: typeinfo(4./a) -> matrix > For a power operation: typeinfo(a^2) -> diagonal matrix > But element-by-element: typeinfo(a.^2) -> matrix > For functions: typeinfo(sqrt(a)) -> matrix (the same for sin(), cos(), etc.) > > Has any reason for this behaviour? > The element-by-element versions all produce full matrices, because that is the general case for result. This is obvious for + and -; .* and .^ could produce diagonal matrices but I didn't do it for consistency - diagonal matrices just behave as full matrices when used in element-by-element operation. There's actually a slight difference if multiplied by NaN: NaN .* diag will be a matrix of NaNs while NaN * diag will still be diagonal (analogously to how sparse matrices behave). This is chosen deliberately so that the user has some invariants to work with, i.e. x * diag is *always* diagonal, while x .* diag is *always* full. As for the mappers, I specialized just a few of them that are likely to be used on sparse matrices, like abs, real, imag and conj. sqrt is also a good suggestion. cheers -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From jwe@octave.org Fri Feb 20 10:45:22 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1KGjM8s016239 for ; Fri, 20 Feb 2009 10:45:22 -0600 (CST) Received: from spaceymail-a6.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KGjLox032308 for ; Fri, 20 Feb 2009 10:45:22 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a6.g.dreamhost.com (Postfix) with ESMTP id 435D1CA819; Fri, 20 Feb 2009 08:45:21 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Message-ID: <18846.56863.900324.914171@segfault.lan> Date: Fri, 20 Feb 2009 11:45:19 -0500 To: =?iso-8859-1?Q?Jos=E9?= Luis =?iso-8859-1?Q?Garc=EDa?= Pallero Subject: About diagonal matrices In-Reply-To: <323eda50902200807k63e7985eh6fa0fa5928b4c9a1@mail.gmail.com> References: <323eda50902200807k63e7985eh6fa0fa5928b4c9a1@mail.gmail.com> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1KGjM8s016239 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 16:45:23 -0000 On 20-Feb-2009, José Luis García Pallero wrote: | Playing with the new diag() function in octave 3.1.52 I can see some | extrange behaviour (or I don't understand some particular cases). For | example, for the matrix | a = diag([2 3 4]) | | This is a diagonal matrix: typeinfo(a) -> diagonal matrix | But if I add a scalar: typeinfo(4+a) -> matrix | If I multiply by a scalar: typeinfo(4*a) -> diagonal matrix | But if I multiply by a scalar in element-by-element form: typeinfo(4.*a) -> | matrix | If I divide by a scalar in element-by-element form: typeinfo(4./a) -> matrix | For a power operation: typeinfo(a^2) -> diagonal matrix | But element-by-element: typeinfo(a.^2) -> matrix | For functions: typeinfo(sqrt(a)) -> matrix (the same for sin(), cos(), etc.) | | Has any reason for this behaviour? A definition is needed in each case for oprators that receive special treatment. So I guess some have just not been implemented yet. But I think there are also some bugs. Shouldn't the following return full matrices with the zero elements replaced by NaN (or -0, in the case of dividing by -Inf)? diag ([1,2,3]) / 0 diag ([1,2,3]) / NaN diag ([1,2,3]) / -Inf diag ([1,2,3]) * NaN diag ([1,2,3]) * Inf etc. Maybe the simplest way to implement this would be to do something like tmp = 0 / scalar_value; if (tmp != 0 || lo_ieee_signbit (signbit)) convert to full matrix, replacing zeros with tmp; in these methods. If you want to discuss this further, then maybe we should move the discussion to the maintainers list. jwe From highegg@gmail.com Fri Feb 20 10:52:05 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1KGq5wU018022 for ; Fri, 20 Feb 2009 10:52:05 -0600 (CST) Received: from mail-fx0-f160.google.com (mail-fx0-f160.google.com [209.85.220.160]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KGq3Eh000892; Fri, 20 Feb 2009 10:52:04 -0600 Received: by fxm4 with SMTP id 4so509547fxm.0 for ; Fri, 20 Feb 2009 08:51:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.92.8 with SMTP id u8mr1861404mul.12.1235148717613; Fri, 20 Feb 2009 08:51:57 -0800 (PST) In-Reply-To: <18846.56863.900324.914171@segfault.lan> References: <323eda50902200807k63e7985eh6fa0fa5928b4c9a1@mail.gmail.com> <18846.56863.900324.914171@segfault.lan> Date: Fri, 20 Feb 2009 17:51:57 +0100 Message-ID: <69d8d540902200851l5698573dm1ed674a3c22df9b4@mail.gmail.com> Subject: Re: About diagonal matrices From: Jaroslav Hajek To: "John W. Eaton" Content-Type: text/plain; charset=ISO-8859-1 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1KGq5wU018022 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 16:52:07 -0000 On Fri, Feb 20, 2009 at 5:45 PM, John W. Eaton wrote: > On 20-Feb-2009, José Luis García Pallero wrote: > > | Playing with the new diag() function in octave 3.1.52 I can see some > | extrange behaviour (or I don't understand some particular cases). For > | example, for the matrix > | a = diag([2 3 4]) > | > | This is a diagonal matrix: typeinfo(a) -> diagonal matrix > | But if I add a scalar: typeinfo(4+a) -> matrix > | If I multiply by a scalar: typeinfo(4*a) -> diagonal matrix > | But if I multiply by a scalar in element-by-element form: typeinfo(4.*a) -> > | matrix > | If I divide by a scalar in element-by-element form: typeinfo(4./a) -> matrix > | For a power operation: typeinfo(a^2) -> diagonal matrix > | But element-by-element: typeinfo(a.^2) -> matrix > | For functions: typeinfo(sqrt(a)) -> matrix (the same for sin(), cos(), etc.) > | > | Has any reason for this behaviour? > > A definition is needed in each case for oprators that receive special > treatment. So I guess some have just not been implemented yet. > > But I think there are also some bugs. Shouldn't the following return > full matrices with the zero elements replaced by NaN (or -0, in the > case of dividing by -Inf)? > > diag ([1,2,3]) / 0 > diag ([1,2,3]) / NaN > diag ([1,2,3]) / -Inf > diag ([1,2,3]) * NaN > diag ([1,2,3]) * Inf > I think it's better in the current manner. I don't like the idea that the memory can suddenly explode just because the multiplier happened to be Inf. Right now, scalar * diag gives invariantly diag. This is somewhat analogous to how sparse matrices behave. > etc. Maybe the simplest way to implement this would be to do > something like > > tmp = 0 / scalar_value; > if (tmp != 0 || lo_ieee_signbit (signbit)) > convert to full matrix, replacing zeros with tmp; > > in these methods. > > If you want to discuss this further, then maybe we should move the > discussion to the maintainers list. > > jwe > -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From bpabbott@mac.com Fri Feb 20 10:57:32 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1KGvWqg019409 for ; Fri, 20 Feb 2009 10:57:32 -0600 (CST) Received: from asmtpout013.mac.com (asmtpout013.mac.com [17.148.16.88]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KGvVd4026293 for ; Fri, 20 Feb 2009 10:57:32 -0600 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8 Received: from spool003.mac.com ([10.150.69.53]) by asmtp013.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTP id <0KFD000LKJ32EN40@asmtp013.mac.com> for help-octave@octave.org; Fri, 20 Feb 2009 08:57:02 -0800 (PST) Received: from webmail025 ([10.13.128.25]) by spool003.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0KFD00FLGJ32TH10@spool003.mac.com> for help-octave@octave.org; Fri, 20 Feb 2009 08:57:02 -0800 (PST) Date: Fri, 20 Feb 2009 11:57:01 -0500 From: Ben Abbott To: Joris Mooij Message-id: <96045337215722975598659070273382590387-Webmail@me.com> Subject: Re: "clear mex" in octave? Received: from [205.160.245.109] from webmail.me.com with HTTP; Fri, 20 Feb 2009 11:57:01 -0500 Received: from [ 67.235.60.12] from webmail.me.com with HTTP; Fri, 20 Feb 2009 11:57:01 -0500 X-Originating-IP: 205.160.245.109, 67.235.60.12 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, MSGID_FROM_MTA_HEADER, UNPARSEABLE_RELAY Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 16:57:33 -0000 On Friday, February 20, 2009, at 08:53AM, "Joris Mooij" wrote: >On Fri, Feb 20, 2009 at 07:34:32AM -0500, Ben Abbott wrote: >> On Feb 19, 2009, at 8:58 AM, Joris Mooij wrote: >> >>> Hi all, >>> >>> does anybody know why octave does not automatically reload a mex file >>> when I recompile it (using "mkoctfile --mex filename.cpp")? The only >>> way I get octave to use the new .mex file is to restart octave, which >>> is not very practical (in matlab, MEX files are reloaded >>> automatically). >>> Even "clear mex" or "clear all" would not reload the mex files in >>> octave. >>> >>> Thanks for your help, >>> Joris >> >> Are you saying that when running Matlab, "clear mex" actually reloads >> mex files? >> >> Are you sure? >> >> Ben > >Actually I have never tried "clear mex" in Matlab, because Matlab >automatically reloads mex files when they are recompiled... at >least when the Matlab command prompt is shown. In my experience, Matlab does not load mex-files until they are needed (i.e. run). >So I am not sure whether "clear mex" actually reloads mex files in >Matlab. However, according to the Matlab documentation for 7.0.1 >(R14SP1) [1], it should. The link you provided says: "The command clear mex now clears MEX-functions, but not M- and MEX- functions. Entering clear mex does not clear locked functions or functions that are currently in use. It does however clear breakpoints and persistent variables." I may be wrong, but it does not appear to me that Matlab loads a mex file (dll on windows) until it is needed. >My actual question is about how to reload mex files in octave after >they have changed on disk. You should only need to run them. However, the mex file will need to be in your path. If my understanding is wrong, I expect someone will correct me shortly. Ben From jwe@octave.org Fri Feb 20 10:58:10 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1KGwAHB019486 for ; Fri, 20 Feb 2009 10:58:10 -0600 (CST) Received: from spaceymail-a3.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KGw9Ii002695 for ; Fri, 20 Feb 2009 10:58:09 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a3.g.dreamhost.com (Postfix) with ESMTP id 1596A194D73; Fri, 20 Feb 2009 08:58:08 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18846.57631.581709.892237@segfault.lan> Date: Fri, 20 Feb 2009 11:58:07 -0500 To: Jaroslav Hajek Subject: Re: About diagonal matrices In-Reply-To: <69d8d540902200851l5698573dm1ed674a3c22df9b4@mail.gmail.com> References: <323eda50902200807k63e7985eh6fa0fa5928b4c9a1@mail.gmail.com> <18846.56863.900324.914171@segfault.lan> <69d8d540902200851l5698573dm1ed674a3c22df9b4@mail.gmail.com> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 16:58:11 -0000 On 20-Feb-2009, Jaroslav Hajek wrote: | I think it's better in the current manner. I don't like the idea that | the memory can suddenly explode just because the multiplier happened | to be Inf. Right now, scalar * diag gives invariantly diag. This is | somewhat analogous to how sparse matrices behave. I'm moving this discussion to the maintainers list. jwe From highegg@gmail.com Fri Feb 20 11:00:41 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1KH0flF020670 for ; Fri, 20 Feb 2009 11:00:41 -0600 (CST) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KH0dV4027254; Fri, 20 Feb 2009 11:00:40 -0600 Received: by ug-out-1314.google.com with SMTP id o4so75799uge.40 for ; Fri, 20 Feb 2009 09:00:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.12.8 with SMTP id p8mr1864868mui.44.1235149239170; Fri, 20 Feb 2009 09:00:39 -0800 (PST) In-Reply-To: <69d8d540902200851l5698573dm1ed674a3c22df9b4@mail.gmail.com> References: <323eda50902200807k63e7985eh6fa0fa5928b4c9a1@mail.gmail.com> <18846.56863.900324.914171@segfault.lan> <69d8d540902200851l5698573dm1ed674a3c22df9b4@mail.gmail.com> Date: Fri, 20 Feb 2009 18:00:39 +0100 Message-ID: <69d8d540902200900i711b4516la4c686177a6d0e99@mail.gmail.com> Subject: Re: About diagonal matrices From: Jaroslav Hajek To: "John W. Eaton" Content-Type: text/plain; charset=ISO-8859-1 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1KH0flF020670 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 17:00:43 -0000 On Fri, Feb 20, 2009 at 5:51 PM, Jaroslav Hajek wrote: > On Fri, Feb 20, 2009 at 5:45 PM, John W. Eaton wrote: >> On 20-Feb-2009, José Luis García Pallero wrote: >> >> | Playing with the new diag() function in octave 3.1.52 I can see some >> | extrange behaviour (or I don't understand some particular cases). For >> | example, for the matrix >> | a = diag([2 3 4]) >> | >> | This is a diagonal matrix: typeinfo(a) -> diagonal matrix >> | But if I add a scalar: typeinfo(4+a) -> matrix >> | If I multiply by a scalar: typeinfo(4*a) -> diagonal matrix >> | But if I multiply by a scalar in element-by-element form: typeinfo(4.*a) -> >> | matrix >> | If I divide by a scalar in element-by-element form: typeinfo(4./a) -> matrix >> | For a power operation: typeinfo(a^2) -> diagonal matrix >> | But element-by-element: typeinfo(a.^2) -> matrix >> | For functions: typeinfo(sqrt(a)) -> matrix (the same for sin(), cos(), etc.) >> | >> | Has any reason for this behaviour? >> >> A definition is needed in each case for oprators that receive special >> treatment. So I guess some have just not been implemented yet. >> >> But I think there are also some bugs. Shouldn't the following return >> full matrices with the zero elements replaced by NaN (or -0, in the >> case of dividing by -Inf)? >> >> diag ([1,2,3]) / 0 >> diag ([1,2,3]) / NaN >> diag ([1,2,3]) / -Inf >> diag ([1,2,3]) * NaN >> diag ([1,2,3]) * Inf >> > > I think it's better in the current manner. I don't like the idea that > the memory can suddenly explode just because the multiplier happened > to be Inf. Right now, scalar * diag gives invariantly diag. This is > somewhat analogous to how sparse matrices behave. > Maybe I could write a short chapter in the manual documenting the use of sparse and permutation matrices and the subtle differences when they meet NaNs or Infs. -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From joris.mooij@tuebingen.mpg.de Fri Feb 20 11:43:50 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1KHhoiE001745 for ; Fri, 20 Feb 2009 11:43:50 -0600 (CST) Received: from mailgw.tuebingen.mpg.de (mailgw.tuebingen.mpg.de [192.124.27.5]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KHhjVV008842 for ; Fri, 20 Feb 2009 11:43:50 -0600 X-IronPort-AV: E=Sophos;i="4.38,242,1233529200"; d="scan'208";a="4715423" Received: from cmh.local (HELO tuebingen.mpg.de) ([10.3.6.123]) by mailgate.local with ESMTP; 20 Feb 2009 18:43:39 +0100 Received: from osun.kyb.local ([10.38.106.171] verified) by tuebingen.mpg.de (CommuniGate Pro SMTP 5.2.8) with SMTP id 6830932; Fri, 20 Feb 2009 18:43:38 +0100 Received: by osun.kyb.local (sSMTP sendmail emulation); Fri, 20 Feb 2009 18:43:38 +0100 Date: Fri, 20 Feb 2009 18:43:38 +0100 From: Joris Mooij To: Ben Abbott Subject: Re: "clear mex" in octave? Message-ID: <20090220174338.GD6626@tuebingen.mpg.de> References: <96045337215722975598659070273382590387-Webmail@me.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <96045337215722975598659070273382590387-Webmail@me.com> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, RCVD_IN_DNSWL_MED Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 17:43:52 -0000 On Fri, Feb 20, 2009 at 11:57:01AM -0500, Ben Abbott wrote: > On Friday, February 20, 2009, at 08:53AM, "Joris Mooij" wrote: > >On Fri, Feb 20, 2009 at 07:34:32AM -0500, Ben Abbott wrote: > >> On Feb 19, 2009, at 8:58 AM, Joris Mooij wrote: > >> > >>> Hi all, > >>> > >>> does anybody know why octave does not automatically reload a mex file > >>> when I recompile it (using "mkoctfile --mex filename.cpp")? The only > >>> way I get octave to use the new .mex file is to restart octave, which > >>> is not very practical (in matlab, MEX files are reloaded > >>> automatically). > >>> Even "clear mex" or "clear all" would not reload the mex files in > >>> octave. > >>> > >>> Thanks for your help, > >>> Joris > >> > >> Are you saying that when running Matlab, "clear mex" actually reloads > >> mex files? > >> > >> Are you sure? > >> > >> Ben > > > >Actually I have never tried "clear mex" in Matlab, because Matlab > >automatically reloads mex files when they are recompiled... at > >least when the Matlab command prompt is shown. > > In my experience, Matlab does not load mex-files until they are needed (i.e. run). > > >So I am not sure whether "clear mex" actually reloads mex files in > >Matlab. However, according to the Matlab documentation for 7.0.1 > >(R14SP1) [1], it should. > > The link you provided says: "The command clear mex now clears MEX-functions, but not M- and MEX- functions. Entering clear mex does not clear locked functions or functions that are currently in use. It does however clear breakpoints and persistent variables." > > I may be wrong, but it does not appear to me that Matlab loads a mex file (dll on windows) until it is needed. > > >My actual question is about how to reload mex files in octave after > >they have changed on disk. > > You should only need to run them. However, the mex file will need to be in your path. > > If my understanding is wrong, I expect someone will correct me shortly. > > Ben Thank you for your assistance. I believe I have not made myself sufficiently clear, though, so I will try to pose my question more verbosely. I believe that you are correct when you say that Matlab loads mex-files when they are needed. Suppose I have some source mymexfcn.cpp and I have built it using Matlab's mex compile script, which yields mymexfcn.mexglx. Then I start Matlab and run mymexfcn: >> mymexfcn; Matlab will search for mymexfcn.mexglx in the path and execute it. A little while later, it finishes and I get my command prompt back: >> Now I change the source mymexfcn.cpp and recompile it, so I get a new modified mymexfcn.megxlx. I switch back to the Matlab window and run mymexfcn again: >> mymexfcn; Now Matlab runs the new, modified mymexfcn.mexglx: Matlab detects that mymexfcn.mexglx has changed on disk compared with the version that it has previously executed. That's nice. My problem is simply that when I do the same in octave (using "mkoctfile --mex mymexfcn.cpp" to build mymexfcn.mex), the second call of mymexfcn actually runs the ORIGINAL version of mymexfcn.mex (i.e. the first version of mymexfcn.mex that octave has executed during that session), even though in the meantime the mymexfcn.mex file has changed. In order to execute the _modified_ mymexfcn.mex in octave, I know of no other possibility then to quit and restart octave. But that is not really a practical workflow... So my question is: is there an easier way to get octave to use the modified mymexfcn.mex, which does not involve restarting octave? It could also be that this is just a bug, although I don't know what octave is supposed to do in this situation. The only relevant passage in the octave manual that I found (http://www.gnu.org/software/octave/doc/interpreter/Function-Files.html) says: "When Octave defines a function from a function file, it saves the full name of the file it read and the time stamp on the file. If the time stamp on the file changes, Octave may reload the file. When Octave is running interactively, time stamp checking normally happens at most once each time Octave prints the prompt." First, it says "Octave [...] MAY reload the file", so it is not clear whether it will actually do it. Second, it is not clear to me whether this applies to MEX files as well (is a MEX file a function file?). Finally, what should one do if octave actually doesn't do a reload? Even using "clear mymexfcn; mymexfcn" doesn't seem to help... I would be delighted if anybody could answer this question. Kind regards, Joris From jwe@octave.org Fri Feb 20 11:47:38 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1KHlcSq003255 for ; Fri, 20 Feb 2009 11:47:38 -0600 (CST) Received: from spaceymail-a3.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KHlcDD009488 for ; Fri, 20 Feb 2009 11:47:38 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a3.g.dreamhost.com (Postfix) with ESMTP id EBF30194EBC; Fri, 20 Feb 2009 09:47:36 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18846.60599.546799.197100@segfault.lan> Date: Fri, 20 Feb 2009 12:47:35 -0500 To: Joris Mooij Subject: Re: "clear mex" in octave? In-Reply-To: <20090220174338.GD6626@tuebingen.mpg.de> References: <96045337215722975598659070273382590387-Webmail@me.com> <20090220174338.GD6626@tuebingen.mpg.de> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 17:47:39 -0000 On 20-Feb-2009, Joris Mooij wrote: | So my question is: is there an easier way to get octave to use the | modified mymexfcn.mex, which does not involve restarting octave? Yes. Fix the bug that prevents this from working correctly. jwe From bpabbott@mac.com Fri Feb 20 11:52:23 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1KHqNtO004557 for ; Fri, 20 Feb 2009 11:52:23 -0600 (CST) Received: from asmtpout011.mac.com (asmtpout011.mac.com [17.148.16.86]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KHqMFq010798 for ; Fri, 20 Feb 2009 11:52:23 -0600 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8 Received: from spool001.mac.com ([10.150.69.51]) by asmtp011.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTP id <0KFD007G4LM4V660@asmtp011.mac.com> for help-octave@octave.org; Fri, 20 Feb 2009 09:51:42 -0800 (PST) Received: from webmail025 ([10.13.128.25]) by spool001.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0KFD00LXRLM4PVC0@spool001.mac.com> for help-octave@octave.org; Fri, 20 Feb 2009 09:51:40 -0800 (PST) Date: Fri, 20 Feb 2009 12:51:40 -0500 From: Ben Abbott To: Joris Mooij Message-id: <47848364716300674623213424788506057142-Webmail@me.com> In-reply-to: <20090220174338.GD6626@tuebingen.mpg.de> References: <96045337215722975598659070273382590387-Webmail@me.com> <20090220174338.GD6626@tuebingen.mpg.de> Subject: Re: "clear mex" in octave? Received: from [205.160.245.109] from webmail.me.com with HTTP; Fri, 20 Feb 2009 12:51:40 -0500 Received: from [ 67.235.60.7] from webmail.me.com with HTTP; Fri, 20 Feb 2009 12:51:40 -0500 X-Originating-IP: 205.160.245.109, 67.235.60.7 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, MSGID_FROM_MTA_HEADER, UNPARSEABLE_RELAY Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 17:52:24 -0000 On Friday, February 20, 2009, at 12:43PM, "Joris Mooij" wrote: >On Fri, Feb 20, 2009 at 11:57:01AM -0500, Ben Abbott wrote: >> On Friday, February 20, 2009, at 08:53AM, "Joris Mooij" wrote: >> >On Fri, Feb 20, 2009 at 07:34:32AM -0500, Ben Abbott wrote: >> >> On Feb 19, 2009, at 8:58 AM, Joris Mooij wrote: >> >> >> >>> Hi all, >> >>> >> >>> does anybody know why octave does not automatically reload a mex file >> >>> when I recompile it (using "mkoctfile --mex filename.cpp")? The only >> >>> way I get octave to use the new .mex file is to restart octave, which >> >>> is not very practical (in matlab, MEX files are reloaded >> >>> automatically). >> >>> Even "clear mex" or "clear all" would not reload the mex files in >> >>> octave. >> >>> >> >>> Thanks for your help, >> >>> Joris >> >> >> >> Are you saying that when running Matlab, "clear mex" actually reloads >> >> mex files? >> >> >> >> Are you sure? >> >> >> >> Ben >> > >> >Actually I have never tried "clear mex" in Matlab, because Matlab >> >automatically reloads mex files when they are recompiled... at >> >least when the Matlab command prompt is shown. >> >> In my experience, Matlab does not load mex-files until they are needed (i.e. run). >> >> >So I am not sure whether "clear mex" actually reloads mex files in >> >Matlab. However, according to the Matlab documentation for 7.0.1 >> >(R14SP1) [1], it should. >> >> The link you provided says: "The command clear mex now clears MEX-functions, but not M- and MEX- functions. Entering clear mex does not clear locked functions or functions that are currently in use. It does however clear breakpoints and persistent variables." >> >> I may be wrong, but it does not appear to me that Matlab loads a mex file (dll on windows) until it is needed. >> >> >My actual question is about how to reload mex files in octave after >> >they have changed on disk. >> >> You should only need to run them. However, the mex file will need to be in your path. >> >> If my understanding is wrong, I expect someone will correct me shortly. >> >> Ben > > >Thank you for your assistance. I believe I have not made myself >sufficiently clear, though, so I will try to pose my question more >verbosely. > >I believe that you are correct when you say that Matlab loads mex-files >when they are needed. > >Suppose I have some source mymexfcn.cpp and I have built it using >Matlab's mex compile script, which yields mymexfcn.mexglx. >Then I start Matlab and run mymexfcn: > >>> mymexfcn; > >Matlab will search for mymexfcn.mexglx in the path and execute it. >A little while later, it finishes and I get my command prompt back: > >>> > >Now I change the source mymexfcn.cpp and recompile it, so I get a new >modified mymexfcn.megxlx. I switch back to the Matlab window and run >mymexfcn again: > >>> mymexfcn; > >Now Matlab runs the new, modified mymexfcn.mexglx: Matlab detects that >mymexfcn.mexglx has changed on disk compared with the version that it >has previously executed. That's nice. > >My problem is simply that when I do the same in octave (using "mkoctfile >--mex mymexfcn.cpp" to build mymexfcn.mex), the second call of mymexfcn >actually runs the ORIGINAL version of mymexfcn.mex (i.e. the first >version of mymexfcn.mex that octave has executed during that session), >even though in the meantime the mymexfcn.mex file has changed. > >In order to execute the _modified_ mymexfcn.mex in octave, I know of no >other possibility then to quit and restart octave. But that is not >really a practical workflow... > > >So my question is: is there an easier way to get octave to use the >modified mymexfcn.mex, which does not involve restarting octave? > >It could also be that this is just a bug, although I don't know what >octave is supposed to do in this situation. The only relevant >passage in the octave manual that I found >(http://www.gnu.org/software/octave/doc/interpreter/Function-Files.html) >says: >"When Octave defines a function from a function file, it saves the full >name of the file it read and the time stamp on the file. If the time >stamp on the file changes, Octave may reload the file. When Octave is >running interactively, time stamp checking normally happens at most once >each time Octave prints the prompt." > >First, it says "Octave [...] MAY reload the file", so it is not clear >whether it will actually do it. Second, it is not clear to me whether >this applies to MEX files as well (is a MEX file a function file?). >Finally, what should one do if octave actually doesn't do a reload? Even >using "clear mymexfcn; mymexfcn" doesn't seem to help... > >I would be delighted if anybody could answer this question. > >Kind regards, >Joris > ok, I understand. First, please file a bug report as Octave should work as Matlab does (type "bug_report" at the octave prompt and follow the instructions). Ben From joris.mooij@tuebingen.mpg.de Fri Feb 20 11:59:42 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1KHxgjZ006230 for ; Fri, 20 Feb 2009 11:59:42 -0600 (CST) Received: from mailgw.tuebingen.mpg.de (mailgw.tuebingen.mpg.de [192.124.27.5]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KHxdEv023886; Fri, 20 Feb 2009 11:59:42 -0600 X-IronPort-AV: E=Sophos;i="4.38,242,1233529200"; d="scan'208";a="4715495" Received: from cmh.local (HELO tuebingen.mpg.de) ([10.3.6.123]) by mailgate.local with ESMTP; 20 Feb 2009 18:59:34 +0100 Received: from osun.kyb.local ([10.38.106.171] verified) by tuebingen.mpg.de (CommuniGate Pro SMTP 5.2.8) with SMTP id 6831084; Fri, 20 Feb 2009 18:59:33 +0100 Received: by osun.kyb.local (sSMTP sendmail emulation); Fri, 20 Feb 2009 18:59:33 +0100 Date: Fri, 20 Feb 2009 18:59:33 +0100 From: Joris Mooij To: "John W. Eaton" Subject: Re: "clear mex" in octave? Message-ID: <20090220175933.GE6626@tuebingen.mpg.de> References: <96045337215722975598659070273382590387-Webmail@me.com> <20090220174338.GD6626@tuebingen.mpg.de> <18846.60599.546799.197100@segfault.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18846.60599.546799.197100@segfault.lan> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, RCVD_IN_DNSWL_MED Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 17:59:43 -0000 On Fri, Feb 20, 2009 at 12:47:35PM -0500, John W. Eaton wrote: > On 20-Feb-2009, Joris Mooij wrote: > > | So my question is: is there an easier way to get octave to use the > | modified mymexfcn.mex, which does not involve restarting octave? > > Yes. Fix the bug that prevents this from working correctly. > > jwe Ok, thanks for your answers! Actually I am not really sure whether fixing this bug is really easier than restarting octave, but it is good to know that it is a bug. I will report it and see what I can do about it myself... Joris From jwe@octave.org Fri Feb 20 14:02:02 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1KK22nD011371 for ; Fri, 20 Feb 2009 14:02:02 -0600 (CST) Received: from spaceymail-a3.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KK20p7026689 for ; Fri, 20 Feb 2009 14:02:01 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a3.g.dreamhost.com (Postfix) with ESMTP id 3A412194E68; Fri, 20 Feb 2009 12:01:39 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18847.3103.854698.686878@segfault.lan> Date: Fri, 20 Feb 2009 15:01:35 -0500 To: Joris Mooij Subject: Re: "clear mex" in octave? In-Reply-To: <20090220175933.GE6626@tuebingen.mpg.de> References: <96045337215722975598659070273382590387-Webmail@me.com> <20090220174338.GD6626@tuebingen.mpg.de> <18846.60599.546799.197100@segfault.lan> <20090220175933.GE6626@tuebingen.mpg.de> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 20:02:03 -0000 On 20-Feb-2009, Joris Mooij wrote: | On Fri, Feb 20, 2009 at 12:47:35PM -0500, John W. Eaton wrote: | > On 20-Feb-2009, Joris Mooij wrote: | > | > | So my question is: is there an easier way to get octave to use the | > | modified mymexfcn.mex, which does not involve restarting octave? | > | > Yes. Fix the bug that prevents this from working correctly. | > | > jwe | | Ok, thanks for your answers! | | Actually I am not really sure whether fixing this bug is really easier | than restarting octave, but it is good to know that it is a bug. I will | report it and see what I can do about it myself... I checked in the following change, so this problem should be fixed in Octave 3.2. http://hg.savannah.gnu.org/hgweb/octave/rev/9dddbad47122 jwe From mark.magdaleno@l-3com.com Fri Feb 20 13:32:45 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1KJWiIA001561 for ; Fri, 20 Feb 2009 13:32:44 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1KJWiUT016575 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 20 Feb 2009 13:32:44 -0600 Received: from smtp4out.l-3com.com (smtp4out.l-3com.com [128.170.207.112]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KJWgVm017494 for ; Fri, 20 Feb 2009 13:32:44 -0600 X-IronPort-AV: E=Sophos;i="4.38,242,1233558000"; d="scan'208,217";a="28590861" From: mark.magdaleno@l-3com.com Received: from smtpwest2.titan.com ([198.99.108.145]) by smtp4out.l-3com.com with ESMTP; 20 Feb 2009 12:32:34 -0700 Received: from ad-west-exbh1.ad.local (ad-west-exbh1.ad.local [159.62.1.139]) by smtpwest2.titan.com (8.13.6/8.13.6) with ESMTP id n1KJXOhQ023337 for ; Fri, 20 Feb 2009 11:33:24 -0800 Received: from LINKABIT-SD-BH1.IPS.ad.local ([159.62.13.4]) by ad-west-exbh1.ad.local with Microsoft SMTPSVC(6.0.3790.1830); Fri, 20 Feb 2009 11:32:33 -0800 Received: from Linkabit-SD-EX1.IPS.ad.local ([159.62.13.23]) by LINKABIT-SD-BH1.IPS.ad.local with Microsoft SMTPSVC(6.0.3790.1830); Fri, 20 Feb 2009 11:32:33 -0800 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: I installed Ocatve now what Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C99391.F9C34E8A" Date: Fri, 20 Feb 2009 11:32:32 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <4031BEB594B67D44BCEE42982264562A80BAC6@Linkabit-SD-EX1.IPS.ad.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: I installed Ocatve now what Thread-Index: AcmTkfoSSjzRCsQJR9e7Sy9ozVBpCQ== To: X-OriginalArrivalTime: 20 Feb 2009 19:32:33.0232 (UTC) FILETIME=[FA1A0500:01C99391] X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, HTML_MESSAGE X-Mailman-Approved-At: Fri, 20 Feb 2009 14:02:58 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 19:32:48 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C99391.F9C34E8A Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I installed Octave on a Windows XP platform. When I bring up the editor the run command is ghosted out. What am I missing? I have also installed Python. I installed this a long time ago on another PC and it seemed to run fine but I must have forgotten something since then. =20 Thanks =20 Mark ------_=_NextPart_001_01C99391.F9C34E8A Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I installed Octave on a Windows XP platform. When I = bring up the editor the run command is ghosted out. What am I missing? I have = also installed Python. I installed this a long time ago on another PC and it = seemed to run fine but I must have forgotten something since = then.

 

Thanks

 

Mark

------_=_NextPart_001_01C99391.F9C34E8A-- From Fred.Touwslager@PolymerVision.com Fri Feb 20 16:06:33 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1KM6XoI016431 for ; Fri, 20 Feb 2009 16:06:33 -0600 (CST) Received: from htc25.hightechcampus.nl (htc25.hightechcampus.nl [194.171.252.58]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KM6VGF032129 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 20 Feb 2009 16:06:33 -0600 Received: from c3mail1.hightechcampus.nl (c3mail1.hightechcampus.nl [10.56.136.241]) by htc25.hightechcampus.nl (8.12.11.20060308/8.12.11) with ESMTP id n1KM6UVn003513 for ; Fri, 20 Feb 2009 23:06:30 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: errors with "mkoctfile convhulln.cc" in MSVC-Octave 3.0.3 Date: Fri, 20 Feb 2009 23:06:29 +0100 Message-ID: <7A0346AB80BF9D4DB4A662F70CC06C99916929@c3mail1.hightechcampus.nl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: errors with "mkoctfile convhulln.cc" in MSVC-Octave 3.0.3 Thread-Index: AcmTbzC6nPwkmqw9SP2IM4YagLyLMQAIpScgAAVkM3A= From: "Fred Touwslager" To: X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1KM6XoI016431 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 22:06:34 -0000 As convhulln.cc was complaining about the presence of a number of files of the qhull package, I just downloaded them and did put them at the location where convhulln.cc was expecting them. So, no, I did not compile the package. Do I have to, and if so, how does that work? Kind regards, Fred J. Touwslager -----Original Message----- From: John W. Eaton [mailto:jwe@octave.org] Sent: Friday 20 February 2009 16:23 To: Fred Touwslager Cc: help-octave@octave.org Subject: errors with "mkoctfile convhulln.cc" in MSVC-Octave 3.0.3 On 20-Feb-2009, Fred Touwslager wrote: | Recently a change has been made in the convhulln function to include | calculation of the convex hull volume. Since I don't want to wait on a | new MSVC-Octave release I have been trying to compile the function. | However, without succes. | | What I have done is following the instructions to make an .oct file in | Octave as in this link: | http://www.tatsuromatsuoka.com/octave/Eng/Win/msvcoct.html | I can run the oregonator.cc test as given in the web-page mentioned. | | However, if I try to use the same procedure to make an .oct file from | the convhulln.cc file I do get errors. | Convhulln.cc expects the presence of qhull/ghull_a.h. So I downloaded | the qhull source package (from www.qhull.org) and placed it in a | sub-directory of the directory in which convhulln.cc is present. Then | all the files from qhull can be found. | However, mkoctfile then complains about 9 "unresolved external symbols", | error LNK2019 e.g.: | | convhulln.o : error LNK2019: unresolved external symbol _qh_memfreeshort | referenced in function "class octave_value_list __cdecl FConvhulln(class | octave_value_list const &,int)" | (?Fconvhulln@@YA?AVoctave_value_list@@ABV1@H@Z) | | The last error is: | | convhulln.oct : fatal error LNK1120: 9 unresolved externals | | Anybody any idea about what to do to solve this issue? Did you compile the qhull package, or just download it? jwe From tduell@iinet.net.au Fri Feb 20 16:19:06 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1KMJ63e020837 for ; Fri, 20 Feb 2009 16:19:06 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1KMJ68g004080 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 20 Feb 2009 16:19:06 -0600 Received: from outbound.icp-qv1-irony-out4.iinet.net.au (outbound.icp-qv1-irony-out4.iinet.net.au [203.59.1.150]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KMJ2XB016117 for ; Fri, 20 Feb 2009 16:19:05 -0600 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEACO7nkl8qGyw/2dsb2JhbADUBoQPBg X-IronPort-AV: E=Sophos;i="4.38,243,1233500400"; d="scan'208";a="315988007" Received: from unknown (HELO phenom.terrys.net.au) ([124.168.108.176]) by outbound.icp-qv1-irony-out4.iinet.net.au with ESMTP; 21 Feb 2009 07:19:00 +0900 Date: Sat, 21 Feb 2009 09:13:49 +1100 To: Octave-help Subject: Re: Can I pass filename to script called in shell? From: "Terry Duell" Organization: Home Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 References: Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: User-Agent: Opera Mail/9.63 (Linux) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RCVD_IN_DNSWL_LOW X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 22:19:07 -0000 On Fri, 20 Feb 2009 23:45:36 +1100, Francesco Potorti` wrote: >> I have a script file (run-psd.m), as follows... >> >> file = read(argv(){2}); >> acc = dlmread(file); >> psd = autspec(acc,dt,win,raw); >> save -ascii psddata psd > > What is "read"? I suppose you meant > > file = argv(){2}; That has fixed the problem. I had searched for info on how to do this and found a posting (not sure if it was in this group archive) that suggested the 'file = read(argv(){1});' syntax and the response at the time was that it worked...so that is what I had been trying. > acc = dlmread(file); > psd = autspec(acc,dt,win,raw); > save -ascii psddata psd > But then, what is "autspec" and "psddata"? Well, 'autspec' is a local function that I have written, and 'psddata' is the file that resulting data is written to. I had spend some time trying to sort this proble, so many thanks for your advice. Cheers, -- Regards, Terry Duell From zapeto89@hotmail.com Fri Feb 20 20:33:42 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1L2XgbW028414 for ; Fri, 20 Feb 2009 20:33:42 -0600 (CST) Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1L2XgiG022417 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 20 Feb 2009 20:33:42 -0600 Received: from bay0-omc3-s23.bay0.hotmail.com (bay0-omc3-s23.bay0.hotmail.com [65.54.246.223]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1L2Xei9030672 for ; Fri, 20 Feb 2009 20:33:42 -0600 Received: from BAY110-W54 ([65.54.229.154]) by bay0-omc3-s23.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 20 Feb 2009 18:33:34 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_f2dde5c2-9907-4473-b4c7-9ba54a2c9228_" X-Originating-IP: [91.121.94.101] From: =?iso-8859-1?Q?to=F1o_sanchez_sierra?= To: Subject: help !! Date: Fri, 20 Feb 2009 20:33:34 -0600 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 21 Feb 2009 02:33:34.0859 (UTC) FILETIME=[CB3465B0:01C993CC] X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, HTML_FONT_SIZE_HUGE, HTML_MESSAGE X-Mailman-Approved-At: Sat, 21 Feb 2009 05:59:51 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2009 02:33:44 -0000 --_f2dde5c2-9907-4473-b4c7-9ba54a2c9228_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hi !! i just downloaded the program=2C a friend of mine told me that alm= ost every comand are like matlab's. but i've found that's not true at all =2C so=2C i just want to know how to = see the bode diagram of a transfer function. example: with 39s+3/s i typed in: num =3D [39 3] (enter) den =3D [1 0] (enter)=20 but the i dont know what to do !! please help me !! _________________________________________________________________ Personaliza Messenger como t=FA quieras. http://download.live.com/messenger= --_f2dde5c2-9907-4473-b4c7-9ba54a2c9228_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

 =3B =3B hi !! i just downloaded the program=2C a friend of mine to= ld me that almost every comand are like matlab's.
but i've found that's = not true at all =2C so=2C i just want to know how to see the bode diagram o= f a transfer function.
example:
with 39s+3/s
i typed in:
num = =3D [39 3]
(enter)
den =3D [1 0]
(enter)

but the i dont kn= ow what to do !!
please help me !!




Ent=E9rate de todo lo que hacen tus contactos en la parte de "novedade= s" de Messenger. = --_f2dde5c2-9907-4473-b4c7-9ba54a2c9228_-- From Dominic.Rau@mailsp.com Sat Feb 21 05:37:13 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1LBbCjo009383 for ; Sat, 21 Feb 2009 05:37:12 -0600 (CST) Received: from mailsp.com (mail2.mailsp.com [62.65.129.241]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1LBb9ZA027882 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Sat, 21 Feb 2009 05:37:12 -0600 Received: from mail02.SolutionProviders.local ([192.168.255.14]) by mail02.SolutionProviders.local ([192.168.255.14]) with mapi; Sat, 21 Feb 2009 12:37:03 +0100 From: Dominic Rau To: "help-octave@octave.org" Date: Sat, 21 Feb 2009 12:37:03 +0100 Subject: Ocatev and MS Access Thread-Topic: Ocatev and MS Access Thread-Index: AcmUFy35zJdVSjQSQ4Sniq2BmtESsw== Message-ID: <8AD36DA089A13944AE73696554614C202B362E003B@mail02.SolutionProviders.local> Accept-Language: de-DE, de-CH Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE, de-CH Content-Type: multipart/alternative; boundary="_000_8AD36DA089A13944AE73696554614C202B362E003Bmail02Solutio_" MIME-Version: 1.0 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, HTML_MESSAGE, WEIRD_QUOTING X-Mailman-Approved-At: Sat, 21 Feb 2009 05:59:51 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2009 11:37:14 -0000 --_000_8AD36DA089A13944AE73696554614C202B362E003Bmail02Solutio_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I am trying to connect from Ocatve to a MS Access database via ODBC. The ex= ample script works fine for creating and inserting values into the database= : default_db(odbc_db("test","","")); sql("create table some_table (id int,str varchar);"); sql("insert into some_table (id,str) values (1,'a');"); sql("insert into some_table (id,str) values (2,'b');"); sql("insert into some_table (id,str) values (3,'c');"); sql("insert into some_table (id,str) values (4,'d');"); However, I always get an empty array when reading from the interface: a=3Dsql("select * from some_table;") ans =3D {}(0x0) What am I doing wrong? Thanks for your support, Dominic --_000_8AD36DA089A13944AE73696554614C202B362E003Bmail02Solutio_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I am trying to connect from Ocatve to a MS Access database via ODBC. The exam= ple script works fine for creating and inserting values into the database:=

default_db(odbc_db("test","&qu= ot;,""));

sql("create table some_table (id int,str varchar);");

sql("insert into some_table (id,str) values (1,'a');");

sql("insert into some_table (id,str) values (2,'b');");

sql("insert into some_table (id,str) values (3,'c');");

sql("insert into some_table (id,str) values (4,'d');");

 

However, I always get an empty array when reading from the interface:

a=3Dsql("select * from some_table;")

ans =3D {}(0x0)

 

What am I doing wrong?

 

Thanks for your support,

Dominic

--_000_8AD36DA089A13944AE73696554614C202B362E003Bmail02Solutio_-- From jordigh@gmail.com Sat Feb 21 08:44:04 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1LEi4xp023867 for ; Sat, 21 Feb 2009 08:44:04 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1LEi4eF028872 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 21 Feb 2009 08:44:04 -0600 Received: from mail-gx0-f171.google.com (mail-gx0-f171.google.com [209.85.217.171]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1LEi13H021842 for ; Sat, 21 Feb 2009 08:44:04 -0600 Received: by gxk19 with SMTP id 19so3448243gxk.3 for ; Sat, 21 Feb 2009 06:43:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.150.220.19 with SMTP id s19mr2560364ybg.204.1235227435511; Sat, 21 Feb 2009 06:43:55 -0800 (PST) In-Reply-To: References: Date: Sat, 21 Feb 2009 08:43:55 -0600 Message-ID: <9543b3a40902210643u142dea57qeb1ced0560557e6a@mail.gmail.com> Subject: Re: help !! From: =?UTF-8?Q?Jordi_Guti=C3=A9rrez_Hermoso?= To: =?UTF-8?Q?to=C3=B1o_sanchez_sierra?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@bevo.che.wisc.edu X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2009 14:44:06 -0000 Please rephrase your question, stating the problems you had and how Octave isn't at all like Matlab, and give us more details of what exactly you're trying to do. Oh, and please, please, please, don't send HTML emails, especially with a font larger than what fits on my screen. - Jordi G. H. From jordigh@gmail.com Sat Feb 21 09:35:36 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1LFZZWp007730 for ; Sat, 21 Feb 2009 09:35:35 -0600 (CST) Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1LFZZu2004990 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 21 Feb 2009 09:35:35 -0600 Received: from mail-gx0-f179.google.com (mail-gx0-f179.google.com [209.85.217.179]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1LFZZIK002521 for ; Sat, 21 Feb 2009 09:35:35 -0600 Received: by gxk27 with SMTP id 27so3761874gxk.0 for ; Sat, 21 Feb 2009 07:35:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.150.52.2 with SMTP id z2mr3210193ybz.236.1235230530036; Sat, 21 Feb 2009 07:35:30 -0800 (PST) In-Reply-To: <4031BEB594B67D44BCEE42982264562A80BAC6@Linkabit-SD-EX1.IPS.ad.local> References: <4031BEB594B67D44BCEE42982264562A80BAC6@Linkabit-SD-EX1.IPS.ad.local> Date: Sat, 21 Feb 2009 09:35:29 -0600 Message-ID: <9543b3a40902210735p203ec118me6ddca20fb24af0a@mail.gmail.com> Subject: Re: I installed Ocatve now what From: =?UTF-8?Q?Jordi_Guti=C3=A9rrez_Hermoso?= To: mark.magdaleno@l-3com.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2009 15:35:37 -0000 2009/2/20 : > I installed Octave on a Windows XP platform. When I bring up the editor the > run command is ghosted out. What am I missing? Well, what did you run? And how did you install Octave? And what editor are you referring to? > I have also installed Python. This probably isn't relevant. - Jordi G. H. From jcrens@earthlink.net Sat Feb 21 10:44:05 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1LGi5fj024359 for ; Sat, 21 Feb 2009 10:44:05 -0600 (CST) Received: from elasmtp-scoter.atl.sa.earthlink.net (elasmtp-scoter.atl.sa.earthlink.net [209.86.89.67]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1LGi23B025106 for ; Sat, 21 Feb 2009 10:44:05 -0600 Received: from [68.17.249.30] (helo=[192.168.1.66]) by elasmtp-scoter.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1LauxJ-0003RP-30 for help-octave@octave.org; Sat, 21 Feb 2009 11:43:57 -0500 Message-ID: <49A02F4E.1000001@earthlink.net> Date: Sat, 21 Feb 2009 11:43:58 -0500 From: Jack Crenshaw User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Octave-help Subject: Now what? References: <1228145690.4318.1.camel@bluestar> <18740.1468.121383.779144@segfault.lan> In-Reply-To: <18740.1468.121383.779144@segfault.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: 4056c810563d1f8694f5150ab1c16ac060844222a69b33f48b4df1f454963297f7d518facdeac730350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 68.17.249.30 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2009 16:44:06 -0000 This has got to be absolutely the DUMBEST newbie question since Ada Lovelace asked Charles Babbage "Whaaaaaat?" I just downloaded, from sourceforge, what I thought was a Windows executable of Octave 3.0.3. I ran the installer, got a flurry of activity, and now have a ton of new files and folders on my HD. What I don't have is a GUI, MATLAB-like Windows program. I opted for msys rather than Cygwin. Is that the problem? Or did I get source instead of executable? Boy, this feels really dumb. Jack From vim.unix@googlemail.com Sat Feb 21 10:49:36 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1LGna18026087 for ; Sat, 21 Feb 2009 10:49:36 -0600 (CST) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1LGnYxB025915 for ; Sat, 21 Feb 2009 10:49:36 -0600 Received: by fg-out-1718.google.com with SMTP id 16so1471212fgg.12 for ; Sat, 21 Feb 2009 08:49:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.86.3.4 with SMTP id 4mr1793390fgc.66.1235234973770; Sat, 21 Feb 2009 08:49:33 -0800 (PST) In-Reply-To: <9543b3a40902210643u142dea57qeb1ced0560557e6a@mail.gmail.com> References: <9543b3a40902210643u142dea57qeb1ced0560557e6a@mail.gmail.com> Date: Sat, 21 Feb 2009 17:49:33 +0100 Message-ID: <30c383e70902210849u3db94e72xaeb209b9cdeb5a1b@mail.gmail.com> Subject: Re: help !! From: Pau To: help-octave@octave.org Content-Type: text/plain; charset=ISO-8859-1 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1LGna18026087 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: vim.unix@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2009 16:49:37 -0000 >From www.openbsd.org/mail.html : ---------------------------- Plain text, 72 characters per line ==================== Many subscribers and developers read their mail on text-based mailers (mail(1), emacs, Mutt) and they find HTML-formatted messages, or lines that stretch beyond 72 characters often unreadable. Most OpenBSD mailing lists strip messages of MIME content before sending them out to the rest of the list. If you don't use plain text your messages will be reformatted or, if they cannot be reformatted, summarily rejected. The only mailing list that allows attachments is the ports list, they will be removed from messages on the other mailing lists. Do your homework before you post ===================== If you have an installation question, make sure that you have read the relevant documents such as the INSTALL.* text files in the FTP installation directories, the FAQ and the relevant man pages (start with afterboot(8)), and check the mailing list archives. We want to help, but we wouldn't want to deprive you of a valuable learning experience, and no one wants to see the same question on the lists for the fifth time in a month. Include a useful Subject line ================= Messages with an empty Subject will get bounced to the list manager and so they will take longer to show up. Including a relevant Subject in the message will ensure that more people actually read what you've written. Also, avoid Subject lines with excessive capitalization. "Help!" or "I can't get it to work!" are not useful subject lines. Do not change the subject line while on the same topic. YOU may know what it is regarding, the rest of us who get several hundred messages a day will have no idea. ---------------------------- 2009/2/21 Jordi Gutiérrez Hermoso : > Please rephrase your question, stating the problems you had and how > Octave isn't at all like Matlab, and give us more details of what > exactly you're trying to do. > > Oh, and please, please, please, don't send HTML emails, especially > with a font larger than what fits on my screen. > > - Jordi G. H. > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > -- Let there be peace on earth. And let it begin with misc From jordigh@gmail.com Sat Feb 21 11:02:21 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1LH2LFs029643 for ; Sat, 21 Feb 2009 11:02:21 -0600 (CST) Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.152]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1LH2KoL028116 for ; Sat, 21 Feb 2009 11:02:21 -0600 Received: by yw-out-1718.google.com with SMTP id 5so497584ywm.24 for ; Sat, 21 Feb 2009 09:02:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.151.78.15 with SMTP id f15mr3297504ybl.164.1235235738842; Sat, 21 Feb 2009 09:02:18 -0800 (PST) In-Reply-To: <49A02F4E.1000001@earthlink.net> References: <1228145690.4318.1.camel@bluestar> <18740.1468.121383.779144@segfault.lan> <49A02F4E.1000001@earthlink.net> Date: Sat, 21 Feb 2009 11:02:18 -0600 Message-ID: <9543b3a40902210902x7d314258ue154129561a92011@mail.gmail.com> Subject: Re: Now what? From: =?UTF-8?Q?Jordi_Guti=C3=A9rrez_Hermoso?= To: Jack Crenshaw Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave-help X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2009 17:02:22 -0000 2009/2/21 Jack Crenshaw : > What I don't have is a GUI, MATLAB-like Windows program. Yeah, we're kinda working on a GUI, but it's not a big priority, because the consensus around most developers it that it really doesn't add anything that's much useful, since Octave is primarily command-driven anyways. The best improvement I can think is to create a worksheet interface instead of mimicking Matlab's so-called "GUI" (glorified terminal, if you ask me), but again, not a huge priority. That being said, if a GUI makes you feel safe and comfortable and cared for, probably the least bad one right now to try is QtOctave: http://qtoctave.wordpress.com/what-is-qtoctave/ HTH, - Jordi G. H. From hmc0907@yahoo.com Sat Feb 21 14:19:14 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1LKJEwc023391 for ; Sat, 21 Feb 2009 14:19:14 -0600 (CST) Received: from web110708.mail.gq1.yahoo.com (web110708.mail.gq1.yahoo.com [67.195.13.215]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1LKJCVa021427 for ; Sat, 21 Feb 2009 14:19:14 -0600 Received: (qmail 20458 invoked by uid 60001); 21 Feb 2009 20:19:07 -0000 X-YMail-OSG: JrB0JZoVM1k16P.EAz.Urn81V9hugTR4db02wogKR0B8iqBL0hwDwHEPzGNniDKgvEgGKt.UvXVQKE4GbtCbHm.Dz_jiGxBiP6oBI1tIB4qqLaDYZJ7TD8Mxe2Xyvpj2dP7ciMeBDKbXsqzeWAe_AXE.Y7_.ruF7JdlhQ6rD8fxJYq44O4sHKsDma_18kKv3Q7AO7RZXIY2t_WC4q3tnAcgRCsTGLm8lWeKwVctN2bNVbpOwDWedYJsmGlvykO4XS4Xf6P8OxSkJgXRPCRUYfFxopB03oyU9iqu5T8marrjK2jFb8LU- Received: from [75.50.154.38] by web110708.mail.gq1.yahoo.com via HTTP; Sat, 21 Feb 2009 12:19:07 PST X-Mailer: YahooMailWebService/0.7.289.1 Date: Sat, 21 Feb 2009 12:19:07 -0800 (PST) From: Steve MC Han To: jcrens@earthlink.net MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-753169596-1235247547=:20346" Message-ID: <476044.20346.qm@web110708.mail.gq1.yahoo.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE, MISSING_SUBJECT Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: hmc0907@yahoo.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2009 20:19:15 -0000 --0-753169596-1235247547=:20346 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi Jack, =A0 You go this site =A0 http://sourceforge.net/project/showfiles.php?group_id=3D2888&package_id=3D4= 0078 =A0 and click =A0 octave-3.0.3-setup.exe=A0=A0 =A0 =A0 I had the same experience before. =A0 Steve Message: 1 Date: Sat, 21 Feb 2009 11:43:58 -0500 From: Jack Crenshaw Subject: Now what? To: Octave-help Message-ID: <49A02F4E.1000001@earthlink.net> Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed This has got to be absolutely the DUMBEST newbie question since Ada=20 Lovelace asked Charles Babbage "Whaaaaaat?" I just downloaded, from sourceforge, what I thought was a Windows=20 executable of Octave 3.0.3.=A0 I ran the installer, got a flurry of=20 activity, and now have a ton of new files and folders on my HD.=A0 What I= =20 don't have is a GUI, MATLAB-like Windows program.=20 I opted for msys rather than Cygwin.=A0 Is that the problem?=A0 Or did I ge= t=20 source instead of executable? Boy, this feels really dumb. Jack =A0 =A0 =A0 =A0 =A0=0A=0A=0A --0-753169596-1235247547=:20346 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Jack,
 
You go this site
 
 
and click
 
 
 
I had the same experience before.
 
Steve
Message: 1
Date: Sat, 21 Feb 2009 11:43:58 -0500
From: Jack Cren= shaw <jcrens@earthlink.net= >
Subject: Now what?
To: Octave-help <help-octave@octav= e.org>
Message-ID: <49A02F4E.1000001@earthlink.net>= ;
Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed
This has got to be absolutely the DUMBEST newbie question since Ada
Lovelace
ask= ed Charles Babbage "Whaaaaaat?"

I just downloaded, from sourceforge,= what I thought was a Windows
executable of Octave 3.0.3.  I ran t= he installer, got a flurry of
activity, and now have a ton of new files= and folders on my HD.  What I
don't have is a GUI, MATLAB-like Wi= ndows program.

I opted for msys rather than Cygwin.  Is that t= he problem?  Or did I get
source instead of executable?

Boy= , this feels really dumb.

Jack

 
 
 
 
 

=0A=0A --0-753169596-1235247547=:20346-- From bounces@nabble.com Sat Feb 21 15:05:21 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1LL5LBJ007116 for ; Sat, 21 Feb 2009 15:05:21 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1LL5BBm016925 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Sat, 21 Feb 2009 15:05:20 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Laz26-0007O4-Ac for help-octave@octave.org; Sat, 21 Feb 2009 13:05:10 -0800 Message-ID: <22140568.post@talk.nabble.com> Date: Sat, 21 Feb 2009 13:05:10 -0800 (PST) From: martin_helm To: help-octave@octave.org Subject: patch function with fltk in 3.1.52+ MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: martin@mhelm.de X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-Mailman-Approved-At: Sat, 21 Feb 2009 15:54:12 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2009 21:05:22 -0000 Hello, while trying the patch function (as a substitute for trisurf) with the recent development sources and backend fltk, I noticed a problem with the color settings, the following does what I expect octave:1> backend("fltk") octave:2> T = [1 2 3]; octave:3> p = [0 0 0; 0 1 0; 1 1 1]; octave:4> patch ('Faces', T, 'Vertices', p, "r") I see a red triangle with black borders. If I pass an rgb (e. g. [0.5 0.5 0.5] ) vector as the help patch suggests the triangle does not change color (independent of the values). Using shading flat to avoid the black borders it leads to a completely black triangle. If I call then again patch ('Faces', T, 'Vertices', p, "r") the colors of border and area are reverted (that means a black triangle with a red border instead of a red triangle with a black border as before). Is there something which I missunderstand or is it simply something which is not yet implemented? I am running linux 2.6.27.7-9-default 64 bit on AMD Athlon Dualcore 2 GHz. I checked the same with a 3.0.3 version and jhandles 0.3.4 where I can assign different colors to the facets (on WinXP). but shading flat does also not work ( here it throws an exception and does not affect the graphics at all). - mh -- View this message in context: http://www.nabble.com/patch-function-with-fltk-in-3.1.52%2B-tp22140568p22140568.html Sent from the Octave - General mailing list archive at Nabble.com. From FlorianSchlenz@gmx.de Sun Feb 22 15:25:37 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1MLPblR013998 for ; Sun, 22 Feb 2009 15:25:37 -0600 (CST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1MLPaJ8006214 for ; Sun, 22 Feb 2009 15:25:36 -0600 Received: (qmail invoked by alias); 22 Feb 2009 20:58:49 -0000 Received: from ppp-93-104-98-156.dynamic.mnet-online.de (EHLO flos-macbook.local) [93.104.98.156] by mail.gmx.net (mp045) with SMTP; 22 Feb 2009 21:58:49 +0100 X-Authenticated: #10652158 X-Provags-ID: V01U2FsdGVkX1+4O11EvBC4C/I0AfdM88b8hDhn/uXAV+HsYwl8/K EzxIMNPbI7kgOy Message-ID: <49A1BC89.4080300@gmx.de> Date: Sun, 22 Feb 2009 21:58:49 +0100 From: Florian Schlenz User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: help-octave@octave.org Subject: setting the editor on a mac doesn't work Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.67 X-Mailfromd-RBL: IP Address 213.165.64.20 is listed on dnsbl.sorbs.net X-Mailfromd: Total of 1 RBL listing (15 mins) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 X-Mailman-Approved-At: Sun, 22 Feb 2009 23:33:10 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2009 21:25:38 -0000 Hi there, I use an Intel Mac with OSX 10.5.6 and Octave 3.0.3 and I want to set the editor to use with octave as it doesn't come with a built in editor on a mac. I have tried to type several things in the octave terminal window: edit editor "xedit %s &" (like it is written in the edit help) edit editor "Aquamacs %s" but nothing worked. I also have tried it with other editors that I installed in my Applications folder. Octave.app is also in the Applications folder by the way. When I do this it seems alright but when I type "edit" oder "edit test.m", while "test.m" is in a folder on the path, nothing happens. It looks like the Terminal is doing something and it won't react any more if I try to type something else, but nothing happens, no editor starts up... Thanks Flo From bpabbott@mac.com Mon Feb 23 01:41:29 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1N7fTgi013515 for ; Mon, 23 Feb 2009 01:41:29 -0600 (CST) Received: from asmtpout015.mac.com (asmtpout015.mac.com [17.148.16.90]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1N7fQdf008252 for ; Mon, 23 Feb 2009 01:41:29 -0600 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [10.0.1.2] ([61.8.253.131]) by asmtp015.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPA id <0KFI00MB5DCVTEP0@asmtp015.mac.com> for help-octave@octave.org; Sun, 22 Feb 2009 23:41:21 -0800 (PST) Message-id: <9E9C05B2-CAD2-4246-8028-BFBB03533B6C@mac.com> From: Ben Abbott To: Florian Schlenz In-reply-to: <49A1BC89.4080300@gmx.de> Subject: Re: setting the editor on a mac doesn't work Date: Mon, 23 Feb 2009 02:41:18 -0500 References: <49A1BC89.4080300@gmx.de> X-Mailer: Apple Mail (2.930.3) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, RCVD_IN_SORBS_WEB Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2009 07:41:30 -0000 On Feb 22, 2009, at 3:58 PM, Florian Schlenz wrote: > Hi there, > > I use an Intel Mac with OSX 10.5.6 and Octave 3.0.3 and I want to set > the editor to use with octave as it doesn't come with a built in > editor > on a mac. > I have tried to type several things in the octave terminal window: > > edit editor "xedit %s &" (like it is written in the > edit help) > edit editor "Aquamacs %s" > > but nothing worked. I also have tried it with other editors that I > installed in my Applications folder. Octave.app is also in the > Applications folder by the way. > > When I do this it seems alright but when I type "edit" oder "edit > test.m", while "test.m" is in a folder on the path, nothing happens. > It looks like the Terminal is doing something and it won't react any > more if I try to type something else, but nothing happens, no editor > starts up... > > > Thanks > > Flo Flo, The "edit editor ..." commands tell octave what editor to use to edit files. Octave will not open the editor until you type "edit myfile.m" (or some other file). Assuming you already understand that; Are any messages/errors displayed after you type the two commands below? edit editor "xedit %s &" edit myfile.m Ben From perhaugaard@yahoo.dk Mon Feb 23 03:02:02 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1N922Bs002761 for ; Mon, 23 Feb 2009 03:02:02 -0600 (CST) Received: from web26604.mail.ukl.yahoo.com (web26604.mail.ukl.yahoo.com [217.146.176.54]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1N920vb027727 for ; Mon, 23 Feb 2009 03:02:01 -0600 Received: (qmail 68865 invoked by uid 60001); 23 Feb 2009 09:01:54 -0000 X-YMail-OSG: 1pRuNWkVM1kyFoRm4rbitZig8YB1Cp6P0ed8Qmvdyib.wpYce6qcfkl3upQo9RIjlwxkC5jWPQJMIg5r41YG0Zq8hujQ300EAHkhB2DrkhwJdrQ7sE60u3p8XSvZ4M9Lc0YIcFDUmk2sPTJuqkujVSQh78YMiRPWCo5T8k6t5j5a7g5vFgcZQqEPIrU_4GvlEy2b4bGP8zorSQZS9_ZmviMyZVMMIGI- Received: from [80.63.69.130] by web26604.mail.ukl.yahoo.com via HTTP; Mon, 23 Feb 2009 09:01:54 GMT X-Mailer: YahooMailWebService/0.7.289.1 Date: Mon, 23 Feb 2009 09:01:54 +0000 (GMT) From: Per Haugaard Subject: Re: Installing the new version 3.0.3 on Ubuntu version 8.10 To: Carlo de Falco In-Reply-To: <46701FC9-EE72-4DC2-B3D0-433DC36CEA46@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-23172884-1235379714=:38355" Message-ID: <520457.38355.qm@web26604.mail.ukl.yahoo.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, HTML_MESSAGE Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: perhaugaard@yahoo.dk List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2009 09:02:06 -0000 --0-23172884-1235379714=:38355 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Dear Carlo, Thank you for your tip. I tried to install all the dependencies using "sudo= apt-get build-dep octave" but I get the following error "E: Unable to find= a source package for octave". Which line is needed in the sources.list to install this package or could t= hat be the problem? Any feedback to the above is appreciated. /Per ______________________ Per Haugaard, Griffenfeldsgade 33, 2.tv 2200 K=F8benhavn N Denmark mobil: +45 26 39 06 40 E-mail: perhaugaard@yahoo.dk --- Den ons 18/2/09 skrev Carlo de Falco : Fra: Carlo de Falco Emne: Re: Installing the new version 3.0.3 on Ubuntu version 8.10 Til: perhaugaard@yahoo.dk Cc: help-octave@octave.org Dato: onsdag 18. februar 2009 14.30 On 18 Feb 2009, at 12:51, Per Haugaard wrote: > Dear user group, >=20 > Trying for the first time to install octave on my Linux system. After issuing the ./configure --prefix /opt/octave_v3 with no trouble I issued th= e make command. Here I get the following error and the make procedure is halt= ed: >=20 > collect2: ld returned 1 exit status > make[2]: *** [octave] Error 1 > make[2]: Leaving directory `/home/pha/Progz/octave-3.0.3/src' > make[1]: *** [src] Error 2 > make[1]: Leaving directory `/home/pha/Progz/octave-3.0.3' > make: *** [all] Error 2 >=20 > Make check gives the following message: >=20 > make[1]: Entering directory `/home/pha/Progz/octave-3.0.3' > make -C test check > make[2]: Entering directory `/home/pha/Progz/octave-3.0.3/test' > ../run-octave --norc --silent --no-history ./fntests.m . > exec: 72: /home/pha/Progz/octave-3.0.3/src/octave: not found > make[2]: *** [check] Error 2 > make[2]: Leaving directory `/home/pha/Progz/octave-3.0.3/test' > make[1]: *** [check] Error 2 > make[1]: Leaving directory `/home/pha/Progz/octave-3.0.3' > make: *** [check] Error 2 >=20 > Running the make command I only noticed warnings on integers especially o= n oct-inttypes.cc and oct-inttypes.h. >=20 > The above description might not so informative. Indeed the error messages you provided are not enough... > But hopefully some has had the same errors before. Any help or feedback i= s appreciated I can only try to guess, do you have all dependencies installed? You can do it easiy on ubuntu by: sudo apt-get build-dep octave > /Per c. =0A=0A=0A Tr=E6nger du til at se det store billede? Kelkoo giver dig g= ode tilbud p=E5 LCD TV! Se her http://dk.yahoo.com/r/pat/lcd --0-23172884-1235379714=:38355 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Dear Carlo,

Thank you for your tip. I tried to install a= ll the dependencies using "sudo apt-get build-dep octave" = but I get the following error "E: Unable to find a source pac= kage for octave".

Which line is needed in the sources.list to instal= l this package or could that be the problem?

Any feedback to the abo= ve is appreciated.


/Per

_________________= _____

Per Haugaard,
Griffenfeldsgade 33, 2.tv
2200 K=F8benhavn N
Denmark

mobil: +45 26 39 06 40
E-mail: perhaugaard@yahoo.dk

--- Den ons 18/2/09 skrev Carlo de F= alco <carlo.defalco@gmail.com>:
"E: Unable to find a source package for octave". try: sudo apt-get build-dep octave3.0 c. From bounces@nabble.com Mon Feb 23 07:57:28 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1NDvSD5009077 for ; Mon, 23 Feb 2009 07:57:28 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1NDvLIY009402 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 23 Feb 2009 07:57:28 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LbbJ9-0005Oh-KN for help-octave@octave.org; Mon, 23 Feb 2009 05:57:19 -0800 Message-ID: <22161948.post@talk.nabble.com> Date: Mon, 23 Feb 2009 05:57:19 -0800 (PST) From: martin_helm To: help-octave@octave.org Subject: marching cubes and isosurface MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: martin@mhelm.de X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2009 13:57:29 -0000 Hello, this post was first on the graphics list, but I deleted it by accident, since I noticed that the graphics list seems to be allmost dead I put it here. The situation: I could not find an isosurface function similar to matlab or marching cubes algorithm in octave. So I recently made my own one. It creates a triangulation from a scalar function on a meshgrid (it can be found at http://www.mhelm.de/octave/m/marching_cubes.m). If it is usefull to someone I would be glad to receive a feedback. I preferred a pure .m file implementation since the performance is good enough for my needs and I will enhance it to a complete isosurface function compatible with matlab. Since I do not intend to event the wheel twice, can someone point me to an existing implementation if there exists one? Can someone give me the information if "trisurf" will be implemented in the next version of octave (3.2) or in octave forge, I couldn't find out, although I found discussions about trisurf in mailing lists? For the moment I use octaviz for things like that because it still gives me interactive graphics with vtk_trisurf even for large datasets (e. g. triangle meshes with >1.6 M triangles). I wonder if something similar will be available with the new fltk backend. I checked the development sources but could not find trisurf. The enhanced patch function with fltk and jhandles gives a similar functionality but seems to have some problems with the shading settings. -mh -- View this message in context: http://www.nabble.com/marching-cubes-and-isosurface-tp22161948p22161948.html Sent from the Octave - General mailing list archive at Nabble.com. From Potorti@isti.cnr.it Mon Feb 23 08:44:11 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1NEiBt6021928 for ; Mon, 23 Feb 2009 08:44:11 -0600 (CST) Received: from ITANIUM.ISTI.CNR.IT (mx4.isti.cnr.it [194.119.192.6]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1NEi53f012586 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 23 Feb 2009 08:44:11 -0600 Received: from conversionlocal.isti.cnr.it by mx.isti.cnr.it (PMDF V6.4 #31598) id <01N5UDHDX6CGA5Y6VO@mx.isti.cnr.it> for help-octave@octave.org; Mon, 23 Feb 2009 15:44:01 +0100 Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by mx.isti.cnr.it (PMDF V6.4 #31599) with ESMTPSA id <01N5UDHD5TDSA4MEUU@mx.isti.cnr.it> for help-octave@octave.org; Mon, 23 Feb 2009 15:44:01 +0100 Received: from pot by tucano.isti.cnr.it with local (Exim 4.69) (envelope-from ) id 1Lbc2K-0008Rh-HH for help-octave@octave.org; Mon, 23 Feb 2009 15:44:00 +0100 Date: Mon, 23 Feb 2009 15:44:00 +0100 From: Francesco Potorti` Subject: symbols size doubled from 3.1.51 to 3.1.52 To: Octave users list Message-id: Organization: ISTI-CNR, via Moruzzi 1, I-56124 Pisa, +39-0503153058 MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2009 14:44:12 -0000 When producing a PNG or SVG plot with Octave, the symbols size doubles switching from 3.1.51 to 3.1.52. I dumped the gnuplot output, and in fact I see instructions like this: set style line 3 linecolor rgb "#000000" linewidth 2.000000 pointsize 2.000000; while the same plot in 3.1.51 produces set style line 3 linecolor rgb "#000000" linewidth 2.000000 pointsize 1.000000; Is this change intentional? If not, I'll try to setup a bug report or even to debug it myself. -- Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.2111) ISTI - Area della ricerca CNR Fax: +39 050 315 2040 via G. Moruzzi 1, I-56124 Pisa Email: Potorti@isti.cnr.it (entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/ From Potorti@isti.cnr.it Mon Feb 23 09:32:30 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1NFWUUR003800; Mon, 23 Feb 2009 09:32:30 -0600 (CST) Received: from ITANIUM.ISTI.CNR.IT (mx4.isti.cnr.it [194.119.192.6]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1NFWQeL002712 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 23 Feb 2009 09:32:30 -0600 Received: from conversionlocal.isti.cnr.it by mx.isti.cnr.it (PMDF V6.4 #31598) id <01N5UF64O0809YH451@mx.isti.cnr.it>; Mon, 23 Feb 2009 16:32:13 +0100 Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by mx.isti.cnr.it (PMDF V6.4 #31598) with ESMTPSA id <01N5UF6410ZYA3FCUO@mx.isti.cnr.it>; Mon, 23 Feb 2009 16:32:12 +0100 (MET) Received: from pot by tucano.isti.cnr.it with local (Exim 4.69) (envelope-from ) id 1Lbcmy-0000bR-4d; Mon, 23 Feb 2009 16:32:12 +0100 Date: Mon, 23 Feb 2009 16:32:12 +0100 From: Francesco Potorti` Subject: Re: symbols size doubled from 3.1.51 to 3.1.52 In-reply-to: To: Octave bugs list Message-id: Organization: ISTI-CNR, via Moruzzi 1, I-56124 Pisa, +39-0503153058 MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 References: X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2009 15:32:31 -0000 >When producing a PNG or SVG plot with Octave, the symbols size doubles >switching from 3.1.51 to 3.1.52. > >I dumped the gnuplot output, and in fact I see instructions like this: > > set style line 3 linecolor rgb "#000000" > linewidth 2.000000 pointsize 2.000000; > >while the same plot in 3.1.51 produces > > set style line 3 linecolor rgb "#000000" > linewidth 2.000000 pointsize 1.000000; > >Is this change intentional? > >If not, I'll try to setup a bug report or even to debug it myself. The patch is in very fact simple, and brings back the symbol size to what used to be before 3.1.52. Unless I am missing something here, this is a regression. --- /usr/share/octave/3.1.52/m/plot/__go_draw_axes__.m~ 2009-02-21 11:08:47.000000000 +0100 +++ /usr/share/octave/3.1.52/m/plot/__go_draw_axes__.m 2009-02-23 16:30:09.000000000 +0100 @@ -594,7 +594,7 @@ usingclause{data_idx} = sprintf ("record=%d", numel (obj.xdata)); if (isfield (obj, "markersize")) - mdat = obj.markersize / 3; + mdat = obj.markersize / 6; endif if (isfield (obj, "edgecolor")) @@ -1320,7 +1320,7 @@ endif if (isfield (obj, "markersize")) - fprintf (plot_stream, " pointsize %f", obj.markersize / 3); + fprintf (plot_stream, " pointsize %f", obj.markersize / 6 ); found_style = true; endif else -- Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.2111) ISTI - Area della ricerca CNR Fax: +39 050 315 2040 via G. Moruzzi 1, I-56124 Pisa Email: Potorti@isti.cnr.it (entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/ From jordigh@gmail.com Mon Feb 23 11:15:14 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1NHFEEn027769 for ; Mon, 23 Feb 2009 11:15:14 -0600 (CST) Received: from mail-gx0-f179.google.com (mail-gx0-f179.google.com [209.85.217.179]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1NHF3I2027665 for ; Mon, 23 Feb 2009 11:15:13 -0600 Received: by gxk27 with SMTP id 27so5571652gxk.0 for ; Mon, 23 Feb 2009 09:14:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.151.157.1 with SMTP id j1mr5473058ybo.145.1235409298332; Mon, 23 Feb 2009 09:14:58 -0800 (PST) In-Reply-To: <520457.38355.qm@web26604.mail.ukl.yahoo.com> References: <46701FC9-EE72-4DC2-B3D0-433DC36CEA46@gmail.com> <520457.38355.qm@web26604.mail.ukl.yahoo.com> Date: Mon, 23 Feb 2009 11:14:58 -0600 Message-ID: <9543b3a40902230914p46eade80o291d4a1b46c10acf@mail.gmail.com> Subject: Re: Installing the new version 3.0.3 on Ubuntu version 8.10 From: =?UTF-8?Q?Jordi_Guti=C3=A9rrez_Hermoso?= To: perhaugaard@yahoo.dk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2009 17:15:16 -0000 2009/2/23 Per Haugaard : > Which line is needed in the sources.list to install this package or could > that be the problem? Also make sure that your sources.list contains an identical deb-src line for each deb ine. - Jordi G. H. From Thomas.Treichl@gmx.net Mon Feb 23 15:07:30 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1NL7UtJ026024 for ; Mon, 23 Feb 2009 15:07:30 -0600 (CST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1NL7TRE002669 for ; Mon, 23 Feb 2009 15:07:30 -0600 Received: (qmail invoked by alias); 23 Feb 2009 20:07:24 -0000 Received: from e181097071.adsl.alicedsl.de (EHLO MacMini.local) [85.181.97.71] by mail.gmx.net (mp047) with SMTP; 23 Feb 2009 21:07:24 +0100 X-Authenticated: #13438314 X-Provags-ID: V01U2FsdGVkX1/FhKEeC5/FZEwIB+0DFeBnIdHPWztwNG9q9ECt1a 0EJylkTAR8JKbs Message-ID: <49A301F9.70002@gmx.net> Date: Mon, 23 Feb 2009 21:07:21 +0100 From: Thomas Treichl User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: martin_helm Subject: Re: marching cubes and isosurface References: <22161948.post@talk.nabble.com> In-Reply-To: <22161948.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.67 X-Mailfromd-RBL: IP Address 213.165.64.20 is listed on dnsbl.sorbs.net X-Mailfromd: Total of 1 RBL listing (15 mins) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2009 21:07:31 -0000 martin_helm schrieb: > Hello, > > this post was first on the graphics list, but I deleted it by accident, > since I noticed that the graphics list seems to be allmost dead I put it > here. > > The situation: > I could not find an isosurface function similar to matlab or marching cubes > algorithm in octave. So I recently made my own one. It creates a > triangulation from a scalar function on a meshgrid (it can be found at > http://www.mhelm.de/octave/m/marching_cubes.m). > If it is usefull to someone I would be glad to receive a feedback. I > preferred a pure .m file implementation since the performance is good enough > for my needs and I will enhance it to a complete isosurface function > compatible with matlab. > Since I do not intend to event the wheel twice, can someone point me to an > existing implementation if there exists one? > Can someone give me the information if "trisurf" will be implemented in the > next version of octave (3.2) or in octave forge, I couldn't find out, > although I found discussions about trisurf in mailing lists? > For the moment I use octaviz for things like that because it still gives me > interactive graphics with vtk_trisurf even for large datasets (e. g. > triangle meshes with >1.6 M triangles). I wonder if something similar will > be available with the new fltk backend. > I checked the development sources but could not find trisurf. The enhanced > patch function with fltk and jhandles gives a similar functionality but > seems to have some problems with the shading settings. Hi Martin, I recently have started to implement isosurface.m to create some volumetric output with Octave but it still is in a very early stage and not good enough to be posted here - don't know how long it will take me to finish it but maybe I even must not finish it: Are you planing to work on isocaps, isonormals, etc. too? If yes, then I will rethink my effort for iso* and go on with something else? Best regards, Thomas From martin@mhelm.de Mon Feb 23 15:29:19 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1NLTJn2000894 for ; Mon, 23 Feb 2009 15:29:19 -0600 (CST) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1NLT6Qp010913 for ; Mon, 23 Feb 2009 15:29:19 -0600 Received: from sirius.localnet (port-92-194-72-49.dynamic.qsc.de [92.194.72.49]) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis) id 0MKwh2-1LbiMG36EB-0006Nz; Mon, 23 Feb 2009 22:29:00 +0100 From: Martin Helm To: Thomas Treichl Subject: Re: marching cubes and isosurface Date: Mon, 23 Feb 2009 22:28:58 +0100 User-Agent: KMail/1.10.3 (Linux/2.6.27.7-9-default; KDE/4.1.3; x86_64; ; ) References: <22161948.post@talk.nabble.com> <49A301F9.70002@gmx.net> In-Reply-To: <49A301F9.70002@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902232228.59468.martin@mhelm.de> X-Provags-ID: V01U2FsdGVkX18j7/ceNYZni4YAehJ8MJrtvpn6cpzXxkXtMDe BU4sOMqP+FjFZwORIvDZBQIfIq9x0CaoNC4dS3BZMdPaHy41B6 gln8qRhQPj/7yHuhLcWt227ydYyP+9H X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, SPF_HELO_PASS Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2009 21:29:20 -0000 > martin_helm schrieb: > > Hello, > > > > this post was first on the graphics list, but I deleted it by accident, > > since I noticed that the graphics list seems to be allmost dead I put it > > here. > > > > The situation: > > I could not find an isosurface function similar to matlab or marching > > cubes algorithm in octave. So I recently made my own one. It creates a > > triangulation from a scalar function on a meshgrid (it can be found at > > http://www.mhelm.de/octave/m/marching_cubes.m). > > If it is usefull to someone I would be glad to receive a feedback. I > > preferred a pure .m file implementation since the performance is good > > enough for my needs and I will enhance it to a complete isosurface > > function compatible with matlab. > > Since I do not intend to event the wheel twice, can someone point me to > > an existing implementation if there exists one? > > Can someone give me the information if "trisurf" will be implemented in > > the next version of octave (3.2) or in octave forge, I couldn't find out, > > although I found discussions about trisurf in mailing lists? > > For the moment I use octaviz for things like that because it still gives > > me interactive graphics with vtk_trisurf even for large datasets (e. g. > > triangle meshes with >1.6 M triangles). I wonder if something similar > > will be available with the new fltk backend. > > I checked the development sources but could not find trisurf. The > > enhanced patch function with fltk and jhandles gives a similar > > functionality but seems to have some problems with the shading settings. > > Hi Martin, > > I recently have started to implement isosurface.m to create some volumetric > output with Octave but it still is in a very early stage and not good > enough to be posted here - don't know how long it will take me to finish it > but maybe I even must not finish it: Are you planing to work on isocaps, > isonormals, etc. too? If yes, then I will rethink my effort for iso* and go > on with something else? > > Best regards, > > Thomas Dear Thomas, in fact this is the intention ( my question was mainly that I want to avoid to implement something which is already available). As a first step I need isosurface and isonormals so I will implement them soon. Then I will think about isocaps (my background is visualization of post processed medical datasets), so I guess I will implement it too. The limiting factor was until now the relatively slow and somewhat limited 3d drawing functions with octave (not everyone uses octaviz and it has a special syntax so it is not directly portable to other octave users). As far as I can see this will no longer be a real problem in the near future since we have now opengl backends available in octave where the syntax is unified. My plan is first to implement everything as .m files and if there are severe performance problems with something (I hope not) reimplement critical functions as oct files. - mh From bounces@nabble.com Mon Feb 23 19:16:00 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1O1G0A1024849 for ; Mon, 23 Feb 2009 19:16:00 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1O1FwDh010879 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 23 Feb 2009 19:16:00 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Lblts-0004F2-Rn for help-octave@octave.org; Mon, 23 Feb 2009 17:15:56 -0800 Message-ID: <22173926.post@talk.nabble.com> Date: Mon, 23 Feb 2009 17:15:56 -0800 (PST) From: martin_helm To: help-octave@octave.org Subject: Re: patch function with fltk in 3.1.52+ In-Reply-To: <22140568.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: martin@mhelm.de References: <22140568.post@talk.nabble.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2009 01:16:01 -0000 martin_helm wrote: > > Hello, > > while trying the patch function (as a substitute for trisurf) with the > recent development sources and backend fltk, I noticed a problem with the > color settings, the following does what I expect > > octave:1> backend("fltk") > octave:2> T = [1 2 3]; > octave:3> p = [0 0 0; 0 1 0; 1 1 1]; > octave:4> patch ('Faces', T, 'Vertices', p, "r") > > I see a red triangle with black borders. > If I pass an rgb (e. g. [0.5 0.5 0.5] ) vector as the help patch suggests > the triangle does not change color (independent of the values). > Using > > shading flat > > to avoid the black borders it leads to a completely black triangle. > If I call then again > > patch ('Faces', T, 'Vertices', p, "r") > > the colors of border and area are reverted (that means a black triangle > with a red border instead of a red triangle with a black border as > before). > > Is there something which I missunderstand or is it simply something which > is not yet implemented? > > I am running linux 2.6.27.7-9-default 64 bit on AMD Athlon Dualcore 2 GHz. > > I checked the same with a 3.0.3 version and jhandles 0.3.4 where I can > assign different colors to the facets (on WinXP). but shading flat does > also not work ( here it throws an exception and does not affect the > graphics at all). > > - mh > > > To answer a part of my own question: I found that patch('Faces',T,'Vertices',p,'FaceVertexCData', c, 'FaceColor','flat', 'EdgeColor', 'none') does exactly what I was looking for. One question remains, what is the intended behaviour if a shading command is invoked afterwards? -- View this message in context: http://www.nabble.com/patch-function-with-fltk-in-3.1.52%2B-tp22140568p22173926.html Sent from the Octave - General mailing list archive at Nabble.com. From ffxvzero@gmail.com Tue Feb 24 11:35:12 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1OHZCrV025738 for ; Tue, 24 Feb 2009 11:35:12 -0600 (CST) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1OHZ7mt014645 for ; Tue, 24 Feb 2009 11:35:11 -0600 Received: by wa-out-1112.google.com with SMTP id j32so1495343waf.24 for ; Tue, 24 Feb 2009 09:35:06 -0800 (PST) MIME-Version: 1.0 Sender: ffxvzero@gmail.com Received: by 10.114.168.1 with SMTP id q1mr2343488wae.152.1235496906853; Tue, 24 Feb 2009 09:35:06 -0800 (PST) Date: Tue, 24 Feb 2009 12:35:06 -0500 X-Google-Sender-Auth: 56950c21a6e1ee92 Message-ID: <103101d70902240935o2e5484d1l38209c9b4c1577a4@mail.gmail.com> Subject: bwselect and bwfill image toolbox bug From: Rosen Diankov To: help-octave@octave.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, SARE_FROM_BADAOL X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2009 17:35:15 -0000 hi all, bwselect calling conventions are: [IMOUT, IDX] = bwselect(IM, COLS, ROWS, CONNECT) and bwfill calling conventions are: [BW2, IDX] = bwfill(BW1, R, C, N) Notice how the columns and rows are flipped. This is a *big* problem because bwselect happily calls bwfill with inputting its columns before rows. This causes octave to crash with memory corruption. Another problem is possible compatibility issues with matlab because matlab's bwfill function is [BW2, IDX] = bwfill(BW1, C, R, N) this is tested with the newest release of the image toolbox 1.0.8 rosen, From jwe@octave.org Tue Feb 24 11:48:38 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1OHmcCb029018 for ; Tue, 24 Feb 2009 11:48:38 -0600 (CST) Received: from spaceymail-a5.g.dreamhost.com (lax-green-bigip-5.dreamhost.com [208.113.200.5]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1OHmbGO018266 for ; Tue, 24 Feb 2009 11:48:38 -0600 Received: from segfault.lan (cpe-75-187-164-94.neo.res.rr.com [75.187.164.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by spaceymail-a5.g.dreamhost.com (Postfix) with ESMTP id 9ED0F870BF; Tue, 24 Feb 2009 09:48:35 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18852.13040.826279.106706@segfault.lan> Date: Tue, 24 Feb 2009 12:48:32 -0500 To: Rosen Diankov Subject: bwselect and bwfill image toolbox bug In-Reply-To: <103101d70902240935o2e5484d1l38209c9b4c1577a4@mail.gmail.com> References: <103101d70902240935o2e5484d1l38209c9b4c1577a4@mail.gmail.com> X-Mailer: VM 8.0.9 under Emacs 22.2.1 (x86_64-pc-linux-gnu) From: "John W. Eaton" X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2009 17:48:40 -0000 On 24-Feb-2009, Rosen Diankov wrote: | hi all, | | bwselect calling conventions are: | [IMOUT, IDX] = bwselect(IM, COLS, ROWS, CONNECT) | | and bwfill calling conventions are: | [BW2, IDX] = bwfill(BW1, R, C, N) | | Notice how the columns and rows are flipped. This is a *big* problem | because bwselect happily calls bwfill with inputting its columns | before rows. This causes octave to crash with memory corruption. | | Another problem is possible compatibility issues with matlab because | matlab's bwfill function is | [BW2, IDX] = bwfill(BW1, C, R, N) | | this is tested with the newest release of the image toolbox 1.0.8 The help@octave.org list is not really intended as a place to report bugs. Bugs in Octave should be reported to the bug@octave.org list. Problems with the packages should be reported to the package maintainers. For most Octave packages, that's the octave-dev@lists.sourceforge.net list. Thanks, jwe From Thomas.Treichl@gmx.net Tue Feb 24 13:55:23 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1OJtNad000640 for ; Tue, 24 Feb 2009 13:55:23 -0600 (CST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1OJtLge028295 for ; Tue, 24 Feb 2009 13:55:22 -0600 Received: (qmail invoked by alias); 24 Feb 2009 19:55:10 -0000 Received: from e181112099.adsl.alicedsl.de (EHLO MacMini.local) [85.181.112.99] by mail.gmx.net (mp042) with SMTP; 24 Feb 2009 20:55:10 +0100 X-Authenticated: #13438314 X-Provags-ID: V01U2FsdGVkX1+L8KI7lS+LwAP2G0AR4qD7WApHZ+Evq+HD8V3JIr h8pwUR9TNelql2 Message-ID: <49A4509A.4000102@gmx.net> Date: Tue, 24 Feb 2009 20:55:06 +0100 From: Thomas Treichl User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Martin Helm Subject: Re: marching cubes and isosurface References: <22161948.post@talk.nabble.com> <49A301F9.70002@gmx.net> <200902232228.59468.martin@mhelm.de> In-Reply-To: <200902232228.59468.martin@mhelm.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.65 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2009 19:55:24 -0000 Martin Helm schrieb: >> martin_helm schrieb: >>> Hello, >>> >>> this post was first on the graphics list, but I deleted it by accident, >>> since I noticed that the graphics list seems to be allmost dead I put it >>> here. >>> >>> The situation: >>> I could not find an isosurface function similar to matlab or marching >>> cubes algorithm in octave. So I recently made my own one. It creates a >>> triangulation from a scalar function on a meshgrid (it can be found at >>> http://www.mhelm.de/octave/m/marching_cubes.m). >>> If it is usefull to someone I would be glad to receive a feedback. I >>> preferred a pure .m file implementation since the performance is good >>> enough for my needs and I will enhance it to a complete isosurface >>> function compatible with matlab. >>> Since I do not intend to event the wheel twice, can someone point me to >>> an existing implementation if there exists one? >>> Can someone give me the information if "trisurf" will be implemented in >>> the next version of octave (3.2) or in octave forge, I couldn't find out, >>> although I found discussions about trisurf in mailing lists? >>> For the moment I use octaviz for things like that because it still gives >>> me interactive graphics with vtk_trisurf even for large datasets (e. g. >>> triangle meshes with >1.6 M triangles). I wonder if something similar >>> will be available with the new fltk backend. >>> I checked the development sources but could not find trisurf. The >>> enhanced patch function with fltk and jhandles gives a similar >>> functionality but seems to have some problems with the shading settings. >> Hi Martin, >> >> I recently have started to implement isosurface.m to create some volumetric >> output with Octave but it still is in a very early stage and not good >> enough to be posted here - don't know how long it will take me to finish it >> but maybe I even must not finish it: Are you planing to work on isocaps, >> isonormals, etc. too? If yes, then I will rethink my effort for iso* and go >> on with something else? >> >> Best regards, >> >> Thomas > > Dear Thomas, > > in fact this is the intention ( my question was mainly that I want to avoid to > implement something which is already available). Searching inside of the current Octave and Octave-Forge sources gave no result that isosurface is available. > As a first step I need isosurface and isonormals so I will implement them > soon. Then I will think about isocaps (my background is visualization of post > processed medical datasets), so I guess I will implement it too. The limiting > factor was until now the relatively slow and somewhat limited 3d drawing > functions with octave (not everyone uses octaviz and it has a special syntax > so it is not directly portable to other octave users). As far as I can see > this will no longer be a real problem in the near future since we have now > opengl backends available in octave where the syntax is unified. > My plan is first to implement everything as .m files and if there are severe > performance problems with something (I hope not) reimplement critical > functions as oct files. Sounds very good! I already had a first look at you marching_cubes.m file and I think implementing everything in *.m should be fast enough - you already use a high vectorizing technique. My suggestion also is that you announce your codes on the Octave maintainers mailing-list once you have finished... Meanwhile best regards, Thomas From alain.baeckeroot@laposte.net Tue Feb 24 19:44:52 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1P1iqeJ024855 for ; Tue, 24 Feb 2009 19:44:52 -0600 (CST) Received: from smtp19.orange.fr (smtp19.orange.fr [80.12.242.1]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1P1ioiB023981 for ; Tue, 24 Feb 2009 19:44:52 -0600 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1903.orange.fr (SMTP Server) with ESMTP id E97571C0008A for ; Wed, 25 Feb 2009 02:44:43 +0100 (CET) Received: from new-host.home (AMarseille-251-1-29-101.w83-113.abo.wanadoo.fr [83.113.143.101]) by mwinf1903.orange.fr (SMTP Server) with ESMTP id 7581F1C00088 for ; Wed, 25 Feb 2009 02:44:43 +0100 (CET) X-ME-UUID: 20090225014443481.7581F1C00088@mwinf1903.orange.fr From: Alain To: help-octave@octave.org Subject: getting numerical datas from postgres Date: Wed, 25 Feb 2009 02:44:35 +0100 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902250244.35379.alain.baeckeroot@laposte.net> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 01:44:53 -0000 Hello I would like to retrieve numerical data from postgresql database. i installed the database-1.0.tgz pkg, which import data in "cell" then i convert to string then to num (for decimal numbers). But the "for" loop is very slow (near 1 second for 10000 fields). stuff=sql("select stuff.* from stuff,lieu where stuff.id_lieu=lieu.id and lieu.ville='Paris';"); # convert cell to numbers s=size(stuff)(1); t=zeros(s,1); h=zeros(s,1); # t is signed decimal (eg -12.3) for i=1:s t(i) = str2num( cell2mat( stuff(i,2) ) ); endfor # h is unsigned int (eg 87) h = cell2mat( stuff(:,4) ); 1/ it would be ok without the "for" loop, but i failed to avoid it (like for the h vector). What is wrong in my import/conversion ? 2/ i found the (old) pgnumdata (http://dirk.eddelbuettel.com/code/octave-pg/pgnumdata.cc.txt) but i cannot build it (instruction given in the end of the file) - i don't find headers libq++.h - PgDatabase seems to have disapeared from pg (i guess pgnumdata is rather old and used to work with older version of octave and postgres). Is there a new version or something equivalent ? Thanks in advance for any help/url/hint .... Best regards. Alain. From arangaramu@qtww.com Tue Feb 24 11:26:32 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1OHQWbI023603 for ; Tue, 24 Feb 2009 11:26:32 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1OHQWku016744 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 24 Feb 2009 11:26:32 -0600 Received: from mail.qtww.com (gateway.qtww.com [63.101.35.65] (may be forged)) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1OHQRGQ032370 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Tue, 24 Feb 2009 11:26:31 -0600 Received: from Monza.TAOD-DIV.COM ([fe80::b889:623a:fa7f:6eb1]) by Venture.TAOD-DIV.COM ([::1]) with mapi; Tue, 24 Feb 2009 09:26:20 -0800 From: Anand Rangaramu To: "help@octave.org" Date: Tue, 24 Feb 2009 09:26:18 -0800 Subject: Is it possible to build stand alone exe usiing Octave Thread-Topic: Is it possible to build stand alone exe usiing Octave Thread-Index: AcmWpQD0v+lE5jH8TQSIfxtjOj8iBg== Message-ID: <2EE3EF729614514BA3DE75278D9E4078056AD9A9@Monza.TAOD-DIV.COM> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_2EE3EF729614514BA3DE75278D9E4078056AD9A9MonzaTAODDIVCOM_" MIME-Version: 1.0 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, HTML_MESSAGE X-Mailman-Approved-At: Wed, 25 Feb 2009 00:03:00 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2009 17:26:33 -0000 --_000_2EE3EF729614514BA3DE75278D9E4078056AD9A9MonzaTAODDIVCOM_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello Sir, I have a written a Matlab application, but I don't have compiler to make it= an executable. Is it possible to convert this application into stand alone executable? I h= ave C compilers from green hills or I can download gcc. Thanks Anand --_000_2EE3EF729614514BA3DE75278D9E4078056AD9A9MonzaTAODDIVCOM_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello Sir,

 

I have a written a Matlab application, but I don’t have compiler to mak= e it an executable.

 

Is it possible to convert this application into stand alone executable? I have C compilers from green hills or I can download gcc.<= /p>

 

Thanks

Anand

--_000_2EE3EF729614514BA3DE75278D9E4078056AD9A9MonzaTAODDIVCOM_-- From bounces@nabble.com Tue Feb 24 23:18:22 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1P5ILTj015722 for ; Tue, 24 Feb 2009 23:18:21 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1P5IExp015526 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 24 Feb 2009 23:18:21 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LcC9s-0000DU-Qa for help-octave@octave.org; Tue, 24 Feb 2009 21:18:12 -0800 Message-ID: <22196529.post@talk.nabble.com> Date: Tue, 24 Feb 2009 21:18:12 -0800 (PST) From: leledumbo To: help-octave@octave.org Subject: Octave GUI list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: leledumbo_cool@yahoo.co.id X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-Mailman-Approved-At: Wed, 25 Feb 2009 00:03:01 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 05:18:23 -0000 I'd like to know what GUI exists for Octave (preferably the 'still alive' ones) and which one is the 'main' (most supported)? -- View this message in context: http://www.nabble.com/Octave-GUI-list-tp22196529p22196529.html Sent from the Octave - General mailing list archive at Nabble.com. From jgpallero@gmail.com Wed Feb 25 01:18:14 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1P7IEbc013012 for ; Wed, 25 Feb 2009 01:18:14 -0600 (CST) Received: from qw-out-1920.google.com (qw-out-1920.google.com [74.125.92.149]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1P7IB2m009723 for ; Wed, 25 Feb 2009 01:18:14 -0600 Received: by qw-out-1920.google.com with SMTP id 5so1211280qwf.48 for ; Tue, 24 Feb 2009 23:18:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.224.11.1 with SMTP id r1mr56713qar.222.1235546291500; Tue, 24 Feb 2009 23:18:11 -0800 (PST) In-Reply-To: <22196529.post@talk.nabble.com> References: <22196529.post@talk.nabble.com> Date: Wed, 25 Feb 2009 08:18:11 +0100 Message-ID: <323eda50902242318u5f6e8bb3of4c06efd4a3d150f@mail.gmail.com> Subject: Re: Octave GUI list From: =?ISO-8859-1?Q?Jos=E9_Luis_Garc=EDa_Pallero?= To: leledumbo Content-Type: multipart/alternative; boundary=0015175cdcc4cef9c80463b9093f X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE, WHOIS_MYPRIVREG Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 07:18:15 -0000 --0015175cdcc4cef9c80463b9093f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable QtOctave: http://qtoctave.wordpress.com/ 2009/2/25 leledumbo > > I'd like to know what GUI exists for Octave (preferably the 'still alive' > ones) and which one is the 'main' (most supported)? > -- > View this message in context: > http://www.nabble.com/Octave-GUI-list-tp22196529p22196529.html > Sent from the Octave - General mailing list archive at Nabble.com. > > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > --=20 ***************************************** Jos=E9 Luis Garc=EDa Pallero jgpallero@gmail.com (o< / / \ V_/_ Use Debian GNU/Linux and enjoy! ***************************************** --0015175cdcc4cef9c80463b9093f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable QtOctave: http://qtoctave.wordpr= ess.com/

2009/2/25 leledumbo <leledumbo_cool@= yahoo.co.id>

I'd like to know what GUI exists for Octave (preferably the 'still = alive'
ones) and which one is the 'main' (most supported)?
--
View this message in context: http://www.nabble.com/Octav= e-GUI-list-tp22196529p22196529.html
Sent from the Octave - General mailing list archive at Nabble.com.

_______________________________________________
Help-octave mailing list
Help-octave@octave.org
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave<= br>



--
****************= *************************
Jos=E9 Luis Garc=EDa Pallero
jgpallero@gmail.com
(o<
/ / \
V_/_=
Use Debian GNU/Linux and enjoy!
****************************************= *
--0015175cdcc4cef9c80463b9093f-- From Fred.Touwslager@PolymerVision.com Wed Feb 25 02:37:43 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1P8bhRg000437 for ; Wed, 25 Feb 2009 02:37:43 -0600 (CST) Received: from htc25.hightechcampus.nl (htc25.hightechcampus.nl [194.171.252.58]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1P8bZYh017388 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 25 Feb 2009 02:37:42 -0600 Received: from c3mail1.hightechcampus.nl (c3mail1.hightechcampus.nl [10.56.136.241]) by htc25.hightechcampus.nl (8.12.11.20060308/8.12.11) with ESMTP id n1P8bYBi002637 for ; Wed, 25 Feb 2009 09:37:34 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C99724.4E25A1EC" Subject: errors with "mkoctfile convhulln.cc" in MSVC-Octave 3.0.3 Date: Wed, 25 Feb 2009 09:37:33 +0100 Message-ID: <7A0346AB80BF9D4DB4A662F70CC06C99010DA68B@c3mail1.hightechcampus.nl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: errors with "mkoctfile convhulln.cc" in MSVC-Octave 3.0.3 Thread-Index: AcmXJE2cdEEIj/7IS/egdJNJOBbDxg== From: "Fred Touwslager" To: X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 08:37:44 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C99724.4E25A1EC Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I worked it out. I took me some time (due to lack of experience from my side), but indeed compiling qhull and linking the qhull.lib solved my issue. =20 Kind regards,=20 Fred J. Touwslager=20 ------_=_NextPart_001_01C99724.4E25A1EC Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
I = worked it out. I=20 took me some time (due to lack of experience from my side), but indeed = compiling=20 qhull and linking the qhull.lib solved my issue.
 

Kind regards,=20

Fred J. = Touwslager

------_=_NextPart_001_01C99724.4E25A1EC-- From alexr@ugcs.caltech.edu Wed Feb 25 07:01:25 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1PD1PoW026861 for ; Wed, 25 Feb 2009 07:01:25 -0600 (CST) Received: from hermes.ugcs.caltech.edu (hermes.ugcs.caltech.edu [131.215.176.65]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1PD1O7e022999 for ; Wed, 25 Feb 2009 07:01:25 -0600 Received: from [0.0.0.0] (lethe.ugcs.caltech.edu [131.215.176.108]) (Authenticated sender: alexr) by hermes.ugcs.caltech.edu (Postfix) with ESMTP id C5E43F8B06F for ; Wed, 25 Feb 2009 05:01:19 -0800 (PST) Message-ID: <49A5411B.7070803@ugcs.caltech.edu> Date: Wed, 25 Feb 2009 05:01:15 -0800 From: Alex Roper User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: help-octave@octave.org Subject: Changing terminal for gnuplot X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RCVD_IN_DNSWL_MED, SPF_HELO_PASS X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 13:01:26 -0000 Hi, How can I control where octave plots things? In particular, I am writing a script and don't want it trying to pop up windows all over the place and freaking out when it discovers X isn't installed. I used to be able to "set terminal dumb" or something like that, but I see this has been removed for matlab compatibility in recent versions. However, when matlab is run without X, it just works. Sorry for asking something so simple, but I can't find it anywehre in the docs and google is still telling me to "set terminal dumb". Alex From ivan.sutoris@gmail.com Wed Feb 25 07:14:07 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1PDE7N6029179 for ; Wed, 25 Feb 2009 07:14:07 -0600 (CST) Received: from mail-bw0-f161.google.com (mail-bw0-f161.google.com [209.85.218.161]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1PDE3Gm002320 for ; Wed, 25 Feb 2009 07:14:07 -0600 Received: by bwz5 with SMTP id 5so34067bwz.0 for ; Wed, 25 Feb 2009 05:13:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.171.20 with SMTP id y20mr43344muo.122.1235567637493; Wed, 25 Feb 2009 05:13:57 -0800 (PST) In-Reply-To: <49A5411B.7070803@ugcs.caltech.edu> References: <49A5411B.7070803@ugcs.caltech.edu> Date: Wed, 25 Feb 2009 14:13:57 +0100 Message-ID: <65d1f7fc0902250513q7d9e70bbr3f07b253c392b145@mail.gmail.com> Subject: Re: Changing terminal for gnuplot From: Ivan Sutoris To: Alex Roper Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 13:14:08 -0000 On Wed, Feb 25, 2009 at 2:01 PM, Alex Roper wrote: > Hi, > > How can I control where octave plots things? In particular, I am writing a script and > don't want it trying to pop up windows all over the place and freaking out when it > discovers X isn't installed. I used to be able to "set terminal dumb" or something like > that, but I see this has been removed for matlab compatibility in recent versions. > > However, when matlab is run without X, it just works. > > Sorry for asking something so simple, but I can't find it anywehre in the docs and google > is still telling me to "set terminal dumb". > > Alex Hi you can use figure('visible', 'off') to create new figure offscreen, which may be then exported (after plotting) with "print" command. Regards Ivan Sutoris From bounces@nabble.com Wed Feb 25 03:15:28 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1P9FSgj008694 for ; Wed, 25 Feb 2009 03:15:28 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1P9FRKr007023 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 25 Feb 2009 03:15:28 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LcFrT-0003nG-23 for help-octave@octave.org; Wed, 25 Feb 2009 01:15:27 -0800 Message-ID: <22198936.post@talk.nabble.com> Date: Wed, 25 Feb 2009 01:15:27 -0800 (PST) From: leledumbo To: help-octave@octave.org Subject: Re: Octave GUI list In-Reply-To: <323eda50902242318u5f6e8bb3of4c06efd4a3d150f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Nabble-From: leledumbo_cool@yahoo.co.id References: <22196529.post@talk.nabble.com> <323eda50902242318u5f6e8bb3of4c06efd4a3d150f@mail.gmail.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1P9FSgj008694 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-Mailman-Approved-At: Wed, 25 Feb 2009 10:38:24 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 09:15:29 -0000 José Luis García Pallero wrote: > > QtOctave: http://qtoctave.wordpress.com/ > Only QtOctave? What about OctaveDE? I found some on google (KOctave, GOctave, Octave Workshop), but can't decide which one to choose. I'm on Windows XP SP3. -- View this message in context: http://www.nabble.com/Octave-GUI-list-tp22196529p22198936.html Sent from the Octave - General mailing list archive at Nabble.com. From currie@ll.mit.edu Wed Feb 25 08:43:20 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1PEhKh4020243 for ; Wed, 25 Feb 2009 08:43:20 -0600 (CST) Received: from ll.mit.edu (LLMAIL1.LL.MIT.EDU [129.55.12.41]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1PEhKlr019082 for ; Wed, 25 Feb 2009 08:43:20 -0600 Received: (from smtp@localhost) by ll.mit.edu (8.12.10/8.8.8) id n1PEMwOh022921 for ; Wed, 25 Feb 2009 09:22:58 -0500 (EST) Received: from UNKNOWN( ), claiming to be "[ ]" via SMTP by llpost, id smtpdAAACQaWGh; Wed Feb 25 09:09:12 2009 Message-ID: <49A55107.4020604@ll.mit.edu> Date: Wed, 25 Feb 2009 09:09:11 -0500 From: Tim Currie User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: help-octave@octave.org Subject: Building Octave Statically (and without graphics) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailfromd-Misconfiguration: sending server 129.55.12.41 claimed to be server name ll.mit.edu, but that does not resolve; X-Mailfromd: Total of 1 misconfiguration (15 mins) X-Mailfromd-Greylist-Time: May have had a total greylist delay of 15 minutes X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY X-Mailman-Approved-At: Wed, 25 Feb 2009 10:38:24 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 14:43:22 -0000 Hi! I'm trying to build a static Octave binary on Fedora 9. In building all the deps as static libs, I ran into trouble with the requirement for libGL. It seems (according to comments in the Mesa configure script) that Mesa cannot be built statically, as the DRI requires that the drivers be dynamic, which seems to conflict with the explicit assertion in the documentation that Octave can, in fact, be built as a static binary on Linux. This might be beside the point if I can figure out how to build Octave *without any graphical capability*, as the Octave configure script suggests is possible, because this build is going to be run on a large cluster. But alas, this doesn't work any better than building Mesa, which is to say that following the instructions in the README, as well as the comments in the configure script and the Makefile, doesn't produce the predicted results. Any suggestions you can offer or resources you can point me at would be very much appreciated. Thanks, -Tim Currie From rustys36@charter.net Wed Feb 25 13:33:11 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1PJXBEn005262 for ; Wed, 25 Feb 2009 13:33:11 -0600 (CST) Received: from mta11.charter.net (mta11.charter.net [216.33.127.80]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1PJX9HO030744 for ; Wed, 25 Feb 2009 13:33:11 -0600 Received: from imp09 ([10.20.200.9]) by mta11.charter.net (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20090225193252.FOCJ21265.mta11.charter.net@imp09> for ; Wed, 25 Feb 2009 14:32:52 -0500 Received: from SonjaBlue ([66.215.119.135]) by imp09 with charter.net id LKYo1b00F2vN7EA05KYrrb; Wed, 25 Feb 2009 14:32:52 -0500 From: "Rusty Humphrey" To: Subject: Question about how to use the View function. Date: Wed, 25 Feb 2009 11:31:00 -0800 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0011_01C9973C.88CB3320" X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcmXf5aMkOXTI3E+TgyNNgs9BH4JGA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, HTML_MESSAGE X-Mailman-Approved-At: Wed, 25 Feb 2009 13:38:14 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 19:33:12 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0011_01C9973C.88CB3320 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I am a new user of Octave (Windows version). I can't find any documentation on how view is used. My problem is that when I use view - e.g. view(90.,0.), what I get on the Figure is view: 90.0000, 90.0000. It's a detail, but points to the larger problem that I can't find the relevant documentation. Rusty Humphrey Rustys36@charter.net ------=_NextPart_000_0011_01C9973C.88CB3320 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I am a new user of Octave (Windows version).  I = can’t find any documentation on how view is used.  My problem is that = when I use view – e.g. view(90.,0.), what I get on the Figure is view: 90.0000, = 90.0000.  It’s a detail, but points to the larger problem that I can’t = find the relevant documentation. 

 

Rusty Humphrey

Rustys36@charter.net

------=_NextPart_000_0011_01C9973C.88CB3320-- From ivan.sutoris@gmail.com Wed Feb 25 14:02:49 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1PK2ngj015890 for ; Wed, 25 Feb 2009 14:02:49 -0600 (CST) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.189]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1PK2l7c022750 for ; Wed, 25 Feb 2009 14:02:49 -0600 Received: by mu-out-0910.google.com with SMTP id g7so86223muf.4 for ; Wed, 25 Feb 2009 12:02:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.105.1 with SMTP id h1mr252476mum.13.1235592166605; Wed, 25 Feb 2009 12:02:46 -0800 (PST) In-Reply-To: References: Date: Wed, 25 Feb 2009 21:02:46 +0100 Message-ID: <65d1f7fc0902251202y16b8bc4bkc2b3a47838abf295@mail.gmail.com> Subject: Re: Question about how to use the View function. From: Ivan Sutoris To: Rusty Humphrey Content-Type: text/plain; charset=windows-1252 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1PK2ngj015890 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 20:02:50 -0000 On Wed, Feb 25, 2009 at 8:31 PM, Rusty Humphrey wrote: > I am a new user of Octave (Windows version).  I can’t find any documentation > on how view is used.  My problem is that when I use view – e.g. > view(90.,0.), what I get on the Figure is view: 90.0000, 90.0000.  It’s a > detail, but points to the larger problem that I can’t find the relevant > documentation. > > > > Rusty Humphrey > > Rustys36@charter.net Have you tried "help view"? In "view(x,y)" first argument sets azimuth (possibly from 0 to 360) and second elevation (from -90 to 90) of the viewpoint. I've played a bit with the command and it seems that view(x,y) corresponds to (90-y,x) in gnuplot window (that is probably caused by different conventions used in Octave and in gnuplot). Regards Ivan Sutoris From jgpallero@gmail.com Thu Feb 26 01:19:00 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1Q7J0MP017737 for ; Thu, 26 Feb 2009 01:19:00 -0600 (CST) Received: from mail-gx0-f179.google.com (mail-gx0-f179.google.com [209.85.217.179]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1Q7IwCK031125 for ; Thu, 26 Feb 2009 01:18:59 -0600 Received: by gxk27 with SMTP id 27so1079162gxk.0 for ; Wed, 25 Feb 2009 23:18:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.151.51.13 with SMTP id d13mr1312370ybk.120.1235632733167; Wed, 25 Feb 2009 23:18:53 -0800 (PST) In-Reply-To: <22198936.post@talk.nabble.com> References: <22196529.post@talk.nabble.com> <323eda50902242318u5f6e8bb3of4c06efd4a3d150f@mail.gmail.com> <22198936.post@talk.nabble.com> Date: Thu, 26 Feb 2009 08:18:53 +0100 Message-ID: <323eda50902252318s546f5f3cob6e45d199ddaa18e@mail.gmail.com> Subject: Re: Octave GUI list From: =?ISO-8859-1?Q?Jos=E9_Luis_Garc=EDa_Pallero?= To: leledumbo Content-Type: multipart/alternative; boundary=0015174c0eba2221f30463cd2a1b X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE, WHOIS_MYPRIVREG Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 07:19:01 -0000 --0015174c0eba2221f30463cd2a1b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable As far as I know Octave Workshop are unmaintained ( http://www.ics.es.yamanashi.ac.jp/mirror/octave-workshop/), KOctave is for the KDE environment and is unmaintained (last update in may 2006: http://sourceforge.net/projects/koctave/), GOctave is for gnome and I don't know about OctaveDE, but in http://ostatic.com/octavede says that is for X1= 1 environments. Yesterday, someone try to post a comment in this list about another gui, Mirai Math, (http://mirai.sourceforge.net/), but I think that the mail was sent only to my account. 2009/2/25 leledumbo > > > Jos=E9 Luis Garc=EDa Pallero wrote: > > > > QtOctave: http://qtoctave.wordpress.com/ > > > Only QtOctave? What about OctaveDE? I found some on google (KOctave, > GOctave, Octave Workshop), but can't decide which one to choose. I'm on > Windows XP SP3. > -- > View this message in context: > http://www.nabble.com/Octave-GUI-list-tp22196529p22198936.html > Sent from the Octave - General mailing list archive at Nabble.com. > > > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > --=20 ***************************************** Jos=E9 Luis Garc=EDa Pallero jgpallero@gmail.com (o< / / \ V_/_ Use Debian GNU/Linux and enjoy! ***************************************** --0015174c0eba2221f30463cd2a1b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable As far as I know Octave Workshop are unmaintained (http://www.ics.es.yamanashi.ac.jp/mirror/octave-workshop/= ), KOctave is for the KDE environment and is unmaintained (last update in may 2006: http= ://sourceforge.net/projects/koctave/), GOctave is for gnome and I don't know about OctaveDE, but in http://ostatic.com/octavede says that is for X11 environments. Yesterday, someone try to post a comment in this l= ist about another gui, Mirai Math, (http://mirai.sourceforge.net/), but I think that the mail was sent o= nly to my account.


2009/2/25 leledumbo &l= t;leledumbo= _cool@yahoo.co.id>


Jos=E9 Luis Garc=EDa Pallero wrote:
>
> QtOctave: http://qtoctave.wordpress.com/
>
Only QtOctave? What about OctaveDE? I found some on google (KOctave,
GOctave, Octave Workshop), but can't decide which one to choose. I'= m on
Windows XP SP3.
--
View this message in context: http://www.nabble.com/Octav= e-GUI-list-tp22196529p22198936.html
Sent from the Octave - General mailing list archive at Nabble.com.


_______________________________________________
Help-octave mailing list
Help-octave@oct= ave.org
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave<= br>



--
***********************= ******************
Jos=E9 Luis Garc=EDa Pallero
jgpallero@gmail.com
(o<
/ = / \
V_/_
Use Debian GNU/Linux and enjoy!
*****************************************
--0015174c0eba2221f30463cd2a1b-- From jgpallero@gmail.com Thu Feb 26 06:45:41 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1QCjfJM008421 for ; Thu, 26 Feb 2009 06:45:41 -0600 (CST) Received: from mail-gx0-f179.google.com (mail-gx0-f179.google.com [209.85.217.179]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1QCjc1g016415 for ; Thu, 26 Feb 2009 06:45:41 -0600 Received: by gxk27 with SMTP id 27so1305293gxk.0 for ; Thu, 26 Feb 2009 04:45:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.151.150.13 with SMTP id c13mr1794668ybo.63.1235652333394; Thu, 26 Feb 2009 04:45:33 -0800 (PST) Date: Thu, 26 Feb 2009 13:45:33 +0100 Message-ID: <323eda50902260445n5caf95c7q885a1b86837f1104@mail.gmail.com> Subject: Error in PS() function (3.1.53 version) From: =?ISO-8859-1?Q?Jos=E9_Luis_Garc=EDa_Pallero?= To: Octave users list Content-Type: multipart/alternative; boundary=00151750da7865dcc50463d1ba72 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, HTML_MESSAGE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 12:45:42 -0000 --00151750da7865dcc50463d1ba72 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable When I type: PS1 ("\\u@\\H> "), the next error appears: A(I): Index exceeds matrix dimension. But in 3.1.52 runs ok. Is a konown bug? --=20 ***************************************** Jos=E9 Luis Garc=EDa Pallero jgpallero@gmail.com (o< / / \ V_/_ Use Debian GNU/Linux and enjoy! ***************************************** --00151750da7865dcc50463d1ba72 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable When I type: PS1 ("\\u@\\H> "), the next error appears:
A(I): Index exceeds matrix dimension.

But in 3.1.52 runs ok. Is a k= onown bug?

--
************************************= *****
Jos=E9 Luis Garc=EDa Pallero
jgpa= llero@gmail.com
(o<
/ / \
V_/_
Use Debian GNU/Linux and = enjoy!
*****************************************
--00151750da7865dcc50463d1ba72-- From highegg@gmail.com Thu Feb 26 07:09:41 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1QD9fEc014488 for ; Thu, 26 Feb 2009 07:09:41 -0600 (CST) Received: from mail-fx0-f177.google.com (mail-fx0-f177.google.com [209.85.220.177]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1QD9cFq025964 for ; Thu, 26 Feb 2009 07:09:41 -0600 Received: by fxm25 with SMTP id 25so524958fxm.24 for ; Thu, 26 Feb 2009 05:09:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.226.10 with SMTP id d10mr654579mur.105.1235653772835; Thu, 26 Feb 2009 05:09:32 -0800 (PST) In-Reply-To: <323eda50902260445n5caf95c7q885a1b86837f1104@mail.gmail.com> References: <323eda50902260445n5caf95c7q885a1b86837f1104@mail.gmail.com> Date: Thu, 26 Feb 2009 14:09:32 +0100 Message-ID: <69d8d540902260509h4b10e1d8xbbf58cdd20507f7b@mail.gmail.com> Subject: Re: Error in PS() function (3.1.53 version) From: Jaroslav Hajek To: =?ISO-8859-1?Q?Jos=E9_Luis_Garc=EDa_Pallero?= Content-Type: text/plain; charset=ISO-8859-1 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1QD9fEc014488 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 13:09:43 -0000 On Thu, Feb 26, 2009 at 1:45 PM, José Luis García Pallero wrote: > When I type: PS1 ("\\u@\\H> "), the next error appears: > > A(I): Index exceeds matrix dimension. > > But in 3.1.52 runs ok. Is a konown bug? > > -- > ***************************************** > José Luis García Pallero > jgpallero@gmail.com > (o< > / / \ > V_/_ > Use Debian GNU/Linux and enjoy! > ***************************************** > > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > > I moved this report to savannah tracker. https://savannah.gnu.org/bugs/?group=octave -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From bounces@nabble.com Thu Feb 26 22:59:46 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1R4xkil027058 for ; Thu, 26 Feb 2009 22:59:46 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1R4xcHD005834 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 26 Feb 2009 22:59:46 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Lcuoz-0002N8-65 for help-octave@octave.org; Thu, 26 Feb 2009 20:59:37 -0800 Message-ID: <22239618.post@talk.nabble.com> Date: Thu, 26 Feb 2009 20:59:37 -0800 (PST) From: leledumbo To: help-octave@octave.org Subject: Re: Octave GUI list In-Reply-To: <323eda50902252318s546f5f3cob6e45d199ddaa18e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Nabble-From: leledumbo_cool@yahoo.co.id References: <22196529.post@talk.nabble.com> <323eda50902242318u5f6e8bb3of4c06efd4a3d150f@mail.gmail.com> <22198936.post@talk.nabble.com> <323eda50902252318s546f5f3cob6e45d199ddaa18e@mail.gmail.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1R4xkil027058 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 04:59:47 -0000 José Luis García Pallero wrote: > > ... I don't know about OctaveDE, but in http://ostatic.com/octavede says > that is for X11 > environments ... The sourceforge project also says the same, however it's included in 3.0.1 Windows installer. So I guess it has been implemented cross platform. I'll try MiraiMath, though I hate the fact that it requires Java (the memory eater). -- View this message in context: http://www.nabble.com/Octave-GUI-list-tp22196529p22239618.html Sent from the Octave - General mailing list archive at Nabble.com. From paul@purecodes.org Fri Feb 27 01:33:03 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1R7X3TP006640 for ; Fri, 27 Feb 2009 01:33:03 -0600 (CST) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1R7WpJD012783 for ; Fri, 27 Feb 2009 01:33:03 -0600 Received: from [0.0.0.0] (srv035.dedi23.de [83.151.25.138]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MKv1o-1LcxD947aa-000Dej; Fri, 27 Feb 2009 08:32:45 +0100 Message-ID: <49A7971A.6010003@purecodes.org> Date: Fri, 27 Feb 2009 08:32:42 +0100 From: Paul Wellner Bou User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: help-octave@octave.org Subject: Re: Gnuplot hangs on Windows XP References: <499A7CED.80107@purecodes.org> <128f38bd0902170117t46aadefy190675a33743baff@mail.gmail.com> <499A8267.3020301@purecodes.org> <128f38bd0902170128t5d0882dfx69d6c699c0b69a69@mail.gmail.com> <499A89FF.6040406@purecodes.org> <128f38bd0902170208h4daffee3h131307e94839d8dc@mail.gmail.com> <499AA8B7.6050601@purecodes.org> In-Reply-To: <499AA8B7.6050601@purecodes.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX18OnHs2QdNao+Yk9/RCGnqpQ6Zh/rnKyhxXAYq 6i0KnE2y7j2JonwQTwHCQbMptS5XomdtiNQ7pbDcjUp7qjqd6m Nt1qtnfkot7NMnqHyKDP24x0h+/Fu2d X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, SPF_HELO_PASS X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: help-octave@octave.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 07:33:04 -0000 Hi, just curious -- am I the only one with this problem? Then it will have to do with my windows setup here. Or is this a known problem? Regards Paul. Paul Wellner Bou wrote: > Hi again, > >> No sorry. Maybe you should post a sample code (as simple >> as possible) that trigger the problem on your system. > > Of course. I don't need a special sample to reproduce it, it happens > always I call gnuplot from octave. > > How to reproduce this: > > 1. Start octave (3.0.3 or 3.1.50) > 2. Plot something, e.g. > > x = 0:0.1:3; > y = exp(x); > plot(x, y); > > 3. The gnuplot window will become and remain unresponsive. > 4. Forcing it to close there is no way to draw a new plot until > restarting octave. > > Regards > Paul. > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave From tmacchant@yahoo.co.jp Fri Feb 27 01:54:01 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1R7s1jj011646 for ; Fri, 27 Feb 2009 01:54:01 -0600 (CST) Received: from web3812.mail.bbt.yahoo.co.jp (web3812.mail.bbt.yahoo.co.jp [202.93.85.242]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1R7rweJ019508 for ; Fri, 27 Feb 2009 01:54:00 -0600 Received: (qmail 67793 invoked by uid 60001); 27 Feb 2009 07:53:50 -0000 Message-ID: <20090227075350.67791.qmail@web3812.mail.bbt.yahoo.co.jp> Received: from [133.6.57.2] by web3812.mail.bbt.yahoo.co.jp via HTTP; Fri, 27 Feb 2009 16:53:50 JST Date: Fri, 27 Feb 2009 16:53:50 +0900 (JST) From: Tatsuro MATSUOKA Subject: Re: Gnuplot hangs on Windows XP To: help-octave@octave.org In-Reply-To: <49A7971A.6010003@purecodes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: tmacchant@yahoo.co.jp List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 07:54:02 -0000 Hello I have met no problems both for octave-3.0.3 and octave-3.1.50 on windows xp sp3 for executing the following x = 0:0.1:3; y = exp(x); plot(x, y); Therefore I cannot make any suggestion to you. Regards Tatsuro --- Paul Wellner Bou wrote: > Hi, > > just curious -- am I the only one with this problem? Then it will have > to do with my windows setup here. Or is this a known problem? > > Regards > Paul. > > Paul Wellner Bou wrote: > > Hi again, > > > >> No sorry. Maybe you should post a sample code (as simple > >> as possible) that trigger the problem on your system. > > > > Of course. I don't need a special sample to reproduce it, it happens > > always I call gnuplot from octave. > > > > How to reproduce this: > > > > 1. Start octave (3.0.3 or 3.1.50) > > 2. Plot something, e.g. > > > > x = 0:0.1:3; > > y = exp(x); > > plot(x, y); > > > > 3. The gnuplot window will become and remain unresponsive. > > 4. Forcing it to close there is no way to draw a new plot until > > restarting octave. > > > > Regards > > Paul. > > _______________________________________________ > > Help-octave mailing list > > Help-octave@octave.org > > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > -------------------------------------- Power up the Internet with Yahoo! Toolbar. http://pr.mail.yahoo.co.jp/toolbar/ From michael.goffioul@gmail.com Fri Feb 27 03:12:51 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1R9Cpro001515 for ; Fri, 27 Feb 2009 03:12:51 -0600 (CST) Received: from mail-bw0-f179.google.com (mail-bw0-f179.google.com [209.85.218.179]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1R9CmHU024740 for ; Fri, 27 Feb 2009 03:12:50 -0600 Received: by bwz27 with SMTP id 27so959083bwz.24 for ; Fri, 27 Feb 2009 01:12:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.114.79 with SMTP id d15mr3039909faq.88.1235725962482; Fri, 27 Feb 2009 01:12:42 -0800 (PST) In-Reply-To: <20090227075350.67791.qmail@web3812.mail.bbt.yahoo.co.jp> References: <49A7971A.6010003@purecodes.org> <20090227075350.67791.qmail@web3812.mail.bbt.yahoo.co.jp> Date: Fri, 27 Feb 2009 09:12:42 +0000 Message-ID: <128f38bd0902270112q57939e20h6c5499751b16d213@mail.gmail.com> Subject: Re: Gnuplot hangs on Windows XP From: Michael Goffioul To: tmacchant@yahoo.co.jp Content-Type: text/plain; charset=ISO-8859-1 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1R9Cpro001515 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 09:12:52 -0000 Neither do I. Everything works fine for me. That's why it's difficult to help or make suggestions, as long as I'm not able to reproduce your problem. Would you have maybe another XP box around where you could check whether the problem is also present? Michael. On Fri, Feb 27, 2009 at 7:53 AM, Tatsuro MATSUOKA wrote: > Hello > > I have met no problems both for octave-3.0.3 and octave-3.1.50 on windows xp sp3 for executing the > following > >        x = 0:0.1:3; >        y = exp(x); >        plot(x, y); > > Therefore I cannot make any suggestion to you. > > Regards > > Tatsuro > > > --- Paul Wellner Bou wrote: > >> Hi, >> >> just curious -- am I the only one with this problem? Then it will have >> to do with my windows setup here. Or is this a known problem? >> >> Regards >> Paul. >> >> Paul Wellner Bou wrote: >> > Hi again, >> > >> >> No sorry. Maybe you should post a sample code (as simple >> >> as possible) that trigger the problem on your system. >> > >> > Of course. I don't need a special sample to reproduce it, it happens >> > always I call gnuplot from octave. >> > >> > How to reproduce this: >> > >> > 1. Start octave (3.0.3 or 3.1.50) >> > 2. Plot something, e.g. >> > >> >     x = 0:0.1:3; >> >     y = exp(x); >> >     plot(x, y); >> > >> > 3. The gnuplot window will become and remain unresponsive. >> > 4. Forcing it to close there is no way to draw a new plot until >> > restarting octave. >> > >> > Regards >> > Paul. >> > _______________________________________________ >> > Help-octave mailing list >> > Help-octave@octave.org >> > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave >> _______________________________________________ >> Help-octave mailing list >> Help-octave@octave.org >> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave >> > > > -------------------------------------- > Power up the Internet with Yahoo! Toolbar. > http://pr.mail.yahoo.co.jp/toolbar/ > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > From kruvalig@pnz.ru Fri Feb 27 03:22:34 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1R9MYOI004317 for ; Fri, 27 Feb 2009 03:22:34 -0600 (CST) Received: from mail.pnz.ru (mail.pnz.ru [85.234.33.17]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1R9LPJF030087 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 27 Feb 2009 03:22:34 -0600 Received: from [77.108.213.161] (helo=kruvaligcomp) by mail.pnz.ru with esmtpa (Exim 4.50) id 1Lcyp7-0003lg-MX for help-octave@octave.org; Fri, 27 Feb 2009 12:16:01 +0300 Date: Fri, 27 Feb 2009 12:21:22 +0300 To: help-octave@octave.org Subject: Re: Gnuplot hangs on Windows XP From: kruvalig Content-Type: text/plain; format=flowed; delsp=yes; charset=windows-1251 MIME-Version: 1.0 References: <499A7CED.80107@purecodes.org> <128f38bd0902170117t46aadefy190675a33743baff@mail.gmail.com> <499A8267.3020301@purecodes.org> <128f38bd0902170128t5d0882dfx69d6c699c0b69a69@mail.gmail.com> <499A89FF.6040406@purecodes.org> <128f38bd0902170208h4daffee3h131307e94839d8dc@mail.gmail.com> <499AA8B7.6050601@purecodes.org> <49A7971A.6010003@purecodes.org> Message-ID: In-Reply-To: <49A7971A.6010003@purecodes.org> User-Agent: Opera Mail/9.27 (Win32) X-Antivirus: avast! (VPS 090226-0, 26.02.2009), Outbound message X-Antivirus-Status: Clean X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from Quoted-Printable to 8bit by www.cae.wisc.edu id n1R9MYOI004317 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 09:22:36 -0000 I have this bug althought. Espetialy when i start the program from scite. And this bug can repeat but not each time. Sometimes all work fine. On Fri, 27 Feb 2009 10:32:42 +0300, Paul Wellner Bou wrote: > Hi, > > just curious -- am I the only one with this problem? Then it will have > to do with my windows setup here. Or is this a known problem? > > Regards > Paul. > > Paul Wellner Bou wrote: >> Hi again, >> >>> No sorry. Maybe you should post a sample code (as simple >>> as possible) that trigger the problem on your system. >> >> Of course. I don't need a special sample to reproduce it, it happens >> always I call gnuplot from octave. >> >> How to reproduce this: >> >> 1. Start octave (3.0.3 or 3.1.50) >> 2. Plot something, e.g. >> >> x = 0:0.1:3; >> y = exp(x); >> plot(x, y); >> >> 3. The gnuplot window will become and remain unresponsive. >> 4. Forcing it to close there is no way to draw a new plot until >> restarting octave. >> >> Regards >> Paul. >> _______________________________________________ >> Help-octave mailing list >> Help-octave@octave.org >> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave > From highegg@gmail.com Fri Feb 27 05:42:16 2009 Received: from iris.cae.wisc.edu (iris.cae.wisc.edu [144.92.12.47]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1RBgG0u008886 for ; Fri, 27 Feb 2009 05:42:16 -0600 (CST) Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n1RBgG0O011699 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 27 Feb 2009 05:42:16 -0600 Received: from mail-fx0-f177.google.com (mail-fx0-f177.google.com [209.85.220.177]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1RBgDnH001174 for ; Fri, 27 Feb 2009 05:42:15 -0600 Received: by fxm25 with SMTP id 25so1036635fxm.24 for ; Fri, 27 Feb 2009 03:42:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.243.9 with SMTP id v9mr1263056mur.5.1235734927804; Fri, 27 Feb 2009 03:42:07 -0800 (PST) Date: Fri, 27 Feb 2009 12:42:07 +0100 Message-ID: <69d8d540902270342x1288ed35k25d29022ecbb070a@mail.gmail.com> Subject: compiling Octave with recent Intel C++ From: Jaroslav Hajek To: Octave Help Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 11:42:17 -0000 hi all, it seems that as a side effect of introducing more advanced template techniques into Octave code, it is slowly becoming a testbed for C++ compilers :) Namely, the Intel C++ 11.0 compiler just failed to build liboctave and choked on what I think is correct C++ code - the implicit instantiations of do_mx_red_op et al. A workaround is simple, but I'm not going to alter the Octave sources for this, so if anyone happens to encounter the same problem, I can share a compatibility patch. regards -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From hicu80@hotmail.com Fri Feb 27 06:27:18 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1RCRIlB019304 for ; Fri, 27 Feb 2009 06:27:18 -0600 (CST) Received: from blu0-omc2-s30.blu0.hotmail.com (blu0-omc2-s30.blu0.hotmail.com [65.55.111.105]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1RCRGKJ010506 for ; Fri, 27 Feb 2009 06:27:17 -0600 Received: from BLU136-W29 ([65.55.111.73]) by blu0-omc2-s30.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 27 Feb 2009 04:27:10 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_941e206b-38d7-4481-8da5-2bff7c7309ac_" X-Originating-IP: [153.96.200.9] From: oliva maria To: Subject: help optimization Date: Fri, 27 Feb 2009 12:27:10 +0000 Importance: Normal In-Reply-To: References: <499A7CED.80107@purecodes.org> <128f38bd0902170117t46aadefy190675a33743baff@mail.gmail.com> <499A8267.3020301@purecodes.org> <128f38bd0902170128t5d0882dfx69d6c699c0b69a69@mail.gmail.com> <499A89FF.6040406@purecodes.org> <128f38bd0902170208h4daffee3h131307e94839d8dc@mail.gmail.com> <499AA8B7.6050601@purecodes.org> <49A7971A.6010003@purecodes.org> MIME-Version: 1.0 X-OriginalArrivalTime: 27 Feb 2009 12:27:10.0842 (UTC) FILETIME=[B6769DA0:01C998D6] X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, HTML_MESSAGE X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 12:27:19 -0000 --_941e206b-38d7-4481-8da5-2bff7c7309ac_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! I=B4m a new user of Octave=2C so I don=B4t know so much about it. I need to optimize a non linear function with linear constrains=2C is there= any function in Octave to do this?=20 thanks in advance=2C Maria _________________________________________________________________ Quante ne sai? Gioca con i 50 nuovi schemi di CrossWire! http://livesearch.games.msn.com/crosswire/play_it/= --_941e206b-38d7-4481-8da5-2bff7c7309ac_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi!

I=B4m a new user of Octave=2C so I don=B4t know so much about it= .
I need to optimize a non linear function with linear constrains=2C is = there any function in Octave to
do this?

thanks in advance=2CMaria


Scoprilo con Typectionary! Sei bravo con l'italiano? = --_941e206b-38d7-4481-8da5-2bff7c7309ac_-- From highegg@gmail.com Fri Feb 27 06:33:00 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1RCX0YD020867 for ; Fri, 27 Feb 2009 06:33:00 -0600 (CST) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.185]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1RCWxNo002556 for ; Fri, 27 Feb 2009 06:33:00 -0600 Received: by fk-out-0910.google.com with SMTP id 18so490661fks.8 for ; Fri, 27 Feb 2009 04:32:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.137.12 with SMTP id p12mr1269304mun.94.1235737978607; Fri, 27 Feb 2009 04:32:58 -0800 (PST) In-Reply-To: References: <499A7CED.80107@purecodes.org> <128f38bd0902170117t46aadefy190675a33743baff@mail.gmail.com> <499A8267.3020301@purecodes.org> <128f38bd0902170128t5d0882dfx69d6c699c0b69a69@mail.gmail.com> <499A89FF.6040406@purecodes.org> <128f38bd0902170208h4daffee3h131307e94839d8dc@mail.gmail.com> <499AA8B7.6050601@purecodes.org> <49A7971A.6010003@purecodes.org> Date: Fri, 27 Feb 2009 13:32:58 +0100 Message-ID: <69d8d540902270432u48b58d80kae49143d796784a4@mail.gmail.com> Subject: Re: help optimization From: Jaroslav Hajek To: oliva maria Content-Type: text/plain; charset=ISO-8859-1 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1RCX0YD020867 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: help-octave@octave.org X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 12:33:02 -0000 On Fri, Feb 27, 2009 at 1:27 PM, oliva maria wrote: > Hi! > > I´m a new user of Octave, so I don´t know so much about it. > I need to optimize a non linear function with linear constrains, is there > any function in Octave to > do this? > > thanks in advance, > Maria > try sqp. If the linear constraints are equality constraints, it may be a good idea to factorize them out in advance, i.e. restrict the optimization to the feasible affine space (and thus reduce the dimensionality of the problem). regards -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From bounces@nabble.com Fri Feb 27 07:42:08 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1RDg8N0007684 for ; Fri, 27 Feb 2009 07:42:08 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1RDg106030646 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 27 Feb 2009 07:42:08 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Ld2yX-0006p6-8A for help-octave@octave.org; Fri, 27 Feb 2009 05:42:01 -0800 Message-ID: <22246110.post@talk.nabble.com> Date: Fri, 27 Feb 2009 05:42:01 -0800 (PST) From: "roberto.arro" To: help-octave@octave.org Subject: Re: non-negative least squares In-Reply-To: <1215512997900.jaana.tommiska1.16863.c9Z2-1hjaYCnlaw5heNfLw@luukku.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Nabble-From: roberto.arro@gmail.com References: <1215512997900.jaana.tommiska1.16863.c9Z2-1hjaYCnlaw5heNfLw@luukku.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1RDg8N0007684 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 13:42:09 -0000 Hi Jaana; You will find uploaded a file pcnnls.m that work under octave Jaana Tommiska wrote: > > Hi, > how can I solve non-negative least squares > > min||Ax-b|| subject to x>=0 > > using Octave ? > > Jaana Tommiska > > ................................................................... > Luukku Plus paketilla pääset eroon tila- ja turvallisuusongelmista. > Hanki Luukku Plus ja helpotat elämääsi. http://www.mtv3.fi/luukku > > > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www.cae.wisc.edu/mailman/listinfo/help-octave > > http://www.nabble.com/file/p22246110/pcnnls.m pcnnls.m -- View this message in context: http://www.nabble.com/non-negative-least-squares-tp18336410p22246110.html Sent from the Octave - General mailing list archive at Nabble.com. From Potorti@isti.cnr.it Fri Feb 27 07:59:27 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1RDxRxx011606 for ; Fri, 27 Feb 2009 07:59:27 -0600 (CST) Received: from ITANIUM.ISTI.CNR.IT (mx4.isti.cnr.it [194.119.192.6]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1RDxJVf000645 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 27 Feb 2009 07:59:27 -0600 Received: from conversionlocal.isti.cnr.it by mx.isti.cnr.it (PMDF V6.4 #31598) id <01N5ZX33KC9C9YKVCQ@mx.isti.cnr.it> for help-octave@octave.org; Fri, 27 Feb 2009 14:59:07 +0100 Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by mx.isti.cnr.it (PMDF V6.4 #31598) with ESMTPSA id <01N5ZX314ZFKA626O9@mx.isti.cnr.it> for help-octave@octave.org; Fri, 27 Feb 2009 14:59:07 +0100 Received: from pot by tucano.isti.cnr.it with local (Exim 4.69) (envelope-from ) id 1Ld3F2-0003UU-IR for help-octave@octave.org; Fri, 27 Feb 2009 14:59:04 +0100 Date: Fri, 27 Feb 2009 14:59:04 +0100 From: Francesco Potorti` Subject: vectorise matrix slice extraction To: Octave users list Message-id: Organization: ISTI-CNR, via Moruzzi 1, I-56124 Pisa, +39-0503153058 MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 13:59:28 -0000 Is there a way to efficiently remove the for loop in this assignment? for jj = length(pple):-1:1 llk(:,:,:,jj) = ll(:,:,:,pple(jj),tple(jj)); endfor -- Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.2111) ISTI - Area della ricerca CNR Fax: +39 050 315 2040 via G. Moruzzi 1, I-56124 Pisa Email: Potorti@isti.cnr.it (entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/ From rob@utk.edu Fri Feb 27 09:42:12 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1RFgCVD009730 for ; Fri, 27 Feb 2009 09:42:12 -0600 (CST) Received: from puma.mail.utk.edu (puma.mail.utk.edu [160.36.178.106]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1RFg9Rd000962 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 27 Feb 2009 09:42:12 -0600 Received: from [160.36.252.248] (chimera.nomads.utk.edu [160.36.252.248]) (authenticated bits=0) by puma.mail.utk.edu (8.13.6/8.13.4) with ESMTP id n1RFfqEe019697 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 27 Feb 2009 10:41:53 -0500 In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <12EFDB15-6345-4A0E-93D9-FD49B6FBD76F@utk.edu> Content-Transfer-Encoding: 7bit From: Rob Mahurin Subject: Re: vectorise matrix slice extraction Date: Fri, 27 Feb 2009 10:41:52 -0500 To: Francesco Potorti` X-Mailer: Apple Mail (2.753.1) X-SMTP-Auth: auth_authen=mwahaha X-Spam-Status: Message recipients not local. X-Scanned-By: MIMEDefang 2.53 on 160.36.178.106 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RCVD_IN_DNSWL_MED Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 15:42:14 -0000 On Feb 27, 2009, at 8:59 AM, Francesco Potorti` wrote: > Is there a way to efficiently remove the for loop in this assignment? > > for jj = length(pple):-1:1 > llk(:,:,:,jj) = ll(:,:,:,pple(jj),tple(jj)); > endfor Maybe try s = size(ll); s1 = 1:s(1); # etc. llk( s1,s2,s3, 1:numel(pple) ) = reshape( ll(s1,s2,s3, pple, tple), [s(1:3), numel(pple)] ); Not tested. Cheers, Rob -- Rob Mahurin Department of Physics and Astronomy University of Tennessee 865 207 2594 Knoxville, TN 37996 rob@utk.edu From Potorti@isti.cnr.it Fri Feb 27 09:58:45 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1RFwjhc013814 for ; Fri, 27 Feb 2009 09:58:45 -0600 (CST) Received: from mx2.isti.cnr.it (mx2.isti.cnr.it [194.119.192.4]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1RFwddk006150 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 27 Feb 2009 09:58:45 -0600 Received: from conversionlocal.isti.cnr.it by mx.isti.cnr.it (PMDF V6.4 #31598) id <01N60188CXZKA9NBUQ@mx.isti.cnr.it> for help-octave@octave.org; Fri, 27 Feb 2009 16:57:48 +0100 (MET) Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by mx.isti.cnr.it (PMDF V6.4 #31598) with ESMTPSA id <01N6018NA10IA61GAI@mx.isti.cnr.it>; Fri, 27 Feb 2009 16:58:08 +0100 Received: from pot by tucano.isti.cnr.it with local (Exim 4.69) (envelope-from ) id 1Ld56G-0003ou-40; Fri, 27 Feb 2009 16:58:08 +0100 Date: Fri, 27 Feb 2009 16:58:08 +0100 From: Francesco Potorti` Subject: Re: vectorise matrix slice extraction In-reply-to: <12EFDB15-6345-4A0E-93D9-FD49B6FBD76F@utk.edu> To: Rob Mahurin Message-id: Organization: ISTI-CNR, via Moruzzi 1, I-56124 Pisa, +39-0503153058 MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 References: <12EFDB15-6345-4A0E-93D9-FD49B6FBD76F@utk.edu> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 15:58:47 -0000 >> Is there a way to efficiently remove the for loop in this assignment? >> >> for jj = length(pple):-1:1 >> llk(:,:,:,jj) = ll(:,:,:,pple(jj),tple(jj)); >> endfor > >Maybe try > > s = size(ll); > s1 = 1:s(1); # etc. > llk( s1,s2,s3, 1:numel(pple) ) = > reshape( ll(s1,s2,s3, pple, tple), [s(1:3), numel(pple)] ); This would be equivalent to llk = ll(:,:,:,pple,tple); but it does not work. Take this as an example: octave> a=reshape(1:9,3,3) a = 1 4 7 2 5 8 3 6 9 octave> ia=1:2;ib=2:3; What I want is this: octave> [a(ia(1),ib(1)), a(ia(2),ib(2))] ans = 4 8 Not this: octave> a(ia,ib) ans = 4 7 5 8 -- Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.2111) ISTI - Area della ricerca CNR Fax: +39 050 315 2040 via G. Moruzzi 1, I-56124 Pisa Email: Potorti@isti.cnr.it (entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/ From rob@utk.edu Fri Feb 27 10:25:38 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1RGPcuR020978 for ; Fri, 27 Feb 2009 10:25:38 -0600 (CST) Received: from leopard.mail.utk.edu (leopard.mail.utk.edu [160.36.0.85]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1RGPbxD012439 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 27 Feb 2009 10:25:38 -0600 Received: from [160.36.252.248] (chimera.nomads.utk.edu [160.36.252.248]) (authenticated bits=0) by leopard.mail.utk.edu (8.13.6/8.13.4) with ESMTP id n1RGPXLU026224 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 27 Feb 2009 11:25:34 -0500 In-Reply-To: References: <12EFDB15-6345-4A0E-93D9-FD49B6FBD76F@utk.edu> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Rob Mahurin Subject: Re: vectorise matrix slice extraction Date: Fri, 27 Feb 2009 11:25:32 -0500 To: Francesco Potorti` X-Mailer: Apple Mail (2.753.1) X-SMTP-Auth: auth_authen=mwahaha X-Spam-Status: Message recipients not local. X-Scanned-By: MIMEDefang 2.53 on 160.36.0.85 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, RCVD_IN_DNSWL_MED Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 16:25:39 -0000 On Feb 27, 2009, at 10:58 AM, Francesco Potorti` wrote: >>> Is there a way to efficiently remove the for loop in this >>> assignment? >>> >>> for jj = length(pple):-1:1 >>> llk(:,:,:,jj) = ll(:,:,:,pple(jj),tple(jj)); >>> endfor >> >> Maybe try >> >> s = size(ll); >> s1 = 1:s(1); # etc. >> llk( s1,s2,s3, 1:numel(pple) ) = >> reshape( ll(s1,s2,s3, pple, tple), [s(1:3), numel(pple)] ); > > This would be equivalent to > llk = ll(:,:,:,pple,tple); > > but it does not work. Take this as an example: Right, so it would. You could do the offsetting yourself, as in [i,j] = find(eye(2)); eye(2)(i + 2*(j-1)) which returns [1;1]. So in your case maybe s = size(ll); ll_tmp = reshape(ll, [s(1:3), prod(s(4:5))]); llk = ll_tmp(:,:,:, pple + s(4)*(tple-1) ); clear ll_tmp; ? Cheers, Rob -- Rob Mahurin Department of Physics and Astronomy University of Tennessee 865 207 2594 Knoxville, TN 37996 rob@utk.edu From alain.baeckeroot@laposte.net Fri Feb 27 11:54:43 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1RHshcM014304 for ; Fri, 27 Feb 2009 11:54:43 -0600 (CST) Received: from smtp19.orange.fr (smtp19.orange.fr [80.12.242.1]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1RHsch3010046 for ; Fri, 27 Feb 2009 11:54:43 -0600 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1901.orange.fr (SMTP Server) with ESMTP id 947E31C00089 for ; Fri, 27 Feb 2009 18:54:31 +0100 (CET) Received: from new-host.home (AMarseille-251-1-22-112.w83-113.abo.wanadoo.fr [83.113.12.112]) by mwinf1901.orange.fr (SMTP Server) with ESMTP id 79FB01C00088 for ; Fri, 27 Feb 2009 18:54:31 +0100 (CET) X-ME-UUID: 20090227175431499.79FB01C00088@mwinf1901.orange.fr From: Alain To: Octave users list Subject: using alternate installation of plplot Date: Fri, 27 Feb 2009 18:54:20 +0100 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902271854.20943.alain.baeckeroot@laposte.net> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 17:54:44 -0000 Hi I have build and installed /opt/plplot5.9.2 and would like to use it instead of my default plplot (5.9.0 from debian lenny), but i dont find how to configure this alternate path/package in octave. i'd like to keep both to compare the results, and check if bugs vanished or not :-) any hint would be appreciated. Alain From highegg@gmail.com Fri Feb 27 12:25:23 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1RIPNmi022357 for ; Fri, 27 Feb 2009 12:25:23 -0600 (CST) Received: from mail-fx0-f177.google.com (mail-fx0-f177.google.com [209.85.220.177]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1RIPLfq019110 for ; Fri, 27 Feb 2009 12:25:23 -0600 Received: by fxm25 with SMTP id 25so1222681fxm.24 for ; Fri, 27 Feb 2009 10:25:16 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.214.8 with SMTP id r8mr1430311muq.92.1235759116149; Fri, 27 Feb 2009 10:25:16 -0800 (PST) In-Reply-To: References: Date: Fri, 27 Feb 2009 19:25:15 +0100 Message-ID: <69d8d540902271025v3759bc66w49f99d3453a90c12@mail.gmail.com> Subject: Re: vectorise matrix slice extraction From: Jaroslav Hajek To: "Francesco Potorti`" Content-Type: text/plain; charset=ISO-8859-1 X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1RIPNmi022357 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 18:25:24 -0000 On Fri, Feb 27, 2009 at 2:59 PM, Francesco Potorti` wrote: > Is there a way to efficiently remove the for loop in this assignment? > >  for jj = length(pple):-1:1 >    llk(:,:,:,jj) = ll(:,:,:,pple(jj),tple(jj)); >  endfor > > -- n = length (pple); i = sub2ind(size (ll) (4:5), pple, tple); llk(:,:,:,1:n) = ll(:,:,:,i); -- RNDr. Jaroslav Hajek computing expert Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz From Potorti@isti.cnr.it Fri Feb 27 19:30:53 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1S1UrCA014397 for ; Fri, 27 Feb 2009 19:30:53 -0600 (CST) Received: from ITANIUM.ISTI.CNR.IT (mx4.isti.cnr.it [194.119.192.6]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1S1Umdp023256 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 27 Feb 2009 19:30:53 -0600 Received: from conversionlocal.isti.cnr.it by mx.isti.cnr.it (PMDF V6.4 #31598) id <01N60L7B9R4GA9NJVM@mx.isti.cnr.it> for help-octave@octave.org; Sat, 28 Feb 2009 02:29:43 +0100 (MET) Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) by mx.isti.cnr.it (PMDF V6.4 #31598) with ESMTPSA id <01N60L7S3VCAA3HC4I@mx.isti.cnr.it>; Sat, 28 Feb 2009 02:30:07 +0100 (MET) Received: from pot by tucano.isti.cnr.it with local (Exim 4.69) (envelope-from ) id 1LdE1l-00055N-Of; Sat, 28 Feb 2009 02:30:05 +0100 Date: Sat, 28 Feb 2009 02:30:05 +0100 From: Francesco Potorti` Subject: Re: vectorise matrix slice extraction In-reply-to: <69d8d540902271025v3759bc66w49f99d3453a90c12@mail.gmail.com> To: Jaroslav Hajek Message-id: Organization: ISTI-CNR, via Moruzzi 1, I-56124 Pisa, +39-0503153058 MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 References: <69d8d540902271025v3759bc66w49f99d3453a90c12@mail.gmail.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2009 01:30:55 -0000 >> Is there a way to efficiently remove the for loop in this assignment? >> >>  for jj = length(pple):-1:1 >>    llk(:,:,:,jj) = ll(:,:,:,pple(jj),tple(jj)); >>  endfor > >n = length (pple); >i = sub2ind(size (ll) (4:5), pple, tple); >llk(:,:,:,1:n) = ll(:,:,:,i); Yes, this is it! No reshape, no temp variables. I had never realised that you can access a 5-d matrix with four indices. It is even simpler than the above: jj = sub2ind(size(ll)(4:5), pple, tple); llk = ll(:,:,:,jj); It is slightly faster than the for loop, maybe more elegant, maybe less clear. Thanks -- Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.2111) ISTI - Area della ricerca CNR Fax: +39 050 315 2040 via G. Moruzzi 1, I-56124 Pisa Email: Potorti@isti.cnr.it (entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/ From rafael.laboissiere@inserm.fr Sat Feb 28 08:27:09 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1SER9ZS028510 for ; Sat, 28 Feb 2009 08:27:09 -0600 (CST) Received: from smtp.inserm.fr (smtp.inserm.fr [195.98.252.37]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1SER5J6023684 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 28 Feb 2009 08:27:08 -0600 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.inserm.fr (SrvInserm) with ESMTP id E1CE388DA; Sat, 28 Feb 2009 15:26:58 +0100 (CET) X-Virus-Scanned: by amavisd-new Received: from smtp.inserm.fr ([195.98.252.37]) by localhost (potentille.inserm.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id bREiJ6amRSA7; Sat, 28 Feb 2009 15:26:58 +0100 (CET) Received: from pc049-u864 (lep-129.lyon.inserm.fr [194.57.165.129]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.inserm.fr (SrvInserm) with ESMTP id CD42288C1; Sat, 28 Feb 2009 15:26:58 +0100 (CET) Received: from rafael by pc049-u864 with local (Exim 4.69) (envelope-from ) id 1LdQ9a-00073Y-GQ; Sat, 28 Feb 2009 15:26:58 +0100 Date: Sat, 28 Feb 2009 15:26:58 +0100 From: Rafael Laboissiere To: Alain Subject: Re: using alternate installation of plplot Message-ID: <20090228142658.GC7600@pc049-u864.lyon.inserm.fr> References: <200902271854.20943.alain.baeckeroot@laposte.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200902271854.20943.alain.baeckeroot@laposte.net> Organization: Debian Project User-Agent: Mutt/1.5.18 (2008-05-17) X-Seen-By: Mailfromd 3.1.3 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2009 14:27:10 -0000 * Alain [2009-02-27 18:54]: > I have build and installed /opt/plplot5.9.2 and would like to use it instead > of my default plplot (5.9.0 from debian lenny), but i dont find how > to configure this alternate path/package in octave. 5.9.2-1 is now in Debian sid. http://packages.debian.org/source/unstable/plplot -- Rafael From alain.baeckeroot@laposte.net Sat Feb 28 10:54:43 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1SGshn3006195 for ; Sat, 28 Feb 2009 10:54:43 -0600 (CST) Received: from smtp27.orange.fr (smtp27.orange.fr [80.12.242.96]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1SGscRR018554 for ; Sat, 28 Feb 2009 10:54:43 -0600 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2722.orange.fr (SMTP Server) with ESMTP id 26D651C000A0; Sat, 28 Feb 2009 17:54:32 +0100 (CET) Received: from new-host.home (AMarseille-251-1-22-112.w83-113.abo.wanadoo.fr [83.113.12.112]) by mwinf2722.orange.fr (SMTP Server) with ESMTP id 103DB1C00084; Sat, 28 Feb 2009 17:54:32 +0100 (CET) X-ME-UUID: 20090228165432665.103DB1C00084@mwinf2722.orange.fr From: Alain Baeckeroot To: LUK ShunTim , Octave users list Subject: Re: using alternate installation of plplot Date: Sat, 28 Feb 2009 17:54:21 +0100 User-Agent: KMail/1.9.9 References: <200902271854.20943.alain.baeckeroot@laposte.net> <49A8E03E.4070108@polyu.edu.hk> In-Reply-To: <49A8E03E.4070108@polyu.edu.hk> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Message-Id: <200902281754.21514.alain.baeckeroot@laposte.net> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by www.cae.wisc.edu id n1SGshn3006195 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2009 16:54:45 -0000 Le 28/02/2009 à 07:57, LUK ShunTim écrit : > Maybe something like >          >         addpath("/opt/plot5.9.2", "-begin"); yes thanks a lot, this is what i needed :-), i should have find it by myself best regards Alain. From alain.baeckeroot@laposte.net Sat Feb 28 11:00:15 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1SH0FWh007726 for ; Sat, 28 Feb 2009 11:00:15 -0600 (CST) Received: from smtp27.orange.fr (smtp27.orange.fr [80.12.242.96]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1SH05Cl024012 for ; Sat, 28 Feb 2009 11:00:15 -0600 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2722.orange.fr (SMTP Server) with ESMTP id 4587D1C00089; Sat, 28 Feb 2009 18:00:00 +0100 (CET) Received: from new-host.home (AMarseille-251-1-22-112.w83-113.abo.wanadoo.fr [83.113.12.112]) by mwinf2722.orange.fr (SMTP Server) with ESMTP id 2E7A71C00088; Sat, 28 Feb 2009 18:00:00 +0100 (CET) X-ME-UUID: 20090228170000190.2E7A71C00088@mwinf2722.orange.fr From: Alain Baeckeroot To: Rafael Laboissiere Subject: Re: using alternate installation of plplot Date: Sat, 28 Feb 2009 17:59:49 +0100 User-Agent: KMail/1.9.9 References: <200902271854.20943.alain.baeckeroot@laposte.net> <20090228142658.GC7600@pc049-u864.lyon.inserm.fr> In-Reply-To: <20090228142658.GC7600@pc049-u864.lyon.inserm.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Message-Id: <200902281759.49704.alain.baeckeroot@laposte.net> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1SH0FWh007726 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2009 17:00:16 -0000 Le 28/02/2009 à 15:26, Rafael Laboissiere a écrit : > * Alain [2009-02-27 18:54]: > > I have build and installed /opt/plplot5.9.2 and would like to use it > > instead of my default plplot (5.9.0 from debian lenny), but i dont find > > how to configure this alternate path/package in octave. > > 5.9.2-1 is now in Debian sid. > > http://packages.debian.org/source/unstable/plplot yes, debian is very responsive (upgraded the same day as i reported bug and upstream fix :-) ), but i just need it _now_, and i386.deb is not here yet. thanks, this will help me to build my package correctly. Alain. From rafael.laboissiere@inserm.fr Sat Feb 28 11:17:17 2009 Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1SHHHXE012033 for ; Sat, 28 Feb 2009 11:17:17 -0600 (CST) Received: from smtp.inserm.fr (smtp.inserm.fr [195.98.252.37]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1SHHFEN010891 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 28 Feb 2009 11:17:17 -0600 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.inserm.fr (SrvInserm) with ESMTP id 4FFA387F5; Sat, 28 Feb 2009 18:17:10 +0100 (CET) X-Virus-Scanned: by amavisd-new Received: from smtp.inserm.fr ([195.98.252.37]) by localhost (potentille.inserm.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Fm5dKuXceXJL; Sat, 28 Feb 2009 18:17:10 +0100 (CET) Received: from pc049-u864 (lep-129.lyon.inserm.fr [194.57.165.129]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.inserm.fr (SrvInserm) with ESMTP id 3B0BB8458; Sat, 28 Feb 2009 18:17:10 +0100 (CET) Received: from rafael by pc049-u864 with local (Exim 4.69) (envelope-from ) id 1LdSoH-0002fs-VS; Sat, 28 Feb 2009 18:17:09 +0100 Date: Sat, 28 Feb 2009 18:17:09 +0100 From: Rafael Laboissiere To: Alain Baeckeroot Subject: Re: using alternate installation of plplot Message-ID: <20090228171709.GD7600@pc049-u864.lyon.inserm.fr> References: <200902271854.20943.alain.baeckeroot@laposte.net> <20090228142658.GC7600@pc049-u864.lyon.inserm.fr> <200902281759.49704.alain.baeckeroot@laposte.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200902281759.49704.alain.baeckeroot@laposte.net> Organization: Debian Project User-Agent: Mutt/1.5.18 (2008-05-17) X-Seen-By: Mailfromd 3.1.3 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00 Cc: Octave users list X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2009 17:17:18 -0000 * Alain Baeckeroot [2009-02-28 17:59]: > Le 28/02/2009 à 15:26, Rafael Laboissiere a écrit : > > > > 5.9.2-1 is now in Debian sid. > > > > http://packages.debian.org/source/unstable/plplot > > yes, debian is very responsive (upgraded the same day as i reported bug and > upstream fix :-) ), but i just need it _now_, and i386.deb is not here yet. Just be patient. It is being built on all arches right now [1]. Otherwise: dget http://ftp.debian.org/debian/pool/main/p/plplot/plplot_5.9.2-1.dsc apt-get build-dep plplot cd plplot-5.9.2 debuild -us -uc sudo debi [1] https://buildd.debian.org/pkg.cgi?pkg=plplot -- Rafael From bounces@nabble.com Sat Feb 28 19:34:04 2009 Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n211Y4V5019746 for ; Sat, 28 Feb 2009 19:34:04 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx3.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n211XuQ8010348 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Sat, 28 Feb 2009 19:34:04 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LdaZ1-0005WM-FN for help-octave@octave.org; Sat, 28 Feb 2009 17:33:55 -0800 Message-ID: <22269002.post@talk.nabble.com> Date: Sat, 28 Feb 2009 17:33:55 -0800 (PST) From: martin_helm To: help-octave@octave.org Subject: Re: marching cubes and isosurface In-Reply-To: <49A4509A.4000102@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: martin@mhelm.de References: <22161948.post@talk.nabble.com> <49A301F9.70002@gmx.net> <200902232228.59468.martin@mhelm.de> <49A4509A.4000102@gmx.net> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Mar 2009 01:34:06 -0000 A very early draft of isosurface is available at http://www.mhelm.de/octave/index.html You can also find two examples (which will work with jhandles). I will update the functions available at that link as I proceed with it. - mh -- View this message in context: http://www.nabble.com/marching-cubes-and-isosurface-tp22161948p22269002.html Sent from the Octave - General mailing list archive at Nabble.com. From bounces@nabble.com Sat Feb 28 15:14:09 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1SLE935014425 for ; Sat, 28 Feb 2009 15:14:09 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1SLE6Eh032767 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Sat, 28 Feb 2009 15:14:08 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LdWVZ-0004PS-F6 for help-octave@octave.org; Sat, 28 Feb 2009 13:14:05 -0800 Message-ID: <22266911.post@talk.nabble.com> Date: Sat, 28 Feb 2009 13:14:05 -0800 (PST) From: Bertone To: help-octave@octave.org Subject: Parametric system solve -> parametric plot MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: marbertone@gmail.com X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-Mailman-Approved-At: Mon, 02 Mar 2009 01:35:06 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2009 21:14:10 -0000 Hello to everybody, I'm a physicist and an Octave-proud newbie, I need technical help to solve a simple problem. I've got a parametric nonlinear system of 2 eqns in 2 unknowns plus a parameter, t: f(x,y,t) = 0 AND g(x,y,t) = 0 well, I could solve it point-by-point by setting manually a value for t and obtaining a point (x(t),y(t)), then following the instructions contained in the User Manual. What should I tell Octave to draw a plot of the curve x(t), y(t) which is implicitly defined by the system above? Thank you all! Mario Alberto -- View this message in context: http://www.nabble.com/Parametric-system-solve--%3E-parametric-plot-tp22266911p22266911.html Sent from the Octave - General mailing list archive at Nabble.com. From bounces@nabble.com Sat Feb 28 02:16:07 2009 Received: from mx1.cae.wisc.edu (mx1.cae.wisc.edu [144.92.13.28]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id n1S8G7ZM026737 for ; Sat, 28 Feb 2009 02:16:07 -0600 (CST) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1S8FxNH008668 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Sat, 28 Feb 2009 02:16:07 -0600 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LdKMX-0001Gy-RO for help-octave@octave.org; Sat, 28 Feb 2009 00:15:57 -0800 Message-ID: <22259770.post@talk.nabble.com> Date: Sat, 28 Feb 2009 00:15:57 -0800 (PST) From: Michael Creel To: help-octave@octave.org Subject: Re: non-negative least squares In-Reply-To: <1215512997900.jaana.tommiska1.16863.c9Z2-1hjaYCnlaw5heNfLw@luukku.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Nabble-From: michael.creel@uab.es References: <1215512997900.jaana.tommiska1.16863.c9Z2-1hjaYCnlaw5heNfLw@luukku.com> X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by www.cae.wisc.edu id n1S8G7ZM026737 X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: BAYES_00, SPF_HELO_PASS, WHOIS_MYPRIVREG X-Mailman-Approved-At: Mon, 02 Mar 2009 01:35:23 -0600 X-BeenThere: help-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2009 08:16:09 -0000 Jaana Tommiska wrote: > > Hi, > how can I solve non-negative least squares > > min||Ax-b|| subject to x>=0 > > using Octave ? > > Jaana Tommiska > > ................................................................... > Luukku Plus paketilla pääset eroon tila- ja turvallisuusongelmista. > Hanki Luukku Plus ja helpotat elämääsi. http://www.mtv3.fi/luukku > > > _______________________________________________ > Help-octave mailing list > Help-octave@octave.org > https://www.cae.wisc.edu/mailman/listinfo/help-octave > > One way to do it would be to use the simulated annealing solver, setting the lower bounds to zero and the upper bounds to values known to be larger than the solution (just re-set them and run again if the solution is on the upper bound). This works well, and as long as the dimension of x is not too large, it doesn't take too long. Michael -- View this message in context: http://www.nabble.com/non-negative-least-squares-tp18336410p22259770.html Sent from the Octave - General mailing list archive at Nabble.com.