%% Return Points from Animated Line
% Create an animated line with 10 points. Then, return the points stored in the animated line.

h = animatedline(1:10,1:10);

%

[x,y] = getpoints(h)

% Copyright 2015 The MathWorks, Inc.