File:Iran-age-pyramid.svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 800 × 444 pixels. Other resolutions: 320 × 178 pixels | 640 × 356 pixels | 1,024 × 569 pixels | 1,280 × 711 pixels | 2,560 × 1,422 pixels | 810 × 450 pixels.
Original file (SVG file, nominally 810 × 450 pixels, file size: 39 KB)
File information
Structured data
Captions
Summary
[edit]DescriptionIran-age-pyramid.svg |
English: Demography of Iran in 2011. Source: Statistical Centre of Iran http://www.amar.org.ir/Portals/1/Iran/90.pdf |
Date | |
Source | Own work |
Author | Psirus |
SVG development InfoField | This W3C-invalid plot was created with Matplotlib. |
Source code InfoField | Python code# coding: utf-8
#!/usr/bin/env python
import matplotlib.pyplot as plt
import numpy as np
# first column is total number of people
# second column is percentage of the population
data = np.array([
[6232552, 8.29],
[5657791, 7.53],
[5671435, 7.55],
[6607043, 8.79],
[8414497, 11.20],
[8672654, 11.54],
[6971924, 9.28],
[5571018, 7.41],
[4906749, 6.53],
[4030481, 5.36],
[3527408, 4.69],
[2680119, 3.57],
[1862907, 2.48],
[1343731, 1.79],
[1119968, 1.49],
[913531, 1.22],
[919539, 1.22]])
labels = [
'0-4',
'5-9',
'10-14',
'15-19',
'20-24',
'25-29',
'30-34',
'35-39',
'40-44',
'45-49',
'50-54',
'55-59',
'60-64',
'65-69',
'70-74',
'75-79',
'80 and over']
# Prepare axis
fig = plt.figure(figsize=(9, 5))
ax = fig.add_subplot(111)
y_pos = np.arange(len(labels))
percentages = data[:, 1]
ax.barh(y_pos, percentages, align='center')
plt.yticks(y_pos, labels)
plt.axis('tight')
plt.title('Iranian Demography 2011')
plt.xlabel('Percentage')
plt.savefig('iran-demography.svg', transparent=True)
|
Licensing
[edit]I, the copyright holder of this work, hereby publish it under the following license:
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported 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.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 19:37, 16 September 2013 | 810 × 450 (39 KB) | Psirus (talk | contribs) | "80 and over" was cut off. Corrected. | |
19:36, 16 September 2013 | 720 × 450 (39 KB) | Psirus (talk | contribs) | User created page with UploadWizard |
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 ar.wikipedia.org
- Usage on az.wikipedia.org
- Usage on bn.wikipedia.org
- Usage on en.wikipedia.org
- Usage on fa.wikipedia.org
- Usage on my.wikipedia.org
- Usage on pt.wikipedia.org
- Usage on uz.wikipedia.org
- Usage on zh.wikipedia.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 648pt |
---|---|
Height | 360pt |