# set terminal png transparent nocrop enhanced font arial 8 size 420,320 # set output 'histograms.4.png' set boxwidth 0.75 absolute set style fill solid 1.00 border -1 set key outside right top vertical Left reverse enhanced autotitles columnhead nobox set key invert samplen 4 spacing 1 width 0 height 0 set style histogram rowstacked title offset character 0, 0, 0 set datafile missing '-' set style data histograms set xtics border in scale 1,0.5 nomirror rotate by -45 offset character 0, 0, 0 set xtics ("1891-1900" 0.00000, "1901-1910" 1.00000, "1911-1920" 2.00000, "1921-1930" 3.00000, "1931-1940" 4.00000, "1941-1950" 5.00000, "1951-1960" 6.00000, "1961-1970" 7.00000) set title "US immigration from Europe by decade\nPlot as stacked histogram" set yrange [ 0.00000 : 7.00000e+06 ] noreverse nowriteback plot 'immigration.dat' using 2:xtic(1), '' using 3, '' using 4, '' using 5, '' using 6, '' using 7, '' using 8, '' using 9, '' using 10, '' using 11, '' using 12, '' using 13, '' using 14, '' using 15, '' using 16, '' using 17, '' using 18, '' using 19, '' using 20, '' using 21, '' using 22