daily_minimal_plot.Rd
Plot and save tile with Daily Minimal Theme
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 |
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")