2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-19 11:38:05 +02:00

Datenquelle verbessert; Aussehen verbessert

This commit is contained in:
Martin Thoma 2013-09-18 09:46:21 +02:00
parent 1fb991baab
commit b4bfde153e
4 changed files with 20 additions and 19 deletions

View file

@ -1,7 +1,7 @@
SOURCE = landtagswahlen-in-bayern
DELAY = 80
DENSITY = 300
WIDTH = 512
WIDTH = 768
make:
pdflatex $(SOURCE).tex -output-format=pdf

View file

@ -1,18 +1,18 @@
Wahltag,Wahlbeteiligung,CSU,SPD,FDP,GRÜNE,BP,FW,ÖDP,REP,NPD,KPD,GB/BHE,Sonstige
1946-06-30,72.1,58.3,28.8,2.5,,,,,,,5,3,,WAV 5,1
1946-12-01,75.7,52.3,28.6,5.7,,,,,,,6,1,,WAV 7,4
1950-11-26,79.9,27.4,28.0,7.1,,17,9,,,,,1,9,BHE/DG12,3,WAV 2,8
1954-11-28,82.4,38.0,28.1,7.2,,13,2,,,,,2,1,10,2,
1958-11-23,76.6,45.6,30.8,5.6,,8,1,,,,,,8,6,
1962-11-25,76.5,47.5,35.3,5.9,,4,8,,,,,,GDP 5,1,
1966-11-20,80.6,48.1,35.8,5.1,,3,4,,,,7,4,,,
1970-11-22,79.5,56.4,33.3,5.6,,1,3,,,,2,9,,,
1974-10-27,77.7,62.1,30.2,5.2,,0,8,,,,1,1,,,
1978-10-15,76.6,59.1,31.4,6.2,1.8,0,4,,,,0,6,,,
1982-10-10,78.0,58.3,31.9,3.5,4.6,0,5,,0,4,,0,6,,,
1986-10-12,70.1,55.8,27.5,3.8,7.5,0,6,,0,7,3,0,0,5,,,
1990-10-14,65.9,54.9,26.0,5.2,6.4,0,8,,1,7,4,9,,,,
1994-09-25,67.8,52.8,30.0,2.8,6.1,1,0,0,1,2,1,3,9,0,1,,,
1998-09-13,69.8,52.9,28.7,1.7,5.7,0,7,3,7,1,8,3,6,0,2,,,
2003-10-21,57.1,60.7,19.6,2.6,7.7,0,7,4,0,2,0,2,2,,,,
2008-10-28,58.1,43.4,18.6,8.0,9.4,1,1,10,2,2,0,1,4,1,2,,,Linke 4,4
1946-06-30,72.1,58.3,28.8,2.5,,,,,,,5.3,,WAV 5.1
1946-12-01,75.7,52.3,28.6,5.7,,,,,,,6.1,,WAV 7.4
1950-11-26,79.9,27.4,28.0,7.1,,17.9,,,,,1,9,12.3,WAV 2.8
1954-11-28,82.4,38.0,28.1,7.2,,13.2,,,,,2,1,10.2,
1958-11-23,76.6,45.6,30.8,5.6,,8.1,,,,,,8.6,
1962-11-25,76.5,47.5,35.3,5.9,,4.8,,,,,,GDP 5.1,
1966-11-20,80.6,48.1,35.8,5.1,,3.4,,,,7.4,,,
1970-11-22,79.5,56.4,33.3,5.6,,1.3,,,,2.9,,,
1974-10-27,77.7,62.1,30.2,5.2,,0.8,,,,1.1,,,
1978-10-15,76.6,59.1,31.4,6.2,1.8,0.4,,,,0.6,,,
1982-10-10,78.0,58.3,31.9,3.5,4.6,0.5,,0.4,,0.6,,,
1986-10-12,70.1,55.8,27.5,3.8,7.5,0.6,,0.7,3,0,0.5,,,
1990-10-14,65.9,54.9,26.0,5.2,6.4,0.8,,1.7,4,9,,,,
1994-09-25,67.8,52.8,30.0,2.8,6.1,1.0,0.1,2.1,3.9,0.1,,,
1998-09-13,69.8,52.9,28.7,1.7,5.7,0.7,3.7,1.8,3.6,0.2,,,
2003-10-21,57.1,60.7,19.6,2.6,7.7,0.7,4.0,2.0,2.2,,,,
2008-10-28,58.1,43.4,18.6,8.0,9.4,1.1,10.2,2.0,1.4,1.2,,,Linke 4.4

