Mercurial > repos > public > sbplib
comparison +noname/animate.m @ 71:1edee9e1ea41
Updated printing stuff for animation functions.
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Mon, 23 Nov 2015 14:34:02 +0100 |
| parents | f87003695677 |
| children | 14bf01b7a068 |
comparison
equal
deleted
inserted
replaced
| 70:243c558dc3ae | 71:1edee9e1ea41 |
|---|---|
| 64 | 64 |
| 65 fprintf('Using time step k = %.6f\n',ts.k) | 65 fprintf('Using time step k = %.6f\n',ts.k) |
| 66 fprintf('System size: %d\n',size(discretization)) | 66 fprintf('System size: %d\n',size(discretization)) |
| 67 % waitforbuttonpress | 67 % waitforbuttonpress |
| 68 anim.animate(@G,0,Tend,time_modifier) | 68 anim.animate(@G,0,Tend,time_modifier) |
| 69 str = util.replace_string(str,''); | 69 % str = util.replace_string(str,''); |
| 70 | 70 |
| 71 % if makemovies | 71 % if makemovies |
| 72 % fprintf('Generating movies...\n') | 72 % fprintf('Generating movies...\n') |
| 73 % system(sprintf('bash make_movie.sh %s',dirname)); | 73 % system(sprintf('bash make_movie.sh %s',dirname)); |
| 74 % end | 74 % end |
