BlankUsername zoo. - par(new=T) axis():
plot(D)
index(P) <- index(P) + 0.5
par(bty="n", new=T)
plot(P, type="h", ylim=rev(range(P)),
yaxt="n", xaxt="n", ann=F,
xlim=c(start(D),end(D)),
lwd=10, col=rgb(0,0,0,0.1) )
axis(4, pretty(range(P)), col.axis="grey", col="grey", las=1, cex.axis=0.7 )
par(bty="o", new=F)