如何在所有底部面板下显示轴?在此示例中,如果存在缺少正方形的网格,则不会显示轴。
library(lattice)
arr<- array(replicate(10, rnorm(10)), dim =c(10,10,10) )
dotplot(arr, type = "b", horizontal = F, col = "red",
main =list( " Centrality", cex=1.5), xlab.top="",as.table=T,
ylab =list( "Centralities", cex=1.3),
xlab = list("Proportion Cutpoints"),
scale=list(y=list(cex=1.2, alternating =1), cex =1),
auto.key=list( points = F, border= "grey",
space = "top", lines = T, columns=4,height=10,
title = "Technologies"),
par.settings = list(superpose.line = list(col = "red", lwd=2, lty=1:6 ),
layout.heights= list(xlab.key.padding = 1),
layout.widths = list(key.ylab.padding = 1)),
par.strip.text = list(cex=1.5))