简体   繁体   English

在 python 中绘制 3d 数据的 2d 切片(最好使用 matplotlib)

[英]Plotting 2d slices of 3d data in python (preferably using matplotlib)

I want to plot 2d slices of 3d data as shown in this figure (我想绘制 3d 数据的 2d 切片,如下图所示(3d 数据的 2d 切片放在这里 ). )。 Is it possible to do it in python, preferably using matplotlib?是否可以在 python 中完成,最好使用 matplotlib? I am hoping to have someone provide me with guidance, or a sample code is even better.我希望有人给我提供指导,或者示例代码更好。 I appreciate any help anyone can provide.我感谢任何人可以提供的任何帮助。

As far as I know Matplotlib so far can not handle the intersecting planes correctly.据我所知,到目前为止 Matplotlib 无法正确处理相交平面。

matplotlib not displaying intersection of 3D planes correctly matplotlib 未正确显示 3D 平面的交集

Display the maximum surface in matplotlib? 在matplotlib中显示最大表面?

You can try to use mayavi or plotly .您可以尝试使用mayaviplotly In particular check out this link特别是查看此链接

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM