Description Usage Arguments Examples
My custom ggsave for macbook pro
1 2 3 4 5 6 7 8 9 10 11 12 |
filename |
(charater) File name to create on disk. |
plot |
|
path |
Path of the directory to save plot to: path and filename are combined to create the fully qualified file name. Defaults to the working directory. |
width |
Plot size in units ("in", "cm", or "mm"). |
height |
Plot size in units ("in", "cm", or "mm"). |
units |
Plot size in units ("in", "cm", or "mm"). |
dpi |
Plot resolution. Also accepts a string input: "retina" (320), "print" (300), or "screen" (72). Applies only to raster output types. |
scale |
Multiplicative scaling factor. |
device |
Device to use. Can either be a device function (e.g. png()), or one of "eps", "ps", "tex" (pictex), "pdf", "jpeg", "tiff", "png", "bmp", "svg" or "wmf" (windows only). |
... |
passed to |
1 | # ggsave_mac("path/to/plot.png")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.