GTCellPlot
  • See Also
    • GTLatticeVectors
    • GTBravaisLattice
    • GTPlotCluster
    • GTAtomsInCell
  • Related Guides
    • Options
    • See Also
      • GTLatticeVectors
      • GTBravaisLattice
      • GTPlotCluster
      • GTAtomsInCell
    • Related Guides
      • Options

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
Details and Options Details and Options
Examples  
Basic Examples  
Options  
Fontsize  
GOCoordinateSystem  
See Also
Related Guides
GROUP THEORY SYMBOL
  • See Also
    • GTLatticeVectors
    • GTBravaisLattice
    • GTPlotCluster
    • GTAtomsInCell
  • Related Guides
    • Options
    • See Also
      • GTLatticeVectors
      • GTBravaisLattice
      • GTPlotCluster
      • GTAtomsInCell
    • Related Guides
      • Options
GroupTheory`
GroupTheory`

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:
  • FontSize14Size of the labels.
    GOCoordinateSystem TruePlot 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 all

Basic Examples  (1)

First load the package:

Wolfram Language code: Needs["GroupTheory`"]

The lattice constant is:

Wolfram Language code: a = 1;

We define data corresponding to a cubic lattice. The lattice vectors are:

Wolfram Language code: latt = {{a, 0, 0}, {0, a, 0}, {0, 0, a}};

The positions for the atoms in an fcc structure are given by:

Wolfram Language code: 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.

Wolfram Language code: GTCellPlot[latt, atoms, {1.4, .08}]

For a better representation we will change the plotdata.

Wolfram Language code: GTCellPlot[latt, atoms, {1.4, .1}]

Options  (2)

Fontsize  (1)

This option controls the font size of the labels

Wolfram Language code: GTCellPlot[latt, atoms, {1.4, .1}, FontSize -> 25]

GOCoordinateSystem  (1)

A coordinate system can be switched of.

Wolfram Language code: go = GTCellPlot[latt, atoms, {1.4, .08}, FontSize -> 25, GOCoordinateSystem -> False]

See Also

GTLatticeVectors  GTBravaisLattice  GTPlotCluster  GTAtomsInCell

Related Guides

    ▪
  • Options
Not Found - Wolfram Cloud