summaryrefslogtreecommitdiff
path: root/doc/threads/stats-draw.gnuplot
blob: 734f14a6d85336888805eddb24eb9dc90d960fd5 (plain)
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
set datafile columnheaders
set datafile separator ";"
#set isosample 15
set dgrid3d 8,8
set logscale
set view 80,15,1,1
set autoscale xy
#set pm3d

set term pdfcairo size 20cm,15cm

set xlabel "TOTAL ROUTES" offset 0,-1.5
set xrange [10000:320000]
set xtics offset 0,-0.5
set xtics (10000,15000,30000,50000,100000,150000,300000)

set ylabel "PEERS"
#set yrange [10:320]
#set ytics (10,15,30,50,100,150,300)
set yrange [10:320]
set ytics (10,15,30,50,100,150,300)

set zrange [1:2000]
set xyplane at 1

set border 895

#set grid ztics lt 20

set output ARG1 . "-" . ARG4 . ".pdf"

splot \
  ARG1 . ".csv" \
    using "TOTAL_ROUTES":"PEERS":ARG2."/".ARG4 \
    with lines \
    title ARG2."/".ARG4, \
  "" \
    using "TOTAL_ROUTES":"PEERS":ARG3."/".ARG4 \
    with lines \
    title ARG3."/".ARG4