标签: r plot panel box
我的情节(xyplot,lattice)看起来像是:
xyplot
lattice
它看起来很不错,但我怎样才能控制灰色面板框的高度?
我试过了:
strip=strip.custom( par.strip.text=list(cex=2,lines=5,lineheight=2))
但这不起作用。
答案 0 :(得分: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))