# set terminal svg size 600,400 dynamic enhanced fname 'arial' fsize 11 mousing name "histograms_8" butt solid # set output 'histograms.8.svg' set border 3 front linetype -1 linewidth 1.000 set boxwidth 0.8 absolute set style fill solid 1.00 noborder set grid nopolar set grid noxtics nomxtics ytics nomytics noztics nomztics \ nox2tics nomx2tics noy2tics nomy2tics nocbtics nomcbtics set grid layerdefault linetype 0 linewidth 1.000, linetype 0 linewidth 1.000 set key bmargin center horizontal Left reverse noenhanced autotitle columnhead nobox set style histogram rowstacked title textcolor lt -1 font ",12" offset character 2, 0.25, 0 set datafile missing '-' set style data histograms set xtics border in scale 0,0 nomirror rotate by -45 autojustify set xtics norangelimit font ",8" set xtics () set ytics border in scale 0,0 mirror norotate autojustify set ytics autofreq norangelimit font ",8" 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 different regions\n(give each histogram a separate title)" set xlabel "(Same plot using rowstacked rather than clustered histogram)" set xlabel offset character 0, -2, 0 font "" textcolor lt -1 norotate set ylabel "Immigration by decade" set yrange [ 0.00000 : 900000. ] noreverse nowriteback x = 0.0 i = 23 plot newhistogram "Northern Europe", 'immigration.dat' using "Sweden":xtic(1) t col, '' u "Denmark" t col, '' u "Norway" t col, newhistogram "Southern Europe", '' u "Greece":xtic(1) t col, '' u "Romania" t col, '' u "Yugoslavia" t col, newhistogram "British Isles", '' u "Ireland":xtic(1) t col, '' u "United_Kingdom" t col