dev.resize {rcloud.support} | R Documentation |
dev.resize
changes the size of the device for future
plots.
dev.resize(width = 510, height = 510, reset=FALSE, ..., device = RCloudDevice)
width |
new width |
height |
new height |
reset |
logical, if |
... |
additional arguments to be passed to the device function |
device |
function to call for a new device |
Currently this function is implemented by closing the previous device
(if existent) and creating a new one with the specified
size. Depending on the reset
value graphics parameters (other
than size) are copied to the new device.
Note that the new device must be compatible with the old one if
reset=FALSE
otherwise copying the parameters may fail.
new device (invisibly)
Simon Urbanek
plot(1:10)
dev.resize(800,500)
plot(1:10, col=2)