bug fixes around plot_shock_decomposition.m utilities
parent
0053e7018f
commit
94297b71cc
|
@ -34,8 +34,8 @@ new_colormap = DynareOptions.colormap;
|
|||
comp_nbr = size(z,2)-1;
|
||||
|
||||
SteadyState=[];
|
||||
% fig_mode='';
|
||||
% fig_mode1='';
|
||||
fig_mode='';
|
||||
fig_mode1='';
|
||||
% fig_names='';
|
||||
% screen_shocks=0;
|
||||
opts_decomp = DynareOptions.shock_decomp;
|
||||
|
|
|
@ -29,7 +29,7 @@ function []=graph_decomp_detail(z,shock_names,endo_names,i_var,initial_date,Dyna
|
|||
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
% interactive = 0;
|
||||
% fig_mode='';
|
||||
fig_mode='';
|
||||
fig_mode1='';
|
||||
% fig_names='';
|
||||
% screen_shocks=0;
|
||||
|
|
|
@ -41,7 +41,7 @@ endo_nbr = M_.endo_nbr;
|
|||
% number of shocks
|
||||
nshocks = M_.exo_nbr;
|
||||
% type = '';
|
||||
% fig_names='';
|
||||
fig_names='';
|
||||
% detail_plot=0;
|
||||
% realtime_=0; % 0 is standard; 1 is realtime (pool/vintage); 2 is conditional (pool/vintage); 3 is forecast (pool/vintage)
|
||||
% vintage_=0; % 0 pool realtime/conditional; int: forecast/conditional shock decompositions
|
||||
|
@ -183,7 +183,7 @@ options_.shock_decomp.fig_names=fig_names;
|
|||
if detail_plot,
|
||||
graph_decomp_detail(z,shock_names,M_.endo_names,i_var,initial_date,M_,options_)
|
||||
else
|
||||
graph_decomp(z,shock_names,M_.endo_names,i_var,initial_date,M_,options_,options_.shock_decomp);
|
||||
graph_decomp(z,shock_names,M_.endo_names,i_var,initial_date,M_,options_);
|
||||
end
|
||||
|
||||
if write_xls
|
||||
|
|
Loading…
Reference in New Issue