annotate arrows/scope.m @ 61:eff6bddf82e3 tip

Finally implemented perceptual brightness thing.
author samer
date Sun, 11 Oct 2015 10:20:42 +0100
parents 672052bd81f8
children
rev   line source
samer@0 1 % scope - arrow to create scrolling plot of real valued signals
samer@0 2 %
samer@0 3 % scope ::
samer@0 4 % W:natural ~'width of plot in samples',
samer@0 5 % -> arrow({[[N,1]]}, {}, pair([[N,W]],pair(empty,empty))).
samer@0 6 %
samer@0 7 % If input vectors are N dimensional, this will plot
samer@0 8 % N lines showing their history over the last W samples.
samer@0 9
samer@0 10
samer@0 11 function b=scope(width,varargin)
samer@0 12 b=awindow(width,nan)*arr(@transpose)*plotter(varargin{:});