changeset 11364:4cab008d3be1

Use high contrast color black for arrows in quiver3 plots. Bug #31802.
author Rik <octave@nomad.inbox5.com>
date Tue, 14 Dec 2010 18:17:56 -0800
parents a0dfd7e8e3e2
children 4b4d5a4d7d0e
files scripts/ChangeLog scripts/plot/private/__quiver__.m
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Tue Dec 14 17:27:19 2010 -0800
+++ b/scripts/ChangeLog	Tue Dec 14 18:17:56 2010 -0800
@@ -1,3 +1,8 @@
+2010-12-14  John W. Eaton  <jwe@octave.org>
+
+	* plot/private/__quiver__.m: Use high contrast color black for arrows
+	in quiver3 plots.  Bug #31802.
+
 2010-12-14  Rik  <octave@nomad.inbox5.com>
 
 	* plot/compass.m, plot/errorbar.m, plot/legend.m, plot/rose.m, 
--- a/scripts/plot/private/__quiver__.m	Tue Dec 14 17:27:19 2010 -0800
+++ b/scripts/plot/private/__quiver__.m	Tue Dec 14 18:17:56 2010 -0800
@@ -192,7 +192,7 @@
         h1 = plot3 ([x.'; xend.'; NaN(1, length (x))](:),
                     [y.'; yend.'; NaN(1, length (y))](:),
                     [z.'; zend.'; NaN(1, length (z))](:),
-                    "parent", hg);
+                    "color", "black", "parent", hg);
       else
         h1 = plot ([x.'; xend.'; NaN(1, length (x))](:),
                    [y.'; yend.'; NaN(1, length (y))](:),
@@ -241,7 +241,7 @@
       h2 = plot3 ([xarrw1.'; xend.'; xarrw2.'; NaN(1, length (x))](:),
                   [yarrw1.'; yend.'; yarrw2.'; NaN(1, length (y))](:),
                   [zarrw1.'; zend.'; zarrw2.'; NaN(1, length (z))](:),
-                  "parent", hg);
+                  "color", "black", "parent", hg);
     else
       h2 = plot ([xarrw1.'; xend.'; xarrw2.'; NaN(1, length (x))](:),
                  [yarrw1.'; yend.'; yarrw2.'; NaN(1, length (y))](:),