Description Usage Arguments Details Examples
plot.powdRlib
is designed to provide easy, adaptable plots
of an XRPD reference library built using the powdRlib
constructor
function.
1 2 | ## S3 method for class 'powdRlib'
plot(x, wavelength, refs, interactive, ...)
|
x |
a powdRlib object |
wavelength |
One of "Cu", "Co" or a custom numeric value defining the wavelength (in Angstroms). Used to compute d-spacings.When "Cu" or "Co" are supplied, wavelengths of 1.54056 or 1.78897 are used, respectively. |
refs |
a character string of reference pattern id's to be plotted |
interactive |
Logical. If TRUE then the output will be an interactive ggplotly object. If FALSE then the output will be a ggplot object. |
... |
other arguments |
Plots can be made interactive using the logical interactive
argument.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.