Skip to content

Commit e8e6cb0

Browse files
Improve support for 'stairs' plots
1 parent 0bbd12a commit e8e6cb0

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed
Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
function obj = updateStair(obj, dataIndex)
2+
%-update line-%
3+
updateLineseries(obj, dataIndex);
24

3-
%------------------------------------------------------------------------%
4-
5-
%-update line-%
6-
updateLineseries(obj,dataIndex);
7-
8-
%------------------------------------------------------------------------%
9-
10-
%-stair shape-%
11-
obj.data{dataIndex}.line.shape = 'hvh';
12-
13-
%------------------------------------------------------------------------%
14-
end
5+
%-stair shape-%
6+
obj.data{dataIndex}.line.shape = "hv";
7+
end

0 commit comments

Comments
 (0)