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 diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -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
+++ b/scripts/plot/axis.m
@@ -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