File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 29
29
updateBar3h(obj , dataIndex );
30
30
elseif strcmpi(obj .PlotOptions .TreatAs , ' surf' )
31
31
updateSurf(obj , dataIndex );
32
- elseif strcmpi(obj .PlotOptions .TreatAs , ' comet' )
32
+ elseif strcmpi(obj .PlotOptions .TreatAs , ' comet' ) || strcmpi( obj . PlotOptions . TreatAs , ' comet3 ' )
33
33
updateComet(obj , dataIndex );
34
34
% this one will be revomed
35
35
elseif strcmpi(obj .PlotOptions .TreatAs , ' streamtube' )
197
197
% - Play Button Options-%
198
198
opts{1 } = nan ;
199
199
opts{2 }.frame.duration = 10 ;
200
- opts{2 }.frame.redraw = false ;
200
+ opts{2 }.frame.redraw = true ;
201
201
opts{2 }.fromcurrent = true ;
202
202
opts{2 }.mode = ' immediate' ;
203
203
opts{2 }.transition.duration = 0 ;
Original file line number Diff line number Diff line change @@ -50,8 +50,9 @@ function updateComet(obj,plotIndex)
50
50
51
51
% -------------------------------------------------------------------------%
52
52
53
+ ax = obj .State .Plot(plotIndex ).AssociatedAxis;
53
54
% -AXIS INDEX-%
54
- axIndex = obj .getAxisIndex(obj . State .Plot( plotIndex ).AssociatedAxis );
55
+ axIndex = obj .getAxisIndex(ax );
55
56
56
57
% -PLOT DATA STRUCTURE- %
57
58
plot_data = get(obj .State .Plot(plotIndex ).Handle);
@@ -241,4 +242,5 @@ function updateComet(obj,plotIndex)
241
242
obj.frames{i }.data{plotIndex } = DD ;
242
243
end
243
244
end
245
+
244
246
end
You can’t perform that action at this time.
0 commit comments