diff scripts/plot/title.m @ 11469:c776f063fefe

Overhaul m-script files to use common variable name between code and documentation.
author Rik <octave@nomad.inbox5.com>
date Sun, 09 Jan 2011 12:41:21 -0800
parents be55736a0783
children fd0a3ac60b0e
line wrap: on
line diff
--- a/scripts/plot/title.m
+++ b/scripts/plot/title.m
@@ -18,20 +18,20 @@
 ## <http://www.gnu.org/licenses/>.
 
 ## -*- texinfo -*-
-## @deftypefn  {Function File} {} title (@var{title})
-## @deftypefnx {Function File} {} title (@var{title}, @var{p1}, @var{v1}, @dots{})
+## @deftypefn  {Function File} {} title (@var{string})
+## @deftypefnx {Function File} {} title (@var{string}, @var{p1}, @var{v1}, @dots{})
 ## Create a title object and return a handle to it.
 ## @end deftypefn
 
 ## Author: jwe
 
-function h = title (s, varargin)
+function h = title (string, varargin)
 
   if (rem (nargin, 2) == 1)
     if (nargout > 0)
-      h = __axis_label__ ("title", s, varargin{:});
+      h = __axis_label__ ("title", string, varargin{:});
     else
-      __axis_label__ ("title", s, varargin{:});
+      __axis_label__ ("title", string, varargin{:});
     endif
   else
     print_usage ();