diff scripts/plot/polar.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 be867ddbe4aa
line wrap: on
line diff
--- a/scripts/plot/polar.m
+++ b/scripts/plot/polar.m
@@ -1,4 +1,4 @@
-# Copyright (C) 1993 John W. Eaton
+# Copyright (C) 1993, 1994 John W. Eaton
 # 
 # This file is part of Octave.
 # 
@@ -33,9 +33,7 @@
   elseif (nargin == 2)
     polar_int (x1, x2);
   else
-    usage = sprintf ("usage: polar (x)\n");
-    usage = sprintf ("%s       polar (x, y)", usage);
-    error (usage);
+    usage ("polar (x [, y])");
   endif
 
 endfunction