# HG changeset patch # User jwe # Date 1201511599 0 # Node ID d00dcbc03a4cfecd267d42d0d7a76b11abd2480a # Parent fe5250e05ceb59a5c3763da63fbe9c75d2c7f6b2 [3-0-0-branch @ 2008-01-28 09:13:19 by jwe] diff -r fe5250e05ceb -r d00dcbc03a4c scripts/ChangeLog --- a/scripts/ChangeLog Fri Jan 25 18:56:11 2008 +0000 +++ b/scripts/ChangeLog Mon Jan 28 09:13:19 2008 +0000 @@ -1,3 +1,8 @@ +2008-01-28 Michael Goffioul + + * plot/xlabel.m, plot/ylabel.m, plot/zlabel.m: + Return the label handle, not the current axis handle. + 2008-01-25 James Packer * geometry/griddata3.m: Call griddata, not gridata. diff -r fe5250e05ceb -r d00dcbc03a4c scripts/plot/xlabel.m --- a/scripts/plot/xlabel.m Fri Jan 25 18:56:11 2008 +0000 +++ b/scripts/plot/xlabel.m Mon Jan 28 09:13:19 2008 +0000 @@ -49,7 +49,7 @@ end_unwind_protect if (nargout > 0) - retval = h; + retval = tmp; endif endfunction diff -r fe5250e05ceb -r d00dcbc03a4c scripts/plot/ylabel.m --- a/scripts/plot/ylabel.m Fri Jan 25 18:56:11 2008 +0000 +++ b/scripts/plot/ylabel.m Mon Jan 28 09:13:19 2008 +0000 @@ -44,7 +44,7 @@ end_unwind_protect if (nargout > 0) - retval = h; + retval = tmp; endif endfunction diff -r fe5250e05ceb -r d00dcbc03a4c scripts/plot/zlabel.m --- a/scripts/plot/zlabel.m Fri Jan 25 18:56:11 2008 +0000 +++ b/scripts/plot/zlabel.m Mon Jan 28 09:13:19 2008 +0000 @@ -44,7 +44,7 @@ end_unwind_protect if (nargout > 0) - retval = h; + retval = tmp; endif endfunction