bugGNU Octave - Bugs: bug #42612, clf after subplot with...


bug #42612: clf after subplot with "outside" legend gives "error: invalid handle"

Submitted by:  None
Submitted on:  Wed 25 Jun 2014 12:08:36 PM UTC  
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Confirmed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  dev
Operating System:  GNU/Linux

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 09 Feb 2015 10:39:50 PM UTC, comment #3: 


This is fixed with this changeset : http://hg.savannah.gnu.org/hgweb/octave/rev/8064b5cdbc11

Closing this report.

Pantxo Diribarne <pantxo>
Project Member
Tue 19 Aug 2014 11:30:43 AM UTC, comment #2: 

I made a bisect today and the first revision which shows this problem is cset 10082673a8f0


Andreas Weber <andy1978>
Project Member
Wed 25 Jun 2014 12:33:03 PM UTC, comment #1: 

Thanks for your bug report. Confirmed on default, works correctly on gui-release. Only affects legend with an "outside" position set.

Mike Miller <mtmiller>
Project Administrator
Wed 25 Jun 2014 12:08:36 PM UTC, original submission:  

On a current default build (hg id 47d4b680d0e0), clf raises "error: get: invalid handle" which worked in 3.8.1

close all
clear all
graphics_toolkit fltk

subplot (2,1,1);
plot (1:5);
legend ('hello', 'location', 'northwestoutside');
subplot (2,1,2);


error: get: invalid handle (= -40.4222)
error: called from:
error:   /scripts/plot/util/findobj.m at line 205, column 16
error:   scripts/plot/util/findall.m at line 45, column 7
error:   scripts/plot/util/subplot.m at line 430, column 17
error: invalid handle
error: octave_base_value::matrix_value(): wrong type argument '<unknown type>'
error: set: A(I,J): row index out of bounds; value 1 out of bound 0
error:   scripts/plot/appearance/legend.m at line 1165, column 11
error: set: invalid graphics handle for property "currentaxes"
error: invalid handle
error:   scripts/miscellaneous/delete.m at line 51, column 5
error:   scripts/plot/util/clf.m at line 78, column 5



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by andy1978 (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-09 pantxo Open/ClosedOpen => Closed
    2014-06-25 mtmiller StatusNone => Confirmed
        Summaryclf after subplot with legend gives "error: invalid handle" => clf after subplot with "outside" legend gives "error: invalid handle"

    Back to the top

    Powered by Savane 3.6