is there a way to obtain specific coordinates from a plot even when they aren't used in the plotting process?
for example: can i extract the value at x=0.5 from the plot below? (just an easy example, want to use it for more complicated ones too)
import matplotlib.pyplot as plt
x=[0,1]
y=[1,2]
plt.plot(x,y)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…