reset
set term svg size 800,400 fname 'Liberation Sans bold'
set key below center
set border 3
set tics nomirror scale .5
set xtics rotate by 90 right
set grid back lt 1 lw .5 lc rgb 0xbbbbbb
set for[ii=2:11] style line ii pt (2*ii+1) ps .75
set style line 3 lc rgb 0x000000
set style line 2 lc rgb 0xCE000C
set style line 4 lc rgb 0x0E428E
set style line 5 lc rgb 0x6BA325
set style line 6 lc rgb 0xffdc00
set style line 7 lc rgb 0xE6408D
set style line 8 lc rgb 0xaaaaaa
set style line 9 lc rgb 0xD40000
set style line 10 lc rgb 0xEE7F00
set style line 11 lc rgb 0xf8d323
set style line 12 lc rgb 0xbbbbbb
set ylabel '%' offset graph .05,.075
yh = 30
set label "ÖVP\nSPÖ\nKPÖ" at 1945.5,yh
set label "ÖVP\nSPÖ" at 1956.0,yh
set label "ÖVP" at 1966.5,yh
set label "SPÖ" at 1975.5,yh
set label "SPÖ\nFPÖ" at 1983.1,yh
set label "SPÖ\nÖVP" at 1990.1,49
set label "ÖVP\nFPÖ" at 2002.1,yh
set label "SPÖ\nÖVP" at 2008.5,38
set label "ÖVP\nFPÖ" at 2017.1,49
set arrow nohead from 1949,graph 0 to 1949,graph 1 lw .5
set arrow nohead from 1966,graph 0 to 1966,graph 1 lw .5
set arrow nohead from 1970,graph 0 to 1970,graph 1 lw .5
set arrow nohead from 1983,graph 0 to 1983,graph 1 lw .5
set arrow nohead from 1986,graph 0 to 1986,graph 1 lw .5
set arrow nohead from 1999,graph 0 to 1999,graph 1 lw .5
set arrow nohead from 2006,graph 0 to 2006,graph 1 lw .5
set arrow nohead from 2017,graph 0 to 2017,graph 1 lw .5
set yrange [0:55]
set output 'Spoenationalratswahl.svg'
set arrow nohead from 1992,4 to 2019,4 lw 1.5 lt 3 dt 3
plot for[ii=2:2] 'wahl_autSPO.csv' u 1:ii:xticlabel(1) t columnhead(ii) w lp ls ii
unset output