Learn R Programming

Luminescence (version 0.3.1)

plot_RLum.Data.Spectrum: Plot function for an RLum.Data.Spectrum S4 class object

Description

The function provides a standardized plot output for spectrum data of an RLum.Data.Spectrum S4 class object

Usage

plot_RLum.Data.Spectrum(object, par.local = TRUE, plot.type = "contour", 
    optical.wavelength.colours = TRUE, ...)

Arguments

object
RLum.Data.Spectrum (required): S4 object of class RLum.Data.Spectrum
par.local
logical (with default): use local graphical parameters for plotting, e.g. the plot is shown in one column and one row. If par.local = FALSE global parameters are inherited.
plot.type
character (with default): plot type, for 3D-plot use persp, or persp3d and contour for a 2D-plot. Note: The use of persp3d will produce a dynamic 3D s
optical.wavelength.colours
logical (with default): use optical wavelength colour palette. Note: For this, the spectrum range is limited: c(350,750). Own colours can be set with the argument col.
...
further arguments and graphical parameters that will be passed to the plot function.

Value

  • Returns a plot.

Details

Spectrum is visualized as 3D or 2D plot. Both plot types are based on internal R plot functions. Arguments that will be passed to persp:
  • shade: default is0.4
  • phi: default is30
  • theta: default is30
  • expand: default is1
  • ticktype: default isdetailed
Further arguments that will be passed xlab, ylab, zlab, xlim, ylim, main, mtext

References

#

See Also

plot, plot_RLum, persp, persp3d, contour

Examples

Run this code
##(1) simple call (note: currently no example data set is provided!)
# plot_RLum.Data.Spectrum(Example.data)

Run the code above in your browser using DataLab