diff scripts/plot/stem.m @ 7218:02eb1619b857

[project @ 2007-11-29 21:10:55 by jwe]
author jwe
date Thu, 29 Nov 2007 21:10:55 +0000
parents c8abc18322b7
children d65670971cbc
line wrap: on
line diff
--- a/scripts/plot/stem.m	Thu Nov 29 20:50:24 2007 +0000
+++ b/scripts/plot/stem.m	Thu Nov 29 21:10:55 2007 +0000
@@ -94,6 +94,10 @@
 
 function h = stem (varargin)
 
+  if (nargin < 1 || nargin > 3)
+    print_usage ();
+  endif
+
   tmp = __stem__ (false, varargin{:});
 
   if (nargout > 0)