Displaying 1 result from an estimated 1 matches for "labspc".
Did you mean:
labpc
2012 Oct 19
1
grid(Base): How to avoid "Figure region too small and/or viewport too large" by specifying 'relative' units?
...quick solution
to specify inches and a large enough width/height for the device fails.]
Cheers,
Marius
require(grid)
require(gridBase)
## setup
strg <- LETTERS[1:2] # row variables
t <- c(0.2, 0.8) # column variables
## plot variables (spaces)
pspc <- c(3,3)
spc <- c(0.3, 0.3)
axlabspc <- c(1.2, 0.75)
labspc <- c(0.3, 0.3)
## save plot settings
par. <- par(no.readonly=TRUE)
## set up the grid layout
nx <- 2 # number of sub-plots per column
nx. <- 5 # number of grid rectangles per column
ny <- 2 # number of sub-plots per row
ny. <- 5 # number of grid rectang...