function dot2dot ( X )

%*****************************************************************************80
%
%% dot2dot()  Connect the points from a 2-by-n matrix.
%
%  Licensing:
%
%   Copyright 2014 The MathWorks, Inc.
%
%  Author:
%
%    Cleve Moler
%
%  Reference:
%
%    Cleve Moler,
%    Experiments with MATLAB
%    https://www.mathworks.com/moler
%
X(:,end+1) = X(:,1);
plot(X(1,:),X(2,:),'.-','markersize',18,'linewidth',2)
axis(10*[-1 1 -1 1])
axis square
