Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6367443 commit 0043400Copy full SHA for 0043400
plotly/plotlyfig_aux/handlegraphics/updateLineseries.m
@@ -75,8 +75,13 @@ function updateLineseries(obj,plotIndex)
75
end
76
77
%-if ezpolar or not-%
78
-if length(obj.State.Axis(plotIndex).Handle.Children) == 2
79
- ispolar = true;
+len = length(obj.State.Axis.Handle.Children);
+if len > 1
80
+ for l = 1:len
81
+ if strcmpi(obj.State.Axis.Handle.Children(l).Type, 'Text')
82
+ ispolar = true;
83
+ end
84
85
86
87
%-------------------------------------------------------------------------%
@@ -184,7 +189,4 @@ function updateLineseries(obj,plotIndex)
184
189
185
190
186
191
187
-end
188
-
192
+end
0 commit comments