Image:MLB slugging history.svg

From Wikipedia, the free encyclopedia

MLB_slugging_history.svg (SVG file, nominally 640 × 480 pixels, file size: 25 KB)

Wikimedia Commons logo This is a file from the Wikimedia Commons. The description on its description page there is shown below.
Commons is a freely licensed media file repository. You can help.

[edit] Summary

Description
English: Historical major league slugging average and contributions to slugging average from (top to bottom) home runs, triples, doubles, and singles; highlighted area is the "dead-ball" era, 1900-1918 inclusive.
Source

Own work by uploader

Date

June 1, 2008

Author

Grabsomepine

Permission
(Reusing this image)

see below


The data is league-wide and is a cumulative sum of the following terms: 1B/AB, 2*2B/AB, 3*3B/AB, 4*HR/AB (1B=single, 2B=double, 3B=triple, HR=home run, AB=at bat). Note that the American League data does not start until the creation of the American League in 1901.

Historical Major League Baseball data is freely available from many sources online. This data was taken from Baseball-Reference.com [1] [2] (accessed June 1, 2008)

The file was created in Gnuplot with the following code:

set terminal svg enhanced size 640 480 fname "Helvetica" fsize 12
set output "MLB_slugging_history.svg"
set style line 1 linetype 1 pointtype 0 linewidth 2 linecolor 6
set style line 2 linetype 1 pointtype 0 linewidth 2 linecolor 7
set style line 3 linetype 1 pointtype 0 linewidth 2 linecolor 8
set style line 4 linetype 1 pointtype 0 linewidth 2 linecolor 2 
set style line 5 linetype 1 pointtype 0 linewidth 2 linecolor 21
set style line 6 linetype 1 pointtype 0 linewidth 2 linecolor 11
set style line 7 linetype 1 pointtype 0 linewidth 2 linecolor 17
set style line 8 linetype 1 pointtype 0 linewidth 2 linecolor 9
set xrange [1890:2008]
set yrange [0:0.5]
set format y "%.3f"
set xlabel "Year"
set ylabel "Contribution to slugging average"
set key top center horizontal 
plot \
"[datafile1]" u 1:(4*$15+3*$14+2*$13+$12) t "HR"   w filledcurves x1 linestyle 1, \
"[datafile1]" u 1:(      3*$14+2*$13+$12) t "3B"   w filledcurves x1 linestyle 2, \
"[datafile1]" u 1:(            2*$13+$12) t "2B"   w filledcurves x1 linestyle 3, \
"[datafile1]" u 1:(                  $12) t "1B "  w filledcurves x1 linestyle 4, \
"[datafile2]" u 1:(4*$15+3*$14+2*$13+$12) notitle w filledcurves x1 linestyle 5, \
"[datafile2]" u 1:(      3*$14+2*$13+$12) notitle w filledcurves x1 linestyle 6, \
"[datafile2]" u 1:(            2*$13+$12) notitle w filledcurves x1 linestyle 7, \
"[datafile2]" u 1:(                  $12) notitle w filledcurves x1 linestyle 8

[edit] Licensing:

Public domain I, the copyright holder of this work, hereby release it into the public domain. This applies worldwide.

In case this is not legally possible:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.


Afrikaans | Alemannisch | Aragonés | العربية | Asturianu | Български | Català | Česky | Cymraeg | Dansk | Deutsch | Eʋegbe | Ελληνικά | English | Español | Esperanto | Euskara | Estremeñu | فارسی | Français | Galego | 한국어 | हिन्दी | Hrvatski | Ido | Bahasa Indonesia | Íslenska | Italiano | עברית | Kurdî / كوردی | Latina | Lietuvių | Latviešu | Magyar | Македонски | Bahasa Melayu | Nederlands | ‪Norsk (bokmål)‬ | ‪Norsk (nynorsk)‬ | 日本語 | Polski | Português | Ripoarisch | Română | Русский | Shqip | Slovenčina | Slovenščina | Српски / Srpski | Svenska | ไทย | Tagalog | Türkçe | Українська | Tiếng Việt | Walon | ‪中文(简体)‬ | ‪中文(繁體)‬ | zh-yue-hant | +/-

File history

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

Date/TimeDimensionsUserComment
current01:54, 2 June 2008640×480 (25 KB)Grabsomepine ({{Information |Description={{en|1=Historical major league slugging average and contributions to slugging average from (top to bottom) home runs, triples, doubles, and singles.}} |Source=Own work by uploader |Author=Grabsomepine |Date)
The following pages on the English Wikipedia link to this file (pages on other projects are not listed):