diff --git a/matlab/evaluate_smoother.m b/matlab/evaluate_smoother.m index 474deaa65..32f58a280 100644 --- a/matlab/evaluate_smoother.m +++ b/matlab/evaluate_smoother.m @@ -1,4 +1,4 @@ -function evaluate_smoother(parameters,var_list) +function oo_=evaluate_smoother(parameters,var_list) % Evaluate the smoother at parameters. % % INPUTS diff --git a/matlab/graph_decomp.m b/matlab/graph_decomp.m index f69c8d833..33240cf6e 100644 --- a/matlab/graph_decomp.m +++ b/matlab/graph_decomp.m @@ -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;