How can I animate the plot in the app designer UIAxes?
38 次查看(过去 30 天)
显示 更早的评论
How can I animate the plot in the app designer UIAxes?
0 个评论
采纳的回答
Adam Danz
2021-12-7
>How can I animate the plot in the app designer UIAxes?
Animation in UIAxes is no different than animation in regular axes other than the need to supply the uiaxes handle to plotting functions.
This may help you get started: https://www.mathworks.com/matlabcentral/answers/502437-how-do-i-show-a-line-being-created-like-an-animation-between-two-points-inside-a-plot#answer_412497
If you have a specific question, show us what you've got so far and we can probably help straighten things out.
3 个评论
Voss
2023-11-1
% create an animated line in app.UIAxes, with no data:
my_line = animatedline(app.UIAxes);
% or, create an animated line in app.UIAxes, with data x, y:
my_line = animatedline(app.UIAxes,x,y);
The available syntaxes for calling animatedline are listed at the top of this page:
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!