# set terminal pngcairo transparent enhanced font "arial,10" fontscale 1.0 size 500, 350 # set output 'histograms.7.png' set border 3 front linetype -1 linewidth 1.000 set boxwidth 0.95 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 autotitles columnhead nobox set style histogram clustered gap 1 title offset character 2, 0.25, 0 set datafile missing '-' set style data histograms set xtics border in scale 0,0 nomirror rotate by -45 offset character 0, 0, 0 autojustify set xtics norangelimit font ",8" set xtics () set ytics border in scale 0,0 mirror norotate offset character 0, 0, 0 autojustify set ztics border in scale 0,0 nomirror norotate offset character 0, 0, 0 autojustify set cbtics border in scale 0,0 mirror norotate offset character 0, 0, 0 autojustify set rtics axis in scale 0,0 nomirror norotate offset character 0, 0, 0 autojustify set title "Immigration from different regions\n(give each histogram a separate title)" set xlabel "(note: histogram titles have specified offset relative to X-axis label)" set xlabel offset character 0, -2, 0 font "" textcolor lt -1 norotate set ylabel "Immigration by decade" i = 23 plot newhistogram "Northern Europe", 'immigration.dat' using 6:xtic(1) t col, '' u 13 t col, '' u 14 t col, newhistogram "Southern Europe", '' u 9:xtic(1) t col, '' u 17 t col, '' u 22 t col, newhistogram "British Isles", '' u 10:xtic(1) t col, '' u 21 t col