File:US Labor Participation Rate 1948-2011.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 720 × 540 pixels, file size: 45 KB)

Captions

Captions

Add a one-line explanation of what this file represents
Description
English: Graph of US Civilian Labor Participaton Rate from 1948 to 2010
Date
Source http://data.bls.gov/PDQ/servlet/SurveyOutputServlet?data_tool=latest_numbers&series_id=LNS11300000&years_option=specific_years&include_graphs=true&to_year=2010&from_year=1948
Author User:Int21h
Permission
(Reusing this file)
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Other versions

Source code[edit]

#!/usr/bin/env python

import matplotlib.figure
import datetime

y = [ 58.6 , 58.9 , 58.5 , 59.0 , 58.3 , 59.2 , 59.3 , 58.9 , 58.9 , 58.7 , 58.7 , 59.1 , 58.7 , 59.0 , 58.9 , 58.8 , 59.0 , 58.6 , 58.9 , 59.2 , 59.1 , 59.6 , 59.4 , 59.2 , 58.9 , 58.9 , 58.8 , 59.2 , 59.1 , 59.4 , 59.1 , 59.5 , 59.2 , 59.4 , 59.3 , 59.2 , 59.1 , 59.1 , 59.8 , 59.1 , 59.4 , 59.0 , 59.4 , 59.2 , 59.1 , 59.4 , 59.2 , 59.6 , 59.5 , 59.5 , 58.9 , 58.8 , 59.1 , 59.1 , 58.9 , 58.7 , 59.2 , 58.7 , 59.1 , 59.2 , 59.5 , 59.5 , 59.6 , 59.1 , 58.6 , 58.9 , 58.9 , 58.6 , 58.5 , 58.5 , 58.6 , 58.3 , 58.6 , 59.3 , 59.1 , 59.2 , 58.9 , 58.5 , 58.4 , 58.7 , 59.2 , 58.8 , 58.6 , 58.1 , 58.6 , 58.4 , 58.5 , 59.0 , 58.8 , 58.8 , 59.3 , 59.7 , 59.7 , 59.8 , 59.9 , 60.2 , 60.2 , 59.9 , 59.8 , 59.9 , 60.2 , 60.1 , 60.1 , 60.0 , 60.0 , 59.8 , 59.8 , 59.8 , 59.5 , 59.9 , 59.8 , 59.5 , 59.5 , 59.8 , 60.0 , 59.3 , 59.6 , 59.5 , 59.5 , 59.6 , 59.3 , 59.3 , 59.3 , 59.6 , 59.8 , 59.5 , 59.6 , 59.8 , 59.7 , 59.6 , 59.2 , 59.2 , 59.3 , 59.0 , 59.3 , 59.4 , 59.2 , 59.2 , 59.4 , 59.2 , 59.3 , 59.4 , 59.1 , 59.5 , 59.1 , 59.1 , 58.5 , 59.5 , 59.5 , 59.7 , 59.5 , 59.5 , 59.7 , 59.4 , 59.8 , 59.7 , 59.6 , 59.6 , 59.7 , 59.3 , 59.4 , 59.7 , 59.3 , 59.3 , 59.0 , 59.1 , 59.1 , 58.8 , 58.8 , 59.0 , 58.9 , 58.7 , 58.9 , 58.8 , 58.5 , 59.0 , 59.0 , 58.7 , 58.5 , 58.4 , 58.6 , 58.6 , 58.6 , 58.8 , 58.8 , 58.5 , 58.7 , 58.5 , 58.7 , 58.8 , 58.8 , 58.5 , 58.6 , 58.8 , 58.7 , 59.1 , 59.1 , 58.7 , 58.6 , 58.6 , 58.7 , 58.6 , 58.5 , 58.6 , 58.6 , 58.7 , 58.7 , 58.8 , 59.0 , 58.8 , 59.1 , 58.9 , 58.7 , 58.9 , 58.8 , 59.0 , 59.0 , 58.8 , 58.8 , 59.0 , 59.0 , 59.1 , 59.1 , 59.3 , 59.3 , 59.3 , 59.6 , 59.5 , 59.5 , 59.3 , 59.1 , 59.4 , 59.3 , 59.6 , 59.6 , 59.7 , 59.7 , 59.9 , 59.8 , 59.9 , 59.2 , 59.6 , 59.6 , 59.5 , 59.9 , 60.0 , 59.8 , 59.6 , 59.5 , 59.5 , 59.6 , 59.7 , 59.6 , 60.0 , 59.9 , 60.0 , 59.8 , 60.1 , 60.1 , 60.3 , 60.3 , 60.4 , 60.2 , 60.2 , 60.4 , 60.4 , 60.6 , 60.6 , 60.3 , 60.2 , 60.4 , 60.3 , 60.2 , 60.4 , 60.4 , 60.4 , 60.4 , 60.1 , 60.0 , 60.1 , 60.2 , 59.8 , 60.1 , 60.2 , 60.1 , 60.1 , 60.4 , 60.4 , 60.2 , 60.2 , 60.5 , 60.4 , 60.4 , 60.4 , 60.4 , 60.6 , 60.4 , 60.3 , 60.3 , 60.5 , 60.0 , 60.5 , 60.8 , 60.8 , 60.6 , 60.9 , 60.9 , 60.7 , 60.8 , 60.9 , 61.2 , 61.2 , 61.3 , 61.4 , 61.3 , 61.1 , 61.2 , 61.2 , 61.4 , 61.2 , 61.4 , 61.3 , 61.3 , 61.2 , 61.4 , 61.0 , 61.2 , 61.3 , 61.5 , 61.2 , 61.3 , 61.3 , 61.2 , 61.2 , 61.1 , 61.1 , 61.3 , 61.3 , 61.3 , 61.6 , 61.5 , 61.5 , 61.8 , 61.8 , 61.6 , 61.6 , 61.9 , 61.8 , 61.6 , 61.9 , 62.0 , 62.1 , 62.2 , 62.4 , 62.1 , 62.3 , 62.3 , 62.4 , 62.8 , 62.7 , 62.8 , 62.7 , 62.8 , 63.0 , 63.1 , 63.3 , 63.2 , 63.2 , 63.3 , 63.3 , 63.5 , 63.6 , 63.6 , 63.8 , 63.8 , 63.5 , 63.3 , 63.5 , 63.6 , 63.6 , 63.8 , 63.7 , 63.7 , 63.9 , 64.0 , 64.0 , 63.7 , 63.8 , 63.9 , 63.7 , 63.8 , 63.7 , 63.6 , 63.7 , 63.8 , 63.6 , 63.9 , 63.9 , 64.1 , 64.2 , 64.3 , 63.7 , 63.8 , 63.8 , 63.5 , 63.8 , 63.9 , 63.6 , 63.7 , 63.8 , 63.8 , 63.9 , 64.2 , 63.9 , 64.0 , 64.1 , 64.1 , 64.1 , 64.2 , 64.1 , 63.9 , 63.8 , 63.7 , 63.8 , 63.7 , 64.3 , 64.1 , 64.3 , 64.3 , 64.0 , 64.1 , 64.1 , 63.9 , 64.1 , 64.1 , 64.3 , 64.5 , 64.6 , 64.6 , 64.4 , 64.4 , 64.4 , 64.5 , 64.6 , 64.7 , 64.7 , 64.9 , 64.9 , 64.8 , 64.6 , 64.7 , 64.6 , 64.9 , 65.0 , 64.9 , 65.0 , 64.9 , 65.0 , 65.1 , 65.1 , 65.2 , 65.4 , 65.4 , 65.3 , 65.4 , 65.4 , 65.4 , 65.3 , 65.4 , 65.5 , 65.5 , 65.4 , 65.7 , 65.5 , 65.6 , 65.7 , 65.5 , 65.7 , 65.7 , 65.7 , 65.8 , 65.9 , 65.7 , 65.8 , 65.7 , 65.8 , 65.9 , 66.1 , 65.9 , 66.0 , 66.2 , 66.1 , 66.5 , 66.3 , 66.3 , 66.4 , 66.3 , 66.5 , 66.5 , 66.5 , 66.4 , 66.5 , 66.6 , 66.5 , 66.8 , 66.7 , 66.7 , 66.6 , 66.6 , 66.4 , 66.5 , 66.5 , 66.4 , 66.4 , 66.4 , 66.4 , 66.2 , 66.2 , 66.3 , 66.4 , 66.2 , 66.2 , 66.1 , 66.0 , 66.2 , 66.1 , 66.1 , 66.0 , 66.3 , 66.2 , 66.4 , 66.5 , 66.6 , 66.7 , 66.7 , 66.6 , 66.5 , 66.2 , 66.3 , 66.3 , 66.2 , 66.2 , 66.2 , 66.1 , 66.4 , 66.5 , 66.4 , 66.4 , 66.2 , 66.3 , 66.3 , 66.4 , 66.6 , 66.6 , 66.5 , 66.5 , 66.6 , 66.4 , 66.4 , 66.6 , 66.6 , 66.7 , 66.7 , 66.7 , 66.8 , 66.8 , 66.7 , 66.9 , 66.5 , 66.5 , 66.6 , 66.6 , 66.6 , 66.6 , 66.5 , 66.4 , 66.4 , 66.6 , 66.6 , 66.7 , 66.7 , 66.7 , 66.9 , 66.7 , 66.9 , 67.0 , 67.0 , 67.0 , 67.0 , 66.9 , 67.1 , 67.1 , 67.1 , 67.1 , 67.2 , 67.2 , 67.1 , 67.1 , 67.2 , 67.2 , 67.1 , 67.1 , 67.1 , 67.0 , 67.0 , 67.0 , 67.0 , 67.0 , 67.2 , 67.2 , 67.1 , 67.2 , 67.2 , 67.2 , 67.0 , 67.1 , 67.1 , 67.1 , 67.1 , 67.0 , 67.0 , 67.0 , 67.1 , 67.1 , 67.3 , 67.3 , 67.3 , 67.3 , 67.1 , 67.1 , 66.9 , 66.9 , 66.9 , 66.8 , 66.9 , 67.0 , 67.2 , 67.1 , 67.2 , 66.9 , 66.7 , 66.7 , 66.8 , 66.5 , 66.8 , 66.7 , 66.7 , 66.7 , 66.5 , 66.8 , 66.6 , 66.7 , 66.7 , 66.6 , 66.5 , 66.6 , 66.7 , 66.6 , 66.4 , 66.3 , 66.4 , 66.4 , 66.3 , 66.4 , 66.4 , 66.5 , 66.2 , 66.1 , 66.1 , 66.1 , 66.1 , 65.9 , 66.1 , 66.0 , 66.0 , 65.9 , 66.0 , 66.1 , 66.1 , 66.0 , 65.8 , 65.9 , 66.0 , 65.9 , 65.8 , 65.9 , 65.9 , 66.1 , 66.1 , 66.1 , 66.1 , 66.2 , 66.1 , 66.1 , 66.0 , 66.0 , 66.0 , 66.1 , 66.2 , 66.1 , 66.1 , 66.2 , 66.1 , 66.2 , 66.1 , 66.2 , 66.3 , 66.4 , 66.4 , 66.3 , 66.2 , 65.9 , 66.0 , 66.0 , 66.0 , 65.8 , 66.0 , 65.8 , 66.0 , 66.0 , 66.2 , 66.0 , 66.1 , 65.9 , 66.1 , 66.1 , 66.0 , 66.1 , 66.0 , 66.0 , 65.8 , 65.8 , 65.7 , 65.7 , 65.6 , 65.6 , 65.7 , 65.7 , 65.5 , 65.4 , 65.1 , 65.1 , 65.0 , 64.7 , 64.8 , 64.8 , 64.9 , 65.1 , 64.9 , 64.7 , 64.6 , 64.7 , 64.7 , 64.5 , 64.5 , 64.3 ]
x = []
for year in range(1948, 2011):
	for mnth in range(1,13):
		x.append(datetime.date(year, mnth, 1))

