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
05eef8cc
Commit
05eef8cc
authored
Apr 27, 2015
by
Houtan Bastani
Browse files
don't add fan chart shading to legends
parent
4d497e1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/@report_series/writeSeriesForGraph.m
View file @
05eef8cc
...
...
@@ -128,7 +128,7 @@ if ~isempty(o.graphFanShadeColor)
assert
(
isint
(
series_num
)
&&
series_num
>
1
,
[
'@report_series.writeSeriesForGraph: can only add '
...
'graphFanShadeColor and graphFanShadeOpacity starting from the '
...
'second series in the graph'
]);
fprintf
(
fid
,
'\\addplot[%s!%d] fill between[of=%d and %d];\n'
,
...
fprintf
(
fid
,
'\\addplot[%s!%d
, forget plot
] fill between[of=%d and %d];\n'
,
...
o
.
graphFanShadeColor
,
o
.
graphFanShadeOpacity
,
series_num
,
series_num
-
1
);
end
end
...
...
Write
Preview
Markdown
is supported
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