# HG changeset patch # User Rik # Date 1398348817 25200 # Node ID cf3db95a75f0a99f973cfb26e35282e9ba0b3802 # Parent e42843ceff485448438faa44ca900944dc6896ef 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. diff -r e42843ceff48 -r cf3db95a75f0 scripts/plot/appearance/axis.m --- 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