#!/usr/local/bin/gnuplot -persist # set terminal svg size 600,400 dynamic enhanced font 'arial,10' mousing name "histograms2_3" butt dashlength 1.0 # set output 'histograms2.3.svg' set boxwidth 0.95 absolute set style fill pattern 1 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 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 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 "Explicit start pattern in 'newhistogram' command" 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" fs pattern 1, 'immigration.dat' using 6:xtic(1), '' u 13, '' u 14, newhistogram "Southern Europe" fs pattern 1, '' u 9:xtic(1), '' u 17, '' u 22, newhistogram "British Isles" fs pattern 1, '' u 10:xtic(1), '' u 21