Commit 49af31b0 authored by ferhat's avatar ferhat
Browse files

Do not print out NAN values

parent 136ccf33
......@@ -119,7 +119,9 @@ fprintf(fid, '%%series %s\n\\addplot',{:});
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));
Supports Markdown
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