Skip to content

Commit

Permalink
metrics: plot a couple more countries
Browse files Browse the repository at this point in the history
Why not, it's neat to see the numbers on the chart.

Refs: #1814
  • Loading branch information
Fishrock123 authored and rvagg committed Jun 4, 2019
1 parent 68a14b3 commit e9e0388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/www/tools/metrics/plot.gp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ set key left Left maxcols 1 maxrows 14

set output outputdir . "/country.png"
set label 1 "Top Countries (" . sourcename . ")" @LABELSETTINGS
plot for [i=2:11] inputdir . "/country.csv" every ::1 \
plot for [i=2:13] inputdir . "/country.csv" every ::1 \
using 1:i title sprintf(system("head -1 " . inputdir . "/country.csv | awk -F, '{ print $".i." }'")." / day (total: %'dk)", word(countrysums, i-1) / 1000) lw 2

set output outputdir . "/version.png"
Expand Down

0 comments on commit e9e0388

Please sign in to comment.