changeset 12128:e916491cbb99

plotyy.m: Set box property to off to allow both y-axes colors to be visible for OpenGL backends.
author Ben Abbott <bpabbott@mac.com>
date Sat, 22 Jan 2011 09:30:12 -0500
parents b83162e8f402
children 80fc70a53400
files scripts/ChangeLog scripts/plot/plotyy.m
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,3 +1,8 @@
+2011-01-22  Konstantinos Poulios  <logari81@googlemail.com>
+
+	* plot/plotyy.m: Set box property to off to allow both y-axes colors
+	to be visible for OpenGL backends.
+
 2011-01-22  John W. Eaton  <jwe@octave.org>
 
 	* plot/private/__scatter__.m: Don't accept "filled" as a color.
--- a/scripts/plot/plotyy.m
+++ b/scripts/plot/plotyy.m
@@ -168,6 +168,7 @@
   set (ax(2), "position", get (ax(1), "position"));
   set (ax(2), "xlim", xlim);
   set (ax(2), "color", "none");
+  set (ax(2), "box", "off");
 
   ## Add invisible text objects that when destroyed,
   ## also remove the other axis