Mercurial > hg > octave-nkf
diff scripts/plot/title.m @ 4529:78954aeaf321
[project @ 2003-10-04 19:35:36 by jwe]
author | jwe |
---|---|
date | Sat, 04 Oct 2003 19:35:36 +0000 |
parents | a7fe24b18fa4 |
children | c08cb1098afc |
line wrap: on
line diff
--- a/scripts/plot/title.m +++ b/scripts/plot/title.m @@ -27,7 +27,7 @@ ## Author: jwe -function title (text) +function h = title (text) if (nargin != 1) usage ("title (text)"); @@ -40,4 +40,12 @@ error ("title: text must be a string"); endif + ## XXX FIXME XXX -- eventually, we will return a graphics handle. For + ## now, return something, so that calls that expect a handle won't + ## fail (at least immediately). + + if (nargout > 0) + h = -1; + endif + endfunction