Merge pull request #440 from JohannesPfeifer/shock_decomp

Fixes for shock_decomposition
time-shift
Sébastien Villemot 2013-07-04 04:14:51 -07:00
commit 02820b7151
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
function evaluate_smoother(parameters,var_list)
function oo_=evaluate_smoother(parameters,var_list)
% Evaluate the smoother at parameters.
%
% INPUTS

View File

@ -41,8 +41,8 @@ for j=1:nvar
end
fhandle = dyn_figure(DynareOptions,'Name',['Shock decomposition: ',endo_names(i_var(j),:)]);
ax=axes('Position',[0.1 0.1 0.6 0.8]);
axis(ax,[xmin xmax ymin ymax]);
plot(ax,x(2:end),z1(end,:),'k-','LineWidth',2)
axis(ax,[xmin xmax ymin ymax]);
hold on;
for i=1:gend
i_1 = i-1;