annotate arrows/@scatterer/scatterer.m @ 42:ae596261e75f

Various fixes and development to audio handling
author samer
date Tue, 02 Dec 2014 14:51:13 +0000
parents beb8a3f4a345
children
rev   line source
samer@0 1 % scatterer - Arrow for doing scatter plots.
samer@0 2 %
samer@0 3 % scatterer :: options {
samer@0 4 % xlim :: [[_]->nonneg] / [] ~'passed to xlim if not empty';
samer@0 5 % ylim :: [[_]->nonneg] / [] ~'passed to ylim if not empty';
samer@0 6 % xlabel :: [[_]->nonneg] / [] ~'passed to xlabel if not empty';
samer@0 7 % ylabel :: [[_]->nonneg] / [] ~'passed to ylabel if not empty';
samer@0 8 % args :: {[_]} / {} ~'extra arguments for scat'
samer@0 9 % } -> arrow({[[N,M]]}, {}, empty) ~'arrow from 2D arrays'.
samer@0 10 %
samer@0 11 % scatterer is an arrow which displays input on scatter (xy) plot.
samer@0 12
samer@0 13 function o=scatterer(varargin)
samer@37 14 s.opts=options('xlim',[],'ylim',[],'zlim',[],'scatfn',@scat,'args',{},varargin{:});
samer@0 15 o=class(s,'scatterer',agraph(1,s.opts));
samer@0 16 end
samer@0 17