comparison util/SMALL_plot.m @ 132:b17f690df281

plot function small change
author Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk>
date Mon, 11 Jul 2011 11:01:56 +0100
parents 8e660fd14774
children 0de08f68256b
comparison
equal deleted inserted replaced
131:d8783debe482 132:b17f690df281
28 28
29 29
30 for j=2:n 30 for j=2:n
31 31
32 subplot(m,n,(i-1)*n+j); plot(1:length(SMALL.solver(i).reconstructed(:,j-1)), SMALL.solver(i).reconstructed(:,j-1) ,'b.-', 1:length(SMALL.Problem.signal(:,j-1)), SMALL.Problem.signal(:,j-1),'r--') 32 subplot(m,n,(i-1)*n+j); plot(1:length(SMALL.solver(i).reconstructed(:,j-1)), SMALL.solver(i).reconstructed(:,j-1) ,'b.-', 1:length(SMALL.Problem.signal(:,j-1)), SMALL.Problem.signal(:,j-1),'r--')
33 %legend(SMALL.solver(i).name,'Original signal',0); 33 %legend(SMALL.solver(i).name,'Original signal',0,'Location','SouthOutside','Interpreter','none');
34 title('Reconstructed and original signals'); 34 title(sprintf('%s(%s) in %.2f s signal %d', SMALL.solver(i).name, SMALL.solver(i).param,SMALL.solver(i).time,n-1),'Interpreter','none')
35 end 35 end
36 end 36 end
37 end 37 end