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