Mercurial > hg > octave-nkf
changeset 17522:40ac55bf03dc
hist.m: Change internal call to bar to use "hist" style argument.
* scripts/plot/hist.m: Call bar with "hist" style argument.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 30 Sep 2013 22:10:15 -0700 |
parents | 3670ce8da1a0 |
children | 968c99137122 |
files | scripts/plot/hist.m |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/hist.m +++ b/scripts/plot/hist.m @@ -173,11 +173,7 @@ if (isempty (hax)) hax = gca (); endif - if (columns (freq) != 1) - bar (hax, x, freq, 0.8, varargin{iarg:end}); - else - bar (hax, x, freq, 1.0, varargin{iarg:end}); - endif + bar (hax, x, freq, "hist", varargin{iarg:end}); endif endfunction