Testing R.
Data sources:
The plot shows the average salary of baseball players per year laid on top of how many 6-packs of imported beers the average salary could buy each year. Extremely useful.
The script can be run as follows:
Rscript bsalaries.r
This will generate an svg file with the plot. If you get an error (for example if you have an old version of cairo or something) you can run the script with png as only argument. Like so:
Rscript bsalaries.r png