Save on disk the data produced by mode_check.

time-shift
Stéphane Adjemian (Lupi) 2015-07-08 16:05:38 +02:00
parent 69b7d8024c
commit fe41b64c84
1 changed files with 7 additions and 1 deletions

View File

@ -89,6 +89,8 @@ if isinf(ll),
DynareOptions.mode_check.symmetric_plots = 0;
end
mcheck = struct('cross',struct(),'emode',struct());
for plt = 1:nbplt,
if TeX
NAMES = [];
@ -149,6 +151,8 @@ for plt = 1:nbplt,
y(i,2) = (y(i,1)+lnprior-dy);
end
end
mcheck.cross = setfield(mcheck.cross, name, [transpose(z), -y]);
mcheck.emode = setfield(mcheck.emode, name, x(kk));
fighandle=plot(z,-y);
hold on
yl=get(gca,'ylim');
@ -194,4 +198,6 @@ for plt = 1:nbplt,
fprintf(fidTeX,'\\end{figure}\n');
fprintf(fidTeX,' \n');
end
end
end
save('check_plot_data','mcheck');