Mercurial > hg > ishara
view histogram/plothist_stairs.m @ 61:eff6bddf82e3 tip
Finally implemented perceptual brightness thing.
author | samer |
---|---|
date | Sun, 11 Oct 2015 10:20:42 +0100 |
parents | ce9021da6ce2 |
children |
line wrap: on
line source
function h=plothist_stairs(Map,Counts,varargin) % plothist_stairs - Plot histogram using stairs. % % plothist_stairs :: % dmap(N) ~'the bin map', % [[N]] ~'the bin counts' % -> handle. % % Any extra arguments are passed to STAIRS. if isvector(Counts), Counts=Counts(:); end stairs(edges(Map),[Counts;Counts(end,:)],varargin{:});