-
Notifications
You must be signed in to change notification settings - Fork 1
/
AP_fig_pd.m
58 lines (51 loc) · 1.05 KB
/
AP_fig_pd.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
function figx=AP_fig_pd(v_S,v_M,v_D,v_CI,v_TCR,v_TRN)
figx=figure;
title('Action potential examples'); hold on
subplot(6,1,1)
% title('S'); hold on
for nc=1:10
plot((nc-1)*200+v_S(nc,:),'k');hold on
end
% xlim([10000 20000]);
ylim([-200 nc*190])
axis off
subplot(6,1,2)
% title('M'); hold on
for nc=1:10
plot((nc-1)*200+v_M(nc,:),'k');hold on
end
% xlim([10000 20000]);
ylim([-200 nc*190])
axis off
subplot(6,1,3)
% title('D'); hold on
for nc=1:10
plot((nc-1)*200+v_D(nc,:),'k');hold on
end
% xlim([10000 20000]);
ylim([-200 nc*190])
axis off
subplot(6,1,4)
% title('CI','Position','left'); hold on
for nc=1:10
plot((nc-1)*200+v_CI(nc,:),'k');hold on
end
% xlim([10000 20000]);
ylim([-200 nc*190])
axis off
subplot(6,1,5)
% title('TCR'); hold on
for nc=1:10
plot((nc-1)*200+v_TCR(nc,:),'k');hold on
end
% xlim([10000 20000]);
ylim([-200 nc*190])
axis off
subplot(6,1,6)
% title('TRN'); hold on
for nc=1:4
plot((nc-1)*200+v_TRN(nc,:),'k');hold on
end
% xlim([10000 20000]);
ylim([-200 nc*190])
axis off