Skip to content
Snippets Groups Projects
Commit b3bcd2c8 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

parent 5e7256da
No related branches found
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';
plot_shock_decomposition(M_, oo, options_, varlist);
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