changeset 13253:e749d0b568c8

Revert unintended part of changeset e0ef7a3f35d9.
author Ben Abbott <bpabbott@mac.com>
date Thu, 29 Sep 2011 17:29:30 -0400
parents e0ef7a3f35d9
children dd3c5325039c
files scripts/plot/private/__patch__.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/private/__patch__.m	Thu Sep 29 17:04:00 2011 -0400
+++ b/scripts/plot/private/__patch__.m	Thu Sep 29 17:29:30 2011 -0400
@@ -289,7 +289,7 @@
   if (ndims (c) == 3)
     fvc = reshape (c, size (c, 1) * size (c, 2), size(c, 3));
   else
-    fvc = c.';
+    fvc = c(:).';
   endif
 
   args = {"faces", faces, "vertices", vert, "facevertexcdata", fvc, args{:}};