File:ACRO incidents.svg

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

Original file (SVG file, nominally 600 × 450 pixels, file size: 53 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: This is a graph showing statistics of air accident incidents 1918-2019, from ACRO records. http://www.baaa-acro.com/statistics/crashs-rate-per-year. It may be updated when new data becomes available.
Date
Source Own work
Author Geek3
SVG development
InfoField
 
The SVG code is valid.
 
This plot was created with Matplotlib.
Source code
InfoField

Python code

#! /usr/bin/env python
# -*- coding:utf8 -*-

import matplotlib.pyplot as plt
from math import *

plt.style.use('classic')
years = range(1918, 2019+1)
incidents = [12, 64, # 191x
 96,  98,  81,  51,  37,  56,  84, 111, 188, 240, # 192x
183, 163, 145, 153, 138, 181, 218, 163, 204, 239, # 193x
456, 331, 690, 809, 933, 733, 423, 370, 391, 349, # 194x
425, 491, 406, 335, 292, 212, 172, 213, 217, 196, # 195x
186, 211, 199, 158, 219, 257, 249, 311, 300, 320, # 196x
298, 271, 344, 333, 270, 316, 277, 340, 356, 328, # 197x
325, 272, 250, 238, 234, 261, 238, 277, 254, 265, # 198x
261, 240, 266, 275, 231, 266, 251, 232, 225, 221, # 199x
198, 211, 198, 201, 178, 194, 193, 171, 190, 163, # 200x
162, 154, 156, 139, 122, 122, 102, 101, 113, 125] # 201x

fsize = 20
fig = plt.figure(figsize=(600 / 90.0, 450 / 90.0), dpi=72)
plt.plot(years, incidents, 'bo-', linewidth=1, markersize=5)
plt.grid(True)
plt.xlim(floor(min(years)/10.)*10., ceil(max(years)/10.)*10.)
plt.ylim(0, 600)
plt.gca().ticklabel_format(useOffset=False)
plt.ylabel('Number of accidents')
plt.title('ACRO: air incidents %s-%s' % (min(years), max(years)))
plt.tight_layout()
plt.savefig('ACRO_incidents.svg')


This file may be updated to reflect new information.
If you wish to use a specific version of the file without it being overwritten, please upload the required version as a separate file.

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International 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.
Any autoconfirmed user can overwrite this file from the same source. Please ensure that overwrites comply with the guideline.

File history

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

Date/TimeThumbnailDimensionsUserComment
current11:07, 11 January 2020Thumbnail for version as of 11:07, 11 January 2020600 × 450 (53 KB)Geek3 (talk | contribs)update 2019
13:34, 3 June 2017Thumbnail for version as of 13:34, 3 June 2017600 × 450 (28 KB)Geek3 (talk | contribs)User created page with UploadWizard

File usage on other wikis

The following other wikis use this file:

Metadata