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
Dynare
reporting
Commits
6dfe5da4
Commit
6dfe5da4
authored
May 20, 2014
by
Houtan Bastani
Browse files
reporting: change vline to accept only one dates
parent
ea80bf07
Changes
1
Hide whitespace changes
Inline
Side-by-side
@report_series/writeSeriesForGraph.m
View file @
6dfe5da4
...
...
@@ -67,7 +67,8 @@ assert(~(strcmp(o.graphLineStyle, 'none') && isempty(o.graphMarker)), ['@report_
'you must provide at least one of graphLineStyle and graphMarker'
]);
% Validate graphVline
assert
(
isdates
(
o
.
graphVline
),
'@report_series.writeSeriesForGraph: graphVline must be a dates'
);
assert
(
isempty
(
o
.
graphVline
)
||
(
isdates
(
o
.
graphVline
)
&&
o
.
graphVline
.
ndat
==
1
),
...
'@report_series.writeSeriesForGraph: graphVline must be a dates of size one'
);
assert
(
isempty
(
o
.
graphHline
)
||
isnumeric
(
o
.
graphHline
),
...
'@report_series.writeSeriesForGraph: graphHline must a single numeric value'
);
...
...
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