comparison scripts/plot/title.m @ 13812:d3f0d75faf2c

title: avoid spurious output * title.m: Rename output argument to retval from h.
author John W. Eaton <jwe@octave.org>
date Fri, 04 Nov 2011 04:55:40 -0400
parents 5acb5c25e4ae
children 5f0bb45e615c
comparison
equal deleted inserted replaced
13811:240d6810204c 13812:d3f0d75faf2c
24 ## Create a title object and return a handle to it. 24 ## Create a title object and return a handle to it.
25 ## @end deftypefn 25 ## @end deftypefn
26 26
27 ## Author: jwe 27 ## Author: jwe
28 28
29 function h = title (varargin) 29 function retval = title (varargin)
30 30
31 [h, varargin, nargin] = __plt_get_axis_arg__ ("title", varargin{:}); 31 [h, varargin, nargin] = __plt_get_axis_arg__ ("title", varargin{:});
32 32
33 if (rem (nargin, 2) != 1) 33 if (rem (nargin, 2) != 1)
34 print_usage (); 34 print_usage ();