plotRings: Plot xRing Objects

plotRingsR Documentation

Plot xRing Objects

Description

Plot "xRing" objects.

Usage

plotRings(x, xlim = NULL, ylim = NULL, id = NULL, corr = NULL, EwLw = TRUE)

Arguments

x

an object of class "xRing"

xlim

the x limits of the plot. The default value, NULL, indicates that the whole profile will be plotted.

ylim

the y limits of the plot.

id

a sufix to be added to the name of the series (<series_name> [id])

corr

value to be print at the top of the graph

EwLw

logical. If TRUE the earlywood and latewood assignments are plotted, by default is TRUE

Value

None. A plot is produced.

See Also

plot.xRing

Examples

if (interactive()) {
  data(PaPiRaw)
  data(PaPiSpan)

  PaPi <- detectRings(PaPiRaw[, 1, drop = FALSE], PaPiSpan)
  plotRings(PaPi$AFO1001a)
  plotRings(PaPi, series = "AFO1001a")
  plotRings(PaPi, series = "AFO1001a", xlim = c(120, 450))

  PaPi1 <- detectEwLw(PaPi, ew = 0.5)
  plotRings(PaPi1, series = "AFO1001a", EwLw = FALSE)
  plotRings(PaPi1, series = "AFO1001a")
}


xRing documentation built on April 22, 2022, 5:05 p.m.

Related to plotRings in xRing...