bugGNU Octave - Bugs: bug #57569, patch (x, y, c,...

 
 

bug #57569: patch (x, y, c, "property", "value") throws an error

Submitter:  Rik <rik5>
Submitted:  Thu 09 Jan 2020 09:34:46 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  rik5
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Thu 09 Jan 2020 10:06:32 PM UTC, comment #1: 

Fixed in this cset https://hg.savann ... /rev/733d056eb867.

Closing report.

Rik <rik5>
Group administrator
Thu 09 Jan 2020 09:34:46 PM UTC, original submission:  

Code to reproduce issue:


x = [0, 9, 0];
y = [0, 0, 9];
c = uint8([0, 2, 4])';
patch (x, y, c, "facecolor", "interp");


This is a documented calling form, and Matlab accepts it.  Octave throws this error


error: __go_patch__: unable to create graphics handle
error: called from
    __patch__ at line 178 column 7
    patch at line 91 column 18


Issue seems to be that the input validation in _patch_.m is incorrect.

Rik <rik5>
Group administrator

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    Votes

    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.

     

    History

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-01-09 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.16-ed84.
    Corresponding source code