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
Dóra Kocsis
dynare
Commits
a23b497a
Commit
a23b497a
authored
Oct 31, 2012
by
Houtan Bastani
Browse files
bug fix: none instead of pdf to graph_format
parent
df4f82de
Changes
2
Hide whitespace changes
Inline
Side-by-side
matlab/dyn_saveas.m
View file @
a23b497a
...
...
@@ -54,6 +54,10 @@ if any(strcmp('fig',cellstr(DynareOptions.graph_format)))
saveas
(
h
,[
fname
'.fig'
]);
end
end
if
any
(
strcmp
(
'none'
,
cellstr
(
DynareOptions
.
graph_format
)))
% don't save
% check here as a reminder that none is an option to graph_format
end
if
DynareOptions
.
nodisplay
close
(
h
);
end
preprocessor/DynareBison.yy
View file @
a23b497a
...
...
@@ -2262,7 +2262,7 @@ allowed_graph_formats : EPS
| PDF
{ driver.add_graph_format("pdf"); }
| NONE
{ driver.add_graph_format("
pdf
"); }
{ driver.add_graph_format("
none
"); }
;
list_allowed_graph_formats : allowed_graph_formats
| list_allowed_graph_formats COMMA allowed_graph_formats
...
...
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