1 Wahltag,Wahlbeteiligung,CSU,SPD,FDP,GRÜNE,BP,FW,ÖDP,REP,NPD,KPD,GB/BHE,Sonstige
2 1946-06-30,72.1,58.3,28.8,2.5,,,,,,,5,3,,WAV 5,1 1946-06-30,72.1,58.3,28.8,2.5,,,,,,,5.3,,WAV 5.1
3 1946-12-01,75.7,52.3,28.6,5.7,,,,,,,6,1,,WAV 7,4 1946-12-01,75.7,52.3,28.6,5.7,,,,,,,6.1,,WAV 7.4
4 1950-11-26,79.9,27.4,28.0,7.1,,17,9,,,,,1,9,BHE/DG12,3,WAV 2,8 1950-11-26,79.9,27.4,28.0,7.1,,17.9,,,,,1,9,12.3,WAV 2.8
5 1954-11-28,82.4,38.0,28.1,7.2,,13,2,,,,,2,1,10,2, 1954-11-28,82.4,38.0,28.1,7.2,,13.2,,,,,2,1,10.2,
6 1958-11-23,76.6,45.6,30.8,5.6,,8,1,,,,,,8,6, 1958-11-23,76.6,45.6,30.8,5.6,,8.1,,,,,,8.6,
7 1962-11-25,76.5,47.5,35.3,5.9,,4,8,,,,,,GDP 5,1, 1962-11-25,76.5,47.5,35.3,5.9,,4.8,,,,,,GDP 5.1,
8 1966-11-20,80.6,48.1,35.8,5.1,,3,4,,,,7,4,,, 1966-11-20,80.6,48.1,35.8,5.1,,3.4,,,,7.4,,,
9 1970-11-22,79.5,56.4,33.3,5.6,,1,3,,,,2,9,,, 1970-11-22,79.5,56.4,33.3,5.6,,1.3,,,,2.9,,,
10 1974-10-27,77.7,62.1,30.2,5.2,,0,8,,,,1,1,,, 1974-10-27,77.7,62.1,30.2,5.2,,0.8,,,,1.1,,,
11 1978-10-15,76.6,59.1,31.4,6.2,1.8,0,4,,,,0,6,,, 1978-10-15,76.6,59.1,31.4,6.2,1.8,0.4,,,,0.6,,,
12 1982-10-10,78.0,58.3,31.9,3.5,4.6,0,5,,0,4,,0,6,,, 1982-10-10,78.0,58.3,31.9,3.5,4.6,0.5,,0.4,,0.6,,,
13 1986-10-12,70.1,55.8,27.5,3.8,7.5,0,6,,0,7,3,0,0,5,,, 1986-10-12,70.1,55.8,27.5,3.8,7.5,0.6,,0.7,3,0,0.5,,,
14 1990-10-14,65.9,54.9,26.0,5.2,6.4,0,8,,1,7,4,9,,,, 1990-10-14,65.9,54.9,26.0,5.2,6.4,0.8,,1.7,4,9,,,,
15 1994-09-25,67.8,52.8,30.0,2.8,6.1,1,0,0,1,2,1,3,9,0,1,,, 1994-09-25,67.8,52.8,30.0,2.8,6.1,1.0,0.1,2.1,3.9,0.1,,,
16 1998-09-13,69.8,52.9,28.7,1.7,5.7,0,7,3,7,1,8,3,6,0,2,,, 1998-09-13,69.8,52.9,28.7,1.7,5.7,0.7,3.7,1.8,3.6,0.2,,,
17 2003-10-21,57.1,60.7,19.6,2.6,7.7,0,7,4,0,2,0,2,2,,,, 2003-10-21,57.1,60.7,19.6,2.6,7.7,0.7,4.0,2.0,2.2,,,,
18 2008-10-28,58.1,43.4,18.6,8.0,9.4,1,1,10,2,2,0,1,4,1,2,,,Linke 4,4 2008-10-28,58.1,43.4,18.6,8.0,9.4,1.1,10.2,2.0,1.4,1.2,,,Linke 4.4

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 71 KiB

Before After
Before After

View file

@ -24,7 +24,8 @@
width=15cm, height=8cm, % size of the image
grid = major,
grid style={dashed, gray!30},
legend style={at={(1.15,1)}, anchor=north}
legend style={at={(1.15,1)}, anchor=north},
xtick=data
]
\addplot[blue, dashed, mark=triangle*] table [x=Wahltag, y=Wahlbeteiligung, col sep=comma] {landtagswahlen-in-bayern.csv};
\addplot[black,mark=square*] table [x=Wahltag, y=CSU, col sep=comma] {landtagswahlen-in-bayern.csv};