align {rgl.cry}R Documentation

Align crystal and diffraction pattern

Description

Align crystal and diffraction pattern and displayed.

Usage

align(ax, dev = NULL, verbose = TRUE)

Arguments

ax

An axis to align

dev

RGL device to apply. Defaults to current device.

verbose

logical: Should the report be suppressed?

Details

There is no z-axis alignment support because the visualization was created with the analogy of selected area electron diffraction (SAED) on transmission electron microscope (TEM) which typically have up to two axes. However you can rotate around the z-axis by the drag originates near the window edge.

Value

No return value, called for side effects.

Examples


if (interactive()) {
 align("a")
 align("rb")
 align("1 1 0")
 align("60 -30")
 align(dev = 123, "a")
}


[Package rgl.cry version 0.1.0 Index]