set terminal png medium transparent size 600,300 set out 'oasdi-exhaustion.png' set title 'Predicted Social Security OASDI Trust Fund Exhaustion' set xlabel 'Year of Prediction' set xrange [1988:2006] set ylabel 'Predicted Year of Exhaustion' set yrange [2025:2050] set ytics nomirror set y2label 'Predicted Num Years Left' set y2range [0:65] set y2tics autofreq plot 'oasdi-exhaustion.dat' using 1:2 title 'Predicted Year of Exhaustion' lw 3 with linespoints axis x1y1, 'oasdi-exhaustion.dat' using 1:3 title 'Predicted Num Years Left Until Exhausion' lw 3 with linespoints axis x1y2