Mercurial > hg > octave-lyh
diff scripts/plot/__axis_label__.m @ 4529:78954aeaf321
[project @ 2003-10-04 19:35:36 by jwe]
author | jwe |
---|---|
date | Sat, 04 Oct 2003 19:35:36 +0000 |
parents | 1807b75711df |
children | b111ca4715c6 |
line wrap: on
line diff
--- a/scripts/plot/__axis_label__.m +++ b/scripts/plot/__axis_label__.m @@ -24,7 +24,7 @@ ## Author: jwe -function __axis_label__ (caller, text) +function h = __axis_label__ (caller, text) if (nargin == 0) usage ("__axis_label__ (caller, text)"); @@ -39,4 +39,12 @@ usage ("%s (text)", caller); 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