bugGNU Octave - Bugs: bug #58167, graphic handle error of barh in...

 
 

bug #58167: graphic handle error of barh in subplot

Submitter:  Liang Tang <lt1234>
Submitted:  Mon 13 Apr 2020 02:53:18 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  None
Originator Name:  lt1234 Open/Closed:  * Closed
Release:  * 5.1.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 13 Apr 2020 04:55:32 PM UTC, comment #1: 

This has already been fixed in the latest stable release 5.2.0.  Please upgrade to that version.

Rik <rik5>
Group administrator
Mon 13 Apr 2020 02:53:18 PM UTC, original submission:  

I have bar or barh in a subplot group. A subsequent modification to the subplot leads to different results.   bar works but barh gives an error message.  Thanks. 

Bar works

>> figure; n=3;
>> for ii=1:n, subplot(n,1,ii); bar([1 2 3]); end
>> subplot(n,1,1); bar([1 2 3]);


>> figure; n=3;
>> for ii=1:n, subplot(n,1,ii); bar([1 2 3]); end
>> subplot(n,1,1); barh([1 2 3]);


Barh introduces an error. 

>> figure; n=3;
>> for ii=1:n, subplot(n,1,ii); barh([1 2 3]); end
>> subplot(n,1,1); barh([1 2 3]);  % or bar([1 2 3]);

error: get: invalid handle (= -283.571)
execution error in graphics callback function

Liang Tang <lt1234>

 

(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 rik5 (Posted a comment)
  • -email is unavailable- added by lt1234 (Submitted the item)
  •  

    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 group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-04-13 rik5 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code