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 commentaire

Jose Martinez
Jose Martinez le 24 Mai 2018
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

Connectez-vous pour commenter.

Réponses (1)

KSSV
KSSV le 8 Oct 2016

0 votes

3 commentaires

Mawla Boaks
Mawla Boaks le 8 Oct 2016
At the same time I need to visualize the atoms located inside the cube. Any idea how to do that?
KSSV
KSSV le 8 Oct 2016
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.
Mawla Boaks
Mawla Boaks le 10 Oct 2016
Thanks. I used scatter3 instead and filled the atoms.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by