Fix duplicate TeX-label for IRFs

time-shift
Johannes Pfeifer 2016-06-19 14:31:58 +02:00 committed by Stéphane Adjemian (Hermes)
parent 054c9bde76
commit 0d7d63fe9b
2 changed files with 2 additions and 2 deletions

View File

@ -418,7 +418,7 @@ if options_.TeX && any(strcmp('eps',cellstr(options_.graph_format)))
else
fprintf(fidTeX,'\\caption{Bayesian IRF: Orthogonalized shock to $%s$.}\n',deblank(tit_TeX(ii,:)));
end
fprintf(fidTeX,'\\label{Fig:BayesianIRF:%s}\n',deblank(tit(ii,:)));
fprintf(fidTeX,'\\label{Fig:BayesianIRF:%s:%d}\n',deblank(tit(ii,:)),figunumber);
fprintf(fidTeX,'\\end{figure}\n');
fprintf(fidTeX,' \n');

View File

@ -312,7 +312,7 @@ if options_.irf
fprintf(fidTeX,['\\caption{Impulse response functions' ...
' (orthogonalized shock to $%s$).}'],deblank(titTeX(i,:)));
end
fprintf(fidTeX,'\\label{Fig:BayesianIRF:%s:%s}\n',deblank(tit(i,:)),int2str(fig));
fprintf(fidTeX,'\\label{Fig:IRF:%s:%s}\n',deblank(tit(i,:)),int2str(fig));
fprintf(fidTeX,'\\end{figure}\n');
fprintf(fidTeX,' \n');
end