作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
有人用过pymatgen吗?当我访问 official site of pymatgen .我看到了快速入门教程。我觉得这个包很好。我的问题是我想绘制这个图中的 Material 结构。
我从那个网站得到了一个信息,可以绘制结构
#Visualize a structure. Requires VTK to be installed.
pmg view filename
我已经下载了 VTK。但我不知道,如何使用它。我听不懂。
最佳答案
请根据机器上的 python 版本安装支持 python 的 vtk。
对于 python 3
conda install -c clinicalgraphics vtk
对于 python 2
conda install -c anaconda vtk
关于python - 绘图 Material 结构 - Pymatgen,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27664407/
有人用过pymatgen吗?当我访问 official site of pymatgen .我看到了快速入门教程。我觉得这个包很好。我的问题是我想绘制这个图中的 Material 结构。 我从那个网站
我是一名优秀的程序员,十分优秀!