File:Executions per year in the United States, 1977-2020.png
Original file (1,950 × 750 pixels, file size: 39 KB, MIME type: image/png)
Captions
Summary
[edit]DescriptionExecutions per year in the United States, 1977-2020.png |
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
[edit]- 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.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 20:47, 27 January 2021 | 1,950 × 750 (39 KB) | DKMell (talk | contribs) | Uploaded own work with UploadWizard |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on ko.wikipedia.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Horizontal resolution | 59.06 dpc |
---|---|
Vertical resolution | 59.06 dpc |
File change date and time | 20:32, 27 January 2021 |
Software used | |
Date and time of digitizing |
|