How to draw animated plots through code in MatLab? -- MatLab
How to draw animated plots through code in MatLab? -- MatLab
How to draw animated plots through code in MatLab?
[Ans]
The group function
animatedline
addpoints
drawnow
[description]
animatedline
create an animated line.
It can be drawn animatedly.
more syntax details on:
addpoints
add points to the animated line.
more syntax and details on:
drawnow
It is used for updating the figure and process callbacks.
more syntax and details on:
[Useful tips]
When you want to generate an animated line,
create the animated line by animatedline command,
then add points for drawing by addpoints command.
Finally, update the figure by drawnow command.
It is widely used such as singal generator.
Comments
Post a Comment