11
有沒有一種簡單的方法來獲得(X,Y),這是繪製這樣的輪廓線的值:如何獲得由等高線圖繪製的線的(x,y)值?
import matplotlib.pyplot as plt
x = [1,2,3,4]
y = [1,2,3,4]
m = [[15,14,13,12],[14,12,10,8],[13,10,7,4],[12,8,4,0]]
cs = plt.contour(x,y,m, [9.5])
plt.show()