plot_continuous_data.m
来自「wave cluster for biomedical signal proce」· M 代码 · 共 21 行
M
21 行
function Plot_continuous_data(xf,handles,thr,thrmax)
% PLOT CONTINUOUS DATA
detect = handles.par.detection;
sr=handles.par.sr;
axes(handles.cont_data)
cla
hold on
plot((1:4:length(xf))/sr,xf(1:4:end))
%ylim([-thrmax thrmax])
switch detect
case 'pos'
line([0 length(xf)/sr], [thr thr],'color','r')
case 'neg'
line([0 length(xf)/sr], [-thr -thr],'color','r')
case 'both'
line([0 length(xf)/sr], [thr thr],'color','r')
line([0 length(xf)/sr], [-thr -thr],'color','r')
end
axis([0 length(xf)/sr -thrmax/2 thrmax])
%xlabel('Time (sec)')
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?