File:Executions per year in the United States, 1977-2020.png

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file(1,950 × 750 pixels, file size: 39 KB, MIME type: image/png)

Summary

Description
English: Executions per year in the United States, 1977-2020
Date
Source Own work
Author DKMell

% MATLAB code for this figure:

% The data. Each first row has years, each second row the counts that year. xy = []; xy = [xy [1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989

            1    0    2    0    1    2    5   21   18   18   25   11   16]];

xy = [xy [1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002

           23   14   31   38   31   56   45   74   68   98   85   66   71]];

xy = [xy [2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015

           65   59   60   53   42   37   52   46   43   43   39   35   28]];

xy = [xy [2016 2017 2018 2019 2020

           20   23   25   22   17]];

% These control the size and aspect ratio of the output. size_inch (how big it % is in the saved file) and width_pixel (how big it appears on-screen) are both % large to reduce pixelation. size_inch = [13 5];  % size of saved figure, inches width_pixel = 1900;  % temporary figure width, pixels

% Plot data. Adjust X-axis limits to fit the years in xy plus one on either end. plot(xy(1,:), xy(2,:), 'LineWidth', 1.5) set(gca, 'XLim', [min(xy(1,:))-1, max(xy(1,:))+1])  % -1 & +1 add some space set(gca, 'FontName', 'Helvetica', 'FontSize', 12)  % set tick mark font % Save it as a PNG file with a size and aspect ratio of size_inch. set(gcf, 'Units', 'pixel', 'Position', [1 1 width_pixel*[1 size_inch(2)/size_inch(1)]]) set(gcf, 'PaperUnits', 'inch', 'PaperPosition', [0 0 size_inch]); saveas(gcf, sprintf('exec_per_year_%d_%d.png', min(xy(1,:)), max(xy(1,:))))

Licensing

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.

Captions

Executions per year in the United States, 1977-2020

Items portrayed in this file

depicts

27 January 2021

image/png

File history

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

Date/TimeThumbnailDimensionsUserComment
current20:47, 27 January 2021Thumbnail for version as of 20:47, 27 January 20211,950 × 750 (39 KB)DKMellUploaded own work with UploadWizard
The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Global file usage

The following other wikis use this file:

Metadata