library(utils)
data(cana157)
crn.plot(cana157)
plot(cana157, main='Twisted Tree Heartrot Hill')
# with added spline
crn.plot(cana157,add.spline=TRUE, nyrs=32)
## Without sample depth
cana157.mod <- cana157
cana157.mod$samp.depth <- NULL
crn.plot(cana157.mod, add.spline = TRUE)
## A raw ring-width chronology
data(ca533)
ca533.raw.crn <- chron(ca533, prefix = "CAM", prewhiten=TRUE)
plot(ca533.raw.crn,abline.pos=NULL,ylab='mm')
## Not run:
# # not pretty - but illustrates the coloring options
# my.cols <- c("#3182BD","#9ECAE1","#DEEBF7","#31A354","#A1D99B","#E5F5E0")
# crn.plot(cana157,add.spline=TRUE,nyrs=32,
# crn.line.col=my.cols[5],
# spline.line.col=my.cols[4],
# samp.depth.col=my.cols[3],
# samp.depth.border.col=my.cols[2],
# abline.col=my.cols[1],
# crn.lwd=1.5,spline.lwd=3,
# abline.lwd=1,
# xlab="Year", ylab="RWI")
# ## End(Not run)
Run the code above in your browser using DataLab