GOBondColor
  • See Also
    • GTPlotCluster
    • See Also
      • GTPlotCluster

GOBondColor

is an option to define a color for bonds between atoms i.e. which colors are used for the different bonds.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
See Also
GROUP THEORY SYMBOL
  • See Also
    • GTPlotCluster
    • See Also
      • GTPlotCluster
GroupTheory`
GroupTheory`

GOBondColor

GOBondColor

is an option to define a color for bonds between atoms i.e. which colors are used for the different bonds.

Details and Options

  • The color scheme has to be defined explicitly
  • A typical values for GOBondColor in BaTiO3 is
  • {{{"O","O"},{Thick,Red}}}bonds between O atoms are highlighted.

Examples

Basic Examples  (1)

First load the package:

Wolfram Language code: Needs["GroupTheory`"] SetDirectory[NotebookDirectory[] <> "datasets"];

BaTiO3 is used as an example.

Wolfram Language code: bto = GTGetStructure["BTO"];

Next, the cluster is prepaired and can then be plotted.

Wolfram Language code: cl = GTCluster[bto, Sqrt[3] / 2., GOTbEquivalence -> True, GOLattice -> {a -> 1.}];
Wolfram Language code: bonds = {{{"O", "O"}, {Thick, Red}}};GTPlotCluster[cl, Sqrt[2] / 2, 2, GOSphere -> False, GOBondColor -> bonds]

Other choices are also possible

Wolfram Language code: bonds = {{{"Ti", "O"}, {Thick, Dotted, Red}}};GTPlotCluster[cl, Sqrt[2] / 2, 2, GOSphere -> False, GOBondColor -> bonds]

The setup for the Kagome lattice contains three basis atoms.

Wolfram Language code: kag0 = {{"C", "Kagome"}, "", "", "", , {{a, 0, 0}, {a / 2, Sqrt[3]a / 2, 0}, {0, 0, 0}}, {{{0, 0, 0}, "C1"}, {{a / 2, 0, 0}, "C2"}, {{a / 4, Sqrt[3]a / 4, 0}, "C3"}}, {a -> 1.}};

We create and plot the cluster.

Wolfram Language code: cl0 = GTCluster[kag0, 1];
Wolfram Language code: GTPlotCluster[cl0, Sqrt[2] / 2, 2, GODimension -> 2, GOColorScheme -> {Red, Blue, Green}, GOSphere -> False, GOCoordinateSystem -> True]

This only demonstrates the possibilities we have now with the coloring of bonds.

Wolfram Language code: bonds0 = {{{"C1", "C2"}, {Thick, Red}}, {{"C3", "C1"}, {Dashed, Blue}}, {{"C2", "C3"}, {Dotted, Black}}};GTPlotCluster[cl0, Sqrt[2] / 2, 2, GODimension -> 2, GOColorScheme -> {Red, Blue, Green}, GOSphere -> False, GOCoordinateSystem -> True, GOBondColor -> bonds0]

See Also

GTPlotCluster

Not Found - Wolfram Cloud