set output './damped_g_plot.ps' set term postscript color set grid set key top right set xlabel 'time (seconds)' set ylabel '' set title 'Comparison of damped harmonic oscillators with k = 30 N/m, m = 20 kg ' plot [0:10][-0.6:1.2] 'damped_d_data.out' using ($2):($4) t 'underdamped: b=15 N*s/m' with linespoints pt 3 ps 0.5 , 'damped_f_data.out' using ($2):($4) t 'critically damped: b=50 N*s/m' with linespoints pt 3 ps 0.5 , 'damped_e_data.out' using ($2):($4) t 'overdamped: b=70 N*s/m' with linespoints pt 3 ps 0.5 quit