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

 
 

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

Submitter:  None
Submitted:  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
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

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

Hi,

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

http://hg.savannah.gnu.org/hgweb/octave/rev/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);
plot(10:20)

clf

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

Anonymous

 

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

Attach Files:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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.9