如何在matplotlib中的3d图中找到特定点?

时间:2019-07-23 18:57:32

标签: matplotlib

我正在使用matplotlib在3D模式下绘制数据。但是,我在尝试识别绘图数据中的特定数据时遇到了麻烦。有什么建议吗?

到目前为止,我唯一拥有的代码是用于将鼠标移到绘图上的代码,您会看到点的标签:

def onMouseMotion(event):
    closestIndex = calcClosestDatapoint(X, event)
    annotatePlot (X, closestIndex)

但是,我要寻找的是:

例如:在输入512后,在具有10个点的图中,将证明512点。

0 个答案:

没有答案