why program is not giving plot after execution?

some times it happens that program doesn't give the plot after the execution. but when it is run again second time then it gives the plot. why is this happening?

4 Comments

post your code
The contributors of this forum do not use magic crystal balls. Therefore it is impossible to create a meaningful answer.
@Jan Simon: Apparently, Sean de Wolski does...)
@Naz: Revealing this detail conflicts with the licence conditions.
Feeding the deamon will increase its hunger.

Sign in to comment.

 Accepted Answer

perhaps you need to add a drawnow at the end of your code (or the end of a for-loop (i.e. the last line inside the for-loop).

More Answers (0)

Categories

Tags

Community Treasure Hunt

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

Start Hunting!