set encoding utf8 # This lets us use the Gamma symbol directly # The locations of the tics are given in the output of the bands.x calculation set xtics ("Γ" 0.0000, "K" 1.0607,"X" 1.4142, "Γ" 2.4142, "L" 3.2802, "X" 4.1463, "W" 4.6463, "L" 5.3534) # This gives us a full vertical line set grid xtics lt -1 lw 1.0 # We don't need a legend unset key # set a label and a title set ylabel "Energy (eV)" set title "Carbon Diamond Electronic Band Structure" # This tells gnuplot to plot all the points from this file connected with lines plot "bands.out.gnu" with lines # And if you run this script directly as an argument to gnuplot, rather than # by loading it within gnuplot, you can uncomment the following to keep the # plot window open until clicked. You can save to a file from here. pause mouse