GOPlot
  • See Also
    • GTAdjacencyMatrix
    • GTBuckyBall
    • GTPhMPBFields
    • GTPlotCluster
    • GTPlotStateWeights
    • GTTubeStructure
    • GTVoronoiCell
    • GOSort
    • GOTransformation
    • GTTbSymmetryBands
    • GTPhSymmetryBands
  • Related Guides
    • Options
    • See Also
      • GTAdjacencyMatrix
      • GTBuckyBall
      • GTPhMPBFields
      • GTPlotCluster
      • GTPlotStateWeights
      • GTTubeStructure
      • GTVoronoiCell
      • GOSort
      • GOTransformation
      • GTTbSymmetryBands
      • GTPhSymmetryBands
    • Related Guides
      • Options

GOPlot

is an option to decide, if a graphical output is provided.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
See Also
Related Guides
GROUP THEORY SYMBOL
  • See Also
    • GTAdjacencyMatrix
    • GTBuckyBall
    • GTPhMPBFields
    • GTPlotCluster
    • GTPlotStateWeights
    • GTTubeStructure
    • GTVoronoiCell
    • GOSort
    • GOTransformation
    • GTTbSymmetryBands
    • GTPhSymmetryBands
  • Related Guides
    • Options
    • See Also
      • GTAdjacencyMatrix
      • GTBuckyBall
      • GTPhMPBFields
      • GTPlotCluster
      • GTPlotStateWeights
      • GTTubeStructure
      • GTVoronoiCell
      • GOSort
      • GOTransformation
      • GTTbSymmetryBands
      • GTPhSymmetryBands
    • Related Guides
      • Options
GroupTheory`
GroupTheory`

GOPlot

GOPlot

is an option to decide, if a graphical output is provided.

Details and Options

  • In GTAdjacencyMatrix the plot of the AdjacencyMatrix in a graphical form is controlled.
  • In the other commands the output of graphics is controlled.
  • Typical settings for GOPlot are:
  • TrueGraphical output is provided.
    FalseGraphical output is suppressed.

Examples

Basic Examples  (4)

First load the package:

Wolfram Language code: Needs["GroupTheory`"]

GTAdjacencyMatrix

Choose the corresponding structure from the structure data file and modify it accordingly.

Wolfram Language code: SetDirectory[NotebookDirectory[] <> "datasets"];GTLoadStructures["GTPack"];fcc = GTGetStructure["Cu"]

Construct the cluster.

Wolfram Language code: cl3D = GTCluster[fcc, 1 / Sqrt[2], GOLattice -> {a -> 1}];n = {{{1}}};at = {"Cu"};ngbs = {n, at};

Find the adjacency matrix

Wolfram Language code: GTAdjacencyMatrix[cl3D, ngbs, GOPlot -> True]

GTPhMPBFields

Wolfram Language code: SetDirectory[NotebookDirectory[] <> "datasets/MPB/"]

The field can also be plotted directly.

Wolfram Language code: GTPhMPBFields["e.k01.b02.z.tm.h5", {"Bloch wavevector", "z.r-new"}, GOPlot -> True]
Wolfram Language code: g = {};Do[gr = GTPhMPBFields["e.k01.b0" <> ToString[i] <> ".z.tm.h5", {"Bloch wavevector", "z.r-new"}, GOPlot -> True];g = Append[g, gr], {i, 1, 8}]
Wolfram Language code: Partition[g, 4]

GTPlotCluster

Wolfram Language code: SetDirectory[NotebookDirectory[] <> "datasets"];GTLoadStructures["GTPack"]; bto = GTGetStructure["BTO"];

Generate the cluster.

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

Now the cluster can be plotted:

Wolfram Language code: GTPlotCluster[clu, 1 / 2Sqrt[2], 2]
Wolfram Language code: gobject = GTPlotCluster[clu, 1 / 2Sqrt[2], 2, GOPlot -> False]
Wolfram Language code: Graphics3D[gobject]

GTTubeStructure

Construct a honeycomb lattice:

Wolfram Language code: hcp = {{"C", "Honeycomb"}, "hP4", "A9", "SubscriptBox[P6, 3]/mmmc", 194, {{Sqrt[3]a / 2, a / 2, 0}, {Sqrt[3]a / 2, -a / 2, 0}, {0, 0, 0}}, {{{0, 0, 0}, "C1"}, {{a / Sqrt[3], 0., 0}, "C2"}}, {a -> 240}};
Wolfram Language code: cl = GTCluster[hcp, 8, GOLattice -> {a -> 1.}];

A plot is the standard output.

Wolfram Language code: GTTubeStructure[5, 0, cl, 3, 2]

It is also possible to choose a list as output. The first part of the list contains the positions of the atoms in the tube and the second part is the graphics object.

Wolfram Language code: go = GTTubeStructure[5, 0, cl, 1, 2, GOPlot -> False];

Positions of the atoms:

Wolfram Language code: go[[1]]//TableForm

Plot the nanotube.

Wolfram Language code: Graphics3D[go[[2]]]

See Also

GTAdjacencyMatrix  GTBuckyBall  GTPhMPBFields  GTPlotCluster  GTPlotStateWeights  GTTubeStructure  GTVoronoiCell  GOSort  GOTransformation  GTTbSymmetryBands  GTPhSymmetryBands

Related Guides

    ▪
  • Options
Not Found - Wolfram Cloud