blob: ae0914efcc683c7c79bf59f6a4cd565f35fcbe1b [file] [log] [blame]
avm9996300a40032020-05-07 21:02:32 +02001set xlabel "Casos actius per 10^5 habitants"
2set ylabel "Mitjana taxa de creixement darrers 7 dies"
3set title font "Helvetica,20"
4
avm99963965cba72020-07-21 10:22:34 +02005set xrange[0:675]
avm9996300a40032020-05-07 21:02:32 +02006set yrange[0:5]
avm99963c3d85982020-05-07 21:27:30 +02007set samples 400
avm9996300a40032020-05-07 21:02:32 +02008
9set multiplot layout 3,3
10set key off
11set tics out scale 0.5,0.2
12
13min(a, b) = (a < b ? a : b)
14
avm999634f0952b2020-07-12 21:16:56 +020015n = 9
16array fileNames[n] = ["TerresDeLEbre.dat", "CampDeTarragona.dat", "AltPirineuAran.dat", "Lleida.dat", "Girona.dat", "CatalunyaCentral.dat", "BarcelonaCiutat.dat", "MetropolitaSud.dat", "MetropolitaNord.dat"]
17array prettyNames[n] = ["Terres de l'Ebre", "Camp de Tarragona", "Alt Pirineu, Aran", "Lleida", "Girona", "Catalunya central", "Barcelona ciutat", "Metropolità sud", "Metropolità nord"]
18
avm9996300a40032020-05-07 21:02:32 +020019# The different colored areas correspond to the classification of the EPG values defined on page 8 at https://biocomsc.upc.edu/en/shared/20200506_report_web_51.pdf
20
avm999634f0952b2020-07-12 21:16:56 +020021do for [i = 1:n] {
22 lastUpdated = system("tail -n 1 ".filesPrefix.fileNames[i]." | awk '{print $1;}'")
avm99963c3b457a2020-07-21 14:23:15 +020023 graphTitle = prettyNames[i]
24 graphDataFile = filesPrefix.fileNames[i]
25 load "includes/plotSingleGraph.gnu"
avm999634f0952b2020-07-12 21:16:56 +020026}
avm9996300a40032020-05-07 21:02:32 +020027
28unset multiplot