'figure' does not accept 0 as argument
Sergei Steshenko
sergstesh at yahoo.com
Sun Mar 9 20:27:12 CDT 2008
Hello All,
I've noticed this behavior:
"
GNU Octave, version 3.0.0
Copyright (C) 2007 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Octave was configured for "i686-pc-linux-gnu".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
Report bugs to <bug at octave.org> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).
For information about changes from previous versions, type `news'.
octave:1> figure(0)
warning: get: invalid property `type'
error: figure: expecting figure handle or figure number
error: evaluating if command near line 41, column 5
error: evaluating if command near line 39, column 3
error: called from `figure' in file
`/maxtor5/sergei/AppsFromScratchWD/install/octave-3.0.0/share/octave/3.0.0/m/plot/figure.m'
octave:1> figure(1)
octave:2>
".
Well, still, 0 is an integer number, so I do not understand the "figure number" part in
"error: figure: expecting figure handle or figure number" message.
Thanks,
Sergei.
Applications From Scratch: http://appsfromscratch.berlios.de/
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
More information about the Bug-octave
mailing list