Mercurial > hg > octave-nkf
diff scripts/plot/hold.m @ 6046:34f96dd5441b
[project @ 2006-10-10 16:10:25 by jwe]
author | jwe |
---|---|
date | Tue, 10 Oct 2006 16:10:31 +0000 |
parents | c49aec8a9080 |
children | 44c91c5dfe1d |
line wrap: on
line diff
--- a/scripts/plot/hold.m +++ b/scripts/plot/hold.m @@ -54,8 +54,6 @@ __hold_state__(__current_figure__) = false; endif - usage_msg = "hold (\"on\") or hold (\"off\")"; - if (nargin == 0) __hold_state__(__current_figure__) = ! __hold_state__(__current_figure__); elseif (nargin == 1) @@ -64,10 +62,10 @@ elseif (strcmp (arg, "off")) __hold_state__(__current_figure__) = false; else - usage (usage_msg); + print_usage (); endif else - usage (usage_msg); + print_usage (); endif endfunction