changeset 71:1edee9e1ea41

Updated printing stuff for animation functions.
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 23 Nov 2015 14:34:02 +0100
parents 243c558dc3ae
children 942cb3c53a47
files +anim/animate.m +noname/animate.m
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/+anim/animate.m	Mon Nov 23 14:07:03 2015 +0100
+++ b/+anim/animate.m	Mon Nov 23 14:34:02 2015 +0100
@@ -28,6 +28,8 @@
     end
     time_to_animate = toc(animation_start);
     expected_time = tend/time_modifier;
+
+    fprintf('\n');
     fprintf('Time to animate: %.3f\n', time_to_animate)
     fprintf('Expected time  : %.3f\n', expected_time)
 end
--- a/+noname/animate.m	Mon Nov 23 14:07:03 2015 +0100
+++ b/+noname/animate.m	Mon Nov 23 14:34:02 2015 +0100
@@ -66,7 +66,7 @@
     fprintf('System size: %d\n',size(discretization))
     % waitforbuttonpress
     anim.animate(@G,0,Tend,time_modifier)
-    str = util.replace_string(str,'');
+    % str = util.replace_string(str,'');
 
     % if makemovies
         % fprintf('Generating movies...\n')