Learn R Programming

Luminescence (version 0.1.7)

plot_BINfileData: Plot single luminescence curves from a BIN file object.

Description

Plot single luminescence curves from an object returned by the readBIN2R function.

Usage

plot_BINfileData(BINfileData, position, 
                 sorter="POSITION", 
                 ltype=c("IRSL","OSL","TL","RIR","RBR"),
                 cex.global=1)

Arguments

BINfileData
Risoe.BINfileData-class (required): requires an S4 object returned by the readBIN2R function.
position
vector (optional): option to limit the plotted curves by position (e.g. position=1, position=c(1,3,5)).
sorter
character (with default): the plot output can ordered by "POSITION","SET" or "RUN". POSITION, SET and RUN are options defined in the Risoe Sequence Editor.
ltype
character (with default): option to limit the plotted curves by the type of luminescence stimulation. Allowed values: "IRSL","OSL","TL","RIR" and "RBR". All type of curves are plotted by default.
cex.global
numeric (with default): global scale factor.

Value

  • Returns a plot.

Details

The nomenclature used for the function (e.g. ltype, position) are taken from the Analyst manual (Duller, 2007).

References

Duller, G. (2007): Analyst. 1-45.

See Also

readBIN2R

Examples

Run this code
#uncomment for usage

##load data
#data(ExampleData.BINfileData)

##plot all curves from the first position to the desktop
#pdf(file="~/Desktop/CurveOutput.pdf",paper="a4", height=11, onefile=TRUE)
  
  ##example - load from *.bin fiel
  #BINfile<-"[your path]"
  #BINfileData<-readBIN2R(BINfile)

#par(mfrow=c(4,3), oma=c(0.5,1,0.5,1))
#plot_BINfileData(BINfileData,position=1)
#mtext(side=4,BINfile,outer=TRUE,col="blue", cex=.7)
#dev.off()

Run the code above in your browser using DataLab