ugd_render {unigd} | R Documentation |
See ugd_save()
for saving rendered plots as files.
This function will only work after starting a device with ugd()
.
ugd_render( page = 0, width = -1, height = -1, zoom = 1, as = "svg", which = dev.cur() )
page |
Plot page to render. If this is set to |
width |
Width of the plot. If this is set to |
height |
Height of the plot. If this is set to |
zoom |
Zoom level. (For example: |
as |
Renderer. |
which |
Which device (ID). |
Rendered plot. Text renderers return strings, binary renderers return byte arrays.
ugd() plot(1, 1) ugd_render(width = 600, height = 400, as = "svg") dev.off()