plmframes(2,3)
plmframes(mft=15) ## will split the plotting area into >= 15 panels,
plmframes() ## reset to 1 panel
t.plo <- ploptions(mframesmax=9, assign=FALSE)
t.mf <- plmframes(4,4, reduce=TRUE, ploptions=t.plo)
par("mfg")
t.mf[c("mfigsug","npages")]
## $mfigsug
## [1] 2 4
## $npages
## [1] 2 1
## if the device area was higher than wide,
## the result is the other way 'round
t.mft <- plmframes(mft=12, reduce=TRUE, ploptions=t.plo)
Run the code above in your browser using DataLab