Skip to content
Snippets Groups Projects
Commit fe24f800 authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

Add debugging information for not displayed IRFs due to size

parent 65a16fd2
Branches
Tags
1 merge request!498Provides feedback for non-printed IRFS in debugging mode and allows setting the plotting threshold
...@@ -133,6 +133,10 @@ for i=fpar:npar, ...@@ -133,6 +133,10 @@ for i=fpar:npar,
end end
name = deblank(varlist(j,:)); name = deblank(varlist(j,:));
title(name,'Interpreter','none') title(name,'Interpreter','none')
else
if options_.debug
fprintf('POSTERIOR_IRF: The IRF of %s to %s is smaller than the irf_plot_threshold of %4.3f and will not be displayed.\n',deblank(varlist(j,:)),tit(i,:),options_.impulse_responses.plot_threshold)
end
end end
if subplotnum == MaxNumberOfPlotPerFigure || (j == nvar && subplotnum> 0) if subplotnum == MaxNumberOfPlotPerFigure || (j == nvar && subplotnum> 0)
......
...@@ -209,6 +209,10 @@ if options_.irf ...@@ -209,6 +209,10 @@ if options_.irf
mylistTeX = char(mylistTeX,deblank(var_listTeX(j,:))); mylistTeX = char(mylistTeX,deblank(var_listTeX(j,:)));
end end
end end
else
if options_.debug
fprintf('STOCH_SIMUL: The IRF of %s to %s is smaller than the irf_plot_threshold of %4.3f and will not be displayed.\n',deblank(M_.endo_names(i_var(j),:)),deblank(M_.exo_names(i,:)),options_.impulse_responses.plot_threshold)
end
end end
end end
if options_.nograph == 0 if options_.nograph == 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment