Main Content


Animating plots

Create animations to visualize data changing over time. Display changing data in real time or record a movie or GIF to replay later.


expand all

moviePlay recorded movie frames
getframeCapture axes or figure as movie frame
frame2imReturn image data associated with movie frame
im2frameConvert image to movie frame
animatedlineCreate animated line
addpointsAdd points to animated line
getpointsReturn points that define animated line
clearpointsClear points from animated line
comet2-D comet plot
comet33-D comet plot
drawnowUpdate figures and process callbacks
refreshdataRefresh charted data


AnimatedLine PropertiesLine animation appearance and behavior