gpt4 book ai didi

r - 改变 xyplot 面板框的高度

转载 作者:行者123 更新时间:2023-12-01 13:49:35 25 4
gpt4 key购买 nike

我的绘图(使用 xyplotlattice)看起来像:

enter image description here

看起来不错,但是如何控制灰色面板框的高度呢?

我试过:

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

但这行不通。

最佳答案

您想更改 strip 高度:

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

关于r - 改变 xyplot 面板框的高度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33012179/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com