#!/usr/local/bin/gnuplot -persist # set terminal svg size 600,400 dynamic enhanced font 'arial,10' mousing name "histograms_6" butt dashlength 1.0 # set output 'histograms.6.svg' set border 3 front lt black linewidth 1.000 dashtype solid set boxwidth 0.75 absolute set style fill solid 1.00 border lt -1 set grid nopolar set grid noxtics nomxtics ytics nomytics noztics nomztics nortics nomrtics \ nox2tics nomx2tics noy2tics nomy2tics nocbtics nomcbtics set grid layerdefault lt 0 linecolor 0 linewidth 0.500, lt 0 linecolor 0 linewidth 0.500 set key outside right top vertical Left reverse noenhanced autotitle columnhead box lt black linewidth 1.000 dashtype solid set style histogram columnstacked title textcolor lt -1 set datafile missing '-' set style data histograms set xtics border in scale 1,0.5 nomirror norotate autojustify set xtics norangelimit set xtics () set ytics border in scale 0,0 mirror norotate autojustify set ztics border in scale 0,0 nomirror norotate autojustify set cbtics border in scale 0,0 mirror norotate autojustify set rtics axis in scale 0,0 nomirror norotate autojustify set title "Immigration from Northern Europe\n(columstacked histogram)" set xlabel "Country of Origin" set xrange [ * : * ] noreverse writeback set x2range [ * : * ] noreverse writeback set ylabel "Immigration by decade" set yrange [ 0.00000 : * ] 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 6 ti col, '' using 12 ti col, '' using 13 ti col, '' using 14:key(1) ti col