Description Usage Arguments Value Examples
My custom ggsave for macbook pro (Multi-plots)
1 2 3 4 5 6 7 8 9 10 11 |
plot_objs |
plot objects |
paths |
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 |
print plots and save to files
1 | # ggsave_mac_multi(plot_objs, c("plot_1.png","plot_2.png"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.