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

reporting: @graph: code cleanup

parent 5f0746aa
Branches
No related tags found
No related merge requests found
...@@ -53,8 +53,7 @@ for i=1:ne ...@@ -53,8 +53,7 @@ for i=1:ne
ddt = o.seriesElements(i).getLine(o.xrange); ddt = o.seriesElements(i).getLine(o.xrange);
if isempty(dd) if isempty(dd)
dd = ddt; dd = ddt;
continue else
end
if ddt(1) < dd(1) if ddt(1) < dd(1)
dd = union(ddt(1):dd(1), dd); dd = union(ddt(1):dd(1), dd);
end end
...@@ -62,6 +61,7 @@ for i=1:ne ...@@ -62,6 +61,7 @@ for i=1:ne
dd = union(dd, dd(dd.ndat):ddt(ddt.ndat)); dd = union(dd, dd(dd.ndat):ddt(ddt.ndat));
end end
end end
end
x = 1:1:dd.ndat; x = 1:1:dd.ndat;
xlabels = getDatesCellStringArray(dd); xlabels = getDatesCellStringArray(dd);
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment