Hi Ander,
I could successfully modify your scrip for contour plot.
But I have one question for you.
In the attached contour plot, I plotted CB and there are six CB minimum valleys along Gamma to M.
For those valleys, I expected ellipsoidal contour plots, but as shown in the plot, contour line is getting sharper along G to M lines.
And same things around M point, I expected ellipsoidal contour plots, but what I see is somewhat sharp points along G to M.
I think it could be an error from interpolation.
I did band structure calculations with dense k points, but no change.
Do you have any ideas about this?
Thanks.
jiwon