eeglab的PLOT
波形图
自己的函数 (只可以看的水平)
Fnorm=12/(512/2)
df=designfilt('lowpassfir','FilterOrder',15,'CutoffFrequency',Fnorm)
for chan=32
% chan_label=chaninfo(chan).labels;
x=1:1126;
x1=m101(chan,x)
x2=m102(chan,x)
x3=m103(chan,x)
xx = 0:1:1125;
xx1 = filter(df,x1)
xx2= filter(df,x2)
xx3= filter(df,x3)
figure
plot(xx,xx1,'g',xx,xx2,'r',xx,xx3,'b');
hline(0,'b-')
vline(102,'b-')
legend('green cue','red cue','blue cue')
title(chanlocs(chan).labels)
ylim([-10,30])
set(gca,'YDir','reverse')
set(gca,'xtick',[0:51:1126],'xticklabel',[-200:100:2000])
end
eeglab 函数
plotdata()
plotdata(m101) %增加任何参数都要报错。。
plotdata(m101) %增加任何参数都要报错。。
plottopo()
Last updated
