I want to plot an electronic band structure like the following in GNU Octave.
I have already generated the graph (I made a big linspace k_values for X axis and have values of corresponding energies, but I am unsure how to label the points in X axis). Right now I am plotting like this.
plot(k_values,band1,'color','black')
hold on
plot(k_values,band2,'color','red')
As usual, it is showing numbers along the X axis.
- How to remove the numbers from X axis and label certain points (such as Gamma, X, Y) just as the above figure? I know the corresponding value of X coordinate of those points.
- How to put vertical grid lines at those points?
