This repository has been archived on 2021-05-17. You can view files and clone it, but cannot push or open issues or pull requests.
scientificComputing/pointprocesses/lecture/pointprocessscetchB.gpt
2014-11-12 18:39:02 +01:00

205 lines
3.4 KiB
Plaintext

set out 'pointprocessscetchB.tex'
set border 0
set lmarg 4
set rmarg 1
set tmarg 1
set bmarg 1
set xrange [0:11]
unset xtics
set yrange [-0.7:1.8]
unset ytics
set label 1 at graph -0.07, graph 1.1
set multiplot
set origin 0, 0.7
set size 1, 0.3
set label 1 '\normalsize Event times $\{t_i\}$'
set arrow 1 from 0, 0.5 to 11, 0.5 head filled
set label 2 'Time' at 11, -0.3 center
set label 3 "$t_{1}$" at 0.724649, -0.6 center
set label 4 "$t_{2}$" at 1.67586, -0.6 center
set label 5 "$t_{3}$" at 3.02389, -0.6 center
set label 6 "$t_{4}$" at 3.57466, -0.6 center
set label 7 "$t_{5}$" at 4.15121, -0.6 center
set label 8 "$t_{6}$" at 5.00412, -0.6 center
set label 9 "$t_{7}$" at 6.64549, -0.6 center
set label 10 "$t_{8}$" at 7.81657, -0.6 center
set label 11 "$t_{9}$" at 9.77964, -0.6 center
plot '-' w l lt 1 lc rgb 'black' lw 10
0.724649 0
0.724649 1
1.67586 0
1.67586 1
3.02389 0
3.02389 1
3.57466 0
3.57466 1
4.15121 0
4.15121 1
5.00412 0
5.00412 1
6.64549 0
6.64549 1
7.81657 0
7.81657 1
9.77964 0
9.77964 1
e
unset label 3
unset label 4
unset label 5
unset label 6
unset label 7
unset label 8
unset label 9
unset label 10
unset label 11
set origin 0, 0.4
set label 1 '\normalsize Intervals $\{T_i\}, \; T_i = t_{i+1} - t_i$'
set label 3 "$T_{1}$" at 1.20025, -0.5 center
set arrow 3 from 0.724649, 0.2 to 1.67586, 0.2 heads
set label 4 "$T_{2}$" at 2.34987, -0.5 center
set arrow 4 from 1.67586, 0.2 to 3.02389, 0.2 heads
set label 5 "$T_{3}$" at 3.29927, -0.5 center
set arrow 5 from 3.02389, 0.2 to 3.57466, 0.2 heads
set label 6 "$T_{4}$" at 3.86293, -0.5 center
set arrow 6 from 3.57466, 0.2 to 4.15121, 0.2 heads
set label 7 "$T_{5}$" at 4.57767, -0.5 center
set arrow 7 from 4.15121, 0.2 to 5.00412, 0.2 heads
set label 8 "$T_{6}$" at 5.82481, -0.5 center
set arrow 8 from 5.00412, 0.2 to 6.64549, 0.2 heads
set label 9 "$T_{7}$" at 7.23103, -0.5 center
set arrow 9 from 6.64549, 0.2 to 7.81657, 0.2 heads
set label 10 "$T_{8}$" at 8.79811, -0.5 center
set arrow 10 from 7.81657, 0.2 to 9.77964, 0.2 heads
plot '-' w l lt 1 lc rgb 'black' lw 10
0.724649 0
0.724649 1
1.67586 0
1.67586 1
3.02389 0
3.02389 1
3.57466 0
3.57466 1
4.15121 0
4.15121 1
5.00412 0
5.00412 1
6.64549 0
6.64549 1
7.81657 0
7.81657 1
9.77964 0
9.77964 1
e
unset label 3
unset label 4
unset label 5
unset label 6
unset label 7
unset label 8
unset label 9
unset label 10
unset arrow 3
unset arrow 4
unset arrow 5
unset arrow 6
unset arrow 7
unset arrow 8
unset arrow 9
unset arrow 10
set origin 0, 0
set size 1, 0.4
set border 2
set yrange [-0.5:10.5]
set ytics 2 nomirror out
set arrow 1 from 0, 0.0 to 11, 0.0 head filled
set label 2 'Time' at 11, -2.2 center
set label 1 '\normalsize Event counts $\{ n_i \}$' at graph -0.07, graph 1.2
plot '-' w l lt 1 lc rgb 'black' lw 3, \
'-' w p lt 1 lc rgb 'black' pt 7 ps 1.5 lw 2, \
'-' w p lt 1 lc rgb 'white' pt 7 ps 1.0 lw 2, \
'-' w p lt 1 lc rgb 'black' pt 7 ps 1.5 lw 2
0 0
0.724649 0
0.724649 1
1.67586 1
1.67586 2
3.02389 2
3.02389 3
3.57466 3
3.57466 4
4.15121 4
4.15121 5
5.00412 5
5.00412 6
6.64549 6
6.64549 7
7.81657 7
7.81657 8
9.77964 8
9.77964 9
10.7899 9
e
0.724649 0
1.67586 1
3.02389 2
3.57466 3
4.15121 4
5.00412 5
6.64549 6
7.81657 7
9.77964 8
e
0.724649 0
1.67586 1
3.02389 2
3.57466 3
4.15121 4
5.00412 5
6.64549 6
7.81657 7
9.77964 8
e
0.724649 1
1.67586 2
3.02389 3
3.57466 4
4.15121 5
5.00412 6
6.64549 7
7.81657 8
9.77964 9
e
unset multiplot