Mercurial > hg > octave-lyh
diff scripts/plot/title.m @ 904:3470f1e25a79
[project @ 1994-11-09 21:22:15 by jwe]
author | jwe |
---|---|
date | Wed, 09 Nov 1994 21:22:15 +0000 |
parents | 16a24e76d6e0 |
children | 3f257ab07921 |
line wrap: on
line diff
--- a/scripts/plot/title.m +++ b/scripts/plot/title.m @@ -1,4 +1,4 @@ -# Copyright (C) 1993 John W. Eaton +# Copyright (C) 1993, 1994 John W. Eaton # # This file is part of Octave. # @@ -27,14 +27,14 @@ # bar, stairs, gplot, gsplot, replot, xlabel, ylabel if (nargin != 1) - error ("usage: title (text)"); + usage ("title (text)"); endif if (isstr (text)) command = sprintf ("set title \"%s\"", text); eval (command); else - error ("error: title: text must be a string"); + error ("title: text must be a string"); endif endfunction