GOColorScheme
  • See Also
    • GTBuckyBall
    • GTPlotCluster
    • GTPlotStateWeights
    • GTCayleyGraph
  • Related Guides
    • Options
    • The Mathematica Group Theory Package GTPack, V 1.4
    • See Also
      • GTBuckyBall
      • GTPlotCluster
      • GTPlotStateWeights
      • GTCayleyGraph
    • Related Guides
      • Options
      • The Mathematica Group Theory Package GTPack, V 1.4

GOColorScheme

is an option to define a color scheme used for the plot of the structure, i.e. which colors are used for the different atoms.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
See Also
Related Guides
GROUP THEORY SYMBOL
  • See Also
    • GTBuckyBall
    • GTPlotCluster
    • GTPlotStateWeights
    • GTCayleyGraph
  • Related Guides
    • Options
    • The Mathematica Group Theory Package GTPack, V 1.4
    • See Also
      • GTBuckyBall
      • GTPlotCluster
      • GTPlotStateWeights
      • GTCayleyGraph
    • Related Guides
      • Options
      • The Mathematica Group Theory Package GTPack, V 1.4
GroupTheory`
GroupTheory`

GOColorScheme

GOColorScheme

is an option to define a color scheme used for the plot of the structure, i.e. which colors are used for the different atoms.

Details and Options

  • As a first choice ElementData is used for the color scheme. Sometimes the colors are to similar and therefore a choice by hand is better.
  • Typical values for GOColorScheme are:
  • "ElementData"gives properties for chemical elements, including IconColor for molecular graph

Examples

Basic Examples  (2)

First load the package:

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

GTPlotStateWeights

GaAs is used as an example.

The Hamiltonian in real space has the dimension 370x370. The corresponding cluster consists of 37 Ga and 37 As atoms. This real space Hamiltonian is also already prepared:

Wolfram Language code: phGaAsr = GTReadFromFile["GaAs_74.ham"];cls = GTReadFromFile["GaAs_74.clr"];

Calculate the eigenstates.

Wolfram Language code: ev = Eigensystem[phGaAsr];ev1 = ev[[1]];wf = ev[[2]];
Wolfram Language code: basis1 = {{"Ga", 1, {"s", "p", "s*"}}, {"As", 1, {"s", "p", "s*"}}};

Plot the state weights of state 335.

GOColorScheme → " ElementData "

Wolfram Language code: GTPlotStateWeights[cls, Sqrt[3] / 4, basis1, wf[[335]], 0.2, GOPlot -> True]

For a better distinction we set the color scheme by hand.

GOColorScheme → {Red,Blue}

Wolfram Language code: GTPlotStateWeights[cls, Sqrt[3] / 4, basis1, wf[[335]], 0.2, GOColorScheme -> {Red, Blue}, GOPlot -> True]

GTPlotCluster

The option is also used in GTPlotCluster. BaTiO3 is used as an example.

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

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

Wolfram Language code: clu = GTCluster[bto, 1, GOLattice -> {a -> 1}];

GOColorScheme → " ElementData "

Wolfram Language code: GTPlotCluster[clu, 1 / 2Sqrt[2], 2]

Now we define the color scheme explicitly.

GOColorScheme → {Red,Blue}

Wolfram Language code: GTPlotCluster[clu, 1 / 2Sqrt[2], 2, GOColorScheme -> {Red, Blue, Green}]

See Also

GTBuckyBall  GTPlotCluster  GTPlotStateWeights  GTCayleyGraph

Related Guides

    ▪
  • Options
  • ▪
  • The Mathematica Group Theory Package GTPack, V 1.4
Not Found - Wolfram Cloud