# # This demonstrates the use of gnuplot to pick up data from the # files nuwlin and nuwcube 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, Weighted Transition" # 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 'nuwlin' using 1:2 title "Linear Weighting",\ 'nuwcube' using 1:2 t "Cubic Weighting"