Mercurial > hg > ishara
view arrows/scope.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
% scope - arrow to create scrolling plot of real valued signals % % scope :: % 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=scope(width,varargin) b=awindow(width,nan)*arr(@transpose)*plotter(varargin{:});