How can I animate the plot in the app designer UIAxes?

 Accepted Answer

>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.
If you have a specific question, show us what you've got so far and we can probably help straighten things out.

3 Comments

The examples referenced do not answer the specific question of how to use animatedline in a UIAxes object. How do I "supply the UIAxes handle" to animatedline? Can you show me an example?
% 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:

Sign in to comment.

More Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Asked:

on 7 Dec 2021

Commented:

on 1 Nov 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!