is an option to decide, if a graphical output is provided.
Details and Options
Examples
Basic Examples
See Also
Related Guides
GroupTheory`
GroupTheory`
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:
-
True Graphical output is provided. False Graphical output is suppressed.
Examples
Basic Examples (4)
Needs["GroupTheory`"]Choose the corresponding structure from the structure data file and modify it accordingly.
SetDirectory[NotebookDirectory[] <> "datasets"];GTLoadStructures["GTPack"];fcc = GTGetStructure["Cu"]cl3D = GTCluster[fcc, 1 / Sqrt[2], GOLattice -> {a -> 1}];n = {{{1}}};at = {"Cu"};ngbs = {n, at};GTAdjacencyMatrix[cl3D, ngbs, GOPlot -> True]SetDirectory[NotebookDirectory[] <> "datasets/MPB/"]The field can also be plotted directly.
GTPhMPBFields["e.k01.b02.z.tm.h5", {"Bloch wavevector", "z.r-new"}, GOPlot -> True]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}]Partition[g, 4]SetDirectory[NotebookDirectory[] <> "datasets"];GTLoadStructures["GTPack"];
bto = GTGetStructure["BTO"];clu = GTCluster[bto, 1, GOLattice -> {a -> 1}];Now the cluster can be plotted:
GTPlotCluster[clu, 1 / 2Sqrt[2], 2]gobject = GTPlotCluster[clu, 1 / 2Sqrt[2], 2, GOPlot -> False]Graphics3D[gobject]Construct a honeycomb lattice:
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}};cl = GTCluster[hcp, 8, GOLattice -> {a -> 1.}];A plot is the standard output.
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.
go = GTTubeStructure[5, 0, cl, 1, 2, GOPlot -> False];go[[1]]//TableFormGraphics3D[go[[2]]]Related Guides
-
▪
- Options