Convenience function for quick inline plot rendering.
This is similar to ugd_save() but the plotting code
is specified inline and an unigd graphics device is managed
(created and closed) automatically. Starting a device with ugd() is
therefore not necessary.
Arguments
- code
Plotting code. See examples for more information.
- file
Filepath to save plot.
- page
Plot page to render. If this is set to
0, the last page will be selected. Can be set to a numeric plot index or plot ID (seeugd_id()).- width
Width of the plot.
- height
Height of the plot.
- zoom
Zoom level. (For example:
2corresponds to 200%,0.5would be 50%.)- as
Renderer.
- ...
Additional parameters passed to
ugd(...)
