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
Dóra Kocsis
dynare
Commits
b15bdb11
Commit
b15bdb11
authored
Jul 12, 2011
by
Houtan Bastani
Browse files
MS-SBVAR: bug fix
parent
0baa7d7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/ms-sbvar/plot_ms_forecast.m
View file @
b15bdb11
...
...
@@ -95,7 +95,7 @@ function plot_point_forecast(forecast,nvars,nr,nc,endo_names,title_,save_graph_f
for
j
=
1
:
nvars
if
m
>
nr
*
nc
graph_name
=
[
'MS-Forecast ('
int2str
(
n_fig
)
')'
]
dyn_save_graph
(
M_
.
f
name
,[
'MS-forecast-'
int2str
(
n_fig
)],
...
dyn_save_graph
(
dir
name
,[
'MS-forecast-'
int2str
(
n_fig
)],
...
save_graph_formats
,
TeX
,
names
,
tex_names
,
graph_name
);
n_fig
=
n_fig
+
1
;
figure
(
'Name'
,[
'MS-Forecast ('
int2str
(
n_fig
)
')'
]);
...
...
@@ -127,7 +127,7 @@ function plot_banded_forecast(forecast,nvars,nr,nc,endo_names,num_percentiles,ti
for
j
=
1
:
nvars
if
m
>
nr
*
nc
graph_name
=
[
'MS-Forecast ('
int2str
(
n_fig
)
')'
];
dyn_save_graph
(
M_
.
f
name
,[
'MS-forecast-'
int2str
(
n_fig
)],
...
dyn_save_graph
(
dir
name
,[
'MS-forecast-'
int2str
(
n_fig
)],
...
save_graph_formats
,
TeX
,
names
,
tex_names
,
graph_name
);
n_fig
=
n_fig
+
1
;
figure
(
'Name'
,
graph_name
);
...
...
@@ -155,5 +155,3 @@ function plot_banded_forecast(forecast,nvars,nr,nc,endo_names,num_percentiles,ti
save_graph_formats
,
TeX
,
names
,
tex_names
,
graph_name
);
end
end
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