Skip to content
Snippets Groups Projects
Commit 92a38cfa authored by Marco Ratto's avatar Marco Ratto Committed by Stéphane Adjemian
Browse files

bug fixes: wrong name of field fig_name and properly using user defined fig_name

(cherry picked from commit b3bcd2c8)

Fixed conflicts in matlab/initial_condition_decomposition.m.
parent b76bfe65
Branches
Tags
No related merge requests found
......@@ -128,6 +128,11 @@ M_.exo_nbr = M_.endo_nbr;
options_.plot_shock_decomp.realtime=0;
options_.plot_shock_decomp.screen_shocks=1;
options_.plot_shock_decomp.use_shock_groups = '';
options_.plot_shock_decomp.fig_names='initval';
fig_name = options_.plot_shock_decomp.fig_name;
if ~isempty(fig_name)
options_.plot_shock_decomp.fig_name=[fig_name '_initval'];
else
options_.plot_shock_decomp.fig_name='initval';
end
plot_shock_decomposition(M_,oo,options_,varlist);
% end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment