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
340be332
Commit
340be332
authored
Mar 29, 2013
by
Houtan Bastani
Browse files
reporting: @graph: code cleanup
parent
5f0746aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/reports/@graph/createGraph.m
View file @
340be332
...
...
@@ -53,13 +53,13 @@ for i=1:ne
ddt
=
o
.
seriesElements
(
i
)
.
getLine
(
o
.
xrange
);
if
isempty
(
dd
)
dd
=
ddt
;
continu
e
end
if
ddt
(
1
)
<
dd
(
1
)
dd
=
union
(
ddt
(
1
):
dd
(
1
),
dd
);
end
if
dd
t
(
dd
t
.
ndat
)
>
dd
(
dd
.
ndat
)
dd
=
union
(
dd
,
dd
(
dd
.
ndat
):
ddt
(
ddt
.
ndat
));
els
e
if
ddt
(
1
)
<
dd
(
1
)
dd
=
union
(
ddt
(
1
)
:
dd
(
1
)
,
dd
);
end
if
ddt
(
ddt
.
ndat
)
>
dd
(
dd
.
ndat
)
dd
=
union
(
dd
,
dd
(
dd
.
ndat
)
:
dd
t
(
dd
t
.
ndat
)
);
end
end
end
...
...
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