Commit af2909a3 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Merge pull request #551 from JohannesPfeifer/master

Harmonize plotting of IRFS
parents 85f00188 c9ebe21f
...@@ -198,7 +198,7 @@ if options_.irf ...@@ -198,7 +198,7 @@ if options_.irf
y(i_var(j),:)'); y(i_var(j),:)');
eval(['oo_.irfs.' deblank(M_.endo_names(i_var(j),:)) '_' ... eval(['oo_.irfs.' deblank(M_.endo_names(i_var(j),:)) '_' ...
deblank(M_.exo_names(i,:)) ' = y(i_var(j),:);']); deblank(M_.exo_names(i,:)) ' = y(i_var(j),:);']);
if max(y(i_var(j),:)) - min(y(i_var(j),:)) > options_.impulse_responses.plot_threshold if max(abs(y(i_var(j),:))) > options_.impulse_responses.plot_threshold
irfs = cat(1,irfs,y(i_var(j),:)); irfs = cat(1,irfs,y(i_var(j),:));
if isempty(mylist) if isempty(mylist)
mylist = deblank(var_list(j,:)); mylist = deblank(var_list(j,:));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment