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	Mon Oct 09 21:40:46 2006 +0000
+++ b/scripts/plot/hold.m	Tue Oct 10 16:10:31 2006 +0000
@@ -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