Mercurial > hg > cip2012
diff matlab/indplots.m @ 36:ec7d64c0ae44
Work on section 2 and 3A.
author | samer |
---|---|
date | Wed, 14 Mar 2012 23:04:12 +0000 |
parents | 6464cf684717 |
children |
line wrap: on
line diff
--- a/matlab/indplots.m Wed Mar 14 18:21:16 2012 +0000 +++ b/matlab/indplots.m Wed Mar 14 23:04:12 2012 +0000 @@ -1,7 +1,7 @@ function indplots(files_shifts,varargin) opts=prefs('print',0,varargin{:}); for i=1:length(files_shifts) - if finite_shift(files_shifts{i}) + if exist(files_shifts{i}{1},'file') && finite_shift(files_shifts{i}) fileplot(files_shifts{i},'basename',sprintf('plots/file%d',i),opts); end end