octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with printing plots


From: Daniel J Sebald
Subject: Re: Problem with printing plots
Date: Thu, 08 Mar 2012 23:59:36 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 03/08/2012 11:32 PM, Jordi Gutiérrez Hermoso wrote:
2012/3/9 Dmitri A. Sergatskov<address@hidden>:
2012/3/8 Jordi Gutiérrez Hermoso<address@hidden>:

    ../../run-octave -f -q -H -p
/home/jordi/coding/vcs/octave-devel/doc/interpreter --eval
"geometryimages ('voronoi', 'eps');"
    error: get: A(I): index out of bounds; value 3 out of bound 2

I usually get this type of errors when I do (stupid) things like:

octave:1>  sqrt=2
sqrt =  2
octave:2>  sqrt(4)
error: A(I): index out of bounds; value 4 out of bound 1

Well, I'm baffled as to why I'm the only one seeing this problem. The
only thing I can imagine could be causing it is my .octaverc, because
jwe has also reported not seeing a problem, and I think he's also on
Debian 6.0, so we should have the same version of all the important
packages. But my .octaverc seems pretty innocuous:

     edit mode async
     edit home .
     crash_dumps_octave_core(0);
     PS1( "\\[\\033[01;36m\\]\\s:\\#>  \\[\\033[0m\\]" )
     graphics_toolkit fltk;
     warning("off", "Octave:broadcast");

I can reproduce it quite reliably, reliably enough to use hg bisect on
it and narrow it down to a mysterious-looking cset related to
plotting. So I don't think I'm completely crazy about experiencing
this problem while no one else does...

- Jordi G. H.

/home/jordi/coding/vcs/octave-devel/doc/interpreter --eval
"geometryimages ('voronoi', 'eps');"
    error: get: A(I): index out of bounds; value 3 out of bound 2
    error: called from:
    error:   /home/jordi/coding/vcs/octave-devel/scripts/plot/findobj.m
at line 205, column 9
    error: evaluating argument list element number 1

It looks like a call to get(??, 'something') might be failing. One way that would fail is if the code is attempting to create a figure and fails so that the figure is not in the array of "matryoshka pointers". Is there some type of plot failing in the script? Is there a hardcoded number in the script expecting 3 to be valid, e.g., get(3, 'something')? Just guessing.

Dan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]