How to avoid delay in plotting while using app designer?

8 views (last 30 days)
When plotting on a UIAxes using appdesigner , I'm getting some significant delay. Is there any option to plot in appdesigner with out getting delay?

Answers (1)

Image Analyst
Image Analyst on 4 Jan 2022
You could try putting
drawnow;
whenever you want to update a plot. For example if you're in an intensive loop that plots stuff, it might not get around to plotting things on every iteration and just wait until the loop is all done. To force it to repaint/refresh the screen immediately you can put drawnow at the bottom of the loop.
  3 Comments

Sign in to comment.

Categories

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

Community Treasure Hunt

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

Start Hunting!