changeset 18894:24332f256940

Set default patch color to black rather than green for Matlab compatibility. * __patch__.m: Set default patch color to black rather than green for Matlab compatibility.
author Rik <rik@octave.org>
date Thu, 03 Jul 2014 20:42:41 -0700
parents fee51895ffe1
children b8934a57e13e
files scripts/plot/draw/private/__patch__.m
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/draw/private/__patch__.m	Thu Jul 03 14:10:35 2014 -0700
+++ b/scripts/plot/draw/private/__patch__.m	Thu Jul 03 20:42:41 2014 -0700
@@ -176,7 +176,7 @@
         args{10} = [];
       else
         args{7} = "facecolor";
-        args{8} = [0, 1, 0];
+        args{8} = [0, 0, 0];
         args{9} = "cdata";
         args{10} = [];
       endif
@@ -247,7 +247,7 @@
     if (!isempty (fvc))
       fc = "flat";
     else
-      fc = [0, 1, 0];
+      fc = [0, 0, 0];
     endif
     args = {"facecolor", fc, args{:}};
   endif
@@ -317,7 +317,7 @@
     if (!isempty (c))
       fc = "flat";
     else
-      fc = [0, 1, 0];
+      fc = [0, 0, 0];
     endif
     args = {"facecolor", fc, args{:}};
   endif