Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dynare
reporting
Commits
49af31b0
Commit
49af31b0
authored
Oct 15, 2015
by
ferhat
Browse files
Do not print out NAN values
parent
136ccf33
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/@report_series/writeSeriesForGraph.m
View file @
49af31b0
...
...
@@ -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'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment