tests/layout.R

library(SVGAnnotation)

doc = svgPlot({
layout(matrix(c(1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1), 3, ))
plot(1:100)
plot(10:1)
})

rr = getPlotRegionNodes(doc)
length(rr)
sapply(rr, xmlSize)
duncantl/SVGAnnotation documentation built on May 15, 2019, 5:57 p.m.