[R] unanticipated axis labels
Richard M. Heiberger
rmh @end|ng |rom temp|e@edu
Tue Mar 16 19:04:02 CET 2021
library(lattice)
library(latticeExtra)
barchart(matrix(c(1:6, 5:6)), main="unanticipated left axis labels", ylab="unanticipated inside labels") +
latticeExtra::layer(panel.axis("left", half=FALSE, labels=1:8 ))
barchart(matrix(c(1:6, 5:6)), main="ok 1", ylab="anticipated") +
latticeExtra::layer(panel.axis("left", half=FALSE, labels=1:8, at=1:8))
barchart(matrix(c(1:6, 5:6)), main="ok 2", ylab="anticipated") +
latticeExtra::layer(panel.axis("left", half=FALSE, at=1:8))
barchart(matrix(c(1:6, 5:6)), main="ok 3", ylab="anticipated") +
latticeExtra::layer(panel.axis("left", half=FALSE ))
More information about the R-help
mailing list