changeset 12132:dc11166fcddc

subplot.m: Set "box" to "on" by default (same as Matlab).
author Ben Abbott <bpabbott@mac.com>
date Sat, 22 Jan 2011 13:29:43 -0500
parents da9afc5c4cfb
children adbc08052ccd
files scripts/ChangeLog scripts/plot/subplot.m
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Sat Jan 22 13:00:07 2011 -0500
+++ b/scripts/ChangeLog	Sat Jan 22 13:29:43 2011 -0500
@@ -1,5 +1,6 @@
 2011-01-22  Ben Abbott  <bpabbott@mac.com>
 
+	* plot/subplot.m: Set "box" to "on" by default (same as Matlab).
 	* plot/cylinder.m: Remove console output from demo.
 
 2011-01-22  Konstantinos Poulios  <logari81@googlemail.com>
--- a/scripts/plot/subplot.m	Sat Jan 22 13:00:07 2011 -0500
+++ b/scripts/plot/subplot.m	Sat Jan 22 13:29:43 2011 -0500
@@ -165,7 +165,8 @@
       pos = subplot_position (rows, cols, index, "outerposition", units);
       pos2 = subplot_position (rows, cols, index, "position", units);
       tmp = axes ("outerposition", pos, "position", pos2,
-                  "activepositionproperty", "outerposition");
+                  "activepositionproperty", "outerposition",
+                  "box", "off");
     endif
 
     if (align_axes && strcmp (get (cf, "__graphics_toolkit__"), "gnuplot"))