Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Marco Ratto
dynare
Commits
6e5465c0
Commit
6e5465c0
authored
Nov 15, 2018
by
Sébastien Villemot
Browse files
Merge branch 'gsa_plot' into 'master'
Fixes to GSA plots See merge request
Dynare/dynare!1631
parents
7b0ef3d0
30361ccb
Changes
3
Hide whitespace changes
Inline
Side-by-side
matlab/gsa/map_calibration.m
View file @
6e5465c0
...
...
@@ -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
;
...
...
matlab/gsa/mcf_analysis.m
View file @
6e5465c0
...
...
@@ -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
matlab/gsa/scatter_mcf.m
View file @
6e5465c0
...
...
@@ -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
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment