#!/usr/local/bin/gnuplot -persist # set terminal pngcairo transparent enhanced font "arial,10" fontscale 1.0 size 600, 400 # set output 'custom_key.1.png' set boxwidth 0.5 absolute set style fill solid 1.00 border set key title " " center set key fixed right top vertical Right noreverse enhanced autotitle columnhead nobox set label 1 "{/:Bold Custom combined key area}" at screen 0.75, 0.22, 0 center norotate back nopoint set offsets 0, 0, graph 0.1, 0 unset parametric set datafile missing '-' set style data boxes set xtics border in scale 0,0 mirror norotate autojustify set xtics norangelimit font ",8" set xtics () unset ytics set xrange [ -0.500000 : 7.50000 ] noreverse nowriteback set x2range [ * : * ] noreverse writeback 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 0:($6+$12+$13+$14):xtic(strcol(1)[6:]) with linespoints lt black pt 7 title "total"