# # GNUPLOT SCRIPT # set title 'solution plot' show title set xlabel 'x' set ylabel 'u(x)' plot 'u.dat' using 1:2 title '' w lp lw 2 # plot column 1 of u.dat against column 2 # with linespoints linewidth 2 set term pdf color fsize 8 set output 'u.pdf' # save the plot as a pdf file replot pause -1 # to let the plot window survive # you may have to press a key in the shell to close the window