GTCellPlot[basis, atoms, plotdata]
can be used to plot unit cells as a primitive cell or as a conventional cell. basis contains the corresponding lattice vectors. For a conventional cell atoms contains the positions of the atoms in the cell. plotdata is used to customize the plot.
GTCellPlot
GTCellPlot[basis, atoms, plotdata]
can be used to plot unit cells as a primitive cell or as a conventional cell. basis contains the corresponding lattice vectors. For a conventional cell atoms contains the positions of the atoms in the cell. plotdata is used to customize the plot.
Details and Options
- GTCellPlot is mainly used in GTBravaisLattice, but can be used also separately.
- The following options can be given:
-
FontSize 14 Size of the labels. GOCoordinateSystem True Plot of coordinate system or not. - This command is new and not explained in the book.
- See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica
Examples
open all close allBasic Examples (1)
Needs["GroupTheory`"]a = 1;We define data corresponding to a cubic lattice. The lattice vectors are:
latt = {{a, 0, 0}, {0, a, 0}, {0, 0, a}};The positions for the atoms in an fcc structure are given by:
atoms = {{(a/2), (a/2), 0}, {(a/2), 0, (a/2)}, {0, (a/2), (a/2)}, {(a/2), (a/2), a}, {a, (a/2), (a/2)}, {(a/2), a, (a/2)}};The plotdata {scale,size} contain a scaling factor scale for the coordinate axis and the size of the atoms.
GTCellPlot[latt, atoms, {1.4, .08}]For a better representation we will change the plotdata.
GTCellPlot[latt, atoms, {1.4, .1}]Options (2)
Fontsize (1)
Related Guides
-
▪
- Options