Mercurial > repos > public > sbplib
comparison +noname/animate.m @ 600:0da1c913a611 feature/grids
Add missing pause command in noname.Animate
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 26 Sep 2017 15:38:57 +0200 |
parents | dfa4455033db |
children | d196b7cdc626 |
comparison
equal
deleted
inserted
replaced
599:489bea7fc33f | 600:0da1c913a611 |
---|---|
85 | 85 |
86 if ~do_step | 86 if ~do_step |
87 pause | 87 pause |
88 anim.animate(@G, Tstart, Tend, time_modifier); | 88 anim.animate(@G, Tstart, Tend, time_modifier); |
89 else | 89 else |
90 pause | |
90 while true | 91 while true |
91 ts.step(); | 92 ts.step(); |
92 sol = discretization.getTimeSnapshot(ts); | 93 sol = discretization.getTimeSnapshot(ts); |
93 update(sol); | 94 update(sol); |
94 drawnow | 95 drawnow |