Description Usage Arguments Value Author(s) See Also Examples
Graph output file management.
Do not forget to close the graphics device again with code like if(pdf|png) dev.off()
\.cr
PDFs are vector graphics and nicely zoomable and thus the default for
vis_discharge
.
PNGs are pixely raster graphics but may have a much smaller file size.
They are better suited for spatial grids and thus the default in
vis_asc
and vis_dem
.
1 2 |
file |
filename without pdf/png extension. Unless overwrite=TRUE,
files will not be overwritten. _1 will be appended instead,
see |
pdf |
Write plots created after calling this function into PDF instead of R graphics device? DEFAULT: FALSE |
png |
Ditto for PNG. Set either to TRUE, but not both (will stop with an error). DEFAULT: FALSE |
overwrite |
Logical: overwrite existing |
width, height |
Graph dimensions. DEFAULT: 7x5 inches |
units, res |
Graph quality arguments passed only to |
... |
Further arguments passed to |
Nothing, but opens a pdf or png device if either pdf or png is TRUE.
Berry Boessenkool, berry-b@gmx.de, Feb 2017
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.