set terminal png small set output "fed_inout.png" set xlabel "Fiscal Year" set ylabel "Federal Receipts and Outlays (% GDP)" plot 'fed_data' using 1:2 with lines title "Receipts", \ 'fed_data' using 1:3 with lines title "Outlays" set output "fed_deficit.png" set ylabel "Federal Deficit (% GDP)" plot 'fed_data' using 1:($3-$2) with lines notitle, 0 notitle set terminal png small size 320,240 set output "fed_inout_small.png" set xlabel "Fiscal Year" set ylabel "Federal Receipts/Outlays (% GDP)" plot 'fed_data' using 1:2 with lines title "Receipts", \ 'fed_data' using 1:3 with lines title "Outlays" set output "fed_deficit_small.png" set ylabel "Federal Deficit (% GDP)" plot 'fed_data' using 1:($3-$2) with lines notitle, 0 notitle