# Do not put d0 after real constant in gnuplot script. # Meaning of d0 is completely different from that in Fortran. g=9.8 f(x)=sqrt(2*x/g) set ylabel 'Time (sec)' set xlabel 'Height (m)' set key 16.0, 0.8 plot "ex0721.dat" using 1:2 title "Baseball" with linespoints,\ "ex0722.dat" using 1:2 title "Football" with linespoints,\ f(x) title "No Friction" with lines pause -1