drawCorner is a function that is used by fourCorners to draw one of the leaves.
1 2 3 | drawCorner(sector, nElements, drawTop, drawRight, leafColor,
offset = 0.028, rElement = 0.02, unique = FALSE,
shape = "square")
|
sector |
is a predefined viewport |
nElements |
is the number of elements to plot |
drawTop |
is half of the definition of the corner of the viewport to draw the elements in (1 = top) |
drawRight |
is the other half of the definition of the corner (1 = right) |
leafColor |
is the color for that particular leaf |
rElement |
is the size of the element |
unique |
draws with white fill so that a fifth call can draw unique elements |
shape |
draws shape (either "circle" or "square") |
offSet |
is the distance between elements |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.