diff scripts/plot/plotyy.m @ 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 b0084095098e
children a754c2d8a13f
line wrap: on
line diff
--- 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