Description Usage Arguments Examples
Plot and save tile with Daily Minimal Theme
1 2 3 4 5 6 7 8 9 10 11 | daily_minimal_plot(
tile,
savePath,
type = "svg",
base_size = 9,
background = "#EEEEEE",
textColor = "#101010",
base_family = "Virtuous Slab",
dark = FALSE,
caption = "Daily Motif \n \n NO. 1"
)
|
tile |
the sf object that is a output of motif function. |
savePath |
the path of save image. |
type |
the output type of image |
base_size |
base font size of ggplot theme |
background |
the background color of plot |
textColor |
the text color |
base_family |
the textfont family |
dark |
if True replace the background by textColor |
1 2 3 4 5 | library(ggplot2)
library(Kaashi)
square = regularPolygon(6)
tile <- motif(square,n = 6,theta = 45, delta = 0.3, polyLine = F, dist = 0.1)
daily_minimal_plot(tile,"~/Desktop/motif.svg",caption = "Daily Motif \n \n NO. 1")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.