plot: Plot xRing and xRingList Objects

plotR Documentation

Plot xRing and xRingList Objects

Description

Plot method for objects of class "xRing" and "xRingList".

Usage

## S3 method for class 'xRing'
plot(x, years = NULL, EwLw = TRUE,  xlim = NULL, ylim = NULL, ...)

## S3 method for class 'xRingList'
plot(x, series = 1, years = NULL, EwLw = TRUE,  xlim = NULL, ylim = NULL, ...)

Arguments

x

an object of class "xRing" or "xRingList".

years

the years to be plotted, if NULL the whole time span is plotted.

EwLw

logical. If TRUE the earlywood and latewood boundaries and width is plotted.

xlim

vector of length 2 giving the x limits for the plot.

ylim

the y limits of the plot.

...

other arguments to be passed to plotRings function

series

gives the name (or the index) of the series to be plotted, by default is 1 (i.e., the first series)

Value

None.

See Also

plotRings

Examples


data(PaPiRaw)
data(PaPiSpan)

PaPi <- detectRings(PaPiRaw, PaPiSpan)
class(PaPi)

PaPiRings <- detectEwLw(PaPi, ew = 0.5)
plot(PaPiRings, series = "AFO1001a")

PaPiRings1 <- detectEwLw(PaPi, ew = 0.35, lw = 0.55)
plot(PaPiRings1, series = "AFO1001a")

plot(PaPiRings, series = "AFO1001a", years = c(1990, 2000))
plot(PaPiRings$AFO1001a)


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

Related to plot in xRing...