更改xyplot面板框的高度

3

我的绘图(使用xyplotlattice)如下:

enter image description here

它看起来相当不错,但我该如何控制灰色面板框的高度呢?

我尝试了以下方法:

strip=strip.custom( par.strip.text=list(cex=2,lines=5,lineheight=2))

但是这并不起作用。


如何创建一个优秀的 R 可重现示例? - zx8754
尝试使用 xyplot(..., par.strip = list(lines = 2)) - user3710546
1个回答

3

如果您想改变条带高度:

library(lattice)
Depth <- equal.count(quakes$depth, number=8, overlap=.1)
xyplot(lat ~ long | Depth, data = quakes, par.strip = list(lines = 5, cex = 0.5))

enter image description here


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接