#plot to png file set terminal png small color set output 'ssia.png' #define "ssia" function ssia(x) = 25*(12/(61-x)) set samples 61 #pretty up the output set logscale y set yrange [5:300] set ylabel "% (log)" set xtics 0,12 set xlabel "months" set grid xtics ytics mytics #plot (to file) plot [0:60] ssia(x) notitle with fsteps #one can do a background by also plotting: #5 with filledcurves x2 lt 5