如何使用matplotlb从(x,y,z)矩阵创建3d曲面-这种数据表示形式称为什么?

给出下面的数据集,其中列标题和行标题指示相应Z值的(x,y)

Data where the x and y coordinates are on the first column and first row respectively with z values elsewhere

该数据称为什么形式?我搜索了google和stackoverflow,但对找到起点的了解并不足够。

使用熊猫中的.value窃取其他类似的代码无法正常工作。


fig = go.Figure(data=[go.Surface(z=z_data.values)])

fig.update_layout(title='Memory Mountain',autosize=True)

fig.show()```

... as it is clearly graphing each value as a Z value on some arbitrary x-y plane.

Thanks!

woaiabing 回答:如何使用matplotlb从(x,y,z)矩阵创建3d曲面-这种数据表示形式称为什么?

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3127043.html

大家都在问