GODirection
  • See Also
    • GTBuckyBall
    • GTPlotCluster
  • Related Guides
    • Options
    • See Also
      • GTBuckyBall
      • GTPlotCluster
    • Related Guides
      • Options

GODirection

is an option to indicate a direction in a three-dimensional plot of clusters.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
See Also
Related Guides
GROUP THEORY SYMBOL
  • See Also
    • GTBuckyBall
    • GTPlotCluster
  • Related Guides
    • Options
    • See Also
      • GTBuckyBall
      • GTPlotCluster
    • Related Guides
      • Options
GroupTheory`
GroupTheory`

GODirection

GODirection

is an option to indicate a direction in a three-dimensional plot of clusters.

Details and Options

  • Typical settings for GODirection are:
  • {0,0,0}A direction is not defined
    scale*{a,b,c}The corresponding direction is indicated in the plot
  • Please note: The direction has to be scaled in an appropriate way to be in correspondence with the cluster dimensions. This can be done if one specifies the direction with {a,b,c} and uses scale to scale the vector approprialtely.

Examples

Basic Examples  (2)

First load the package:

Wolfram Language code: Needs["GroupTheory`"]

Plot a cluster

Wolfram Language code: SetDirectory[NotebookDirectory[] <> "datasets"];GTLoadStructures["GTPack"];

Load the structure from a file and extract the the structure for Barium titanate.

Wolfram Language code: 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: scale = 0.7
Wolfram Language code: GTPlotCluster[clu, 1 / 2Sqrt[2], 2, GOCoordinateSystem -> True, GODirection -> scale * {1, 1, 1}]

If we cut out the xy plane of the cluster a 2D plot is sufficient for the plane

Wolfram Language code: clu = GTCluster[bto, 4, GOLattice -> {a -> 1}];scale = 0.2; cluxy = GTClusterManipulate[clu, GOMethod -> {"CutPlane", {{0, 0, 1}, {0, 0, 0}}}]; GTPlotCluster[cluxy, 1 / 2Sqrt[2], 4, GOCoordinateSystem -> True, GODirection -> scale * {1, 1}, GODimension -> 2, GOSphere -> False]

Plot a buckyball

Wolfram Language code: scale = 0.07
Wolfram Language code: r6 = 1.391;r5 = 1.455;GTBuckyBall[r5, r6, GOColorScheme -> {Red}, GOSphere -> False, GOCoordinateSystem -> True, GODirection -> scale * {1, 1, 2}]

See Also

GTBuckyBall  GTPlotCluster

Related Guides

    ▪
  • Options
Not Found - Wolfram Cloud