How to manually adjust the x-axis limits for each panel in a stratigraphic chart?
For example, here is Stratiplot from analogue :
library(analogue) data(V12.122) Depths <- as.numeric(rownames(V12.122)) (plt <- Stratiplot(Depths ~ O.univ + G.ruber + G.tenel + G.pacR, data = V12.122, type = c("h","l","g","smooth")))

How can I, for example, change xlim G.ruber to c (0.3, 0.9) and G.pacR to c (0, 0.75)?
Or, another possibility, here is strat.plot from rioja :
library(rioja) library(vegan) ## decorana data(RLGH) # remove less abundant taxa mx <- apply(RLGH$spec, 2, max) spec <- RLGH$spec[, mx > 3] depth <- RLGH$depths$Depth #basic stratigraphic plot strat.plot(spec, y.rev=TRUE)

How can I, for example, change xlim TA004A to c (0, 20)?
I suppose I need to provide something to address the base lattice / base code, but I'm not sure how to start from this.
r plot lattice
Ben
source share