| plot.multiXY {powdR} | R Documentation | 
Plotting a multiXY object
Description
plot.multiXY is designed to provide easy, adaptable plots
of multiple XRPD patterns.
Usage
## S3 method for class 'multiXY'
plot(x, wavelength, xlim, normalise, interactive, ...)
Arguments
| x | a multiXY 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. | 
| xlim | A numeric vector providing limits of the x-axis (E.g.  | 
| normalise | Logical. If TRUE then count intensities will be normalised to a
minimum of zero and maximum of 1. Default  | 
| 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 | 
Details
Plots can be made interactive using the logical interactive argument.
Examples
# Load the minerals library
data(rockjock_mixtures)
## Not run: 
plot(as_multi_xy(rockjock_mixtures), wavelength = "Cu")
plot(as_multi_xy(rockjock_mixtures), wavelength = "Cu", interactive = TRUE)
## End(Not run)
[Package powdR version 1.3.0 Index]