#plotting on screen set xlabel "x" set ylabel "y" set grid xtics ytics # plot "filename" using columns 1 & 2 labelling graph "graph" # gnuplot will thus interpret the first column as x coordinates, the second one as y coordinates plot "graph.xy" using 1:2 title 'graph' # plot to postscript file set out "graph.ps" set size 1.0, 0.5 set terminal postscript portrait enhanced "Helvetica" 14 replot