getpoints
Return points from animated line.
📝Syntax
[x, y] = getpoints(an)
[x, y, z] = getpoints(an)
📥Input Arguments
Parameter Description
an animatedline graphics object.
📤Output Arguments
Parameter Description
x, y, z stored coordinates.
📄Description

getpoints returns only the coordinates stored on the animated line.

Two-dimensional lines store and return zero z-coordinates when a third output is requested.

💡Examples
an = animatedline(1:4, [1 4 2 3]);
[x, y, z] = getpoints(an)
🔗See Also
animatedlineaddpointsclearpoints
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub