Mercurial > hg > ishara
view 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 |
line wrap: on
line source
% scatterer - Arrow for doing scatter plots. % % scatterer :: options { % xlim :: [[_]->nonneg] / [] ~'passed to xlim if not empty'; % ylim :: [[_]->nonneg] / [] ~'passed to ylim if not empty'; % xlabel :: [[_]->nonneg] / [] ~'passed to xlabel if not empty'; % ylabel :: [[_]->nonneg] / [] ~'passed to ylabel if not empty'; % args :: {[_]} / {} ~'extra arguments for scat' % } -> arrow({[[N,M]]}, {}, empty) ~'arrow from 2D arrays'. % % scatterer is an arrow which displays input on scatter (xy) plot. function o=scatterer(varargin) s.opts=options('xlim',[],'ylim',[],'zlim',[],'scatfn',@scat,'args',{},varargin{:}); o=class(s,'scatterer',agraph(1,s.opts)); end