octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57569] patch (x, y, c, "property", "value") t


From: Rik
Subject: [Octave-bug-tracker] [bug #57569] patch (x, y, c, "property", "value") throws an error
Date: Thu, 9 Jan 2020 16:34:48 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

URL:
  <https://savannah.gnu.org/bugs/?57569>

                 Summary: patch (x, y, c, "property", "value") throws an error
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Thu 09 Jan 2020 01:34:46 PM PST
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: Confirmed
             Assigned to: rik5
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

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.





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57569>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]