drawPage {draw} | R Documentation |
Create a New Drawing Page
Description
Create a New Drawing Page
Usage
drawPage(width = .pkgenv$pageWidth, height = .pkgenv$pageHeight,
units = .pkgenv$units, ...)
Arguments
width |
Numeric value for the page width. |
height |
Numeric value for the page height. |
units |
Character value for the unit to use when specifying measurements. |
... |
Additional arguments to viewport. |
Value
A viewport object.
See Also
Examples
library(draw)
# Set drawing settings
drawSettings(pageWidth = 5, pageHeight = 5, units = "inches")
# Create a new drawing page
drawPage()
[Package draw version 1.0.0 Index]