如何从 Python 中的绘图中获得y轴上的精确值?我有两个数组vertical_data,gradient(temperature_data)并将它们绘制为:
vertical_data
gradient(temperature_data)
plt.plot(gradient(temperature_data),vertical_data) plt.show()
图中所示:
我需要零值,但它不完全为零,它是一个浮点数。
python numpy graph matplotlib
graph ×1
matplotlib ×1
numpy ×1
python ×1