changeset 32:6521a7c2b93c

(none)
author idamnjanovic
date Tue, 29 Jun 2010 11:07:35 +0000
parents 1b63e6a201a2
children f6b49c9d728c
files util/SMALL_plot.m
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/util/SMALL_plot.m	Tue Jun 29 11:06:48 2010 +0000
+++ b/util/SMALL_plot.m	Tue Jun 29 11:07:35 2010 +0000
@@ -20,7 +20,7 @@
   for i =1:m
   
   subplot(m,n, (i-1)*n+1); plot(1:length(SMALL.solver(i).solution), SMALL.solver(i).solution, 'b')
-        title([ SMALL.solver(i).name,'(', SMALL.solver(i).param,')'])
+        title(sprintf('%s(%s) in %.2f s', SMALL.solver(i).name, SMALL.solver(i).param,SMALL.solver(i).time))
           xlabel('Coefficient') 
      
   % Plot reconstructed signal against original
@@ -32,4 +32,5 @@
           %legend(SMALL.solver(i).name,'Original signal',0);
               title('Reconstructed and original signals');
   end
+  end
 end