GTPlotStructure2D[struc,rc]
plots a 2D structure defined by the structure file struc inside a radius rc.
Details and Options
Examples
Basic Examples
Options
GOBonds
GOLattice
GOTbEquivalence
See Also
Related Guides
GroupTheory`
GroupTheory`
GTPlotStructure2D
GTPlotStructure2D[struc,rc]
plots a 2D structure defined by the structure file struc inside a radius rc.
Details and Options
- In 3 dimensions the structure is usually presented in ball and stick form. If the structure is pure two-dimensional GTPlotStructure2D gives a better representation.
- struc is a list with structural information, as used in the structure databases of GTPack.
- rc is the cutoff radius for the cluster to be presented.
- The following options can be given:
-
Frame False - Option of ListPlot
GOBonds True Plots bonds between atoms GOLattice {} Scales the lattice constant GOTbEquivalence True Decides whether equivalent atomes should be renamed PlotLabel {" "} Option of ListPlot PlotStyle Automatic - Option of ListPlot
- See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica, chapter 9.4
Examples
open all close allBasic Examples (1)
Needs["GroupTheory`"]SetDirectory[NotebookDirectory[] <> "datasets"];A structure file defines the honeycomb lattice for graphene. To distinguish the two atoms in the basis names C1 and C2 are used.
hcp = {{"C", "Honeycomb"}, "nn", "nn", "nn", 225, {{Sqrt[3]a, 0, 0}, {Sqrt[3]a / 2, 3a / 2, 0}, {0, 0, 0}}, {{{0, 0, 0}, "C1"}, {{0, -a, 0}, "C2"}}, {a -> 240}};GTPlotStructure2D[hcp, 5, GOLattice -> {a -> 1}, PlotLabel -> "Honeycomb Lattice", PlotStyle -> {{Blue, PointSize[Large]}, {Red, PointSize[Large]}}]Options (5)
PlotLabel, PlotStyle, and Frame are standard Mathematica options and will not be discussed here.
GOBonds (1)
GOLattice (1)
GOTbEquivalence (2)
In the following structure file for carbon the two atoms in the basis are the same.
hcp2 = {{"C", "Honeycomb"}, "nn", "nn", "nn", 225, {{Sqrt[3]a, 0, 0}, {Sqrt[3]a / 2, 3a / 2, 0}, {0, 0, 0}}, {{{0, 0, 0}, "C"}, {{0, -a, 0}, "C"}}, {a -> 240}};If GOTbEquivalenceTrue, the two types of carbon atoms are not distinguished.
GTPlotStructure2D[hcp2, 5, GOLattice -> {a -> 1 / 2},
GOTbEquivalence -> True, PlotLabel -> "Honeycomb Lattice", PlotStyle -> {{Blue, PointSize[Large]}, {Red, PointSize[Large]}}]If GOTbEquivalenceFalse, the two types of carbon atoms are automatically distinguished.
GTPlotStructure2D[hcp2, 5, GOLattice -> {a -> 1 / 2},
GOTbEquivalence -> False, PlotLabel -> "Honeycomb Lattice", PlotStyle -> {{Blue, PointSize[Large]}, {Red, PointSize[Large]}}]