Learn R Programming

Luminescence (version 0.4.1)

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

Description

The function provides a standardised plot output for image data of an RLum.Data.ImageS4 class object, mainly using the plot functions provided by the raster package.

Usage

plot_RLum.Data.Image(object, par.local = TRUE, plot.type = "plot.raster", 
    ...)

Arguments

object
RLum.Data.Image (required): S4 object of class RLum.Data.Image
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 types. Supported types are plot.raster, plotRGB or contour
...
further arguments and graphical parameters that will be passed to the specific plot functions.

Value

  • Returns a plot.

Function version

0.1 (2014-12-17 14:25:41)

Details

Details on the plot functions Image is visualised as 2D plot usinng generic plot types provided by other packages. Supported plot types: plot.type = "plot.raster" Uses the standard plot function for raster data from the package raster: plot. For each raster layer in a raster brick one plot is produced. Arguments that are passed through the function call: main,axes, xlab, ylab, xlim, ylim, col plot.type = "plotRGB" Uses the function plotRGB from the raster package. Only one image plot is produced as all layers in a brick a combined. This plot type is useful to see whether any signal is recorded by the camera. Arguments that are passed through the function call: main,axes, xlab, ylab, ext, interpolate, maxpixels, alpha, colNA, stretch plot.type = "contour" Uses the function contour plot function from the raster function (contour). For each raster layer one contour plot is produced. Arguments that are passed through the function call: main,axes, xlab, ylab, xlim, ylim, col

References

-

See Also

RLum.Data.Image, plot, plot_RLum, raster,

Examples

Run this code
##load data
data(ExampleData.RLum.Data.Image, envir = environment())

##plot data
plot_RLum.Data.Image(ExampleData.RLum.Data.Image)

Run the code above in your browser using DataLab