Commit 823d9474 authored by Houtan Bastani's avatar Houtan Bastani

update call to dyn_saveas

parent 20978ce1
......@@ -303,7 +303,7 @@ for plt = 1:nbplt,
axis tight
drawnow
end
dyn_saveas(hh,[ Model.fname '_param_traj' int2str(plt) ],DynareOptions);
dyn_saveas(hh,[ Model.fname '_param_traj' int2str(plt) ],DynareOptions.nodisplay,DynareOptions.graph_format);
if TeX
% TeX eps loader file
fprintf(fidTeX,'\\begin{figure}[H]\n');
......@@ -352,7 +352,7 @@ for plt = 1:nbplt,
axis tight
drawnow
end
dyn_saveas(hh,[ Model.fname '_param_density' int2str(plt) ],DynareOptions);
dyn_saveas(hh,[ Model.fname '_param_density' int2str(plt) ],DynareOptions.nodisplay,DynareOptions.graph_format);
if TeX
% TeX eps loader file
fprintf(fidTeX,'\\begin{figure}[H]\n');
......
Markdown is supported
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