[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help with open face patches
From: |
Rik |
Subject: |
Help with open face patches |
Date: |
Mon, 09 Jun 2014 08:19:21 -0700 |
6/9/14
Could someone run the code below under Matlab and send back the resulting
png file? I'm trying to nail down the corner case where one of the
vertices in a patch has a NaN which should produce an open, uncolored face.
--- Code ---
v = [0 0 0;1 0 0;1 NaN 0;0 1 0];
f = [1 2 3 4];
fvc = [1 0 0;0 1 0;1 0 1;1 1 0];
clf;
hp = patch ('Vertices',v,'Faces',f,'FaceVertexCData',fvc,
'EdgeColor','flat', 'linewidth', 3);
print -dpng tst.png
--- End Code ---
Thanks,
Rik
- Help with open face patches,
Rik <=