diff scripts/plot/stem3.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 ef3fad1f36da
line wrap: on
line diff
--- a/scripts/plot/stem3.m
+++ b/scripts/plot/stem3.m
@@ -37,6 +37,10 @@
 
 function h = stem3 (varargin)
 
+  if (nargin < 3 || nargin > 4)
+    print_usage ();
+  endif
+
   tmp = __stem__ (true, varargin{:});
 
   if (nargout > 0)