改变 xyplot 面板框的高度
Change height of panel box for xyplot
我的情节(xyplot
、lattice
)看起来像:
看起来不错,但是如何控制灰色面板框的高度?
我试过了:
strip=strip.custom( par.strip.text=list(cex=2,lines=5,lineheight=2))
但这行不通。
您想更改条带高度:
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))
我的情节(xyplot
、lattice
)看起来像:
看起来不错,但是如何控制灰色面板框的高度?
我试过了:
strip=strip.custom( par.strip.text=list(cex=2,lines=5,lineheight=2))
但这行不通。
您想更改条带高度:
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))