Mercurial > hg > ishara
view arrows/@scatterer/scatterer.m @ 61:eff6bddf82e3 tip
Finally implemented perceptual brightness thing.
author | samer |
---|---|
date | Sun, 11 Oct 2015 10:20:42 +0100 |
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