[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63523] patch: case where invalid size of face
From: |
A.R. Burgers |
Subject: |
[Octave-bug-tracker] [bug #63523] patch: case where invalid size of facevertexcdata is not caught |
Date: |
Wed, 14 Dec 2022 03:22:50 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?63523>
Summary: patch: case where invalid size of facevertexcdata is
not caught
Project: GNU Octave
Submitter: arb
Submitted: Wed 14 Dec 2022 08:22:49 AM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Missed Error or Warning
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: dev
Discussion Lock: Any
Operating System: Any
Fixed Release: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Wed 14 Dec 2022 08:22:49 AM UTC By: A.R. Burgers <arb>
Octave will run this example, and generate a plot:
np = 30;
p = rand(np, 3);
h = convhull(p);
nfaces = size(h, 1)
val = rand(nfaces + 1, 1);
patch('vertices', p, 'faces', h, 'facevertexcdata', val, 'facecolor',
'flat');
view(3);
where as matlab reports
Warning: Error creating or updating Patch
Error in value of property FaceVertexCData
Number of colors must equal number of vertices or faces
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63523>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63523] patch: case where invalid size of facevertexcdata is not caught,
A.R. Burgers <=