[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #38779] patch failure with quadrilateral face
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #38779] patch failure with quadrilateral face |
Date: |
Mon, 24 Mar 2014 03:46:17 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0 |
Follow-up Comment #3, bug #38779 (project octave):
Matlab draws this patch object correctly. The following code was run on
Matlab and it generates a quadrilateral. The two png files are attached.
figure (1)
clf ()
pts = [10.6946 -4.0000 3.0253;
10.6946 -3.7071 3.0253;
13.1352 -3.7071 2.9571;
13.1352 -4.0000 2.5862 ];
facet = [ 1, 2, 3, 4 ];
p = patch ('Faces',facet, 'Vertices',pts);
saveas (gcf, 'patch_test.png')
set (p, 'facecolor', 0.8 * [1 1 1])
xlabel x
ylabel y
zlabel z
view (-15, 30)
saveas (gcf, 'patch_test2.png')
(file #31017, file #31018)
_______________________________________________________
Additional Item Attachment:
File name: patch_test.png Size:6 KB
File name: patch_test2.png Size:11 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38779>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/