changeset 10557:e86651d2fde5

axis.m: For 'axis normal' restore plotboxaspectratio.
author Ben Abbott <bpabbott@mac.com>
date Fri, 23 Apr 2010 20:29:29 -0400
parents 3cc09ec70224
children 23c1910dbd8e
files scripts/ChangeLog scripts/plot/axis.m
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Fri Apr 23 16:34:40 2010 -0400
+++ b/scripts/ChangeLog	Fri Apr 23 20:29:29 2010 -0400
@@ -1,3 +1,7 @@
+2010-04-23  Ben Abbott <bpabbott@mac.com>
+
+	* plot/axis.m: For 'axis normal' restore plotboxaspectratio.
+
 2010-04-23  John W. Eaton  <jwe@octave.org>
 
 	* gethelp.cc (extract_help_text): Use C++ static_cast instead of
--- a/scripts/plot/axis.m	Fri Apr 23 16:34:40 2010 -0400
+++ b/scripts/plot/axis.m	Fri Apr 23 20:29:29 2010 -0400
@@ -170,6 +170,7 @@
       y = ylim;
       set (ca, "plotboxaspectratio", [(x(2)-x(1)), (y(2)-y(1)), 1]);
     elseif (strcmpi (ax, "normal"))
+      set (ca, "plotboxaspectratio", [1, 1, 1])
       set (ca, "plotboxaspectratiomode", "auto");
 
       ## axis limits