]> git.somenet.org - pub/jan/netsec2.git/blob - exercise2/task1/plot_ipid_dscp
GITOLITE.txt
[pub/jan/netsec2.git] / exercise2 / task1 / plot_ipid_dscp
1 # enhanced gnuplot defaults
2
3 #set terminal pngcairo enhanced font "Arial,10" fontscale 1.0 size 750,450; set zeroaxis;;
4 set terminal pngcairo enhanced font "Arial,10" fontscale 1.0 size 1200,800; set zeroaxis;;
5 # linestyles
6 set style line 1 lc rgb '#dc143c' pt 1 ps 1 lt 1 lw 2 # --- red
7 set style line 2 lc rgb '#6495ed' pt 6 ps 1 lt 1 lw 2 # --- blue
8 set style line 3 lc rgb '#228b22' pt 6 ps 1 lt 1 lw 2 # --- green
9
10 # background
11 set style line 11 lc rgb '#808080' lt 1
12 set border 3 back ls 11
13 set tics nomirror
14
15 # grid
16 set style line 12 lc rgb '#808080' lt 0 lw 1
17 set grid back ls 12
18
19 set style data lines
20 set xtics border out scale 1,0.5 nomirror rotate by -45 autojustify
21 # tu wien studi data
22 set title "Data"
23 set datafile separator ","
24
25 set output 'large_flow_1.png'
26 plot \
27                 'large_flow_1.dehexed.csv' using 7:xtic(1) title 'IPID' ls 1
28
29 set output 'large_flow_2.png'
30 plot \
31                 'large_flow_2.dehexed.csv' using 8:xtic(1) title 'Src port' ls 2
32 #               'large_flow_2.dehexed.csv' using 7:xtic(1) title 'IPID' ls 1, \
33
34 set output 'large_flow_3.png'
35 plot \
36                 'large_flow_3.dehexed.csv' using 7:xtic(1) title 'IPID' ls 1, \
37                 'large_flow_3.dehexed.csv' using 9:xtic(1) title 'Dest port' ls 3
38
39 set output 'large_flow_4.png'
40 plot \
41                 'large_flow_4.dehexed.csv' using 7:xtic(1) title 'IPID' ls 1
42
43 set output 'large_flow_5.png'
44 plot \
45                 'large_flow_5.dehexed.csv' using 7:xtic(1) title 'IPID' ls 1, \
46                 'large_flow_5.dehexed.csv' using 8:xtic(1) title 'Src port' ls 2, \
47                 'large_flow_5.dehexed.csv' using 9:xtic(1) title 'Dest port' ls 3
48
49 set output 'large_flow_6.png'
50 plot \
51                 'large_flow_6.dehexed.csv' using 7:xtic(1) title 'IPID' ls 1
52
53 set output 'large_flow_7.png'
54 plot \
55                 'large_flow_7.dehexed.csv' using 7:xtic(1) title 'IPID' ls 1
56