R/layout.R

Defines functions C_layout

# layout(num.rows, num.cols, mat, num.figures, col.widths, row.heights,
#        cm.widths, cm.heights, respect, respect.mat)

C_layout <- function(x) {
    dev.set(recordDev())
    # Mimic call on off-screen device (so get the right answer when
    # query off-screen device in drawing functions)
    do.call("layout", x[-1])
    dev.set(playDev())    
}

Try the gridGraphics package in your browser

Any scripts or data that you put into this service are public.

gridGraphics documentation built on Dec. 15, 2020, 5:10 p.m.