Mercurial > hg > octave-lojdl
changeset 6586:e4ea529efab0
[project @ 2007-04-26 19:09:26 by dbateman]
author | dbateman |
---|---|
date | Thu, 26 Apr 2007 19:09:26 +0000 |
parents | 4862205146fd |
children | 00fad3bad2a5 |
files | scripts/ChangeLog scripts/plot/hist.m |
diffstat | 2 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2007-04-26 David Bateman <dbateman@free.fr> + + * plot/hist.m: Partially remove previous patch. + 2007-04-26 David Bateman <dbateman@free.fr> * plot/hist.m: Support returning of handle
--- a/scripts/plot/hist.m +++ b/scripts/plot/hist.m @@ -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