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

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

[Octave-bug-tracker] [bug #63582] Octave patch function accepts one inco


From: Liang Tang
Subject: [Octave-bug-tracker] [bug #63582] Octave patch function accepts one incorrect input form and produces incorrect result.
Date: Thu, 29 Dec 2022 05:21:17 -0500 (EST)

Follow-up Comment #2, bug #63582 (project octave):

The code as it is today does check for if facecolor specification meet the
acceptable/allowable  internal color format.  For my incorrect input, the
value of a single 1 does not match the three digit color map format.  My
original post is actually to request for an existing check being made.  

The two lines below show the z in my example does not meet some check you
already have. 

h3=patch('xdata',x, 'ydata',y, 'facecolor',[1 0 0]);  % works 
h4=patch('xdata',x, 'ydata',y, 'facecolor',z      );  % error: __go_patch__:
invalid value for color property "facecolor"

Thanks, 



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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