-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathddi_baseline.gnu
65 lines (52 loc) · 1.87 KB
/
ddi_baseline.gnu
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
59
60
61
# gnuplot file to produce a figure similar to Figure 2
# in Davison A.P., Feng J. and Brown D. (2003) J. Neurophysiol.
# Note that the figure produced will not match exactly the
# published figure due to differences in the sequence of
# random numbers used to set up the network.
# gnuplot is available from http://www.gnuplot.info
set term postscript portrait enhanced mono solid "Helvetica" 8
set output "ddi_baseline.eps"
set size 0.49,0.5
set multiplot
set size 0.48,0.1
set nokey
set noxtics
set noborder
set noytics
set tmargin 0
set rmargin 0
# mitral cell
set label 1 '{/Helvetica=14 A}' at screen 0,0.49
set arrow 1 from 1200,-30 to 1000,-30 nohead linewidth 2
set arrow 2 from 1200,-30 to 1200,20 nohead linewidth 2
set label 2 "200 ms" at 1000,-45
set label 3 " 50 mV" at 1200,-10 left
set origin 0.01,0.4
plot [0:1500][-75:50] "ddi_baseline.curvs" using 1:3 with lines linewidth 0.5
# granule cell
set noarrow
set nolabel 2
set nolabel 3
set label 1 '{/Helvetica=14 B}' at screen 0,0.39
set origin 0.01,0.3
plot [0:1500][-75:50] "ddi_baseline.curvs" using 1:4 with lines linewidth 0.5
# IGABAA
set label 1 '{/Helvetica=14 C}' at screen 0,0.29
set arrow 1 from 1200,-1.8 to 1200,-0.8 nohead linewidth 2
set label 2 " 1 nA" at 1200,-1.3 left
set origin 0.01,0.2
plot [0:1500][-3.5:0] "ddi_baseline.curvs" using 1:2 with lines linewidth 0.5
# Raster
set noarrow
set nolabel 2
set noborder
set label 1 '{/Helvetica=14 D}' at screen 0,0.19
set origin 0.01,0.1
plot [0:1500][-1250:1250] "ddi_baseline.gran.ras" using 4:3 with dots, "ddi_baseline.gran.ras" using 4:($3-2500) with dots linetype 1
# Histogram
set border 1 linewidth 0.5
set label 1 '{/Helvetica=14 E}' at screen 0,0.09
set origin 0.01,0.0
set arrow 1 from 1200,80 to 1200,180 nohead linewidth 2
set label 2 "100 spikes per second" at 1180,120 right
plot [0:1500][0:300] "ddi_baseline.gran.hist" using 0:1 with steps linewidth 0.5