File:Mandate2006.png
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this preview: 800 × 523 pixels. Other resolutions: 320 × 209 pixels | 640 × 418 pixels | 1,024 × 670 pixels | 1,300 × 850 pixels.
Original file (1,300 × 850 pixels, file size: 12 KB, MIME type: image/png)
File information
Structured data
Captions
DescriptionMandate2006.png | distribution of members in the austrian parliament after the 2006 vote |
Date | |
Source | created with GNU R, see source below |
Author | Thomas Steiner |
Permission (Reusing this file) |
Thomas Steiner put it under the CC-by-SA 2.5. |
This file is licensed under the Creative Commons Attribution-Share Alike 2.5 Generic license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
R-source code:
parliament<-function(x, labels=names(x), edges=5000, col=rainbow(length(x)), rad.in=0.25, ...) { plot(c(-1,1), c(0,1), type="n", axes=FALSE, xlab="", ylab="", ...) y=c(0,pi*cumsum(x)/sum(x)) ang=seq(0,pi,length=edges) for (aktiv in 1:(length(y)-1)) { poly=ang[ y[aktiv]<=ang & ang<=y[aktiv+1] ] polygon(c(cos(poly),0), c(sin(poly),0),col=col[aktiv],border=col[aktiv]) text( (cos(y[aktiv])+cos(y[aktiv+1])+rad.in*cos(y[aktiv])+rad.in*cos(y[aktiv+1]))/4, (sin(y[aktiv])+sin(y[aktiv+1])+rad.in*sin(y[aktiv])+rad.in*sin(y[aktiv+1]))/4, col="white", labels=paste(labels[aktiv], "\n" ,x[aktiv]), cex=1.2, adj=c(0.5,0.5)) } polygon(rad.in*cos(ang),rad.in*sin(ang),col=par("bg"),border=par("bg")) } x<-c(21,66,7,68,21) names(x)<-c("FPÖ", "ÖVP", "BZÖ", "SPÖ", "Grüne") png(filename="Mandate2006.png", width=1300, height=850, pointsize=12) par(bg="whitesmoke") parliament(x, col=c("#126ca8", "black", "#ec921a", "red", "#61bb46"), main="Nationalratswahl 2006 - Mandatsverteilung", cex.main=1.7) dev.off()
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 12:38, 10 October 2006 | 1,300 × 850 (12 KB) | Thire (talk | contribs) | changed bzo to grüne | |
07:48, 3 October 2006 | 1,300 × 860 (12 KB) | Thire (talk | contribs) | {{Information| |Description = distribution of members in the austrian parliament after the 2006 vote |Source = created with GNU R, see source below |Date = 03 oct 2006 |Author = Thomas Steiner |Permission = [[:de:Benutzer:Thire|Thom |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on de.wikibooks.org
- Usage on en.wikibooks.org
Hidden categories: