Displaying 1 result from an estimated 1 matches for "lout2".
Did you mean:
out2
2008 Aug 06
1
grid layout scaling viewport width based solely on height
...;- grid.layout(nrow = 1, ncol = 2,
widths = unit(c(1, 1/10), c('null', 'snpc'))
)
pushViewport(viewport(layout = lout1, w = 0.8, h = 0.8))
pushViewport(viewport(layout.pos.col = 1))
grid.rect()
popViewport()
pushViewport(viewport(layout.pos.col = 2))
lout2 <- grid.layout(nrow = 10, ncol = 1,
heights = unit(1, 'snpc'))
pushViewport(viewport(layout = lout2))
for(i in seq(0, 1, length.out = 10)) {
pushViewport(viewport(y = i, width = unit(1, 'snpc'),...