File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
plotly/plotlyfig_aux/handlegraphics Expand file tree Collapse file tree 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)
9999% -------------------------------------------------------------------------%
100100
101101% -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 ;
104105
105106% -------------------------------------------------------------------------%
106107
107108% -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 ;
110112
111113% -------------------------------------------------------------------------%
112114
You can’t perform that action at this time.
0 commit comments