summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--objects_over_time.plt12
-rw-r--r--transactions_over_time.plt2
2 files changed, 9 insertions, 5 deletions
diff --git a/objects_over_time.plt b/objects_over_time.plt
index 0e7b893..28ac983 100644
--- a/objects_over_time.plt
+++ b/objects_over_time.plt
@@ -1,14 +1,18 @@
set title "processor data"
set timefmt "%Y-%m-%dT%H:%M:%SZ";
set xdata time;
-set ylabel "number of objects within 3h";
+set ytics nomirror;
+set ylabel "number of telemetry objects within 3h";
set autoscale y;
+set y2tics;
+set y2label "number of player/match objects within 3h";
+set autoscale y2;
set datafile separator ", ";
set terminal png noenhanced;
set key autotitle columnhead;
set output outputfile;
-plot inputfile using "date":"players_count" with lines, \
- inputfile using "date":"matches_count" with lines, \
- inputfile using "date":"telemetries_count" with lines;
+plot inputfile using "date":"players_count" with lines axes x1y2, \
+ inputfile using "date":"matches_count" with lines axes x1y2, \
+ inputfile using "date":"telemetries_count" with lines axes x1y1;
diff --git a/transactions_over_time.plt b/transactions_over_time.plt
index 1517f85..0aa43b5 100644
--- a/transactions_over_time.plt
+++ b/transactions_over_time.plt
@@ -6,7 +6,7 @@ set ylabel "transaction duration in ms";
set yrange [ 0:300 ];
set y2tics;
set y2label "number of transactions within 3h";
-set y2range [ 0:3000 ];
+set autoscale y2;
set datafile separator ", ";