diff scripts/plot/hist.m @ 3175:096940972434

[project @ 1998-05-18 17:03:01 by jwe]
author jwe
date Mon, 18 May 1998 17:03:02 +0000
parents 8b262e771614
children a4cd1e9d9962
line wrap: on
line diff
--- a/scripts/plot/hist.m
+++ b/scripts/plot/hist.m
@@ -90,7 +90,7 @@
   endfor
   freq (n) = sum (y >= cutoff (n-1));
 
-  if (nargout == 2)
+  if (nargout > 0)
     nn = freq;
     xx = x;
   else