Commit 03b13a5b authored by Houtan Bastani's avatar Houtan Bastani
Browse files

Merge pull request #3 from FerhatMihoubi/master

Bug fixes and enhancement
parents e2ec7156 49af31b0
......@@ -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']);
......
......@@ -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
if ~isnan(thedata(i))
fprintf(fid, '%d %f\\\\\n', i, thedata(i));
end
end
fprintf(fid,'};\n');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment