added dirname as input;
changed title: d statistics is used and not prob. git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@736 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
c9d263a3a0
commit
55ae0e7dc0
|
@ -1,5 +1,5 @@
|
|||
function [proba, dproba] = stab_map_1(lpmat, ibehaviour, inonbehaviour, aname, iplot, ipar, dirname)
|
||||
%function stab_map_1(lpmat, ibehaviour, inonbehaviour, aname, iplot, ipar)
|
||||
%function [proba, dproba] = stab_map_1(lpmat, ibehaviour, inonbehaviour, aname, iplot, ipar, dirname)
|
||||
%
|
||||
% lpmat = Monte Carlo matrix
|
||||
% ibehaviour = index of behavioural runs
|
||||
|
@ -61,7 +61,7 @@ for i=1:ceil(nparplot/12),
|
|||
h=cumplot(lpmat(inonbehaviour,j));
|
||||
set(h,'color',[0 0 0])
|
||||
end
|
||||
title([ftit{j},'. K-S prob ', num2str(proba(ipar(j)))],'interpreter','none')
|
||||
title([ftit{j},'. D-stat ', num2str(dproba(ipar(j)),2)],'interpreter','none')
|
||||
end
|
||||
saveas(gcf,[dirname,'\',fname_,'_',aname,'_SA_',int2str(i)])
|
||||
eval(['print -depsc2 ' dirname '\' fname_ '_' aname '_SA_' int2str(i)]);
|
||||
|
|
Loading…
Reference in New Issue