view arrows/stats/ahistplot.m @ 2:7357e1dc2ad6

Simplified scheduler library with new schedule representation.
author samer
date Sat, 22 Dec 2012 16:17:51 +0000
parents 672052bd81f8
children beb8a3f4a345
line wrap: on
line source
function o=ahistplot(map,varargin)
	opts=prefs('log',false,'period',1,'memory',inf,varargin{:});
	o=estates(ahist(map,opts.memory),opts.period);
	if opts.log, p=arr(@(t)log(t'));
	else p=arr(@transpose); end
	o=o*erate(p*plotter('dom',centres(map),opts),{[opts.channels,cardr(map)]});