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.

DetailsDetails

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

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

First load the package:

In[1]:=
Click for copyable input

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:

In[2]:=
Click for copyable input

Calculate the eigenstates.

In[3]:=
Click for copyable input
In[4]:=
Click for copyable input

Plot the state weights of state 335.

GOColorScheme " ElementData "

In[5]:=
Click for copyable input
Out[5]=

GOColorScheme {Red,Blue}

In[6]:=
Click for copyable input
Out[6]=

The atoms are better to distinguish.

GTPlotCluster

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

In[1]:=
Click for copyable input

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

In[2]:=
Click for copyable input

GOColorScheme " ElementData "

In[3]:=
Click for copyable input
Out[3]=

The color scheme is explicitely defined.

GOColorScheme {Red,Blue}

In[4]:=
Click for copyable input
Out[4]=