Function Repository Resource:

MillerIndicesPlot

Source Notebook

Plot cubic lattice crystallographic planes with h, k, l Miller indices

Contributed by: Siria Sadeddin

ResourceFunction["MillerIndicesPlot"][h,k,l]

displays cubic lattice crystallographic planes with h,k,l Miller indices.

Details and Options

Miller indices form a notation system in crystallography for planes in crystal lattices.
The cubic lattice planes are orthogonal to the vector (h,k,l) in the reciprocal lattice.
(h,k,l) entries can be positive or negative integers.

Examples

Basic Examples (1) 

Lattice planes for different values of (h,k,l) and a cubic lattice:

In[1]:=
ResourceFunction["MillerIndicesPlot"][1, 0, -1, "SimpleCubic"]
Out[1]=
In[2]:=
ResourceFunction["MillerIndicesPlot"][1, 1, 1, "FaceCenteredCubic"]
Out[2]=
In[3]:=
ResourceFunction["MillerIndicesPlot"][2, -1, 0, "BodyCenteredCubic"]
Out[3]=

Publisher

WolframSpecialProjects

Version History

  • 1.0.0 – 26 October 2020

Source Metadata

License Information