File tree 1 file changed +3
-3
lines changed
plotly/plotlyfig_aux/handlegraphics 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 135
135
% ---------------------------------------------------------------------%
136
136
137
137
% -patch name-%
138
- if ~isempty(patch_data .DisplayName );
138
+ if ~isempty(patch_data .DisplayName )
139
139
obj.data{patchIndex }.name = patch_data .DisplayName ;
140
140
else
141
141
obj.data{patchIndex }.name = patch_data .DisplayName ;
179
179
% -patch fillcolor-%
180
180
fill = extractPatchFace(patch_data );
181
181
182
- if strcmp(obj.data{patchIndex }.type,' scatter' );
182
+ if strcmp(obj.data{patchIndex }.type,' scatter' )
183
183
obj.data{patchIndex }.fillcolor = fill .color ;
184
184
else
185
185
obj.data{patchIndex }.surfacecolor = fill .color ;
188
188
% ---------------------------------------------------------------------%
189
189
190
190
% -surfaceaxis-%
191
- if strcmp(obj.data{patchIndex }.type,' scatter3d' );
191
+ if strcmp(obj.data{patchIndex }.type,' scatter3d' )
192
192
minstd = min([std(patch_data .XData ) std(patch_data .YData ) std(patch_data .ZData )]);
193
193
ind = find([std(patch_data .XData ) std(patch_data .YData ) std(patch_data .ZData )] == minstd )-1 ;
194
194
obj.data{patchIndex }.surfaceaxis = ind ;
You can’t perform that action at this time.
0 commit comments