How to avoid delay in plotting while using app designer?

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)

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

Thank you for your valuable comments.
Sir, I'm already using draw now. Here what I'm doing is I want to transmit data from one system to other system and I want to plot it in run time. I plotted data's at runtime. But the thing is that, while using appdesigner I'm getting some significant delay in the plot.
Did you call tech support for help?

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!