I cant figure out how to add a line to my contour plot at x=y.
Код: Выделить всё
epsilon_1= np.linspace(1,25,1000)
epsilon_2= np.linspace(1,25,1000)
eps1, eps2 = np.meshgrid( epsilon_1, epsilon_2 )
plt.contourf( eps1, eps2, E, 100 ,cmap="jet")
I wasn't sure what to try.
Источник: https://stackoverflow.com/questions/781 ... ntour-plot