diff --git a/core/@drumplot/plot.m b/core/@drumplot/plot.m index d95a5d5..6d777a2 100755 --- a/core/@drumplot/plot.m +++ b/core/@drumplot/plot.m @@ -97,10 +97,8 @@ end w = [temp_cobj.waveforms{1,:}]; end -w(1) -w(2) - if ~isempty(w) + if ~isempty(w) % go through w and check the channeltag is same as drumplotobj.wave mainctag = get(drumplotobj.wave,'ChannelTag'); w2=[];