Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

clearpoints

Clear points from animated line

Syntax

clearpoints(an)

Description

example

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.

Examples

collapse all

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

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

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

Was this topic helpful?