View source: R/plot_RLum.Data.Image.R
plot_RLum.Data.Image | R Documentation |
RLum.Data.Image
S4 class objectThe function provides very basic plot functionality for image data of an RLum.Data.Image object. For more sophisticated plotting it is recommended to use other very powerful packages for image processing.
Details on the plot functions
Supported plot types:
plot.type = "plot.raster"
Uses the standard plot function of R graphics::image. If wanted, the image
is enhanced, using the argument stretch
. Possible values are hist
, lin
, and
NULL
. The latter does nothing. The argument useRaster = TRUE
is used by default, but
can be set to FALSE
.
plot.type = "contour"
This uses the function graphics::contour
plot_RLum.Data.Image(
object,
frames = NULL,
par.local = TRUE,
plot.type = "plot.raster",
...
)
object |
RLum.Data.Image (required): S4
object of class |
frames |
numeric (optional): sets the frames to be set, by default all frames are plotted. Can be sequence of numbers, as long as the frame number is valid. |
par.local |
logical (with default): use local graphical
parameters for plotting, e.g. the plot is shown in one column and one row.
If |
plot.type |
character (with default): plot types.
Supported types are |
... |
further arguments and graphical parameters that will be passed
to the specific plot functions. Standard supported parameters are |
Returns a plot
0.2.1
Kreutzer, S., 2024. plot_RLum.Data.Image(): Plot function for an RLum.Data.Image S4 class object. Function version 0.2.1. In: Kreutzer, S., Burow, C., Dietze, M., Fuchs, M.C., Schmidt, C., Fischer, M., Friedrich, J., Mercier, N., Philippe, A., Riedesel, S., Autzen, M., Mittelstrass, D., Gray, H.J., Galharret, J., 2024. Luminescence: Comprehensive Luminescence Dating Data Analysis. R package version 0.9.24. https://CRAN.R-project.org/package=Luminescence
The axes limitations (xlim
, zlim
, zlim
) work directly on the object,
so that regardless of the chosen limits the image parameters can be adjusted for
best visibility. However, in particular for z-scale limitations this is not always
wanted, please use zlim_image
to maintain a particular value range over a
series of images.
Sebastian Kreutzer, Institute of Geography, Heidelberg University (Germany) , RLum Developer Team
RLum.Data.Image, plot, plot_RLum, graphics::image, graphics::contour
##load data
data(ExampleData.RLum.Data.Image, envir = environment())
##plot data
plot_RLum.Data.Image(ExampleData.RLum.Data.Image)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.