Help needed to plot silicon lattice

I need to plot silicon atoms in a lattice structure (ie: FCC, Diamond lattice). I have the lattice constant value (a) and atom positions in x,y,z coordinates stored in an array. Could you please help me with what functions to be used in this case?

1 个评论

Could you share the code you used to plot your lattice and include your atoms? I am trying to do something similar with an HCP Lattice System

请先登录,再进行评论。

回答(1 个)

KSSV
KSSV 2016-10-8

3 个评论

At the same time I need to visualize the atoms located inside the cube. Any idea how to do that?
To plot colors either patch or fill will be used. In there there will be option called alpha. This sets transparency of the color. You can play around with this alpha.
Thanks. I used scatter3 instead and filled the atoms.

请先登录,再进行评论。

类别

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by