View source: R/E004_nicePlot.R
nicePlot | R Documentation |
A wrapper for easyPlot with defaults set up to make png files sized for instagram
nicePlot( art, ..., finalWidth = 3.6, finalHeight = 3.6, name = "artwork", folder = getwd(), bg = "WhiteSmoke", format = "png", auto = FALSE, bgCode = NULL, border = c(0.07, 0.03, 0), useGrid = FALSE, res = 300, innerMargin = 0.04, borderColours = c("white", "black"), borderSize = 60 )
art |
a component, list of components.... |
finalWidth, finalHeight |
sizes given in inches. |
name, folder, bg, format, border, useGrid, res, innerMargin, borderColours, borderSize, ... |
all passed to easyPlot |
bgCode |
a shortcut for border colours. small number. see instagramColours |
No return value, easy plot is called.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.