view arrows/sweep.m @ 61:eff6bddf82e3 tip

Finally implemented perceptual brightness thing.
author samer
date Sun, 11 Oct 2015 10:20:42 +0100
parents 672052bd81f8
children
line wrap: on
line source
% sweep - arrow to create sweeping plot of real valued signals
%
% sweep ::
%    W:natural ~'width of plot in samples',
% -> arrow({[[N,1]]}, {}, pair([[N,W]],pair(empty,empty))).
%
% If input vectors are N dimensional, this will plot
% N lines showing their history over the last W samples.


function b=sweep(width,varargin)
	b=asweep(width,nan)*arr(@transpose)*plotter(varargin{:});