Skip to content
Snippets Groups Projects
Commit 953dab03 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

reporting: @graph: code cleanup

parent 2529b126
Branches
Tags
No related merge requests found
......@@ -53,13 +53,13 @@ for i=1:ne
ddt = o.seriesElements(i).getLine(o.xrange);
if isempty(dd)
dd = ddt;
continue
end
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):ddt(ddt.ndat));
else
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):ddt(ddt.ndat));
end
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment