summaryrefslogtreecommitdiff
path: root/doc/threads/stats-draw.gnuplot
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2023-04-18 09:43:06 +0200
committerMaria Matejka <mq@ucw.cz>2023-04-18 09:43:06 +0200
commitd975827f5f3af5127f12c7c45c99b89c869d0f95 (patch)
tree77d6fd13e60d7663976b05f5e25a524977630326 /doc/threads/stats-draw.gnuplot
parent787fb56da37bfe9da4ea8d1a5a0d0cab02c9523a (diff)
parent7404a215806972fb5e7205aaa99a3ff7b00ede16 (diff)
Merge tag '3.0-alpha0' into HEAD
3.0-alpha0
Diffstat (limited to 'doc/threads/stats-draw.gnuplot')
-rw-r--r--doc/threads/stats-draw.gnuplot41
1 files changed, 41 insertions, 0 deletions
diff --git a/doc/threads/stats-draw.gnuplot b/doc/threads/stats-draw.gnuplot
new file mode 100644
index 00000000..734f14a6
--- /dev/null
+++ b/doc/threads/stats-draw.gnuplot
@@ -0,0 +1,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
+