This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Clear points from animated line





clearpoints(an) clears all points from the animated line specified by an. Create an animated line with the animatedline function. If you want to display the update on the screen, use drawnow after using clearpoints.


collapse all

Create an animated line with 10 points. Then, clear the points stored in the animated line.

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

The animated line still exists, but has no data.

Input Arguments

collapse all

AnimatedLine object. Create an AnimatedLine object using the animatedline function.

Introduced in R2014b