File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
plotly/plotlyfig_aux/handlegraphics Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,24 @@ function updateScatter(obj,scatterIndex)
122
122
123
123
% ---------------------------------------------------------------------%
124
124
125
+ % -scatter z-%
126
+ if ~verLessThan(' matlab' ,' 8.4' )
127
+ % '8.4' is r2014b '8.3' is r2014a
128
+ if isfield(scatter_data ,' ZData' )
129
+ if any(scatter_data .ZData )
130
+ if length(scatter_data ) > 1
131
+ obj.data{scatterIndex }.z(m ) = scatter_data(n ).ZData;
132
+ else
133
+ obj.data{scatterIndex }.z = scatter_data .ZData ;
134
+ end
135
+ % overwrite type
136
+ obj.data{scatterIndex }.type = ' scatter3d' ;
137
+ end
138
+ end
139
+ end
140
+
141
+ % ---------------------------------------------------------------------%
142
+
125
143
% -scatter showlegend-%
126
144
leg = get(scatter_data .Annotation );
127
145
legInfo = get(leg .LegendInformation );
You can’t perform that action at this time.
0 commit comments