# set terminal svg size 600,400 dynamic enhanced font 'arial,10' mousing name "histograms_4" butt dashlength 1.0 # set output 'histograms.4.svg' set boxwidth 0.75 absolute set style fill solid 1.00 border lt -1 set key outside right top vertical Left reverse noenhanced autotitle columnhead nobox set key invert samplen 4 spacing 1 width 0 height 0 set style histogram rowstacked title textcolor lt -1 set datafile missing '-' set style data histograms set xtics border in scale 0,0 nomirror rotate by -45 autojustify set xtics norangelimit set xtics () set title "US immigration from Europe by decade\nPlot as stacked histogram" set xrange [ * : * ] noreverse writeback set x2range [ * : * ] noreverse writeback set yrange [ 0.00000 : 7.00000e+06 ] noreverse writeback set y2range [ * : * ] noreverse writeback set zrange [ * : * ] noreverse writeback set cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault NO_ANIMATION = 1 ## Last datafile plotted: "immigration.dat" plot 'immigration.dat' using 2:xtic(1), for [i=3:22] '' using i