Merge pull request #3 from FerhatMihoubi/master

Bug fixes and enhancement
remove-priordens
Houtan Bastani 2015-10-15 12:12:26 +02:00
commit 1aca7bb7e3
2 changed files with 4 additions and 2 deletions

View File

@ -105,7 +105,7 @@ end
if status ~= 0
error(['@report.compile: There was an error in compiling ' rfn '.pdf.' ...
' ' compiler ' returned the error code: ' num2str(status)]);
' ' opts.compiler ' returned the error code: ' num2str(status)]);
end
if o.showOutput || opts.showOutput
fprintf(1, ['Done.\nYour compiled report is located here:\n ' pwd filesep rfn '.pdf\n\n']);

View File

@ -119,7 +119,9 @@ fprintf(fid, '%%series %s\n\\addplot', o.data.name{:});
writeLineOptions(o, fid, series_num);
fprintf(fid,'\ntable[row sep=crcr]{\nx y\\\\\n');
for i=1:ds.dates.ndat
fprintf(fid, '%d %f\\\\\n', i, thedata(i));
if ~isnan(thedata(i))
fprintf(fid, '%d %f\\\\\n', i, thedata(i));
end
end
fprintf(fid,'};\n');