跳至內容

File:Saudipop.svg

頁面內容不支援其他語言。
這個檔案來自維基共享資源
維基百科,自由的百科全書

原始檔案(SVG 檔案,表面大小:800 × 600 像素,檔案大小:17 KB)

顯示此圖片於


摘要

描述
English: Population pyramid of Saudi Arabia, 2017
日期
來源 Own work by uploader
 
向量圖形使用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:25於 2017年10月26日 (四) 17:25 版本的縮圖800 × 600(17 KB)Delphi234Updated for 2017
2010年6月3日 (四) 08:14於 2010年6月3日 (四) 08:14 版本的縮圖512 × 320(23 KB)DemmoUpdated for 2009
2006年6月14日 (三) 21:39於 2006年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 使用了這個檔案:

詮釋資料