Displaying 1 result from an estimated 1 matches for "lout3".
Did you mean:
out3
2008 Aug 06
1
grid layout scaling viewport width based solely on height
...pushViewport(viewport(y = i, width = unit(1, 'snpc'),
height = unit(1, 'snpc')))
grid.rect(gp = gpar(col = 3))
popViewport()
}
popViewport()
popViewport()
popViewport()
grid.newpage()
lout3 <- grid.layout(nrow = 10, ncol = 11,
respect = matrix(c(rep(0, 10 * 10), rep(0, 10 - 1), 1), nrow = 10)
)
pushViewport(viewport(layout = lout3, w = 0.8, h = 0.8))
pushViewport(viewport(layout.pos.col = 1:10))
grid.rect()
popViewport()
pushViewport(viewport(layout.pos.co...