#!/usr/local/bin/gnuplot -persist # set terminal pngcairo transparent enhanced font "arial,10" fontscale 1.0 size 600, 400 # set output 'histograms2.1.png' set boxwidth 0.95 absolute set style fill solid 1.00 noborder 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 bmargin center horizontal Right noreverse noenhanced autotitle columnhead nobox set key invert samplen 4 spacing 1 width 0 height 0 set style histogram clustered gap 1 title textcolor lt -1 font ",11" offset character 2, -2 unset parametric set datafile missing '-' set style data histograms set xtics border in scale 1,0.5 mirror rotate by -45 autojustify set xtics norangelimit set xtics () set title "Default Histogram Colouring" set xlabel "Immigration from different regions" set xrange [ * : * ] noreverse writeback set x2range [ * : * ] noreverse writeback set yrange [ * : * ] noreverse writeback set y2range [ * : * ] noreverse writeback set zrange [ * : * ] noreverse writeback set cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback set bmargin 12 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 newhistogram "Northern Europe", 'immigration.dat' using 6:xtic(1), '' u 13, '' u 14, newhistogram "Southern Europe", '' u 9:xtic(1), '' u 17 , '' u 22 , newhistogram "British Isles", '' u 10:xtic(1) , '' u 21