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 2929 updateBar3h(obj , dataIndex );
3030 elseif strcmpi(obj .PlotOptions .TreatAs , ' surf' )
3131 updateSurf(obj , dataIndex );
32- elseif strcmpi(obj .PlotOptions .TreatAs , ' comet' )
32+ elseif strcmpi(obj .PlotOptions .TreatAs , ' comet' ) || strcmpi( obj . PlotOptions . TreatAs , ' comet3 ' )
3333 updateComet(obj , dataIndex );
3434 % this one will be revomed
3535 elseif strcmpi(obj .PlotOptions .TreatAs , ' streamtube' )
197197 % - Play Button Options-%
198198 opts{1 } = nan ;
199199 opts{2 }.frame.duration = 10 ;
200- opts{2 }.frame.redraw = false ;
200+ opts{2 }.frame.redraw = true ;
201201 opts{2 }.fromcurrent = true ;
202202 opts{2 }.mode = ' immediate' ;
203203 opts{2 }.transition.duration = 0 ;
Original file line number Diff line number Diff line change @@ -50,8 +50,9 @@ function updateComet(obj,plotIndex)
5050
5151% -------------------------------------------------------------------------%
5252
53+ ax = obj .State .Plot(plotIndex ).AssociatedAxis;
5354% -AXIS INDEX-%
54- axIndex = obj .getAxisIndex(obj . State .Plot( plotIndex ).AssociatedAxis );
55+ axIndex = obj .getAxisIndex(ax );
5556
5657% -PLOT DATA STRUCTURE- %
5758plot_data = get(obj .State .Plot(plotIndex ).Handle);
@@ -241,4 +242,5 @@ function updateComet(obj,plotIndex)
241242 obj.frames{i }.data{plotIndex } = DD ;
242243 end
243244end
245+
244246end
You can’t perform that action at this time.
0 commit comments