view arrows/sweep.m @ 2:7357e1dc2ad6

Simplified scheduler library with new schedule representation.
author samer
date Sat, 22 Dec 2012 16:17:51 +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{:});