# set terminal pngcairo transparent enhanced font "arial,10" fontscale 1.0 size 600, 400 # set output 'epi_data.1.png' set border 3 front lt black linewidth 1.000 dashtype solid set format x "%b\n%Y" timedate set format y " %4.0f" set grid nopolar set grid xtics nomxtics noytics nomytics noztics nomztics nortics nomrtics \ nox2tics nomx2tics noy2tics nomy2tics nocbtics nomcbtics set grid layerdefault linecolor rgb "gray" linewidth 0.750 dashtype solid, linecolor rgb "gray" linewidth 0.750 dashtype solid set key fixed left top vertical Left reverse enhanced autotitle box lt black linewidth 1.000 dashtype solid set key noinvert samplen 2 spacing 1 width 2 height 0 set datafile separator "," set style data lines set nomxtics set xtics border in scale 1,0.5 nomirror norotate autojustify set ytics border in scale 1,0.5 nomirror norotate autojustify set cbtics border in scale 1,0.5 nomirror norotate autojustify set title "weekly COVID-19 cases per 100,000 people" set title font ":Bold,15" textcolor lt -1 norotate set xrange [ * : * ] noreverse writeback set x2range [ * : * ] noreverse writeback set yrange [ * : * ] noreverse writeback set y2range [ * : * ] noreverse writeback set zrange [ * : * ] noreverse writeback set cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault calendar(date) = weekdate_iso( int(date[1:4]), int(date[6:7]) ) NO_ANIMATION = 1 data1 = "< grep \"Denmark.*cases\" ECDC-weekly-national-COVID.csv" data2 = "< grep \"Sweden.*cases\" ECDC-weekly-national-COVID.csv" data3 = "< grep \"Norway.*cases\" ECDC-weekly-national-COVID.csv" data4 = "< grep \"Finland.*cases\" ECDC-weekly-national-COVID.csv" data5 = "< grep \"Iceland.*cases\" ECDC-weekly-national-COVID.csv" data6 = "< grep \"GBR.*cases\" ECDC-weekly-national-COVID.csv" ## Last datafile plotted: "< grep "GBR.*cases" ECDC-weekly-national-COVID.csv" plot data1 using (calendar(strcol(7))) : (1.e5*$6/$4) lw 2 title "Denmark", data2 using (calendar(strcol(7))) : (1.e5*$6/$4) lw 2 title "Sweden", data3 using (calendar(strcol(7))) : (1.e5*$6/$4) lw 2 title "Norway", data4 using (calendar(strcol(7))) : (1.e5*$6/$4) lw 2 title "Finland", data5 using (calendar(strcol(7))) : (1.e5*$6/$4) lw 2 lt 6 title "Iceland", data6 using (calendar(strcol(7))) : (1.e5*$6/$4) lw 2 lc "gray30" dt '.' title "GBR"