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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stéphane Adjemian
dynare
Commits
11686560
Commit
11686560
authored
13 years ago
by
Marco Ratto
Browse files
Options
Downloads
Patches
Plain Diff
Patch for behaviour with nograph=1 option.
parent
bd8e4ce0
No related branches found
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
matlab/dynare_estimation_1.m
+32
-0
32 additions, 0 deletions
matlab/dynare_estimation_1.m
with
32 additions
and
0 deletions
matlab/dynare_estimation_1.m
+
32
−
0
View file @
11686560
...
...
@@ -983,8 +983,12 @@ if (~((any(bayestopt_.pshape > 0) && options_.mh_replic) || (any(bayestopt_.psha
eval
([
'print -depsc2 '
M_
.
fname
'_SmoothedShocks'
int2str
(
1
)
'.eps'
]);
if
~
exist
(
'OCTAVE_VERSION'
)
eval
([
'print -dpdf '
M_
.
fname
'_SmoothedShocks'
int2str
(
1
)]);
if
options_
.
nograph
set
(
hh
,
'Visible'
,
'on'
);
end
saveas
(
hh
,[
M_
.
fname
'_SmoothedShocks'
int2str
(
1
)
'.fig'
]);
end
if
options_
.
nograph
,
close
(
hh
);
end
if
options_
.
TeX
fprintf
(
fidTeX
,
'\\begin{figure}[H]\n'
);
for
jj
=
1
:
M_
.
exo_nbr
...
...
@@ -1041,8 +1045,12 @@ if (~((any(bayestopt_.pshape > 0) && options_.mh_replic) || (any(bayestopt_.psha
eval
([
'print -depsc2 '
M_
.
fname
'_SmoothedShocks'
int2str
(
plt
)
'.eps'
]);
if
~
exist
(
'OCTAVE_VERSION'
)
eval
([
'print -dpdf '
M_
.
fname
'_SmoothedShocks'
int2str
(
plt
)]);
if
options_
.
nograph
set
(
hh
,
'Visible'
,
'on'
);
end
saveas
(
hh
,[
M_
.
fname
'_SmoothedShocks'
int2str
(
plt
)
'.fig'
]);
end
if
options_
.
nograph
,
close
(
hh
);
end
if
options_
.
TeX
fprintf
(
fidTeX
,
'\\begin{figure}[H]\n'
);
for
jj
=
1
:
nstar
...
...
@@ -1100,8 +1108,12 @@ if (~((any(bayestopt_.pshape > 0) && options_.mh_replic) || (any(bayestopt_.psha
eval
([
'print -depsc2 '
M_
.
fname
'_SmoothedShocks'
int2str
(
nbplt
)
'.eps'
]);
if
~
exist
(
'OCTAVE_VERSION'
)
eval
([
'print -dpdf '
M_
.
fname
'_SmoothedShocks'
int2str
(
nbplt
)]);
if
options_
.
nograph
set
(
hh
,
'Visible'
,
'on'
);
end
saveas
(
hh
,[
M_
.
fname
'_SmoothedShocks'
int2str
(
nbplt
)
'.fig'
]);
end
if
options_
.
nograph
,
close
(
hh
);
end
if
options_
.
TeX
fprintf
(
fidTeX
,
'\\begin{figure}[H]\n'
);
for
jj
=
1
:
size
(
NAMES
,
1
);
...
...
@@ -1190,8 +1202,12 @@ if (~((any(bayestopt_.pshape > 0) && options_.mh_replic) || (any(bayestopt_.psha
eval
([
'print -depsc2 '
M_
.
fname
'_SmoothedObservationErrors'
int2str
(
1
)
'.eps'
]);
if
~
exist
(
'OCTAVE_VERSION'
)
eval
([
'print -dpdf '
M_
.
fname
'_SmoothedObservationErrors'
int2str
(
1
)]);
if
options_
.
nograph
set
(
hh
,
'Visible'
,
'on'
);
end
saveas
(
hh
,[
M_
.
fname
'_SmoothedObservationErrors'
int2str
(
1
)
'.fig'
]);
end
if
options_
.
nograph
,
close
(
hh
);
end
if
options_
.
TeX
fprintf
(
fidTeX
,
'\\begin{figure}[H]\n'
);
for
jj
=
1
:
number_of_plots_to_draw
...
...
@@ -1247,8 +1263,12 @@ if (~((any(bayestopt_.pshape > 0) && options_.mh_replic) || (any(bayestopt_.psha
eval
([
'print -depsc2 '
M_
.
fname
'_SmoothedObservationErrors'
int2str
(
plt
)
'.eps'
]);
if
~
exist
(
'OCTAVE_VERSION'
)
eval
([
'print -dpdf '
M_
.
fname
'_SmoothedObservationErrors'
int2str
(
plt
)]);
if
options_
.
nograph
set
(
hh
,
'Visible'
,
'on'
);
end
saveas
(
hh
,[
M_
.
fname
'_SmoothedObservationErrors'
int2str
(
plt
)
'.fig'
]);
end
if
options_
.
nograph
,
close
(
hh
);
end
if
options_
.
TeX
fprintf
(
fidTeX
,
'\\begin{figure}[H]\n'
);
for
jj
=
1
:
nstar
...
...
@@ -1313,8 +1333,12 @@ if (~((any(bayestopt_.pshape > 0) && options_.mh_replic) || (any(bayestopt_.psha
eval
([
'print -depsc2 '
M_
.
fname
'_HistoricalAndSmoothedVariables'
int2str
(
1
)
'.eps'
]);
if
~
exist
(
'OCTAVE_VERSION'
)
eval
([
'print -dpdf '
M_
.
fname
'_HistoricalAndSmoothedVariables'
int2str
(
1
)]);
if
options_
.
nograph
set
(
hh
,
'Visible'
,
'on'
);
end
saveas
(
hh
,[
M_
.
fname
'_HistoricalAndSmoothedVariables'
int2str
(
1
)
'.fig'
]);
end
if
options_
.
nograph
,
close
(
hh
);
end
if
options_
.
TeX
fprintf
(
fidTeX
,
'\\begin{figure}[H]\n'
);
for
jj
=
1
:
n_varobs
...
...
@@ -1371,8 +1395,12 @@ if (~((any(bayestopt_.pshape > 0) && options_.mh_replic) || (any(bayestopt_.psha
eval
([
'print -depsc2 '
M_
.
fname
'_HistoricalAndSmoothedVariables'
int2str
(
plt
)
'.eps'
]);
if
~
exist
(
'OCTAVE_VERSION'
)
eval
([
'print -dpdf '
M_
.
fname
'_HistoricalAndSmoothedVariables'
int2str
(
plt
)]);
if
options_
.
nograph
set
(
hh
,
'Visible'
,
'on'
);
end
saveas
(
hh
,[
M_
.
fname
'_HistoricalAndSmoothedVariables'
int2str
(
plt
)
'.fig'
]);
end
if
options_
.
nograph
,
close
(
hh
);
end
if
options_
.
TeX
fprintf
(
fidTeX
,
'\\begin{figure}[H]\n'
);
for
jj
=
1
:
nstar
...
...
@@ -1430,8 +1458,12 @@ if (~((any(bayestopt_.pshape > 0) && options_.mh_replic) || (any(bayestopt_.psha
eval
([
'print -depsc2 '
M_
.
fname
'_HistoricalAndSmoothedVariables'
int2str
(
nbplt
)
'.eps'
]);
if
~
exist
(
'OCTAVE_VERSION'
)
eval
([
'print -dpdf '
M_
.
fname
'_HistoricalAndSmoothedVariables'
int2str
(
nbplt
)]);
if
options_
.
nograph
set
(
hh
,
'Visible'
,
'on'
);
end
saveas
(
hh
,[
M_
.
fname
'_HistoricalAndSmoothedVariables'
int2str
(
nbplt
)
'.fig'
]);
end
if
options_
.
nograph
,
close
(
hh
);
end
if
options_
.
TeX
fprintf
(
fidTeX
,
'\\begin{figure}[H]\n'
);
for
jj
=
1
:
size
(
NAMES
,
1
);
...
...
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