Learn R Programming

rgl.cry (version 0.1.0)

align: Align crystal and diffraction pattern

Description

Align crystal and diffraction pattern and displayed.

Usage

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

Value

No return value, called for side effects.

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.

Examples

Run this code
# \donttest{
if (interactive()) {
 align("a")
 align("rb")
 align("1 1 0")
 align("60 -30")
 align(dev = 123, "a")
}
# }

Run the code above in your browser using DataLab