diff scripts/sparse/etreeplot.m @ 7125:f084ba47812b

[project @ 2007-11-08 02:29:23 by jwe]
author jwe
date Thu, 08 Nov 2007 02:29:24 +0000
parents a1dbe9d80eee
children be55736a0783
line wrap: on
line diff
--- a/scripts/sparse/etreeplot.m
+++ b/scripts/sparse/etreeplot.m
@@ -27,5 +27,10 @@
 ## @end deftypefn
 
 function etreeplot (s, varargin)
+
+  if (nargin < 1)
+    print_usage ();
+  endif
+
   treeplot (etree (s+s'), varargin{:});
 endfunction