View source: R/E003_easyPlot.R
easyPlot | R Documentation |
Plots any art object and accepts parameters for a quick way to plot and modify art objects.
easyPlot( art, border = 0.1, useGrid = FALSE, format = "screen", width = NULL, height = NULL, name = NULL, folder = NULL, frameFolder = NULL, xlim = NULL, ylim = NULL, widthUnit = "in", heightUnit = "in", deviceSettings = list(res = 150, antialias = "cleartype"), bg = NA, borderLine = "black", preserveAspectRatio = FALSE, .aspectRatio = 1, plotArt = TRUE, mode = NULL, frames = 1, framesToPlot = NULL, framerate = c(10, 30), innerMargin = 0.04, startingFrame = 1, ... )
art |
either a component, a list of components, a layer, a list of layers, a section, a page or an artwork. |
border |
size of border(s) |
useGrid |
logical |
format |
string |
width, height |
numerical |
name |
string |
folder |
string |
frameFolder |
string |
xlim, ylim |
numerical |
widthUnit, heightUnit |
list of units |
deviceSettings |
list of settings |
bg |
background colour |
borderLine |
border colour |
preserveAspectRatio |
logical. see addBorder |
.aspectRatio |
numerical #why .? see addBorder |
plotArt |
logical. If FALSE simply returns the artwork. |
mode |
numeric. |
frames |
numeric. |
framesToPlot |
numeric. |
framerate |
numeric. |
innerMargin |
numeric. see addBorder |
startingFrame |
numeric. For plotting modes 2,3 and 4. Determines where the file name numbering sequence starts. Useful for adding new frames onto the end of previously produced output. |
... |
parameters passed to the final artwork using art=art+artdata(...) |
depends on plotArt and mode and art@mode.
print(1+1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.