Problem with Ben's change to preserve axis propers when used with colorbars

Ben Abbott bpabbott at mac.com
Thu Oct 16 15:48:06 CDT 2008


On Thursday, October 16, 2008, at 04:33PM, "David Bateman" <dbateman at dbateman.org> wrote:
>John W. Eaton wrote:
>>   error: __go_draw_figure__: unknown object class, figure
>>   error: called from:
>>   error:   /home/jwe/src/octave/scripts/plot/__go_draw_figure__.m at line 58, column 8
>>   error:   /home/jwe/src/octave/scripts/plot/gnuplot_drawnow.m at line 68, column 5
>>   error: input: reading user-input failed!
>>   error:   /home/jwe/src/octave/scripts/testfun/demo.m at line 111, column 7
>> 
>> 
>> Running the commands by hand sometimes works.  Sometimes I get an
>> invalid handle error.
>> 
>> Is it just me, or can anyone else duplicate this problem?
>
>I see it too. However, I can't see why.. This looks a lot like the 
>issues of incorrect handles I was seeing that prevented me from applying 
>my plotyy/colorbar patch, as the handle types are just incorrect, or not 
>even handles. I suspect that handles aren't being deleted correctly or 
>the children array is not being resized correctly. I don't fully 
>understand the new code in graphics.cc and so will have difficulties 
>fixing this one.
>
>D.

I *think* I've been seeing such problems as well. However, my impression was that the parent was not being notified when their child died, and so they were still present in the parents "children" property.

Recycling handles had also introduced a confusing dynamic for me :-(.

Ben




More information about the Octave-maintainers mailing list