Mercurial > hg > ishara
view arrows/sweep.m @ 6:0ce3c2070089
Removed duplicate code and fixed doc in timed_action.
author | samer |
---|---|
date | Mon, 14 Jan 2013 14:33:37 +0000 |
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{:});