changeset 13808:d5bfaa582eaa

correctly handle RGB color spec for patch object * __patch__.m: Set facecolor from RGB color spec
author John W. Eaton <jwe@octave.org>
date Thu, 03 Nov 2011 16:14:28 -0400
parents 33f044561ebf
children 425b861ae66f
files scripts/plot/private/__patch__.m
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/private/__patch__.m	Thu Nov 03 16:09:32 2011 -0400
+++ b/scripts/plot/private/__patch__.m	Thu Nov 03 16:14:28 2011 -0400
@@ -130,9 +130,9 @@
           endif
         elseif (size (c, ndims (c)) == 3)
           args{7} = "facecolor";
-          args{8} = "flat";
+          args{8} = c;
           args{9} = "cdata";
-          args{10} = c;
+          args{10} = [];
         else
           ## Color Vectors
           if (isempty (c))