# HG changeset patch # User Rik # Date 1380604215 25200 # Node ID 40ac55bf03dc0fe86277817ab6f1933a9a900cd2 # Parent 3670ce8da1a06808a4fd29fcc5decfad5d8a5f7b hist.m: Change internal call to bar to use "hist" style argument. * scripts/plot/hist.m: Call bar with "hist" style argument. diff --git a/scripts/plot/hist.m b/scripts/plot/hist.m --- 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