File:Saudipop.svg

页面内容不支持其他语言。
這個文件來自維基共享資源
维基百科,自由的百科全书

原始文件(SVG文件,尺寸为800 × 600像素,文件大小:17 KB)

生成本图像。


摘要

描述
English: Population pyramid of Saudi Arabia, 2017
日期
来源 Own work by uploader
 
本W3C状态不明的矢量图使用Gnuplot创作.
作者 Demmo

许可协议

Public domain 我,本作品著作权人,释出本作品至公有领域。这适用于全世界。
在一些国家这可能不合法;如果是这样的话,那么:
我无条件地授予任何人以任何目的使用本作品的权利,除非这些条件是法律规定所必需的。

Sources

U.S. Census bureau, International database, [1]

Gnuplot

Version 4.2 patchlevel 5

Gnuplot source
# POPULATION PYRAMID
# Script last modified 03-Jun-2010

scale = 1000000 # ADJUST AS NECESSARY
# The increment would better be automatic, but "set xtics" doesn't
# allow to specify start only.
increment = 0.5 # ADJUST THIS AS NECESSARY
gap_width = 0.11 # ADJUST THIS AS NECESSARY

# ADJUST TITLES AS NECESSARY
set title "Population of Saudi Arabia (2009)"
set xlabel "Population (in millions)"

# Input file contains comma-separated values fields
set datafile separator ","

# Plot to dummy device and retrieve the male/female population range
set term unknown

set autoscale xfix
plot "data.csv" using ($4/scale):2, "data.csv" using (-$5/scale):2

range_male = (GPVAL_X_MAX > -GPVAL_X_MIN) ? GPVAL_X_MAX : -GPVAL_X_MIN
range_female = range_male
central_gap = (range_male + range_female) * gap_width

#set term png transparent truecolor size 640,400
set term svg size 800,500 dynamic font "sans-serif"

set style data boxxyerrorbars
set style fill solid 0.5 border

# Y axis is invisible
unset ytics
set autoscale yfix

# X axis is labeled from zero onwards, with the given increment
set xtics nomirror 0,increment

plot [-range_female-central_gap:range_male]\
 "data.csv" using (0):2:(0):($5/scale):($2+1):($2+5)\
  title "Females" linetype rgb "#aa3f74",\
 "data.csv" using (-central_gap/2):($2+2.5):2 title "" with labels font "sans-serif,10"
 
set key left Left reverse
 
plot [range_female:-central_gap-range_male]\
 "data.csv" using (0):2:(0):($4/scale):($2+1):($2+5)\
  title "Males" linetype rgb "#296dcc"

CSV pyramid data file as retrieved from US Census Bureau International Database, without modifications.

Data file "data.csv"
"Midyear Population, by Age and Sex for Saudi Arabia"
Year,Age,"Both Sexes Population","Male Population","Female Population"
2009,Total,28686633,15528726,13157907
2009,0-4,4035826,2060914,1974912
2009,5-9,3720207,1895873,1824334
2009,10-14,3142034,1600666,1541368
2009,15-19,2604866,1336696,1268170
2009,20-24,2689374,1491510,1197864
2009,25-29,2983828,1762777,1221051
2009,30-34,2928891,1765496,1163395
2009,35-39,2379313,1426403,952910
2009,40-44,1340398,737173,603225
2009,45-49,820850,420676,400174
2009,50-54,594843,298869,295974
2009,55-59,425847,211926,213921
2009,60-64,313365,156506,156859
2009,65-69,257589,131146,126443
2009,70-74,197278,101156,96122
2009,75-79,131864,69520,62344
2009,80-84,74199,39447,34752
2009,85-89,32942,16331,16611
2009,90-94,10874,4796,6078
2009,95-99,2048,782,1266
2009,100+,197,63,134

说明

添加一行文字以描述该文件所表现的内容

此文件中描述的项目

描繪內容

文件历史

点击某个日期/时间查看对应时刻的文件。

日期/时间缩⁠略⁠图大小用户备注
当前2017年10月26日 (四) 17:252017年10月26日 (四) 17:25版本的缩略图800 × 600(17 KB)Delphi234Updated for 2017
2010年6月3日 (四) 08:142010年6月3日 (四) 08:14版本的缩略图512 × 320(23 KB)DemmoUpdated for 2009
2006年6月14日 (三) 21:392006年6月14日 (三) 21:39版本的缩略图1,094 × 665(158 KB)AudePopulation pyramid - Saudi Arabia (2006) Data source: U.S. Census Bureau, [http://www.census.gov/ipc/www/idbpyr.html IDB Population Pyramids] Graph created by User:Kmf164 Category:Demographics of Saudi Arabia Category:Kmf164-maps [[Category

以下页面使用本文件:

全域文件用途

以下其他wiki使用此文件:

元数据