# 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 " " enhanced 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 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 set yrange [ 0.00000 : * ] noreverse NO_ANIMATION = 1 ## Last datafile plotted: "immigration.dat" ## Last plot was a multiplot # saved multiplot set multiplot layout 3,2 columnsfirst title "{/:Bold Illustrate use of a custom key area}" margins 0.05, 0.95, 0.05, 0.90 spacing 0.0, 0.0 plot 'immigration.dat' using 0:6 lt 1 title at 0.75, 0.18 plot 'immigration.dat' using 0:12 lt 2 title at 0.75, 0.15 plot 'immigration.dat' using 0:13 lt 3 title at 0.75, 0.12 plot 'immigration.dat' using 0:14 lt 4 title at 0.75, 0.09 set xtics scale 0 font ",8" plot 'immigration.dat' using 0:($6+$12+$13+$14):xtic(strcol(1)[6:]) with linespoints lt black pt 7 title "total" unset multiplot