On Jun 9, 2014, at 11:19 AM, Rik <address@hidden> wrote:
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
|