Skip to content
Snippets Groups Projects
Commit 161ff748 authored by sebastien's avatar sebastien
Browse files

trunk pm3.m: removed useless empty plot (thanks to Jamie Hall for reporting this)

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2448 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 7ac5750a
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,7 @@ function pm3(n1,n2,ifil,B,tit1,tit2,tit3,tit_tex,names1,names2,name3,DirectoryNa
end
title(name,'Interpreter','none')
end
if subplotnum == MaxNumberOfPlotsPerFigure | j == nvar
if subplotnum == MaxNumberOfPlotsPerFigure | i == nvar
eval(['print -depsc2 ' M_.dname '/Output/' M_.fname '_' name3 '_' deblank(tit3(i,:)) '.eps' ]);
if ~exist('OCTAVE_VERSION')
eval(['print -dpdf ' M_.dname '/Output/' M_.fname '_' name3 '_' deblank(tit3(i,:))]);
......@@ -139,8 +139,10 @@ function pm3(n1,n2,ifil,B,tit1,tit2,tit3,tit_tex,names1,names2,name3,DirectoryNa
end
subplotnum = 0;
figunumber = figunumber+1;
if (i ~= nvar)
hh = figure('Name',[name3 ' ' int2str(figunumber+1)]);
end
end
end
%%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment