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 Comment

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

Sign in to comment.

Answers (1)

KSSV
KSSV on 8 Oct 2016

3 Comments

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.

Sign in to comment.

Asked:

on 7 Oct 2016

Commented:

on 24 May 2018

Community Treasure Hunt

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

Start Hunting!