File tree 1 file changed +6
-4
lines changed
plotly/plotlyfig_aux/handlegraphics
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -99,14 +99,16 @@ function updateArea(obj,areaIndex)
99
99
% -------------------------------------------------------------------------%
100
100
101
101
% -area x-%
102
- xdata = area_child .VertexData(1 ,: );
103
- obj.data{areaIndex }.x = [xdata xdata(1 )];
102
+ % xdata = area_child.VertexData(1,:); % left commented it to futures problems
103
+ % obj.data{areaIndex}.x = [xdata xdata(1)];
104
+ obj.data{areaIndex }.x = area_data .XData ;
104
105
105
106
% -------------------------------------------------------------------------%
106
107
107
108
% -area y-%
108
- ydata = area_child .VertexData(2 ,: );
109
- obj.data{areaIndex }.y = [ydata ydata(1 )];
109
+ % ydata = area_child.VertexData(2,:); % left commented it to futures problems
110
+ % obj.data{areaIndex}.y = [ydata ydata(1)];
111
+ obj.data{areaIndex }.y = area_data .YData ;
110
112
111
113
% -------------------------------------------------------------------------%
112
114
You can’t perform that action at this time.
0 commit comments