% 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

