# # This demonstrates the use of gnuplot to pick up data from the # files nulin and nucube and plot comparisons of results # # To learn more about gnuplot commands enter an interactive gnuplot session # type "help" or "help" followed by the command name (.e.g. "help set") # The following line selects a TEKTRONICS emulation remove the # for Mac's #set terminal tek40xx # Uncomment the following 2 lines to make a postscript file #set terminal postscript #set output "plot.ps" set title "John Mahaffy, End-Point Interpolation" # To include more information use the "set label" command set xlabel "Reynolds Number" set ylabel "Nusselt Number" set data style lines set key 1200, 12 plot 'nulin' using 1:2 title "Linear Interpolation",\ 'nucube' using 1:2 t "Cubic Interpolation"