|
From: | Shai Ayal |
Subject: | Re: Looking for waterfall plot function |
Date: | Tue, 09 Aug 2005 14:30:09 +0300 |
User-agent: | Mozilla Thunderbird 1.0 (X11/20041206) |
Melvyn, octave's plot function does not return any value, so the variable p is undefined. Matlab returns the handles of the lines drawn. Octave does not have handle graphics. So, try deleting all references to p later on in the file. It might work, although produce uglier results. Shai Melvyn Poore wrote:
Does anyone know where I can find a working waterfall plot function?I found one in the DAFX (ed. Zölzer, Wiley 2002) book, but I can’t for the life of me get it to work. It’s written for MatLab, so I guess there are some differences.I get the following error: error: value on right hand side of assignment is undefined error: evaluating assignment expression near line 46, column 4 Line 46 is: p=plot3(x(1:N/2), y(1:N/2), spek(1:N/2), "k");All the variables are defined and populated, which doesn’t preclude an undefined value coming out in the wash: but I can’t see any error in the expression. I need a hand from someone more experienced, please!I can post the whole function if necessary. Cheers, Melvyn--Melvyn Poore Kantelberg 8 53773 Hennef Germany Tel: +49 (2248) 446907 Mobile: +49 (173) 511 9336 email: address@hidden http://www.poore.de http://www.shef.ac.uk/misc/rec/ps/efi/mpoore.html http://www.musikfabriknrw.de
-- Shai Ayal, Ph.D. Head of Research BioControl Medical BCM 3 Geron St. Yehud 56100 ISRAEL Tel: + 972 3 6322 126 ext 223 Fax: + 972 3 6322 125 email: address@hidden ------------------------------------------------------------- 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 -------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |