Mercurial > hg > octave-lyh
diff scripts/plot/surf.m @ 7216:5389a52df87b
[project @ 2007-11-29 19:07:29 by jwe]
author | jwe |
---|---|
date | Thu, 29 Nov 2007 19:07:29 +0000 |
parents | dd88d61d443f |
children | 47e4ebac1bfa |
line wrap: on
line diff
--- a/scripts/plot/surf.m +++ b/scripts/plot/surf.m @@ -29,7 +29,7 @@ ## Author: Kai Habel <kai.habel@gmx.de> -function h = surf (varargin) +function retval = surf (varargin) [h, varargin] = __plt_get_axis_arg__ ("surf", varargin{:}); @@ -48,7 +48,7 @@ end_unwind_protect if (nargout > 0) - h = tmp; + retval = tmp; endif endfunction