From 65cfa00e55b71f33e0a0708dbd5536f85acfd9bb Mon Sep 17 00:00:00 2001 From: Marco Ratto <marco.ratto@jrc.ec.europa.eu> Date: Thu, 14 Jun 2012 18:46:04 +0200 Subject: [PATCH] bug fix: lots of new empty figures were generated (cherry picked from commit 335db3d8dabb3a429dbe85a8d0a2ba3c6d447991) --- matlab/PosteriorIRF_core2.m | 1 - 1 file changed, 1 deletion(-) diff --git a/matlab/PosteriorIRF_core2.m b/matlab/PosteriorIRF_core2.m index 91f76a815..6a693a4a3 100644 --- a/matlab/PosteriorIRF_core2.m +++ b/matlab/PosteriorIRF_core2.m @@ -89,7 +89,6 @@ for i=fpar:npar, for j=1:nvar if max(abs(MeanIRF(:,j,i))) > 10^(-6) subplotnum = subplotnum+1; - dyn_figure(options_,'Name',['Relative response to orthogonalized shock to ' tit(i,:)]) if subplotnum == 1 && options_.relative_irf hh = dyn_figure(options_,'Name',['Relative response to orthogonalized shock to ' tit(i,:)]); elseif subplotnum == 1 && ~options_.relative_irf -- GitLab