# A very simple 2-d plot # Uncomment the first two lines to save the graph as an eps file. # Otherwise just paste run the "plot" command at the gnuplot prompt. set terminal postscript eps colour solid rounded set output 's2dplot.eps' plot [-0.5:5] [-0.2:0.2] '2dplot.dat' , \ 'd2dplot.dat' , x**2*(1 - x)