Commit 6e5465c0 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Merge branch 'gsa_plot' into 'master'

Fixes to GSA plots

See merge request Dynare/dynare!1631
parents 7b0ef3d0 30361ccb
......@@ -42,7 +42,6 @@ end
pvalue_ks = DynareOptions.opt_gsa.pvalue_ks;
indx_irf = [];
indx_moment = [];
DynareOptions.nodisplay = 1;
init = ~DynareOptions.opt_gsa.load_stab;
options_mcf.pvalue_ks = DynareOptions.opt_gsa.pvalue_ks;
......
......@@ -34,6 +34,8 @@ if DynareOptions.TeX
else
param_names_tex = options_mcf.param_names_tex;
end
else
param_names_tex = strrep(options_mcf.param_names,'_','\_');
end
amcf_name = options_mcf.amcf_name;
amcf_title = options_mcf.amcf_title;
......@@ -78,7 +80,7 @@ if ~isempty(indmcf) && ~DynareOptions.nograph
skipline()
xx=[];
if ~ isempty(xparam1), xx=xparam1(indmcf); end
scatter_mcf(lpmat(ibeha,indmcf),lpmat(inobeha,indmcf), param_names(indmcf), ...
scatter_mcf(lpmat(ibeha,indmcf),lpmat(inobeha,indmcf), param_names_tex(indmcf), ...
'.', [fname_,'_',amcf_name], OutputDirectoryName, amcf_title,xx, DynareOptions, ...
beha_title, nobeha_title)
end
......@@ -143,7 +143,7 @@ for i = 1:p
end
if i==1
if nflag == 1
ylabel(vnames(j,:),'Rotation',45,'interpreter','none', ...
ylabel(vnames(j,:),'Rotation',45, ...
'HorizontalAlignment','right','VerticalAlignment','middle');
else
ylabel([num2str(j),' '],'Rotation',90)
......@@ -151,7 +151,7 @@ for i = 1:p
end
if j==1
if nflag == 1
title(vnames(i,:),'interpreter','none','Rotation',45, ...
title(vnames(i,:),'Rotation',45, ...
'HorizontalAlignment','left','VerticalAlignment','bottom')
else
title(num2str(i))
......
Supports Markdown
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