Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dynare
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dynare
dynare
Commits
b0d5eadd
Verified
Commit
b0d5eadd
authored
6 years ago
by
Johannes Pfeifer
Committed by
Sébastien Villemot
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
GSA scatter plots: Correctly pass LaTeX-names to figure
(manually cherry picked from commit
30361ccb
)
parent
d613d11b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#326
passed
6 years ago
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
matlab/gsa/mcf_analysis.m
+3
-1
3 additions, 1 deletion
matlab/gsa/mcf_analysis.m
matlab/gsa/scatter_mcf.m
+2
-2
2 additions, 2 deletions
matlab/gsa/scatter_mcf.m
with
5 additions
and
3 deletions
matlab/gsa/mcf_analysis.m
+
3
−
1
View file @
b0d5eadd
...
...
@@ -34,6 +34,8 @@ if DynareOptions.TeX
else
param_names_tex
=
options_mcf
.
param_names_tex
;
end
else
param_names_tex
=
char
(
strrep
(
cellstr
(
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
This diff is collapsed.
Click to expand it.
matlab/gsa/scatter_mcf.m
+
2
−
2
View file @
b0d5eadd
...
...
@@ -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
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment