#!/usr/local/bin/gnuplot -persist # set terminal canvas rounded size 600,400 enhanced fsize 10 lw 1.6 fontscale 1 name "layout_5" jsdir "." # set output 'layout.5.js' set boxwidth 0.8 absolute set style fill solid 1.00 border set format y " " set key fixed right top vertical Right noreverse noenhanced autotitle columnhead nobox set key noinvert samplen 1 spacing 1 width 0 height 0 set style histogram columnstacked title textcolor lt -1 set style data boxes set xtics border in scale 0,0 nomirror norotate autojustify set xtics norangelimit font ",8" set xtics () set ytics border in scale 0,0 mirror norotate autojustify set ytics norangelimit autofreq font ",8" set ztics border in scale 0,0 nomirror norotate autojustify set ztics norangelimit autofreq font ",8" set cbtics border in scale 0,0 mirror norotate autojustify set cbtics norangelimit autofreq font ",8" set rtics axis in scale 0,0 nomirror norotate autojustify set rtics norangelimit autofreq font ",8" set xlabel "Immigration to U.S. by Decade" set xrange [ * : * ] noreverse writeback 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 lmargin 3 set bmargin 0 set rmargin 3 set tmargin 0 set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault ## Last datafile plotted: "immigration.dat" plot 'immigration.dat' using ($3+$8+$21):xtic(1) lt 9 title "Total"