changeset 18669:cf3db95a75f0

axis.m: Fix regression when accepting input handle (cset 5032ac119d52). * axis.m: When setting xlim, ylim, zlim to numeric values the functions must be called with the desired axis handle so that id doesn't always operate on gca.
author Rik <rik@octave.org>
date Thu, 24 Apr 2014 07:13:37 -0700
parents e42843ceff48
children 78fac67300e8
files scripts/plot/appearance/axis.m
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/appearance/axis.m	Wed Apr 23 18:48:30 2014 -0700
+++ b/scripts/plot/appearance/axis.m	Thu Apr 24 07:13:37 2014 -0700
@@ -299,15 +299,15 @@
     endfor
 
     if (len > 1)
-      xlim (ax(1:2));
+      xlim (ca, ax(1:2));
     endif
 
     if (len > 3)
-      ylim (ax(3:4));
+      ylim (ca, ax(3:4));
     endif
 
     if (len > 5)
-      zlim (ax(5:6));
+      zlim (ca, ax(5:6));
     endif
 
   else