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:

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:

Calculate the eigenstates.

Plot the state weights of state 335.

GOColorScheme " ElementData "

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

GOColorScheme {Red,Blue}

GTPlotCluster

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

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

GOColorScheme " ElementData "

Now we define the color scheme explicitly.

GOColorScheme {Red,Blue}