fig = matplotlib.figure.Figure()
ax = fig.add_subplot(111)
ax.plot(x, y)

ax.xaxis.set_major_locator(matplotlib.dates.YearLocator(6))
ax.xaxis.set_major_formatter(matplotlib.dates.DateFormatter('%Y'))

datemin = datetime.date(1948, 1, 1)
datemax = datetime.date(2011, 1, 1)
ax.set_xlim(datemin, datemax)

ax.format_xdata = matplotlib.dates.DateFormatter('%Y-%m-%d')
ax.format_ydata = lambda x: '$%1.1f' % x

ax.grid(True)
fig.autofmt_xdate()

import matplotlib.backends.backend_cairo

fig.canvas = matplotlib.backends.backend_cairo.FigureCanvasCairo(fig)
fig.savefig('US Labor Participation Rate 1948-2011.svg', transparent=True)

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current19:49, 4 February 2011Thumbnail for version as of 19:49, 4 February 2011720 × 540 (45 KB)Int21h (talk | contribs)made transparent
19:21, 4 February 2011Thumbnail for version as of 19:21, 4 February 2011720 × 540 (45 KB)Int21h (talk | contribs){{Information |Description={{en|1=Graph of US Civilian Labor Participaton Rate from 1948 to 2010}} |Source=http://data.bls.gov/PDQ/servlet/SurveyOutputServlet?data_tool=latest_numbers&series_id=LNS11300000&years_option=specific_years&include_graphs=true&t

The following page uses this file: