# HG changeset patch # User dbateman # Date 1177614566 0 # Node ID e4ea529efab083dc9d1f1dcf0d77c9f0f3c7d7a3 # Parent 4862205146fd2c2b7351e1a1eb916da014309d0b [project @ 2007-04-26 19:09:26 by dbateman] diff -r 4862205146fd -r e4ea529efab0 scripts/ChangeLog --- a/scripts/ChangeLog Thu Apr 26 19:00:48 2007 +0000 +++ b/scripts/ChangeLog Thu Apr 26 19:09:26 2007 +0000 @@ -1,3 +1,7 @@ +2007-04-26 David Bateman + + * plot/hist.m: Partially remove previous patch. + 2007-04-26 David Bateman * plot/hist.m: Support returning of handle diff -r 4862205146fd -r e4ea529efab0 scripts/plot/hist.m --- a/scripts/plot/hist.m Thu Apr 26 19:00:48 2007 +0000 +++ b/scripts/plot/hist.m Thu Apr 26 19:09:26 2007 +0000 @@ -118,7 +118,7 @@ freq = freq / rows (y) * norm; endif - if (nargout > 1) + if (nargout > 0) if (arg_is_vector) nn = freq'; xx = x'; @@ -126,8 +126,6 @@ nn = freq; xx = x; endif - elseif (nargout == 1) - nn = bar (x, freq, 1.0); else bar (x, freq, 1.0); endif